Skip to content

Demo - Distortion Correction

Connect the Arducam RoAD.B USB Camera


Product Image SKU Shutter Type Interface Color Filter Array Resolution@fps(MJPG) Baseline Distance Power Consumption Lens Mount FOV(DxHxV) Features
B0643 Global Shutter USB Type-C, 4Pin JST Monochrome 2560x800@30fps, 1280x400@100fps;
640x200@100fps;
55mm Max: 1.2W M12 82°(D)x70°(H)x55°(V) Stereo Sync
B0645 Global Shutter USB Type-C, 4Pin JST Color 2560x800@30fps, 1280x400@100fps;
640x200@100fps;
20mm Max: 1.2W Stock Lens 89.5°(D)x80°(H)x55°(V) Stereo Sync

Please refer to the Windows AMCap guide to download the AMCap application. AMCap is a test application commonly used for USB UVC cameras and supports camera preview functions.

After downloading, launch AMCap on your Windows PC.

Connect the Arducam-RoAD.B-USB Camera to the computer via USB. In AMCap, select the corresponding UVC camera device from the device list.

RoAD_b_usb_camera_app_note_picture_1

If the camera is connected correctly, the live preview image should be displayed normally in the AMCap window.

Note

Make sure the camera is recognized as a UVC device by Windows. If no image is displayed, check the USB connection, camera selection, and whether the camera is occupied by another application.

Quick Start Demonstration

Download the Source Code

Extract the ZIP Package

  • After the download is complete, extract the ZIP package to a local directory.
  • Open the extracted folder, then right-click in the folder and select Open in Terminal. RoAD_b_usb_camera_app_note_picture_3

Install Python Dependencies

● Enter the python directory:

cd python

● Create a Python virtual environment:

python -m venv venv

● Activate the virtual environment:

.\venv\Scripts\activate

● Install the required Python dependencies:

pip install -r .\requirements.txt

RoAD_b_usb_camera_app_note_picture_4

● Wait until all dependencies are installed successfully.

Run the Demo

  • Distortion correction demonstration
python .\undistort\rectify.py

RoAD_b_usb_camera_app_note_picture_5

If the device is connected correctly and the required dependencies are installed, the demo should start and display the rectified camera image.