This paper describes the design, realization and testing of an optical scanner for real time on-line detection of the shape
of wood-panels entering a sanding machine on a transport belt. The paper describes the options considered for the design
of the triangulation sensor, taking into account target performance specifications and geometrical constraints. Final
design is a folded optical system which employs two laser line projectors and one CMOS camera, operated over a limited
Region of Interest. Sensor calibration is outlined and examples of on-line measurements on moving panels are presented.