Deploy the operating environment


If you have already run the scripts in the Quick start, you don’t need to care about this chapter.

This chapter tells us how to manually deploy the development environment

Installer dependencies

Enable the driver

Raspberry Pi


Since 5.15.38, the arducam-pivariety driver has been merged into the Raspberry Pi kernel and the name of the device tree is changed to arducam-pivariety, so dtoverlay=arducam-pivariety is required to set the overlay

You need to alter the camera configuration in your /boot/config.txt add dtoverlay.



To override automatic camera detection, Bullseye users will also need to change the entry camera_auto_detect=1 to camera_auto_detect=0 (if present in the config.txt file). After editing this file, your Raspberry Pi will need to be restarted


chmod +x
./ -m arducam


sudo apt update
sudo apt-get install cmake build-essential -y
sudo apt install libopencv-dev -y

Installation SDK

Install the dynamic link library

curl -s --compressed "" | sudo apt-key add -
sudo curl -s --compressed -o /etc/apt/sources.list.d/arducam_list_files.list ""
sudo apt update
sudo apt install arducam-config-parser-dev arducam-usb-sdk-dev arducam-tof-sdk-dev -y


sudo apt update
sudo apt install libopencv-dev -y
sudo apt-get -y install libcblas-dev
sudo apt-get -y install libhdf5-dev
sudo apt-get -y install libhdf5-serial-dev
sudo apt-get -y install libatlas-base-dev
sudo apt-get -y install libjasper-dev
sudo apt-get -y install libqtgui4
sudo apt-get -y install libqt4-test

sudo pip3 install opencv-python ArducamDepthCamera
sudo pip3 install numpy --upgrade