Skip to content
A GStreamer video filter that uses OpenCV
C C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
gstopencvfilter-link.cpp
gstopencvfilter.c
gstopencvfilter.h

README.md

This GStreamer element lets you call into OpenCV, do your magic, and write back out ot GStreamer. I included the standard 1-kernel Sobel filter just to get you up and running.

Motivation:

  1. I needed to make an RTSP server consisting of mutliple UDP video feeds that be inferenced at 30fps using non-hardware-specific libraries (e.g, DeepStream).

  2. There are roughly 50,000+ OpenCV "streaming" projects that dribble out >1 fps using CV2/Python/Flask

  3. OpenCV doesn't support writing to a video stream easily (AFAIK, please let me know if I'm wrong!)

  4. GStreamer is waaaay more fleixble than VLC and FFMPEG for what I need.

This was compiled on Ubuntu 16.04, GStreamer 1.17.0, OpenCV 2.4.9.1, g++ 5.4.0.

You can’t perform that action at this time.