Deploy the operating environment
Note
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
Note
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 file.to add dtoverlay.
dtoverlay=arducam-pivariety,media-controller=0
Note
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
Jetson
wget https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/install_full.sh chmod +x install_full.sh ./install_full.sh -m arducam
C/C++
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 "https://arducam.github.io/arducam_ppa/KEY.gpg" | sudo apt-key add - sudo curl -s --compressed -o /etc/apt/sources.list.d/arducam_list_files.list "https://arducam.github.io/arducam_ppa/arducam_list_files.list" sudo apt update sudo apt install arducam-config-parser-dev arducam-usb-sdk-dev arducam-tof-sdk-dev -y
python
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