Cov txheej txheem:

Siv OpenCV 1.0 Nrog Python 2.5 hauv Windows XP: 3 Kauj Ruam
Siv OpenCV 1.0 Nrog Python 2.5 hauv Windows XP: 3 Kauj Ruam

Video: Siv OpenCV 1.0 Nrog Python 2.5 hauv Windows XP: 3 Kauj Ruam

Video: Siv OpenCV 1.0 Nrog Python 2.5 hauv Windows XP: 3 Kauj Ruam
Video: Как установить и настроить Python3.5 + OpenCV3.1 #python #opencv 2024, Hlis ntuj nqeg
Anonim
Siv OpenCV 1.0 Nrog Python 2.5 hauv Windows XP
Siv OpenCV 1.0 Nrog Python 2.5 hauv Windows XP

Kuv muaj lub sijhawm nyuaj tau txais openCV (qhib Computer Vision, los ntawm Intel) ua haujlwm nrog sej 2.5, ntawm no yog cov lus qhia thiab cov ntaub ntawv yuav ua li cas thiaj ua haujlwm tau yooj yim! dhau los tam sim no ncaj ncaj rau pem hauv ntej openCV teeb tsa txheej txheem. ABOUT OPENCV: "Qhib Lub Computer Vision Lub Tsev Qiv Ntawv yog sau los ntawm cov txheej txheem thiab cov qauv qauv rau ntau yam teeb meem kev pom lub computer." Yeej nws muaj ntau pawg ntawm cov cuab yeej uas cia koj txheeb xyuas cov duab thiab cov vis dis aus nyob. los ntawm qhov chaw xws li lub webcam. Tam sim no kuv tab tom ua haujlwm rau neeg hlau rau defcon 15.

Kauj Ruam 1: Txheeb Koj Cov Ntawv Qhia

Nkag Mus Koj Cov Ntawv Teev Npe
Nkag Mus Koj Cov Ntawv Teev Npe

Nrhiav seb koj tau teeb tsa nab nab nyob qhov twg, nws yog los ntawm C: / Python25

Thaum koj nyob ntawd saib rau 'Lib', sab hauv Lib yuav tsum muaj lwm cov npe hu ua 'site-packages' Ntawm lub khoos phis tawj no kuv tsis muaj lwm pob khoom teeb tsa rau nab nab, yog li nws tsis tas li ntawm README.txt

Kauj Ruam 2: Luam theej ua ke Python Modules rau hauv Chaw-pob khoom

Luam theej ua ke Python Modules rau hauv Chaw-pob khoom
Luam theej ua ke Python Modules rau hauv Chaw-pob khoom

Tsuas yog rub tawm cov ntawv, unzip thiab luam tag nrho /opencv /directory ncaj qha rau /site-packages /

raws li tau qhia hauv lub vijtsam… Kuv suav cov nab nab nab modules hauv MSVS 2003 yog li nws ua haujlwm nrog nab nab 2.5, Kuv tsis paub meej txog lwm cov nab nab nab, tab sis nws zoo li yog koj suav cov nab nab nab modules hauv ib yam dab tsi ntxiv rau MSVS 2003, nws chokes thiab tuag.

Kauj ruam 3: Tam sim no koj yuav tsum tau teeb tsa

Tam sim no koj yuav tsum teeb
Tam sim no koj yuav tsum teeb

Kom paub tseeb tias opencv ua haujlwm tau zoo nrog nab hab sej mus rau qhov koj tau teeb tsa opencv "C: / Program Files / OpenCV" rau kuv … Tam sim no, piv txwv, tom qab ntawd nab nab, thiab koj yuav tsum tau nthuav tawm nrog codeucopia* piv txwv cov ntaub ntawv … qhov kev xeem zoo cov ntaub ntawv uas yuav tsum tsis muaj cov vis dis aus los ntsuas tus qauv ua haujlwm raug yog 'drawing.py'*ua cov lus PS. Yog hais tias koj tsuas yog xav siv opencv nrog nab hab sej, tsis muaj laj thawj tiag los nruab los ntawm tus thawj installer dua li nkag mus mus rau qhov kuaj. Qhov hmoov zoo thiab pom kev zoo siab!

Pom zoo: