Joshua M. Doe 6a9b31c7d4 build: avoid policy CMP0053 warnings
On Windows there's an environment variable with parentheses, avoid the CMake warning
2020-04-14 16:17:45 -04:00
2020-04-14 16:17:45 -04:00
2020-04-14 16:17:45 -04:00
2020-04-14 16:17:45 -04:00
2020-04-06 15:13:43 -04:00

gst-plugins-vision

GStreamer plugins related to the field of machine vision.

Image acquisition elements

Image generation elements

Other elements

  • extractcolor: Extract a single color channel
  • klvinjector: Inject test synchronous KLV metadata
  • klvinspector: Inspect synchronous KLV metadata
  • sfx3dnoise: Applies 3D noise to video
  • videolevels: Scales monochrome 8- or 16-bit video to 8-bit, via manual setpoints or AGC

Dependencies

  • GStreamer 1.2.x
  • Specific frame grabber SDKs and/or licenses

Installation

  • Install GStreamer 1.2.x or newer (latest should work)
  • Build project or download a release from Github (ZIP files under Assets)
  • Extract files somewhere
  • Create an environment variable GST_PLUGIN_PATH that points to where you extracted the files

Examples

Capture from a CoaXPress camera via a Kaya Komodo frame grabber, apply AGC to convert it to 8-bit monochrome, then output the video via A&B Software GigESim which generates GigE Vision video:

gst-launch-1.0 kayasrc ! videolevels auto=continuous ! gigesimsink

Then in another command capture the GigE Vision video via Pleora eBUS and display the video to the screen:

gst-launch-1.0 pleorasrc ! autovideoconvert ! autovideosink

Compiling

  • Install Git or download a ZIP archive
  • Install CMake
  • Install GStreamer distribution or build from source. The installer should set the installation path via GSTREAMER_1_0_ROOT_X86_64 environment variable. If not set, set GSTREAMER_ROOT to your installation, the directory containing bin, lib, etc.
  • Install any camera or framegrabber software/SDK for those plugins you wish to build. Check cmake/modules for any paths you may need to set.
  • Run the following commands from a terminal or command prompt, assuming CMake and Git are in your PATH.
git clone https://github.com/joshdoe/gst-plugins-vision.git
cd gst-plugins-vision
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" ..
  • To create a package of all compiled plugins run:
cmake --build . --target PACKAGE

See also

  • Aravis, Linux open source GStreamer plugin for GigE Vision and USB3 Vision cameras
Languages
C 72.5%
C++ 14.8%
CMake 6.9%
Python 4%
PowerShell 1.4%
Other 0.3%