Building Projector

From RidgeRun Developer Wiki



Previous: Spherical_Video/Projector Index Next: Spherical_Video/Stitcher







Dependencies

  • GstCuda
  • Meson
  • Hotdoc

GstCuda

To install GstCuda see the GstCUDA - Building and Installation Guide.

Meson

The image projector makes use of the Meson build system. To correctly build this library you need to use version 0.60 of Meson:

First, make sure Python dependencies and Ninja are installed.

sudo apt-get install python3 python3-pip python3-setuptools \
                       python3-wheel ninja-build

Then use pip3 to install Meson.

sudo -H pip3 install meson==0.60

Hotdoc

sudo -H pip3 install hotdoc

Building the project

Once you have met the requirements, execute the following commands:

cd gst-rr-projector
meson setup --prefix=/usr build
ninja -C build
sudo ninja -C build install

To verify that the plug-in was correctly installed, you should run:

gst-inspect-1.0 rrfisheyetoeqr

with expected output

Factory Details:
  Rank                     none (0)
  Long-name                FishEye to Equirectangular
  Klass                    Filter/Converter/Video
  Description              Converts images from fisheye to equirectangular
  Author                   Melissa Montero <melissa.montero@ridgerun.com>

Plugin Details:
  Name                     rrprojector
  Description              Image projection elments
  Filename                 /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstrrprojector.so
  Version                  0.2.0
  License                  Proprietary
  Source module            gst-rr-projector
  Binary package           gst-rr-projector
  Origin URL               www.ridgerun.com

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstCudaBaseFilter
                               +----GstRrBaseProjector
                                     +----GstRrFisheyeToEqr

Pad Templates:
  SRC template: 'src'
    Availability: Always
    Capabilities:
      video/x-raw
                 format: RGBA
                  width: [ 1, 2147483647 ]
:


Previous: Spherical_Video/Projector Index Next: Spherical_Video/Stitcher