You can select special lasers with a so called "line optic"; means your laser dont has a spot, but more a line=exactly forobject lighting & detection with only one element & the otherwise I would use a position sensitive Photo resistor or diode...
Are these boxes moving or all stationary?
K.
Added after 34 minutes:
These company is one of the best (+ cheap)European address for VCSEL/Laser & detector elements, accessories:
www.roithner-laser.com/Optics-LD.htm
K.
Added after 10 minutes:
These company is one of the best (+ cheap)European address for VCSEL/Laser & detector elements, accessories:
www.roithner-laser.com/Optics-LD.htm
Another good formation: Your reliable partner for opto-electronic components:
www.frlaserco.com/
Component deliverers:
Thorlabs - Your Source for Fiber Optics, Laser Diodes, Optica:
www.thorlabs.de/
Laser Diode Modules - Edmund Optics,
www.edmundoptics.com/onlinecatalog/Browse.cfm?categoryid=239
Laser line generators,
www.photonic-products.com/products/optics/ppl_line_generators.html
Fiber Optic Laser Diode Manufacturers,
www.medibix.com/CompanySearch.jsp?cs_choice=c&clt_choice=t&treepath=16174&stype=i
New Line of Micro Laser Diode Collimators, by BFi OPTiLAS .. ://optics.org/cws/product/P000013433
Line-cross generating laser diode module Laser Components:
www.lasercomponents.com/de/
The laser line object detection method in an anti-collision system for powered wheelchairs : ://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F10041%2F32216%2F01501078.pdf%3Farnumber%3D1501078&authDecision=-203
To end, in your country too:
www.laser2000.com/
K.