I Built a Camera That Detects Smiles with RPi OpenCV and Notifies Slack
Overview
Previously, I wrote about how the settings around the camera module changed on RPi bullseye.
I looked at several articles online about setting up OpenCV on RPi, but many of them targeted versions earlier than bullseye, and they often didn’t work.
For that reason, I’m summarizing the setup for bullseye here.
Choosing bullseye 64-bit with Desktop
I chose the 64-bit version with Desktop.
Headless would have been fine too, but I wanted to use OpenCV while showing the detected faces on a monitor connected to the RPi, so I went with Desktop.
I’ll note the OS information for the environment I used.
1 | lsb_release -a |
Procedure
Run the following commands.
1 | sudo raspi-config |
Conclusion
There were changes around the camera on bullseye, so getting OpenCV configured was quite a struggle, but in the end I found it could be done very simply.
That’s all.
I hope this helps.
I Built a Camera That Detects Smiles with RPi OpenCV and Notifies Slack
https://kenzo0107.github.io/en/2022/08/10/raspberrypi-bullseye-opencv-setup/