3D scanner

Friday 28 June 2013
3D scanner
Prototype.
Simple but works well.
Digital camera with video recording function (resolution: 640x480, 30 frames/sec).
Laser pointer with special ending for linear beam (ending from laser level).
Phonograph as a rotational drive. Modified with low speed motor and Arduino.
Board and measuring tape.


How it works?
Digital camera placed in phonograph axes of rotational record laser light on objects surfaces (it works better in the darkness). Distortion of laser line corresponding to objects deformation derive from location of laser source. Very important is constant rotational speed and precise measurment (calibration).

Based on scheme and calibration value (a,b and c) we can calculate coordinates of every scanned point.


Software.
I wrote special python script for converting video direct to point cloud in Blendera 2.49b. Script require Python Image Library (PIL-1.1.7.win32-py2.6). PIL require conversion from *.mov to *.gif format (but *.gif works with only 256 colors).
Helpful documents: PIL handbook, Blender 2.49b API.


Results.
Blender screens of room scan:







Scan parameters:
  360 degrees scan,
  video recording time: 82 sec,
  'video to point cloud' conversion time: 115 sec,
  number of generated points: 72 000.
Sample point cloud file: Room.blend.

Sample face scan:

Scan with auto faces generating script:

Mesh after a little processing:




What next?
This construction is better for scan large object. There are some problems with scan in light places and with shining surfaces. It is also interesting a choise of video filter (sometimes it is better to work with red laser on green channel than with red).
Now I am serching for best 'points to surface' algorithm (generating triangle or quad mesh).
See open source MeshLab'a.

3 comments:

  1. I am really loving the theme/design of your website.
    Do you ever run into any browser compatibility issues? A handful of my blog visitors have complained about my site not operating correctly in Explorer but looks great in Opera.
    Do you have any tips to help fix this issue?

    Look into my web site; powerblock dumbbells

    ReplyDelete
    Replies
    1. Thanks 4 appreciation of my site...I never found ny compatibility issue of my website..,bcaz I used a simple theme which does not require so much content to load at its opening..so i suggest u to select such theme from blogger &which also look good....

      Delete
  2. Inside the end, when it comes to selecting dumbbells, you'll need to have the weight that is ideal for you personally. Thinking about your body size also as your education experience can help with your selection. In case you are a beginner with not experience with lifting weights, it might be a great idea to begin with the lightweight dumbbells. Overall, the very best adjustable dumbbells will probably be these that greatest fit your exercise goals and your budget. If you're goal is
    to stay lean, but you need far more weight for the days you feel like "going heavy", certainly consider one from the
    bigger dumbbell sets.

    My web blog :: Bowflex SelectTech 552 (www.bestbody.org)

    ReplyDelete