I’m trying to use PhotonVision, and first I am trying to set up the PiCam. However, the image is incredibly dark, no matter what resolution I use. I saw in other places stuff like “oh, framerate is too low so not enough light gets in”. This is not the case here, the problem persists at whatever framerate. Changing the exposure helps slightly, but the final is still way too dark. And yes, I am in driver mode to get raw footage. Also, everything is purple. I expect that with exposure at the max, this image should be very bright (see the USB cam image following for example)
I know that this is an issue with Photon specifically because when I use other camera software such as raspistill or just an online webcam test, the image appears perfectly fine, at a reasonable framerate.
Is there any solution to this problem?
Also: I have a completely different issue with using a USB camera (this one). In this case, the exposure is fine but the FPS (in driver mode) is awful. It runs at about 2 frames per second. All the resolution settings, including mjpg or yuyv run the same framerate. Again, I tested this using other software on the Pi and it works fine there.
These two problems are making it impossible to use vision, so any help would be greatly appreciated.
We are using a Pi 3B+