How to Configure the Target - introlab/rendezvous GitHub Wiki
Introduction
This wiki page explains what needs to be setup on the target in order to run the Steno application.
Prerequisites
The target must have the NVIDIA Jetpack SDK installed. See wiki page.
Procedure
Depedencies
Here are the dependencies to install.
sudo apt-get install libssl-dev ffmpeg libpulse-dev libfftw3-dev cmake build-essential libconfig-dev libasound2-dev '.*libxcb.*' libxrender-dev libxi-dev libfontconfig1-dev libudev-dev libxkbcommon-dev libxkbcommon-x11-dev
SSL : libssl-dev
FFmpeg : ffmpeg
Pulse Audio : libpulse-dev
ODAS : cmake build-essential libfftw3-dev libconfig-dev libasound2-dev
Qt : '.libxcb.' libxrender-dev libxi-dev libfontconfig1-dev libudev-dev libxkbcommon-dev libxkbcommon-x11-dev
Qt
Prepare the directory that will contain the Qt library.
sudo mkdir /usr/local/qt5
sudo chown nvidia /usr/local/qt5
Git Repository
Clone the git repository. It contains useful scripts to make target setup easier.
git clone https://github.com/introlab/rendezvous.git $HOME/rendezvous
NOTE - For the rest of the procedure, it will be assume that the git repository location is $HOME/rendezvous
Overclock
-
Launch script to automate the overclock at boot time
cd $HOME/rendezvous sudo ./scripts/overclock-jetson/deploy-overclock-jetson.sh -
Start and test the service
sudo systemctl start overclock-jetson.service sudo systemctl status overclock-jetson.service -
Reboot and make sure the service is running afterwards
sudo systemctl status overclock-jetson.service
ODAS
Launch the setup script
cd $HOME/rendezvous
./scripts/odas_setup.sh
Yolov3
Launch the setup script
cd $HOME/rendezvous
./scripts/yolo_setup.sh
V4l2loopback
-
Launch the setup script
cd $HOME/rendezvous sudo ./scripts/v4l2_loopback_setup.sh -
Reboot and make sure the service is running afterwards
service stenocam status
NOTE - To remove a v4l2loopback device : sudo rmmod v4l2loopback
Pulse Audio
cd $HOME/rendezvous
./scripts/StenoMics/automation.sh
What's next?
The next step is to Cross-Compile the Qt Library.