Skip to content

Software setting : SSH

Mauro edited this page Jun 11, 2013 · 8 revisions

After install hardware and software basicaly you can enter in ssh console or via xterm into shapextractor directory and launch (with default option):

 sudo python Shapextractor.py

and it start a scan, when it finish you find a result in \models directory.

For change option need modify Shapextractor.ini see below for more information:

Option inside Shapextractor.ini:

 LPWM             Laser power intesity
 CROPH            Set pixel need delete on from top for more clean output
 QUALITY          Set scan resolution 0 (512steps/photos) 1 (1024 steps/photos) 2(2048 steps/photos)
 ROT              Set position of camera 0 orizontal 90 vertical
 CAMERA_HFOV      Set this to the camera lens angle that you worked out above.
 CAMERA_DISTANCE  The distance from the camera 'foot' to the center of the turntable.
 LASER_OFFSET     The angle between the centerline of the camera and the laser.
 HORIZ_AVG        The number of consecutive horizontal points to average together to smooth out the surface.
 VERT_AVG         The number of consecutive vertical points to average together to smooth out the surface.
 A                GPIO RPi for 1 in uln2003 (stepper)
 An               GPIO RPi for 2 in uln2003 (stepper)
 B                GPIO RPi for 3 in uln2003 (stepper)
 Bn               GPIO RPi for 4 in uln2003 (stepper)
 LASER            GPIO RPi for 5 in uln2003 (laser line)
 LIGHT            GPIO RPi for 6-7 in ulm2003 (light)
 DELAY            Delay from stepper sequence
 FRAME_SKIP  
 POINT_SKIP 
 RESW = 640       Set camera resolution
 RESH = 480       Set camera resolution

Clone this wiki locally