Skip to content

Quick Start Guide on Linux

Hardware Connection


Package Including


The tripod in the below diagrams is not included in package.

Finished Assemble


Note

The Tripod displayed in the picture is not included in the package. If you need the tripod, please check UB0224 and UB0216 for additional purchase.

Software Guide


200MP Max-Resolution


  • Download source code

git clone -b Arducam200MPDemo https://github.com/Marco-ardu/ArducamUVCPythonDemo.git
cd ArducamUVCPythonDemo
  • Install Dependencies

Tip

How to use Python? Please refer to:

Getting Started - Python

Please make sure to execute the following command in the directory where the source code is located (ArducamUVCPythonDemo)

python -m pip install -r requirements.txt
  • Application Note

The 200MP images currently saved are in RAW format

User Note

User Note

1. Make sure you are using USB3.0 cable to connect the camera

2. Run the script with the -i parameter to specify the camera device. The default is 0. If there are two cameras on the host, you need to confirm which is the correct Arducam camera and enter the correct camera index.

3. Run the script with the --wait-frames parameter to specify the number of frames to skip when saving the image

            a. On Windows OS, opencv will cache one frame, so you need to set `--wait-frames 2`

            b. The first four frames of the camera on Linux OS are invalid, you need to set `--wait-frames 5`

  • Demonstration

python arducam_demo.py -W 1280 -H 720 -F -i 0 --wait-frames 5

Focus Control

Preview the image at a relative small resolution first and adjust the focus to make the image clear.

Save the Image

Enter a on the keyboard to save the 200MP image. After a few seconds, the message "save success, file name: 200MP_2024-07-12_15_50_22.RAW" will appear, indicating that the image has been saved successfully. You can view the image in the current directory.

  • RAW Data Conversion

You can converse the RAW format into jpg refer to the following steps:

Single Image

python arducam_200mp_convert.py -f 200MP_2024-07-18_16_54_38.RAW

Multiple Images

python arducam_200mp_convert.py -f "./" -b


Other Resolution


You can refer to the following section to access the 200MP USB3 UVC Camera at the other resolution except max-res.