Okay, this makes a lot more sense now. The driver situation is actually fine — the camera is using the correct UVC driver, which is why both the Windows Camera app and OpenCV can see it. The problem isn’t the driver. The problem is that you need low-level sensor control for a microscope rig, and you’re bumping into the limits of what the basic UVC interface exposes by default.
Here’s the thing about the B0498: it is a standard UVC-compliant camera by design. That’s actually a good thing — it means broad software compatibility and no vendor lock-in. But the trade-off is that there is no dedicated Arducam SDK or control application for this model. It doesn’t need one, because it’s built to work with generic UVC libraries.
Now, here’s the important part for your use case:
Most sensor settings — exposure, sharpness, white balance, gain — are fully adjustable through OpenCV. The camera supports these controls over the UVC protocol; you just need to set them programmatically rather than through a GUI control panel.
The one exception is bit rate. That’s managed automatically by the UVC protocol itself and cannot be manually overridden. Everything else you mentioned should be controllable.
What you want to do is use OpenCV’s cv2.VideoCapture.set() with the appropriate property IDs. For example:
cap.set(cv2.CAP_PROP_EXPOSURE, -6) # exposure value
cap.set(cv2.CAP_PROP_SHARPNESS, 3) # sharpness
cap.set(cv2.CAP_PROP_WHITE_BALANCE_BLUE_U, 4600) # white balance temp
Here are the two references you’ll want to bookmark:
As for why your IMX334 software doesn’t work — that software was almost certainly written against a vendor-specific SDK for that Sony sensor. The Arducam speaks generic UVC, not that proprietary protocol, so those apps won’t recognize it. That’s expected behavior.
Long story short: you don’t need a separate app. OpenCV is your control panel. The washed-out image quality you’re seeing is just the camera running at default auto-exposure settings — once you start setting exposure, sharpness, and white balance explicitly from Python, the image should look a lot better for your microscope rig.