Instructables
Picture of Multiple Raspberry PI 3D Scanner
3dscansetup.jpg
britt_shapeways.jpg

Hi,
I am a big Arduino and Raspberry PI fan and also love 3D printing. I wanted to be able to make a 3d model of my kids and started investigating how to build a 3d scanner. I found a lot of solutions out there, but the problem with most of them is that the subject would have to sit still for a while... well I think it would be easier for me to invent a spaceship that can fly to mars then inventing a solution for my 2-year old son to sit still :-( So none of those solutions where going to work.

I knew I had to come up with a way to instantly take many images at the same time. So I first started to research what cheap digital cameras exists. If I could find a cheap model, I probably could make an automated trigger system using arduinos. But then I would have all the images on many separate SD cards and I was not able to find a cheap good digital camera.

Then I noticed the Raspberry PI and PI camera combination. A "fairly" affordable module, that already is ethernet connected, so I could do the triggering of the cameras using the network and an easy way to download all the images to a centralized place. So my Project (and investment) started.

I bought for this project:
- 40 Raspberry Pies for this project and 40 PI cameras.
- 40 8Gb SD cards
- 1 single 60A 5v power supply to power all the raspberry Pies
- Led Strips and a powerful 12v power supply to power them on

As I am an impatient person I did not build the whole setup at once, I started of with 12 cameras, and was already seriously impressed with the results. So you DO NOT need 40 cameras, especially not if you just want to catch just the front of a persons face.

Here a result output:

UPDATE:
I have included a photo of Britt (the model in the video) being printed in full color by shapeways.

UPDATE2:

I finally was able to make a scan of my little son Hugo (2years old). It was made using 47 Raspberries and using my new softboxes with permanent lights. This allows me to shoot the images with no shadow. Can't wait to receive the printed model from shapeways :-)

 
Remove these adsRemove these ads by Signing Up
1-40 of 121Next »
roscowillie8 months ago

getting closer. Substituted

<print 'ID: ' + ip4>

for < print "ID" ip[caret underneath]4 "-">

now I get:

<print "optons: "optio[caret underneath]n

SyntaxError: invalid syntax.

sorry to be so clueless. Noticed that maybe optons should be spelled options, however this is obviously not the syntax error. Tried single quotes same report.

the_anykey (author)  roscowillie8 months ago

The instructables page does not allow me to post the code correctly i noticed. Python needs idents for certain segments in the code. Send me a mail with your email and I will email you the code.

Code please :) banquo_ws@hotmail.com

Hi Richard, I would like the Python scripts as well my address is info@armadillotaller.com, Thanks. super Great project !!!!

I try to do anything similar but have many dudes , perhaps could talk about.

thanks a lot and best regards

fernando

Hi Richard, I would like the Python scripts as well my address is marksart_2002@yahoo.com, Thanks. Great project BTW

Hallo Richard,

großartiges Projekt - klasse ;-)
Würde mich sehr freuen, wenn Du mir auch die Python-Scripte per Email zusendest. Meine Emailadresse lautet: jshandy@t-online.de Vielen Dank Richard. Gruß Jürgen

Richard,

I pm you with my email addressing regarding emailing the properly formated python scripts.

Thanks

John Ang

orchus7 days ago

Hi Richard, I also have two kids. That's a great project that I started thanks to you. In terms of power requirements, that's about 100 amps, right? How do you manage that? I was hoping to make a portable kit, but here in canada we're running at 120v/15a so powering a rig like that couldn't be done in a normal room.

I, too, would love to learn from your scripts. Could you post them somewhere?

chwloon18 days ago

Hi Richard, this is a great project, appreciate if you could give me the Python scripts, my email address is chwlvideo@gmail.com. thank you!

andang197724 days ago

Hi Richard, I would like the Python scripts as well my address is andang_resmana@yahoo.com, Thanks. Great project BTW

rocketman22111 months ago
This is a cool project. Have you tried to run the image processing software on the server and automate everything?
the_anykey (author)  rocketman22111 months ago
I currently have automated that the images are automatically uploaded to dropbox so they can easily be shared. I am in contact with autodesk about recap. They promised me that soon they will have an API to do this kind of automation. So the entire process can be set in motion by just a single click and (after a wait) get a full 3d model :-)

Hi anykey...fantastic project!!!

I want to do anything similar but have many problems....

im really stupid with programing.....

i have not much money for this project so im thinking forst at 2 pole with 6 pi each and a rotary platform... can do many shoots, 15 or 20 grade ...

Would like if you could help me to control the ip cameras...dont have the code and really dont know how need do...

I would like recibe any more info about your project, think that now you will have at leat 80 or 100 ip cameras working!!!!

Best regards

fernando

info@armadillotaller.com

austinmayer1 month ago

Awesome contribution. Is the code on github at all? Would love to take a peak!

ChristianG11 month ago

Really excellent quality of the 3d model. Could you also share one set of pictures from one session. Would be interesting to see the single photos and i would like to test them with my SW Agisoft Photscan. I am doing something similar with small objects. For this i have made a turntable which is triggering my Canon DSLR. With just 15-20 pictures i get pretty good results. Would be great if you could share some pictures to see how it works with Agisoft and how much effort i need to spend to get good results. Thanks for sharing !!!

I am trying to create a rig like this for creating game characters, I would also like to get a hold of some of these images to test in Agisoft Photoscan as well. We are currently working with one camera and a turntable but the movement makes its almost impossible to get a good looking mesh.

vinodkdoshi1 month ago

Hi Richard,

This is great work. I am trying to build such a rig. What was the resolution for the raspberry pi cameras? Did you use the standard 5mp camera boards that are available? Is 5mp enough resolution for a whole body scan? If you used a better resolution camera, how to build\get that board for raspberry pi? I would appreciate your help regarding this. Thanks in advance.

Regards,

Vinod

djgrazzy1 month ago

Hi Richard,
High Five, this is a great project you've put together. If things fall into to place I will be building something with your concept and have a cracking budget. Would you share the distance your cameras ended up from the subject and if you experimented with different distances from initial to your Version2? I would be looking at doing full body length scans, how important do you believe the different angles on different camera sharing the same vertical plane? I noticed you dropped the arc in V2.
I imagine angled would assist the software calculate 3D depth somewhat more than just multiple rings of cameras facing directly inward?
Im less than 24hrs into my research (triggered by my father in law request :)) Do you recommend any where in particular I can research the topic also read about high end systems I imagine are used with a Hollywood budget? (Ive noticed the Ten24 link provided by another commenter)

I am thinking I would trigger the script from a mobile webpage sitting on my qnap (with maybe a sleep and photo directory count with display feedback afterward) or even a use a Nintendo Wii remote?

Kind Regards,

Chris
ps Ive kindly inboxed you a request for your scripts (reading instrutables website modifies them)

djgrazzy1 month ago

Hi Richard,
High Five, this is a great project you've put
together. If things fall into to place I will be building something with
your concept and have a cracking budget. Would you share the distance
your cameras ended up from the subject and if you experimented with
different distances from initial to your Version2? I would be looking
at doing full body length scans, how important do you believe the
different angles on different camera sharing the same vertical plane? I
noticed you dropped the arc in V2.
I imagine angled would assist
the software calculate 3D depth somewhat more than just multiple rings
of cameras facing directly inward?
Im less than 24hrs into my
research (triggered by my father in law request :)) Do you recommend
any where in particular I can research the topic also read about high
end systems I imagine are used with a Hollywood budget? (Ive noticed
the Ten24 link provided by another commenter)


I am thinking I
would trigger the script from a mobile webpage sitting on my qnap
(with maybe a sleep and photo directory count with display feedback
afterward) or even a use a Nintendo Wii remote?


Kind Regards,
Chris
ps Ive kindly inboxed you a request for your scripts (reading instrutables website modifies them)

djgrazzy1 month ago

Hi Richard,
High Five, this is a great project you've put together. If things fall into to place I will be building something with your concept and have a cracking budget. Would you share the distance your cameras ended up from the subject and if you experimented with different distances from initial to your Version2? I would be looking at doing full body length scans, how important do you believe the different angles on different camera sharing the same vertical plane? I noticed you dropped the arc in V2.
I imagine angled would assist the software calculate 3D depth somewhat more than just multiple rings of cameras facing directly inward?
Im less than 24hrs into my research (triggered by my father in law request :)) Do you recommend any where in particular I can research the topic also read about high end systems I imagine are used with a Hollywood budget? (Ive noticed the Ten24 link provided by another commenter)


I am thinking I would trigger the script from a mobile webpage sitting on my qnap (with maybe a sleep and photo directory count with disply feedback afterward) or even a use a Nintendo Wii remote?


Kind Regards,
Chris
ps Ive kindly inboxed you a request for your scripts (reading instrutables website modifies them)

naiksanjay1 month ago

Dear sir,

please send me the updated code to naiksanjay86@gmail.com

thank you

KibonyezoH2 months ago

Please send me the source code and any extra material to anonymouskeyboard47@gmail.com

Thank you.

sanjaybunty992 months ago

hello sir,

could you please send me the update code to sanjaybunty99@gmail.com

thanks

greg.colbourn2 months ago

Would be cool if this project works out - https://www.indiegogo.com/projects/ivport-raspberr...
It would then be possible to reduce the cost of each 4-camera pole to about £100.

blurbbox4 months ago

Hi Richard,

Could you please help with the formatted code.

It gives an error saying indentation needed.

Regards,

Anant

dariocolombo5 months ago

hi Richard, nice job indeed. would be nice to see the raspberry and camera mount 3d model u used for printing as well .im very bad in 3d and i cannot use proficiently 3d software.thank you

azadeha6 months ago

Hello Richard, I wonder that in your latest build for the camera poles you didn't use a curvy structure. Didn't you find it very influential? Another question is that are you able to do a full body scan because I don't see any raspberry pi at the lower height.

Thanks

peterjaap6 months ago

I've seen this live (at the place where the main photo is taken)! It's awesome :) Here are two photos I took.

2013-10-12 14.23.22.jpg2013-10-12 14.23.32.jpg
fengkan7 months ago

I am trying a familiar setup. But I found it's very difficult to get pi cameras to take photos of same color. Some photos are too yellow, some are too white, some are too gray. I have specified the awb and exposure parameters. Have you met the same problems?

fengkan fengkan7 months ago

Any hint will be welcome, thank you!

peteyhockey97 months ago

Could you please email me the correct code to cpeterson19@gmail.com

Thank you so much

fgrande7 months ago
Hy, now everything is ok!! Now i'm waiting more raspberry to do adult scanning.
My problem is that, if my raspberry is connected to internet (in my case I’m using wifi adapter), the listen code start with no problem; if there is no internet connection python give me an error (see image attached).
My question is: Why is required an internet connection? Is it possible to modify the python code and disable this request?
the_anykey (author)  fgrande7 months ago

Hi,

The code assumes you have an local IP address to use as identifier for saving the images. When you say you have no internet connection, do they get an local ip address from dhcp? if not, you have to setup manual ip address on the raspberry

azadeha8 months ago

I can see you don't use green wall but it's interesting that in the first maker fair, there was lots of windows on one side and natural light was coming but it didn't effect your work negatively. When I was 3D scanning with Kinect, natural light wasn't good at all.

the_anykey (author)  azadeha8 months ago

Hi, I kinect works with infrared light. If you have bright sunlight, this "overwrites" the infrared light and therefor you will have issues with it. As we do not rely on infrared light, the more light we get, the better it is. Preferably all around, as we do not want to have shadows in our models. Today we are using a 11 softboxes all around to light the subject.

johnacsyen8 months ago

Dear Richard,

Where do you run the "send script"? Is it from a computer running the python application and then calling this send script? I assume this computer is in part of the network together with the Raspberry Pis.

Sorry for asking an obvious question but I am new to python.

Thanks for your help

the_anykey (author)  johnacsyen8 months ago

Hi, You can run the send script from any thing that is connected to the same network segment. I just use any of the raspberry system for it, but it can also be done from a PC or Mac

azadeha8 months ago

Richard as for the light, I can see in your newer version you're using 8 of those standing lamps. Do you really need so many? Every pair of them is at least $300, isn't it? LED strips were only for kid-friendly purposes, weren't they?

the_anykey (author)  azadeha8 months ago

I found that good lights is crucial to get good photos. I am shooting at 100ISO at 1/80th shutterspeed with my lights. Also you want to have lights all around to make sure there is no shadow in the images.

My lightboxes, which include 4x55watt special film studio lights cost about 100 euro each.

Richard, thank you for your quick replies. I guess your lamps are more like this: http://www.amazon.co.uk/dp/B008JDMEWW/?tag=athok07...

But I didn't find any thing like that for €100 but I found these: http://www.promaster.com/products.asp?product=9420 which are the same price as yours. What do you think about them? The only thing I can think is that in your case if one of the lamps burns still 3 more are functional but in the second product is only one lamp.

1-40 of 121Next »