This is for bullseye OS . How Opencv and Picam working
First, clone this Git repo onto your Raspberry Pi like this:
git clone https://github.com/KasunThushara/Opencv_and_piCam
Then use our script to install a couple Python packages, and download the EfficientDet-Lite model:
cd Opencv_and_piCam/ObjectDetection
sh setup.sh
python3 detect_mod.py