Birds Eye View/Getting Started/Quickstart Guide: Difference between revisions

From RidgeRun Developer Wiki
Line 19: Line 19:


==== With CUDA acceleration ====
==== With CUDA acceleration ====
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash line>
meson builddir
meson builddir
ninja -C builddir
ninja -C builddir

Revision as of 21:36, 10 December 2023

This wiki will show you how to quickly get started with Birds Eye View. It will use the provided samples and calibration file to show a default scene.

Installing Dependencies

Run the following command to make sure all the dependencies are installed:

apt update
apt install -y git meson ninja-build pkg-config \
  libjsoncpp-dev libopencv-dev \
  libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-bad \
  qtbase5-dev qtmultimedia5-dev libqt5multimedia5-plugins \
  libcpputest-dev doxygen graphviz wget unzip

Building the Project

Once you have dependencies installed, you can proceed to configure and build the project:

With CUDA acceleration

meson builddir
ninja -C builddir

Plain CPU

meson builddir -Dnpp=disabled
ninja -C builddir

Running the Sample

Once you've built the project, you can run the example with the provided sample images and calibration file.

cd samples && ./download_samples.sh && cd -
./builddir/examples/birds_eye_view -p examples/birds_eye_view.json

You should see the resulting image as below. Press ESC to stop the execution.

Quick start result
Resulting image after running the quick start guide