Setup Instructions¶
Software¶
Install the debian package for tcampimipisrc and its dependencies
sudo apt install ./tiscamera_<version>.deb
sudo apt install ./tcampimipisrc_<version>.deb
You can find the appropiate tiscamera version under : https://www.theimagingsource.com/support/downloads-for-linux/install/tiscameraarm6432/ or https://github.com/TheImagingSource/tiscamera/releases/
PI4 setup¶
Note: Installing the package does these steps for you. So this is only informational.
To enable the camera interface:
sudo raspi-config to start tool.
Select Interfacing Options -> I2C and enable this
Select Interfacing Options -> Camera and enable this (for Debian 10 Buster based Raspberry PI OS)
Select Interfacing Options -> Legacy Camera and enable this (for Debian 11 Bullseye based Raspberry PI OS)
sudo nano /boot/config.txt
Add line dtparam=i2c_vc=on under the other dtparam stuff
sudo cp /usr/share/theimagingsource/tcampimipisrc/blacklist-tcam-bcm2835_v4l2.conf /etc/modprobe.d/
Reboot
Note
The relevant settings in /boot/config.txt:
dtparam=i2c_arm=on
dtparam=i2c_vc=on
start_x=1
gpu_mem=128
camera_auto_detect=0 (or completly removed)
The gpu_mem=128 should be increased when out-of-memory errors occur.
Dependencies¶
MMAL libraries
tiscamera-tcamproperty-1.0
libgstreamer1.0 (1.14.0)
libgstreamer-plugins-base1.0 (1.14.0)
Note
These will be installed by apt when installing the .deb file