Cov txheej txheem:
Video: Sipeed MaiX Bit OpenMV Demos - Computer Vision: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nov yog kab lus thib ob hauv kab lus hais txog Sipeed AI ntawm Ntug microcontroller platform. Lub sijhawm no kuv yuav sau txog MaiX Bit (txuas rau Seeed Studio Shop), me dua, lub khob cij npaj npaj rau kev txhim kho. Nws qhov tshwj xeeb zoo ib yam li MaiX Dock, pawg thawj coj saib kuv siv rau kev qhia zaum kawg, txij li lawv siv tib lub nti, Kendryte K210.
Peb tab tom yuav siv micropython firmware los sim qee qhov qhib OpenMV. Nov yog cov lus piav qhia los ntawm OpenMV homepage:
Txoj haujlwm OpenMV yog hais txog kev tsim tus nqi qis, nthuav dav, Python siv lub tshuab, lub zeem muag pom lub tshuab thiab lub hom phiaj ntawm kev dhau los ua "Arduino ntawm Tshuab Lub Zeem Muag". Piv txwv li, find_blobs () txoj hauv kev pom cov xim blobs thiab xa cov npe ntawm 8 cov khoom muaj nuj nqis sawv cev rau txhua qhov blob xim. Hauv Python rov ua dua los ntawm cov npe cov khoom xa rov qab los ntawm find_blobs () thiab kos duab plaub fab puag ncig txhua qhov blob xim tau yooj yim ua hauv ob kab ntawm cov cai.
Yog li, txawm hais tias MaiX Bit nta tshwj xeeb rau kev ua haujlwm nrawm ntawm lub paj hlwb, qee zaum nws yuav yooj yim dua tsuas yog siv OpenMV nyuaj-coded algorithms los ua txoj haujlwm lossis siv lawv ua ke ib leeg.
Qee qhov siv cov xwm txheej uas los rau kuv lub siab yog:
1) Kab nrhiav kom tau rau kab hauv qab bot
2) Txheeb xyuas teeb pom kev zoo nrog lub voj voos thiab pom xim
3) Siv lub ntsej muag txhawm rau nrhiav lub ntsej muag kom paub lub ntsej muag (nrog DNN)
Github repository rau kab lus no
Kauj ruam 1: Flash Micropython Firmware
Ua ntej tshaj plaws peb yuav xav tau flash micropython firmware rau peb pawg thawj coj saib. Precompiled binary suav nrog hauv github repository rau kab lus no, ua ke nrog kflash.py (flash nyem). Yog tias koj xav sau cov firmware los ntawm qhov chaws, tsuas yog rub tawm qhov chaws los ntawm https://github.com/sipeed/MaixPy, teeb tsa lub cuab yeej cuab tam thiab suav sau qhov chaws rau hauv maixpy.bin cov ntaub ntawv. Cov lus qhia ntxaws ntxiv tuaj yeem nrhiav tau ntawm no.
Flash cov ntaub ntawv binary nrog
sudo python3 kflash.py kpu.bin
Tom qab ua tiav qhov ua tiav ua raws cov kauj ruam tom ntej.
Kauj Ruam 2: Txuas rau MaiX Bit
Tam sim no peb MaiX Me ntsis yuav tsum siv tau los ntawm USB txuas txuas nrog baudrate 115200. Koj tuaj yeem siv koj cov software nyiam rau kev sib txuas lus lossis tsuas yog miv thiab ncha lus txib, txawm li cas los xij koj xav tau. Kuv tau siv tshuaj ntsuam rau kev sib tham hauv xov tooj thiab pom nws yooj yim heev.
Cov lus txib rau tsim kom muaj kev sib tham sib tham nrog lub vijtsam yog
sudo screen /dev /ttyUSB0 115200
qhov twg /dev /ttyUSB0 yog qhov chaw nyob ntawm koj lub cuab yeej.
Koj yuav xav tau nias lub pob pib dua ntawm koj lub microcontroller kom pom cov lus txais tos thiab tus nab npawb txhais lus tam sim.
Kauj ruam 3: Khiav Demos
Tam sim no koj tuaj yeem nkag mus rau hom kev luam los ntawm nias Ctrl+E thiab theej-muab cov lej tso tawm. Txhawm rau khiav lawv nias Ctrl+D hauv hom luam.
Yog tias koj tsis xav sau cov vis dis aus, koj yuav tsum tawm tswv yim txog kab kaw kab video. Txwv tsis pub cov cai yuav pov qhov kev zam yog tias tsis muaj daim npav SD tso
Nov yog cov lus piav qhia luv ntawm txhua qhov demo:
Nrhiav cov voj voos - siv find_circles ua haujlwm los ntawm OpenMV. Xav tau ntau qhov kev hloov pauv rau koj daim ntawv thov tshwj xeeb, tshwj xeeb yog pib (tswj lub voj voos twg pom los ntawm kev hloov pauv. Tsuas yog cov voj voog uas muaj qhov ntau dua lossis sib npaug rau qhov pib tau rov qab) thiab r_min, r_max qhov tseem ceeb.
Nrhiav cov duab plaub - siv find_rects ua haujlwm los ntawm OpenMV. Koj tuaj yeem ua si ib puag ncig nrog tus nqi pib, tab sis tus nqi kuv muaj hauv kev ua haujlwm zoo heev rau kev nrhiav cov duab plaub.
Nrhiav ntsej muag, nrhiav qhov muag - siv kev pom_ ua haujlwm nrog Haar Cascades txhawm rau txheeb xyuas qhov muag thiab ntsej muag ntawm lub ntsej muag hauv daim duab. Koj tuaj yeem ua si ib puag ncig nrog qhov pib thiab ntsuas qhov tseem ceeb rau txoj cai nrawm-raug pauv pauv.
Nrhiav cov kab tsis muaj qhov kawg - siv txoj haujlwm find_lines txhawm rau nrhiav txhua kab tsis muaj qhov kawg hauv daim duab siv hough transform.
Ntsuas xim - siv get_statistics ua haujlwm kom tau txais cov khoom feem pua thiab tom qab ntawd hloov cov ntsiab lus tseem ceeb ntawm LAB tuple rau RGB qhov tseem ceeb tuple. Kuv tau sau qhov piv txwv no kuv tus kheej thiab nws ua haujlwm tau zoo heev, tab sis nco ntsoov qhov txiaj ntsig ntawm kev kuaj pom xim yuav cuam tshuam los ntawm cov teeb pom kev ib puag ncig.
Koj tuaj yeem pom ntau qhov nthuav nthuav tawm hauv OpenMV github chaw cia khoom! Lawv feem ntau sib xws nrog MaiX Bit micropython, qhov tsuas yog qhov koj yuav tsum nco ntsoov yog ntxiv sensor.run (1) tom qab teeb tsa pixformat thiab framesize.
Zoo siab sim nrog OpenMV code. Yog tias koj muaj lus nug lossis xav qhia qee qhov ntawm koj qhov txiaj ntsig zoo, tsis txhob yig tiv tauj kuv ntawm Youtube lossis LinkedIn. Tam sim no, thov zam txim, Kuv yuav mus ua qee tus neeg hlau!
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Kev Tshawb Nrhiav Lub Hom Phiaj Nrog Sipeed MaiX Boards (Kendryte K210): 6 Cov Kauj Ruam
Kev Tshawb Nrhiav Lub Hom Phiaj Nrog Sipeed MaiX Boards (Kendryte K210): Raws li txuas ntxiv ntawm kuv tsab xov xwm dhau los txog kev lees paub cov duab nrog Sipeed MaiX Boards, Kuv txiav txim siab sau lwm qhov kev qhia, tsom mus rau cov khoom pom. Muaj qee qhov kho vajtse nthuav tawm tsis ntev los no nrog Kendryte K210 nti, suav nrog S
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
Hnab ev ntawv #1: OpenMV Lub Koob Yees Duab: 7 Kauj Ruam
Hnab ev ntawv #1: OpenMV Lub Koob Yees Duab: SPIKE Prime Lub Hnab ev ntawv yog txuas ntxiv rau LEGO Kev Kawm SPIKE Prime.Qhov qhib MV lub koob yees duab yog lub hlwb rau Lub Koob Yees Duab Lub Hnab uas tso cai rau koj los ua ke cov duab ua haujlwm thiab tshuab lub peev xwm ntawm Open MV lub koob yees duab rau LEGO SPIKE Prime. Peb txhua tus
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw