FLIR / Xavier_OpenCV_Sample

Sample application for interacting with GMSL Boson on NVIDIA Xavier platform
MIT License
3 stars 2 forks source link

Boson OpenCV Sample Application

About

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.

Installation

Clone this repo and change to this directory From the command line, enter:

git clone git@github.com:FLIR/Xavier_OpenCV_Sample.git
cd Xavier_OpenCV_Sample

Installing Python

sudo apt-get update
sudo apt-get install python3 python3-pip

Installing Dependencies

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

Grant Executes Permission

chmod +x boson_video.py
chmod +x boson_i2c.py

Usage

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.

Troubleshooting/Questions

This is a first release, so I have no troubleshooting guidelines yet. If you run into issues, please contact me (Anil Dhurjaty - adhurjaty@novacoast.com).