This Deepstream application showcases Centerface running at high FPS throughput!
P.S - Click the gif to watch the entire video!
This post assumes you have a fully functional Jetson device. If not, you can refer the documentation here.
sudo apt install \
libssl1.0.0 \
libgstreamer1.0-0 \
gstreamer1.0-tools \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
libgstrtspserver-1.0-0 \
libjansson4=2.11-1
Download the DeepStream 5.1 Jetson Debian package deepstream-5.1_5.1.0-1_arm64.deb
, to the Jetson device from here. Then enter the command:
sudo apt install deepstream-5.1_5.1.0-1_arm64.deb
For more information, go to the get started page of Deepstream here.
This is a straightforward step, however, if you are new to git, I recommend glancing threw the steps.
First, install git
sudo apt install git
Next, clone the repository
# Using HTTPS
https://github.com/aj-ames/Centerface-Deepstream.git
# Using SSH
git@github.com:aj-ames/Centerface-Deepstream.git
Download the weights file from google-drive and place it in models/Centerface
directory.
- Centerface 1280x736
- Centerface 960x544
First, build the application by running the following command:
make clean && make -j$(nproc)
This will generate the binary called ds-centerface
. This is a one-time step and you need to do this only when you make source-code changes.
Next, create a file called inputsources.txt
and paste the path of videos or rtsp url.
file:///home/astr1x/Videos/sample.mp4
rtsp://admin:admin%40123@192.168.1.1:554/stream
Now, run the application by running the following command:
./ds-centerface