Skip to content

Ultra Low Light Mode

Use this guide to enable low-light mode on supported Arducam USB cameras. Find your camera below, then open the Windows or Linux instructions for its group.

Find your camera

Look for the model number (SKU) on the product label or in your order details. You can use Ctrl+F to find it on this page. Match the exact SKU rather than the sensor name or USB version.

Low Light Compensation

Instructions: Windows · Linux

SKU / product page Sensor Resolution Interface
B0200 IMX291 2 MP USB 2.0
B0201 IMX291 2 MP USB 2.0
B020101 IMX291 2 MP USB 2.0
B0202 IMX291 2 MP USB 2.0
B0261 IMX291 2 MP USB 2.0
B026101 IMX291 2 MP USB 2.0
B0363 IMX291 2 MP USB 2.0
B0448 IMX291 2 MP USB 2.0
B0520 IMX291 2 MP USB 2.0
B052001 IMX291 2 MP USB 2.0
UB020201 IMX291 2 MP USB 2.0
B0468 IMX323 2 MP USB 2.0
B0490 IMX462 2 MP USB 2.0
B0576 IMX662 2 MP USB 2.0
B0587 IMX678 8.3 MP USB 2.0

B0576 also covers the B0576C variant.

Backlight Compensation

Instructions: Windows · Linux

SKU / product page Sensor Resolution Interface
B0496 IMX462 2 MP USB 3.0
B0498 IMX585 8.3 MP USB 3.0
B0588 IMX662 2 MP USB 3.0
B0497 IMX678 8.3 MP USB 3.0

Before you begin

  • Confirm that the camera produces a live preview, and close other applications using it.
  • Use a dim, stationary scene. Keep the camera and lighting unchanged when comparing the two modes.
  • On Windows, use AMCap. On Linux, prepare the command-line tool below.

Linux setup

If v4l2-ctl is missing, install v4l-utils. On Debian-based systems:

sudo apt install v4l-utils

Find the camera's video device:

v4l2-ctl --list-devices

The commands in this guide use /dev/video0. If your camera uses a different node, replace /dev/video0 in each command. Use the video-capture node selected by your preview application.

Low Light Compensation

For cameras in the Low Light Compensation group, the Windows checkbox and Linux exposure_dynamic_framerate control operate the same feature. See the B0576 image comparison for an example.

Windows

  1. Open AMCap and select your camera under Devices.
  2. Select Options → Preview to start live video.
  3. Open Options → Video Capture Filter → Camera Control.
  4. Check Low Light Compensation. Click Apply if available.

Check: the checkbox is selected and the preview remains active. Compare the image in your dim scene.

Turn off: clear the checkbox and apply the change.

Windows Camera Control tab showing Low Light Compensation
Windows: select Low Light Compensation to enable the feature; clear the checkbox to disable it.

Linux

Complete Linux setup first. Keep your preview application open while testing.

1. Find the control and check its current value.

v4l2-ctl -d /dev/video0 --list-ctrls-menus
v4l2-ctl -d /dev/video0 --get-ctrl=exposure_dynamic_framerate

Look for exposure_dynamic_framerate: 0 = off, 1 = on. If the control is missing or inactive, see Troubleshooting.

Linux controls showing exposure_dynamic_framerate for Low Light Compensation
Linux: Low Light Compensation is controlled by exposure_dynamic_framerate. Use 0 for off and 1 for on.

2. Enable the feature and read back the value.

v4l2-ctl -d /dev/video0 --set-ctrl=exposure_dynamic_framerate=1
v4l2-ctl -d /dev/video0 --get-ctrl=exposure_dynamic_framerate

Expected result: exposure_dynamic_framerate: 1.

Check the preview after automatic controls settle. The control value confirms the setting; the visible improvement depends on the camera settings and scene.

3. Turn it off when required.

v4l2-ctl -d /dev/video0 --set-ctrl=exposure_dynamic_framerate=0
v4l2-ctl -d /dev/video0 --get-ctrl=exposure_dynamic_framerate

Expected result: exposure_dynamic_framerate: 0.

If compensation causes the camera to use a longer exposure, the actual frame rate may drop and moving subjects may blur. This control does not set a specific exposure time or frame rate.

Backlight Compensation

For cameras in the Backlight Compensation group, set Backlight Comp / Backlight Compensation to 1 to enable low-light mode, or 0 to disable it. See the B0497 image comparison for an example.

Windows

  1. Open AMCap and select your camera under Devices.
  2. Select Options → Preview to start live video.
  3. Open Options → Video Capture Filter. Locate Backlight Comp, typically on the Video Proc Amp tab.
  4. Set it to 1. Click Apply if available.

Check: the setting reads 1 and the preview remains active. Compare the image in your dim scene.

Turn off: set it to 0 and apply the change.

Windows camera properties showing the Backlight Compensation control
Windows: locate Backlight Comp in the camera properties. Set it to 1 to enable the low-light mode on cameras using this method.

Linux

Complete Linux setup first. Keep your preview application open while testing.

1. Find the control and check its current value.

v4l2-ctl -d /dev/video0 --list-ctrls-menus
v4l2-ctl -d /dev/video0 --get-ctrl=backlight_compensation

Confirm that backlight_compensation supports values 0 and 1.

Linux V4L2 control list showing backlight_compensation
Linux: locate backlight_compensation in the V4L2 control list before setting or reading its value.

2. Enable the feature and read back the value.

v4l2-ctl -d /dev/video0 --set-ctrl=backlight_compensation=1
v4l2-ctl -d /dev/video0 --get-ctrl=backlight_compensation

Expected result: backlight_compensation: 1. Check the live preview as well.

3. Turn it off when required.

v4l2-ctl -d /dev/video0 --set-ctrl=backlight_compensation=0
v4l2-ctl -d /dev/video0 --get-ctrl=backlight_compensation

Expected result: backlight_compensation: 0.

Check the image

Compare the disabled and enabled states without changing the scene or other user-selected settings. Look for useful detail in dark areas, visible noise, motion clarity, and actual frame rate. Record any automatic changes to exposure or gain.

Recheck the control after restarting the application or reconnecting the camera; the selected mode may not persist.

Image comparisons

The examples below show normal mode and ultra low light mode for each control method. Compare the two images within each pair: the examples use different cameras and lighting conditions. Click an image to open it at full size.

Low Light Compensation example

  • Camera module: B0576
  • Resolution: 1920 × 1080
  • Illuminance: 0.4 lux
  • Lens: M12 lens with a 102° diagonal field of view
B0576 in normal mode with Low Light Compensation off at 0.4 lux B0576 in ultra low light mode with Low Light Compensation on at 0.4 lux
Normal Mode
Low Light Compensation: off
Ultra Low Light Mode
Low Light Compensation: on

Backlight Compensation example

  • Camera module: B0497
  • Resolution: 2560 × 1440
  • Illuminance: 0.2–0.3 lux
  • Lens: Ultra-wide-angle M12 lens with a 100° diagonal field of view
B0497 in normal mode with Backlight Compensation off at 0.2 to 0.3 lux B0497 in ultra low light mode with Backlight Compensation on at 0.2 to 0.3 lux
Normal Mode
Backlight Compensation: 0
Ultra Low Light Mode
Backlight Compensation: 1

Troubleshooting

Problem What to check
The camera does not preview Resolve device selection, USB connection, capture format, and application access before changing low-light controls.
The expected control is missing Match your exact SKU to the product group. On Linux, check the video node and run v4l2-ctl -d /dev/video0 --list-ctrls-menus.
Low Light Compensation is greyed out or inactive Start the preview and check the model's exposure requirements. Some configurations require automatic exposure. Use the menu values reported by the device; do not assume an exposure-mode number is universal.
Linux reports permission denied Check your account's access to the video device.
The setting changes back Check whether the preview application reapplies its own settings. Set the control after preview starts, then read it back.
The image looks unchanged Confirm that the control is enabled, use a dim scene, and allow automatic exposure/gain to settle before comparing.
Motion blurs or the frame rate drops Compare exposure and actual frame rate with the mode off and on. Balance visibility against motion requirements.
OpenCV rejects the setting Use the example only with the Backlight Compensation group. Check the capture backend, or try the Windows/V4L2 procedure above.

For support, provide the SKU, operating system, application, selected video device, exact command, and complete error output. Include the camera settings or Linux control list.

Optional: Python and OpenCV

This example is for Backlight Compensation cameras. First verify the camera using the Windows or Linux procedure above.

Use Python with an OpenCV build supporting DirectShow on Windows or V4L2 on Linux, and a graphical desktop. Save the code as backlight_low_light.py and set CAMERA_INDEX to the intended camera.

import sys
import cv2

CAMERA_INDEX = 0

if sys.platform == "win32":
    backend = cv2.CAP_DSHOW
elif sys.platform.startswith("linux"):
    backend = cv2.CAP_V4L2
else:
    raise RuntimeError("This example targets Windows and Linux.")

cap = cv2.VideoCapture(CAMERA_INDEX, backend)


def set_mode(value):
    if not cap.set(cv2.CAP_PROP_BACKLIGHT, value):
        raise RuntimeError(
            "Backlight control was rejected. Check the camera and backend."
        )
    reported = cap.get(cv2.CAP_PROP_BACKLIGHT)
    print(f"Requested mode: {value}; reported control value: {reported}")
    print("Confirm the setting in the camera controls and live preview.")


try:
    if not cap.isOpened():
        raise RuntimeError("Could not open the selected camera.")

    ok, frame = cap.read()
    if not ok or frame is None:
        raise RuntimeError("Could not read the first frame.")

    set_mode(1)
    print("Press 1 to enable, 0 to disable, or q to quit.")

    while True:
        ok, frame = cap.read()
        if not ok or frame is None:
            raise RuntimeError("Frame capture failed.")

        cv2.imshow("Backlight Compensation preview", frame)
        key = cv2.waitKey(1) & 0xFF
        if key == ord("q"):
            break
        if key == ord("0"):
            set_mode(0)
        elif key == ord("1"):
            set_mode(1)
finally:
    cap.release()
    cv2.destroyAllWindows()

Run:

python3 backlight_low_light.py

Press 1 to enable, 0 to disable, or q to quit. To leave the camera in normal mode, press 0 before q. A successful set() call does not guarantee that the camera applied the setting; confirm the control value and preview.