Setup and Usage

Requirements

Either tiscamera or tiscamera-tcamproperty has to be installed before installing tcamdutils-cuda.

Dependencies

Additional dependencies:

  • cuda-cudart-10-2
  • libgstreamer1.0-0
  • libgstreamer-plugins-base1.0-0
  • libgirepository-1.0-1

Usage

The tiscamera-dutils project is a drop-in for our open source gstreamer elements that is optimized for performance with graphics card support through the CUDA platform.

If you are using the tcambin for image retrieval you can continue doing so. The tcambin detects the presence of tcamdutils-cuda and uses it automatically.

Manual Pipeline

tcamsrc ! video/x-bayer(memory:NVMM),format=bggrXX ! tcamdutils-cuda ! ...

Automatic Pipelines

If you want to use the tcambin you can set the property device-caps. This influences the internal caps negotiation to only allow that format.

tcambin device-caps="video/x-bayer(memory:NVMM),format=bggr12" ! video/x-raw,format=BGRx ! ....

The internal pipeline would look like:

tcamsrc ! video/x-bayer(memory:NVMM),format=bggr12 ! tcamdutils-cuda ! ...

The pipeline that is used can always be found in the gstreamer log output of tcambin. See tiscamera gstreamer logging documentation