Cov txheej txheem:

DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Zeem Muag Hauv Lub Suab Python: 6 Kauj Ruam (nrog Duab)
DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Zeem Muag Hauv Lub Suab Python: 6 Kauj Ruam (nrog Duab)

Video: DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Zeem Muag Hauv Lub Suab Python: 6 Kauj Ruam (nrog Duab)

Video: DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Zeem Muag Hauv Lub Suab Python: 6 Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Zeem Muag Hauv Lub Suab Python
DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Zeem Muag Hauv Lub Suab Python
DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Hauv Paus Pom Kev Pom Hauv Python Language
DIY 3D Scanner Raws Li Teeb Pom Kev Zoo thiab Lub Hauv Paus Pom Kev Pom Hauv Python Language

Lub tshuab luam ntawv 3D no tau tsim los siv cov khoom siv qis tus nqi xws li yees duab projector thiab webcams. Tus qauv teeb pom kev zoo 3D lub tshuab luam ntawv yog lub tshuab luam ntawv 3D txhawm rau ntsuas cov duab peb-seem ntawm ib qho khoom siv uas siv lub teeb pom kev zoo thiab lub koob yees duab system. Software tau tsim los raws kev teeb pom kev zoo thiab pom lub tso suab nrog lus nab.

Kev kwv yees qhov nqaim nqaim ntawm lub teeb mus rau qhov peb-dimensional puab lub ntsej muag ua kab ntawm lub teeb pom kev zoo uas pom tsis zoo los ntawm lwm qhov kev xam pom dua li ntawm lub projector, thiab tuaj yeem siv rau kev tsim kho qhov tseeb ntawm cov duab saum npoo. Kab rov tav thiab kab teeb pom kev zoo tau kwv yees rau ntawm qhov khoom thiab tom qab ntawd ntes los ntawm ob lub webcams.

Kauj ruam 1: Taw qhia

Taw qhia
Taw qhia
Taw qhia
Taw qhia

Tsis siv neeg cov cuab yeej nrhiav tau 3D (feem ntau hu ua 3D tshuab luam ntawv) tso cai tsim cov qauv raug ntawm cov khoom 3D tiag tiag hauv tus nqi- thiab sijhawm zoo. Peb tau sim cov thev naus laus zis no hauv kev tshuaj xyuas cov khoom ua si los ua pov thawj qhov ua tau zoo. Cov kev xav tau tshwj xeeb yog: qhov nruab nrab-qhov tseeb, siv tau yooj yim, tus nqi pheej yig ntawm lub tshuab luam ntawv, tus kheej sau npe kom tau txais cov duab thiab xim cov ntaub ntawv, thiab thaum kawg ua haujlwm nyab xeeb rau ob tus neeg teb xov tooj thiab cov khoom ntsuas. Raws li cov kev xav tau no, peb tsim tus nqi qis 3D scanner raws li teeb tsa teeb pom kev zoo uas siv ntau yam xim kab txaij sib txawv. Peb nthuav qhia lub khoos phis tawj thev naus laus zis, thev naus laus zis thev naus laus zis tau txais, thiab thawj qhov txiaj ntsig ntawm nws siv hauv qhov haujlwm hais txog 3D tau txais cov khoom ua si.

Hauv kev tsim ntawm peb lub tshuab ntsuas tus nqi qis, peb tau xaiv los siv lub tshuab emitter los ntawm kev siv lub tshuab yees duab. Qhov laj thawj yog qhov hloov pauv ntawm lub cuab yeej no (uas tso cai sim ua ib hom qauv teeb pom kev zoo) thiab nws muaj dav. Lub ntsuas tuaj yeem yog ib qho khoom siv tshwj xeeb, tus qauv digital tseem lub koob yees duab lossis lub vev xaib. nws yuav tsum txhawb nqa cov xim xim zoo (piv txwv li tau txais qhov siab ntau yam) thiab muaj peev xwm nrog kev daws teeb meem siab.

Kauj ruam 2: Software

Software
Software

Python lus tau siv rau kev ua haujlwm rau peb qhov laj thawj, ib qho nws yooj yim kawm thiab siv, ob peb tuaj yeem siv OPENCV rau cov duab ntsig txog kev ua niaj hnub thiab peb nws yog portable ntawm cov haujlwm sib txawv yog li koj tuaj yeem siv qhov haujlwm no hauv qhov rais, MAC thiab Linux. Koj tseem tuaj yeem teeb tsa lub software kom siv nrog txhua lub koob yees duab (webcams, SLRs lossis cov koob yees duab muaj) lossis projector nrog haiv neeg 1024X768 daws teeb meem. Nws yog qhov zoo dua los siv cov koob yees duab nrog ntau dua ob zaug daws teeb meem. Kuv tus kheej tau sim qhov kev ua tau zoo hauv peb qhov kev teeb tsa sib txawv, thawj qhov yog nrog ob lub Microsoft webcam xinesmas thiab lub me me projector, qhov thib ob yog nrog ob lub lifecam xinesmas webcameras uas tig 15 degrees rau ib leeg thiab Infocus projector, teeb tsa kawg yog nrog logitech webcameras thiab Infocus projector. Txhawm rau ntes cov ntsiab lus huab ntawm cov khoom nto peb yuav tsum mus hla tsib qib:

1. Projecting cov qauv grey thiab ntes cov duab los ntawm ob lub koob yees duab "SL3DS1.projcapt.py"

2. Ua 42 cov duab ntawm txhua lub koob yees duab thiab ntes cov lej cim cim "SL3DS2.procimages.py"

2. Kho qhov pib kom xaiv qhov ntsej muag rau thaj chaw kom ua tiav "SL3DS3.adjustthresh.py"

4. Nrhiav thiab khaws cov ntsiab lus zoo sib xws hauv txhua lub koob yees duab "SL3DS4.calcpxpy.py"

5 X xam X, Y thiab Z tswj hwm ntawm huab huab "SL3DS5.calcxyz.py"

Qhov tso tawm yog PLY cov ntaub ntawv nrog kev sib koom tes thiab cov ntaub ntawv xim ntawm cov ntsiab lus ntawm cov khoom nto. Koj tuaj yeem qhib PLY cov ntaub ntawv nrog CAD software zoo li Autodesk cov khoom lag luam lossis qhib qhov chaw sofware zoo li Meshlab.

www.autodesk.com/products/personal-design-a…

Python 2.7, OPENCV module thiab NUMPY yuav tsum tau teeb tsa los ua cov haujlwm Python no. Kuv kuj tau tsim GUI rau cov software no hauv TKINTER uas koj tuaj yeem pom hauv qib 6 nrog ob daim qauv ua piv txwv. Koj tuaj yeem nrhiav cov ntaub ntawv ntxiv ntawm cov ncauj lus no ntawm cov vev xaib hauv qab no:

docs.opencv.org/modules/calib3d/doc/camera_…

docs.opencv.org/modules/highgui/doc/reading…

www.3dunderworld.org/software/

arxiv.org/pdf/1406.6595v1.pdf

mesh.brown.edu/byo3d/index.html

www.opticsinfobase.org/aop/fulltext.cfm?uri…

hera.inf-cv.uni-jena.de:6680/pdf/Brauer-Bur…

Kauj Ruam 3: Teeb Kho Vajtse

Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb

Kho vajtse muaj:

1. Ob lub webcameras (Logitech C920C)

2. Infocus LP330 projector

3. Lub koob yees duab thiab lub projector sawv ntsug (ua los ntawm 3 hli Acrylic daim hlau thiab 6 hli HDF ntoo txiav nrog lub tshuab txiav laser)

Ob lub koob yees duab thiab lub projector yuav tsum txuas nrog lub khoos phis tawj nrog ob lub vis dis aus tso tawm zoo li lub khoos phis tawj sau ntawv thiab lub projector screen yuav tsum tau teeb tsa ua qhov txuas ntxiv mus rau lub qhov rais tseem ceeb desktop. Ntawm no koj tuaj yeem pom cov duab ntawm lub koob yees duab, lub projector thiab sawv ntsug. Cov ntaub ntawv teeb tsa npaj rau kev txiav tau txuas nrog hauv SVG hom ntawv.

Lub projector yog Infocus LP330 (Kev daws teeb meem ib txwm 1024X768) nrog qhov tshwj xeeb hauv qab no. Qhov ci ntsa iab: 650 Lumens Xim Teeb Pom Kev Tso Tawm: ** Qhov Sib Txawv (Tag Nrho On/Off): 400: 1 Auto Iris: Tsis Muaj Kev Txiav Txim Siab: 1024x768 Aspect Ratio: 4: 3 (XGA) Cov Qauv Duab: ** Cov Qauv Cov Ntaub Ntawv: MAX 1024x768 Lub Hwjchim Loj: 200 Watts Voltage: 100V - 240V Loj (cm) (HxWxD): 6 x 22 x 25 Nyhav: 2.2 kg Lub Teeb Lub Neej (Lub Hwjchim Loj): 1, 000 teev Lub Teeb Hom: UHPLamp Lub Hwjchim: 120 Watts Teeb Lub Teeb: 1 Zaub Hom: 2 cm DLP (1) Txuj Zoom Lens: 1.25: 1 Tsom: Kev Taw Qhia Taw Qhia (m): 1.5 - 30.5 Duab Loj (cm): 76 - 1971

Qhov projector video no yog siv los teeb tsa cov qauv teeb pom kev zoo ntawm lub hom phiaj kom raug luam theej duab. Cov qauv tsim muaj cov kab ntsug thiab kab rov tav dawb lub teeb uas tau khaws tseg ntawm cov ntaub ntawv cov ntaub ntawv thiab webcams ntes cov kab ntawv tsis raug.

Nyiam siv cov koob yees duab uas yog software tswj tau vim tias koj xav tau kho kom pom tseeb, ci ntsa iab, daws teeb meem thiab duab zoo. Nws muaj peev xwm siv DSLR koob yees duab nrog SDKs uas tau muab los ntawm txhua lub npe.

Kev sib dhos thiab ntsuas tau ua hauv Copenhagen Fablab nrog nws txoj kev txhawb nqa.

Kauj ruam 4: Kuaj nrog Scanner

Kev sim nrog Scanner
Kev sim nrog Scanner
Kev sim nrog Scanner
Kev sim nrog Scanner
Kev sim nrog Scanner
Kev sim nrog Scanner

Txog kev sim cov kab ke cov khoom ua si ntses tau siv thiab koj tuaj yeem pom cov duab uas tau ntes. Txhua cov ntaub ntawv raug ntes thiab tseem tso tawm huab huab suav nrog hauv cov ntawv txuas nrog, koj tuaj yeem qhib PLY point cloud file nrog Meshlab:

meshlab.sourceforge.net/

Kauj Ruam 5: Qee Qhov Kev Ntsuam Xyuas Lwm Yam

Qee Qhov Kev Ntsuam Xyuas Lwm Yam
Qee Qhov Kev Ntsuam Xyuas Lwm Yam
Qee Qhov Kev Ntsuam Xyuas Lwm Yam
Qee Qhov Kev Ntsuam Xyuas Lwm Yam
Qee Qhov Kev Ntsuam Xyuas Lwm Yam
Qee Qhov Kev Ntsuam Xyuas Lwm Yam
Qee Qhov Kev Ntsuam Xyuas Lwm Yam
Qee Qhov Kev Ntsuam Xyuas Lwm Yam

Ntawm no koj tuaj yeem pom qee tus tib neeg lub ntsej muag ntsuas thiab 3d luam theej duab ntawm phab ntsa. Ib txwm muaj qee cov ntsiab lus tsis zoo vim yog kev xav lossis cov duab tsis raug.

Kauj Ruam 6: 3D Scanner GUI

3D Scanner GUI
3D Scanner GUI

Txog kev sim 3d luam theej duab software hauv qib no kuv ntxiv ob daim ntawv teev ib qho yog luam ntawm ntses thiab lwm qhov tsuas yog lub dav hlau phab ntsa kom pom qhov tseeb ntawm nws. Qhib ZIP cov ntaub ntawv thiab khiav SL3DGUI.py. Rau kev teeb tsa txheeb xyuas theem 2. Xa lus rau kuv tus inbox ntawm no rau txhua qhov chaws.

Rau kev siv 3d luam ib feem koj yuav tsum teeb tsa ob lub koob yees duab thiab lub projector tab sis rau lwm qhov tsuas yog nyem rau ntawm lub pob. Txog kev ntsuas cov ntaub ntawv piv txwv thawj zaug nyem rau ntawm cov txheej txheem tom qab ntawd pib, lub tso suab sib phim thiab thaum kawg taw tes huab. Nruab Meshlab kom pom lub ntsiab lus huab.

meshlab.sourceforge.net/

Pom zoo: