3B + Raspberry Pi recognition camera installation and use

Recently toss raspberries come face recognition in school, toss a long time to use

Difficult process used in this record and experience

Process-based super fun! Raspberry Pi taught you use real-time face detection completion. Which is installed in front of the opencv Raspbian Stretch article: Install OpenCV 3 + Python on your Raspberry Pi, step by step no problem

Tutorial installation of cameras, there are many

Such as how to install the Raspberry Pi camera module

But Raspberry Pi system update to enable camera moved to Interfacing Options in causing me to find a communication disorder

 

Not much trouble encountered, first appeared when running a test program

OpenCV Error: Assertion failed (scn == 3 || scn == 4) 

Error say good fully able to successfully enforce it

The solution is, before running with the wrong program, run

sudo modprobe bcm2835-v4l2
can
https://blog.csdn.net/myweihp/article/details/81032375

Guess you like

Origin www.cnblogs.com/SofuBlue/p/11542154.html