Object and Animal Recognition With Raspberry Pi and OpenCV

Very helpful piece of code that got me started. One problem I had was it didn’t work with the Raspberry Pi camera module, at least for me on the 64-bit “BookWorm” version of Raspberry Pi OS. My understanding from reading around is OpenCV can only see USB webcams.

I’ve produced a modified version of your code on my blog that uses camerapi2 which does work with the camera modules.

1 Like

Awesome! :partying_face:

Hi All,

These are amazing. I’m using a PCA9685 servo hat as pan and tilt. How will I change the code to use the servo hat rater than pico pan tilt hat?

hello bro, can you help me

hello, i’ve been able to download most things from the tutorial, but once i run this line "cmake -D CMAKE_BUILD_TYPE=RELEASE \

                            -D CMAKE_INSTALL_PREFIX=/usr/local \

                            -D INSTALL_PYTHON_EXAMPLES=ON \

                            -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-4.4.0/modules \

                            -D BUILD_EXAMPLES=ON ." 

i get these errors:

could someone please help me I need this to work for an engineering project thats due in TWO DAYS:(