This is a sample application, showing an OpenCV frame and triggering an FFC over I2C, for GMSL Boson on the Nvidia AGX Xavier platform with a D3 SerDes GMSL2 adapter board.
Clone this repo and change to this directory From the command line, enter:
git clone [email protected]:FLIR/Xavier_OpenCV_Sample.git
cd Xavier_OpenCV_Sample
sudo apt-get update
sudo apt-get install python3 python3-pip
sudo apt-get install python-opencv
pip3 install -r requirements.txt
Ensure that the dependencies installed properly
python3
>> import cv
>> import numpy
if you did not get errors, the packages were installed properly
chmod +x boson_video.py
chmod +x boson_i2c.py
Both .py files are entry points. boson_video.py shows streaming video. boson_i2c.py triggers an FFC.
./boson_video.py
or
./boson_i2c.py
Every time you connect a new camera, you must restart the computer - the Boson driver cannot detect when a new camera has been connected.
This is a first release, so I have no troubleshooting guidelines yet. If you run into issues, please contact me (Anil Dhurjaty - [email protected]).