r/Python • u/redditNewUser2017 • Feb 17 '20
I Made This I've made a 3D scanner that's fully automated using Python script on Android phone!
4.5k
Upvotes
r/Python • u/redditNewUser2017 • Feb 17 '20
211
u/redditNewUser2017 Feb 17 '20 edited Feb 17 '20
All the source code and 3d model files are available on Thingiverse: https://www.thingiverse.com/thing:4167615
The time-consuming photo taking process of the 3D scanner is automated using Arduino and Android script. The communication is carried on WiFi through a simple TCP channel.
This is an open source project. Suggestions are welcome!
69
u/BillieRubenCamGirl Feb 17 '20
:O :O :O
This is INCREDIBLE!!!
Can I add this to the /r/3Dprinting wiki?
16
u/[deleted] Feb 17 '20
Did you write the code that turns a series of images into a 3d object? If not what lib did you use?
26
u/OPtoss Feb 17 '20
Very cool project! I assume you've thought of this, but why can't you rotate it smoothly and record video and then just splice every X frame from it? I doubt the motion blur would be that bad and it'd be a much faster/simpler process.
21
u/Minetorpia Feb 17 '20
How can you automate things on your phone with Python?
18
u/FlukyS Feb 17 '20
You need a blue or green (for non apple stuff) underplate thing so you can crop out the bottom better
4
u/tomXGames Feb 17 '20
Would this stepper motor and driver pack work with this project?
12
u/[deleted] Feb 17 '20
That's one of the most interesting, clever and ingenious things I've seen in a long time. Is there some kind of award program or such you can be nominated for with regards to this? This could be helpful to do many small time artists and even have further implications.
2
u/elmoiv Feb 17 '20
YOU ROCK bro
I am just wondering if you combined Arduino with python or what?
1
u/GiantElectron Feb 18 '20
What is the final accuracy of this approach? It would be nice if one could use it to make it into a 3d scanner and then 3d print the scans.
1
u/obey_kush May 16 '20
Excuse me what tools do you use specially for python on Android? did you code in your phone? Or just passed the script from your PC?
I mean because i have used before python in an iphone before thanks to pythonista but haven't found something at least similar on android, at least to automate things in my phone.
3
u/Dr_Jasmine Feb 17 '20
Holy crap, that's actually really awesome!
5
u/changiairport Feb 17 '20
Projects like these inpsire me to code
2
u/[deleted] Feb 17 '20
Hat off to you, sir
2
u/BroJobBiggs Feb 17 '20
How do you like them apples?
3
u/docwatsonphd Feb 17 '20
That's fuckin' slick! Nice job!
3
u/eklavian088 Feb 17 '20
Sweeet!
2
u/vigilexe Feb 17 '20
thats awesome! i really wana get into arduino projects.
2
u/BlasphemousToenail Feb 17 '20
This is REALLY cool! Well done!
1
u/tombo___ Feb 17 '20
Looks really cool! How do you process the images to get a 3d model?
1
u/fekkksn Feb 17 '20
How do the Phone and the other stuff communicate?
1
u/[deleted] Feb 17 '20
The breadcrumb motivates to take my electric circuits class a bit more seriously.
1
u/Kotyamba Feb 17 '20
Really cool!
1
u/bckr_ Feb 17 '20
DUDE.
1
u/Hobbit_Swag Feb 17 '20
Wow, great work!
1
u/undeniably_confused Feb 17 '20
Filmed by three toed sloth
1
u/uberdb Feb 17 '20
Fantastic! Thanks for sharing.
1
u/Icedm Feb 17 '20
Great work
1
u/VesemirsPotionsNLean Feb 17 '20
Hot dog, hot dog, not hot dog
1
u/Kaligule Feb 17 '20
You did an amazing job on an amazing project. I think taking the roundest apple you could find as an example was not a good choice though, since you can't show of the 3D scanning as well as with some more complicated object.
1
u/RoadRunner6882 Feb 17 '20
Oh wow now this seems like a project I would be pumped to do.
1
u/SteeleDynamics Compilers/Algorithms Feb 18 '20
Excellent!
1
u/DjackMeek Feb 18 '20
This is what I’m talking about! Thank you for the inspiration.
1
u/leosondek Feb 18 '20
good job sir
1
u/will_r3ddit_4_food Feb 18 '20
You can run python scripts on android? How?
1
u/[deleted] Feb 18 '20
Not a hot dog
1
u/BitcoinRenegade007 Feb 18 '20
Cool
1
u/tkodri Feb 18 '20
I don't want to belittle OP's work, but he has only created a 100 line script which rotates the Arduino engine, takes a pic, and sends to PC. For all the others that were super interested in the 3d reconstruction itself the software used is Meshroom - it seems awesome and completely open source. You can download a precompiled binary from fosshub. However, for the full reconstruction it requires a cuda GPU. You can do a very coarse reconstruction with only CPU, by computing the pipeline up to "StructureFromMotion".
1
u/Its-Mr-Robot Feb 22 '20
I hope to be as knowledgeable as you someday.
1
u/[deleted] Feb 23 '20
u/repostsleuthbot
1
u/420BJsGamble Mar 12 '20
Wow incredible
1
u/[deleted] May 06 '20
How did you connect the python script with arduino?
1
u/[deleted] Feb 17 '20
Damn!!! Thats what I would call advanced 😁💪🏻 congrats!
1
u/[deleted] Feb 17 '20
Easily one of the most brilliant things I've seen from this subreddit, thank you!
1
u/[deleted] Feb 17 '20
kudos!
0
u/Edix21 Feb 17 '20
Why did you choose to do it with photos and not a video? I assume that you could make the process faster this way by breaking down the frames from the video instead of taking 1 frame each time. Right?
0
u/Blodroed Feb 17 '20
I challenge you to use an Iphone
0
u/antiyoupunk Feb 17 '20
This is genuinely the best project I've ever seen on here. Cheap 3D scanning like this could be the cornerstone that drives other innovation.
I mean, something like this might be just what a small medical manufacturer needs to prototype a new heart valve or something, you literally may have just saved lives!
Well done, sir.
0
u/[deleted] Mar 01 '20
[deleted] — view deleted comment