Cov txheej txheem:
- Kauj Ruam 1: Teeb Ua Ntej Ua Ntej Ua Ntej
- Kauj Ruam 2: Teeb Meem Ntes Pom Software
- Kauj Ruam 3: Nkag Mus Saib Cov vis dis aus thiab teeb tsa los ntawm Dropbox
Video: Pizero Motion Detect Webcam Security System: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Cov kab ke no siv pizero, wifi dongle thiab lub webcam qub hauv qhov kev sib tw matchbox. Nws kaw cov suab pom cov yeeb yaj kiab ntawm 27fps ntawm ib qho tseem ceeb txav ntawm kuv txoj kev tsav tsheb. Tom qab ntawd nws upload cov yeeb yaj kiab rau hauv tus lej dropbox. Kuj tseem tuaj yeem saib cov cav thiab hloov pauv teeb tsa ntawm dropbox.
Kauj Ruam 1: Teeb Ua Ntej Ua Ntej Ua Ntej
Ua ntej hloov kho lub operating system mus rau qhov hloov tshiab tshaj plaws raws li tau piav qhia ntawm no.
Tom qab ntawv teeb lub wifi raws li tau piav qhia ntawm no.
Tom qab ntawd koj yuav tsum teeb tsa OpenCv. Muaj cov lus qhia zoo txog yuav ua li cas ntawm pyimagesearch. Yog tias koj yuav mus rau version 3.0 cia siab tias nws yuav siv sijhawm ntev. Ib qho ntawm cov kauj ruam siv sijhawm 9 teev los ua. Koj tseem yuav xav tau cov nab nab khi uas tau piav qhia ntawm nplooj ntawv ntawd.
Thaum koj tau txais qhov no tag nrho thiab khiav koj tau npaj los rub tawm cov lus tsa suab software.
Kauj Ruam 2: Teeb Meem Ntes Pom Software
Cov cai tuaj yeem pom ntawm bitbucket. Luam cov ntaub ntawv no los ntawm kev siv
git clone
lossis yog tias koj xav rub tawm lawv tus kheej.
Qhov tseem ceeb ntawm cov kab ke no yog multiMotionDetect.py. Nws siv ntau qhov kev ua ntau txoj kab thiab cov xwm txheej.
Ua ntej tshaj plaws koj yuav tsum txiav txim siab qhov twg koj xav tau cov vis dis aus duab khaws cia MotionVideos thiab teeb tus nqi no hauv cov ntaub ntawv globalConfig.json. Tom qab ntawd luam qhov config.json.txt thiab maskedAreas.json.txt mus rau lub hauv paus ntawm daim nplaub tshev no. Config.json.txt muaj cov teeb tsa hauv qab no uas tuaj yeem kho nyob deb.
}
FrameThreshold: yog tus naj npawb ntawm cov thav ntawv tseem ceeb ua ntej pom cov lus tsa suab.
zoo li qubThreshold: yog tus naj npawb ntawm cov thav duab zoo li ua ntej peb tig tua tawm.
minArea: yog qhov tsawg kawg nkaus ntawm thaj tsam txhawm rau suav ua qhov tseem ceeb.
postSeconds: Qhov no yog tus naj npawb ntawm vib nas this los ntawm qhov kawg ntawm kev ua yeeb yaj kiab rau qhov txav mus los ntawm kab. readCamNice: Qhov no yog qhov muaj feem thib yuav muab rau
txheej txheem readCam Qhov no yog nruab nrab ntawm -20 thiab +20 (qis dua daim duab qhov siab dua qhov muaj feem thib). Tab sis tsis txhob overdo nws lossis koj yuav tsoo lub operating system.
checkMotionNice: Qhov muaj feem thib rau cov txheej txheem tshawb pom cov lus tsa suab.
writeCamNice: Qhov tseem ceeb ntawm cov txheej txheem sau lub koob yees duab.
maxqsize: Qhov no yog tus naj npawb ntawm vib nas this uas tom qab ntawd muab sib tw los ntawm cov thav duab ib ob.
Kuv feem ntau tsuas yog hloov lub min_area rau tus account cua cua.
Yog tias koj xav siv lub logger yooj yim dua li lub log logger (hauv qab) hloov pauv ntshuam miaLogging rau
ntshuam logging
logging.basicConfig (filename = 'example.log', qib = logging. DEBUG)
thiab tshem tawm lub cav txais los ntawm cov ntawv motionDetect thiab txhua yam ntxiv yuav tsum ua haujlwm zoo.
Yog tias koj xav khiav cov lus tsa suab pom tau thaum pib.
Ua ntej kho cov ntawv thiab txheeb xyuas tias homedir cov ntsiab lus rau qhov chaw koj muaj multiMotionDetect.py, tom qab ntawv theej cov ntawv motionDetect rau /etc/init.d ie
cp motionDetect /etc/init.d/motionDetect
Yuav tsum tau ua tiav tab sis
chmod +x /etc/init.d/motionDetect
Thaum kawg sau npe tsab ntawv nrog
sudo hloov tshiab-rc.d motionDetect defaults
Koj tseem tuaj yeem pib, nres thiab rov pib dua lub system nrog
sudo /etc/init.d/motionDetect pib | nres | rov pib dua
Los ntawm lub neej ntawd miaLogReceiver lub qhov rooj nkag yuav pib rau tib lub sijhawm. Lwm qhov kev pabcuam peb yog ywj siab tab sis siv tib lub cav logger (tab sis tuaj yeem hloov pauv tau yooj yim). Kuv hu txhua qhov no siv tsab ntawv cron ntawm qhov sib txawv. Rau cov lus qhia saib ntawm no.
CheckRunning.py kuaj xyuas tias multiMotionDetect.py tab tom khiav thiab rov pib dua yog tias tsis yog.
fileMaint.py tu lub tsev ntawm cov vis dis aus tshem tawm cov no tom qab muab cov hnub. Nws tshem tawm cov ntawv me me ntawm cov lus tsa suab video teeb tsa hauv thawj pawg lus. Nws txheeb xyuas tias lawv pib nrog "MV" yog li nco ntsoov tias koj tsis tau txais lwm cov npe ntawm qhov tseem ceeb pib nrog tib cov cim hauv cov ntawv ntawd.
Kauj Ruam 3: Nkag Mus Saib Cov vis dis aus thiab teeb tsa los ntawm Dropbox
Thaum kawg yog tias koj xav saib koj cov vis dis aus, cav thiab teeb tsa cov ntaub ntawv nyob deb koj yuav tsum teeb tsa lub thawv xa ntawv.
Ua ntej tau txais tus lej dropbox uas yog pub dawb. Tom qab ntawd teeb tsa API rau nab hab sej -https://www.dropbox.com/developers/documentation/ … Qhov no suav nrog rub tawm sdk thiab sau npe lub app kom nkag mus rau API.
Thaum koj tau txais tus yuam sij nkag mus rau hauv cov ntaub ntawv globalConfig.json. Xav paub ntau ntxiv txog cov kab ke tuaj yeem pom ntawm kuv blog dani cymru - cyber renegade Yog tias koj pom muaj dab tsi txaus siab lossis muaj lus nug thov tso lus rau ntawm blog.
Pom zoo:
Txhim kho DIY Tus Kheej Dej Dej Nrog WiFi Rau Hauv DIY Motion Detect Sentry Alarm Planter: 17 Cov Kauj Ruam
Txhim Kho Tus Kheej Dej DIY Tus Kheej Nrog WiFi Rau Hauv DIY Motion Detect Sentry Alarm Planter: Hauv kab lus no peb yuav qhia koj yuav ua li cas txhawm rau txhim kho koj li DIY Tus Kheej Dej Dej Nrog WiFi mus rau hauv DIY DIY Watering Pot nrog WiFi thiab Motion Detect Sentry Alarm. koj tsis tau nyeem kab lus yuav ua li cas thiaj tsim tau DIY Tus Kheej Dej Nrog WiFi, koj tuaj yeem ua tiav
Rov qab siv HP WebCam 101 Aka 679257-330 Webcam Module Raws li Generic USB WebCam: 5 Kauj Ruam
Rov qab siv HP WebCam 101 Aka 679257-330 Webcam Module Raws li Generic USB WebCam: Kuv xav kom txuj lom li kuv 14 xyoos Panasonic CF-18 nrog lub vev xaib tshiab, tab sis Panasonic tsis txhawb nqa lub tshuab ntawd zoo dua, yog li kuv yuav tsum siv qhov teeb meem grey rau qee yam yooj yim dua b & b (npias & burgers). Qhov no yog thawj feem
Motion Security Tswb Nrog PIR: 4 Cov Kauj Ruam (nrog Duab)
Motion Security Alarm With PIR: Koj puas tau xav tsim ib qhov haujlwm uas tuaj yeem tshawb pom tias muaj tus neeg nyob hauv chav? Yog tias yog, tom qab ntawd koj tuaj yeem ua qhov no yooj yim heev siv PIR (Passive Infra Red) Motion sensor Qhov ntsuas lub suab tuaj yeem kuaj pom tias muaj tus neeg nyob hauv
USB Webcam Nrhiav Qhov System: 10 Kauj Ruam
USB Webcam Tracking System: Ua koj tus kheej lub vev xaib taug qab nrog Usb Missile Launcher.Slide Show
Tsab ntawv tsa suab qhib Security Security Yard Kos Npe: 4 Cov Kauj Ruam (nrog Duab)
Motion Activated Security Yard Sign: Tsoos kev nyab xeeb kev nyab xeeb hauv tsev cov cim tsis ua dab tsi. Qhov tseeb lawv tsis tau hloov pauv ntau dua 30 xyoo dhau los. Txawm li cas los xij, lawv yog qhov muaj txiaj ntsig tiv thaiv tsuav lawv tso rau hauv qhov chaw pom tau zoo hauv koj lub vaj thiab saib zoo. Kuv hlub