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_piCamThen use our script to install a couple Python packages, and download the EfficientDet-Lite model:
cd Opencv_and_piCam/ObjectDetection
sh setup.shpython3 detect_mod.py