Skip to content

Software setting : SSH

kariloy edited this page Jun 12, 2013 · 8 revisions

After assembling the hardware parts together and installing the software you can basically access your Rpi via SSH console or via xterm, go to the Shapextractor directory and run it (with default options):

 sudo python Shapextractor.py

and it will start to scan your object. When it finishes you can find the resulting model in models/ sub-directory.

For changing options you need to modify Shapextractor.ini see below for more information:

Option inside Shapextractor.ini:

 LPWM             Laser power intensity
 CROPH            Set pixel height you want to delete from the top to make a cleaner image
 QUALITY          Set scan resolution 0 (512steps/photos) 1 (1024 steps/photos) 2(2048 steps/photos)
 ROT              Set position of camera 0 horizontal 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 camera-turntable line 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