-
Where did you get the camera module(s)?
Arducam.com -
Model number of the product(s)?
64MP -
What hardware/platform were you working on?
Raspberry PI 4 (Bullseye) -
Instructions you have followed. (link/manual/etc.)
-
Problems you were having?
Before: With a cheap camera in raspi Buster, from my python script I could specify video settings and then capture frames with Open CV.
camera_setup_result = os.system(“v4l2-ctl --set-ctrl=scene_mode=0,brightness=60,auto_exposure=1,exposure_time_absolute=20,iso_sensitivity_auto=0,iso_sensitivity=4”)
vid=cv2.VideoCapture()
vid.open(0,apiPreference=cv2.CAP_V4L2)
As 64MP Arducam makes me use Bullseye, this method doesn’t work anymore.
- The dmesg log from your hardware?
7. Troubleshooting attempts you’ve made?
I have try many workarounds for days without much success:
In Bullseye:
A. try to use the same code but v2l4-ctl -l doesn’t show any command to be modified).
B. try to use your library (How to use code to access libcamera(C++/Python) - #27 by Hosken79) but it seems to be a little bit slow and doesn’t allow me to change all parameters available in libcamera-vid.
8. What help do you need?
I would like to know which one is the best workaround for doing what I was doing before (in a python script, settling video specs like shutter speed, resolution, gain, fps, etc and then start capturing frames (in order to post processing them with ML).