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_Samplesudo apt-get update
sudo apt-get install python3 python3-pipsudo apt-get install python-opencv
pip3 install -r requirements.txtEnsure that the dependencies installed properly
python3>> import cv
>> import numpyif you did not get errors, the packages were installed properly
chmod +x boson_video.py
chmod +x boson_i2c.pyBoth .py files are entry points. boson_video.py shows streaming video. boson_i2c.py triggers an FFC.
./boson_video.pyor
./boson_i2c.pyEvery 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]).