# 3-D Laser Scanner

4 Steps
Create your own super hi-tech 3-D laser scanner. Using just a laser pointer, wine glass, rotating platform, and a digital video camera, you can make accurate 3-D models of an object or person.

Now on Know How! Click on the steps above for more details.

Do you like this Instructable? Then check out episodes one, two, four, five, six, and
seven!
Remove these ads by Signing Up

## Step 1: Position camera, laser, and cylindrical lens

Align the laser so that its beam passes through the cylindrical lens, creating a vertical line rather than a point, and projects onto your target. Initially, the lens was the stem of a wine glass, but in this picture I use a cylindrical piece of acrylic. Position the video camera at a small angle (~15 degrees) from the laser.
 1-40 of 177 Next »
DoctorWoo says: Mar 9, 2013. 12:58 AM
Sorry if this was asked before, but what diameter rod are you using for the linear laser trick?
isagimbekov says: Feb 11, 2013. 2:23 AM
can someone send me matlab source pls
ilyas.sagimbekov@gmail.com
xNerdiusMaximusx says: Jan 30, 2013. 6:54 AM
This is truly the post that inspired me to play around with laser scanning. I've been working implementing a DAVID laser scanner setup and I'm going to motorize the stage and laser with Arduino.

Is there a sample AVI file you could upload to run through with the MATLAB code to get a better feel for how the code works with the proper setup? I'm looking to gain a better command of MATLAB but in the mean time, it would be helpful to have the ability to poke around with the code without having to setup the laser/video cam.

le Cauchemar says: Aug 3, 2010. 4:21 PM
Nice idea, just had to make my own :) The focus for me was on writing the software by myself, which took some hours ^^ Here you can see my first try with a paper ship :D
Jeong-Tae in reply to le CauchemarAug 1, 2012. 12:27 PM
It`s awesome! Now I`m doing to make own 3d scanner using laser. But It`s very hard to me. Can you give me Matlab source? I want to learn How to programming for my 3d scanner system. please.

Thank you
MayurRastogi in reply to le CauchemarJun 19, 2012. 12:51 PM
Hey hi, you paper boat model is really cool. Can you please give me your MATLAB code. I want to try this real nice 3D modeling experiment but do not have enough knowledge to write a code in MATLAB.

araian says: Apr 22, 2012. 5:59 AM
this is really cool
pierceRom says: Feb 4, 2012. 3:43 PM
First off , Thank you so much for that awesome instructable !! Second i was wondering in Step 4, you said to use an edge detection algorithmn to find the location of the laser line and reconstruct to a 3D model. How exactly did you do that and is there a matlab code for it too ??Any help would be much appreciated !! Thank you soo much =)
Jar Sqwuid says: Dec 12, 2011. 7:20 AM
I don't suppose there's a version available for mac xD Oh well. Project for when I get home. Does it matter what color the laser light is? I imagine it is possible to get the entire head with a full rotation, given the hair is tied up nice and tight. Also, do very sharp and sudden protrusions interfere with the interpretation? Say... the scythe arm of a tyranid model lol
ddalleinne says: Dec 12, 2011. 2:37 AM
ive been researching this quite a bit..but i am stil wondering if u can rotate the object your scanning while keeping the laser and cam in the same place ,while useing the david scanning software....ive got a blue line adjustable focus laser and a monochrome cam on order, and wondering if i should be building a turntable setup.....i want to put it into the ultimaker clone im building so u can scan and print in the same box...!!!
im3733 in reply to ddalleinneDec 12, 2011. 7:02 AM
In theory, this would work regardless of which item was doing the actual rotating, so long as the direction is correct according to what the software is looking for.

After all, rotation is completely relative, without a static reference point, (which this does not have/use) there is no way to tell which item is rotating. Hence the reason the universe was once thought to be geocentric, there was no reference point to know what orbited what.
im3733 in reply to im3733Dec 12, 2011. 7:11 AM
After rereading your post, I think you might run into some issues with the polar to Cartesian plane conversions, unless you plan to clean up the model manually between the scan and print functions.

Also, if you plan to scan in the same place you print, you would probably need a pretty sophisticated printing/scanning bed for it to support both Cartesian movement and polar rotation.

Of course, if your printer is polar, then you have nothing to worry about.
Moo_cow says: Mar 5, 2011. 12:51 AM
Could you just use a laser level since it already makes the beam a vertical line, or does it have to be green?
ddalleinne in reply to Moo_cowDec 12, 2011. 2:32 AM
web cams have 50% of the sensors green 25% red 25 % blue....so green gets you more pixels...but your best bet is a monochrome cam and a blue laser (due to extreemly thin line compared to red or green). ive seen scans of the surface of a penny with that kind of setup and the david software , that were incredible.
roguebard1 says: Sep 22, 2011. 8:59 AM
The link for the executable software on the Know How Show site is either not there anymore or gone completely. Could we get a link for that file placed in the comments section here or a link for another good 3D Scanner software? Thanks.
regijin says: Sep 20, 2011. 3:26 AM
very very ineresting ,how to make it?
bears0 says: Aug 23, 2011. 6:23 AM
EVERYONE, if you want software that does this, go here: http://www.david-laserscanner.com/
eng_iezzat says: Aug 18, 2011. 9:30 PM
thanks very ineresting
please send matlab code my email
eng_iezzat@hotmail.com
ampeyro says: Aug 17, 2011. 2:36 AM
do you know of any alternative software?
i don't find the link to the one from matlab(and it lso looks so old and complicated)
yangjun1222 says: Aug 4, 2011. 12:49 AM
Could u pls give more calculation methods on this project? i.e some principles
behands, it is not easy for me
rohanbd says: May 3, 2011. 5:52 AM
somebody plz send me the code or matlab script at rohan.cse08@gmail.com
v.navaneethakannan says: Mar 12, 2011. 3:42 PM
grcan in reply to v.navaneethakannanMar 25, 2011. 1:39 AM
(removed by author or community request)
Arulsoban in reply to grcanApr 28, 2011. 8:33 AM
Buddy can u please send me to?
mayhy006 in reply to grcanApr 7, 2011. 6:03 AM
Hi Grcan, I am so interesting about you project, can you e - mail me your matlab code?
mayhy006@gmail.com
Thank you
congnguyen13 in reply to grcanMar 27, 2011. 12:05 AM
send it to me, please! My e-mail: congnguyen13@gmail.com.
thanks a lot!
ILOV E_CLASSBELLE says: Apr 16, 2011. 7:12 PM
Can anyone do some sweet things to me ?I have searching on the net over 30 hours.I am from China,maybe you have hear it before,reading in English is rather hard for me.So i sincerely hope anyone to send the C++ code for 3D leaser scanner to me!
843296985@qq.com
many,many,many,many,many,many thanks!
mayhy006 says: Apr 7, 2011. 8:08 AM
can anyone send me the matlab code or c++ code for 3D laser scanner?
mayhy006@gmail.com
thanks
congnguyen13 says: Mar 27, 2011. 12:09 AM
I don't know which software is used?
ronibar02 says: Jan 6, 2011. 1:14 AM
Hi Argon,
I am looking for a scanner for scanning the bottom of the foot, and use the digital data to carve insoles with a cnc system.
Can you help with that?
greenjedi in reply to ronibar02Feb 8, 2011. 5:33 PM
Maybe you could make a mold of the foot and then scan the mold?
grcan says: Jan 19, 2011. 12:00 PM
When I use this script in Matlab, to give message "Undefined function or variable 'laserColor"
How can I use tihs script ? Thanks
v.navaneethakannan says: Nov 15, 2010. 11:49 AM
Fabulous work! I am involved in creating a low cost 3D scanner for physically challenged ( bio medical application ) can some guys help me out in carrying out..please..
tanmaysane says: Oct 31, 2010. 8:24 AM
Itz indeed an awesome concept.I am trying to make such a scanner myself.cud u plz help me wid the basic matlab source code. As in from where can I download the matlab code?
rvillamil says: Sep 30, 2010. 2:58 PM
Hi I know very little of MATLAB but I want to know if you could explain me how to use it. How do I call the function that throws me the 3D image of my scan.

thank you
rvillamil says: Sep 27, 2010. 9:04 AM
Hi everyone, this is really cool, I have used David-laserscan and it pretty sweet.
Does anyone know how to scan big Objects, does it need Calibration patterns?
Does anyone know how to scan by moving camera and laser, for example scanning big objects.

Thanks!

write back!
tinkerman92 says: Aug 30, 2010. 7:31 PM
if u wanna save the trouble of building a rig to make a line of the laser u can simple buy a lined laser diode like this 1 here http://www.dinodirect.com/red-laser-module-focused-line-5mw/AFFID-15.html
garninja says: Sep 14, 2009. 1:20 PM