Arducam B0498 camera shows control panel but won't work with OpenCV

Hi everyone, I’m struggling to get my Arducam B0498 (the one with the IMX585 sensor) working and I’m hoping someone here can point me in the right direction.

Here’s the situation: I installed a USB driver I found on GitHub — it came as an INF file and I went through the whole driver install process. I’m not 100% sure it was the right one though. The camera shows up with some kind of control panel and I can see a viewport, but when I try to use it with OpenCV (cv2) in Python, nothing works. cv2.VideoCapture just fails or doesn’t see the camera at all.

My setup:

  • HP ProDesk 600 G5, 32GB RAM, 1TB SSD
  • VS Code with Python 3.13
  • I’ve been using ChatGPT and Gemini to help me write the code (I’m not really a programmer, just trying to get this working)

I’ve tried PotPlayer and it sort of works, but I’m looking for something better — ideally I want to control the camera from my own Python script. Is there an alternative app besides PotPlayer that gives more control? Or am I missing something obvious with the driver situation?

I think I see what’s going on here. The driver you installed from GitHub is almost certainly the culprit.

The Arducam B0498 is a UVC (USB Video Class) camera. That means it’s designed to work with the standard built-in Windows UVC drivers — the same way a plug-and-play USB keyboard or mouse works right out of the box. You shouldn’t need any third-party driver at all. That GitHub INF file is telling Windows to use the wrong instructions to talk to the camera, which is why OpenCV can’t open it.

Here’s a three-step plan to get back to a clean state:

Step 1: Reset the drivers (this is the critical one)

  • Go into Device Manager and uninstall that custom USB driver you got from GitHub. You may need to check “Delete the driver software for this device” if that option appears.
  • Physically unplug the camera from the USB port. This lets Windows “forget” the bad driver association.

Step 2: Confirm with a simple app

  • Restart your computer.
  • Plug the camera back in — Windows should now detect it and load the built-in UVC driver automatically.
  • Open the stock Windows Camera app (Start Menu → type “Camera”). If you see a video feed, the hardware is working correctly at the driver level.

Step 3: Re-approach your code
Once the Windows Camera app shows a live feed, try this basic script:

import cv2

# Use '0' for the first camera. If you have a built-in webcam, try '1' instead.
cap = cv2.VideoCapture(0)

if not cap.isOpened():
    print("Error: Cannot open camera. Make sure it's working in the Windows Camera app first.")
else:
    while True:
        ret, frame = cap.read()
        if ret:
            cv2.imshow('Camera Test', frame)
        if cv2.waitKey(1) & 0xFF == ord('q'):
            break

cap.release()
cv2.destroyAllWindows()

Give that a shot and let us know what happens. The key takeaway here is: this camera should work with zero driver fiddling. The GitHub driver is the most likely reason things went sideways.

Alright, so I went through the steps you suggested. Here’s where things stand:

  • I checked Device Manager and oddly enough, it doesn’t look like that GitHub driver was actually being used by the camera. I tried to browse and force it through the INF file selection dialog, but Device Manager wouldn’t let me — it just wasn’t having it. So I’m not sure that driver ever really took hold in the first place.

  • Good news: I can get a video feed with cv2.VideoCapture(0) now. The camera index 0 works. But the image quality is… not great. Looks kind of washed out and there’s no way for me to tweak anything.

  • The Windows Camera app also works with the Arducam, which is reassuring. But it’s bare bones — there’s no access to sensor controls at all. No exposure, no sharpness, no white balance. Nothing.

  • I have some software that I know works perfectly with a Sony IMX334 camera (same kind of microscope setup), and I tried pointing it at the Arducam — completely dead. Doesn’t recognize it at all.

My environment is the same: HP ProDesk 600 G5, 32GB RAM, 1TB SSD, VS Code + Python 3.13. Still relying on Gemini and ChatGPT to build the app because I’m not a developer.

So the camera technically streams video now, but I have zero control over the sensor and the image quality is poor. This is for a microscope rig — I really need to dial in exposure, sharpness, white balance, that kind of thing. Is there a dedicated Arducam control panel or SDK I should be using?

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.