Giter Club home page Giter Club logo

joshdoe / gst-opencv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elleo/gst-opencv

1.0 2.0 1.0 599 KB

A collection of elements for the GStreamer multimedia framework which provide access to a number of computer vision techniques from the OpenCV project. NOTE: The upstream project has been merged to gst-plugins-bad, prior to my changes being merged. I'll try and submit some of my changes as patches there.

License: Other

Python 0.54% Shell 4.38% C 95.08%

gst-opencv's Introduction

gst-opencv

gst-opencv is a plugin for the GStreamer framework, consisting of both elements mapped directly to OpenCV functions as well as composite elements using a combination of functions.

Requirements

  • gstreamer and gst-plugins-base (>=0.10.29)
  • OpenCV (>=2.0?)
  • autoconf (>=2.52), automake (>=1.7), libtool (>=1.5.0), and pkg-config (>=0.11.0)
  • OR CMake (>=2.8?)

Build It

There are two ways to build gst-opencv, the traditional make system and CMake.

make

Read INSTALL for more information, but in short:

./autogen.sh --prefix=/gstreamer/plugins/dir
make
make install

CMake

CMake can be used to generate build files for a number of different build systems, including make and Visual Studio. It is recommended to perform an out-of-place by creating a subdirectory for the build files. To see a list of the available build generators simply run cmake. The following are just two of the many combinations of platforms and build systems that can be used.

Windows

You'll need to specify the location of required libraries by setting some environment variables:

set GSTREAMER_DIR=C:\gstreamer
set LIBXML2_DIR=%GSTREAMER_DIR%
set LIBICONV_DIR=%GSTREAMER_DIR%
set GLIB2_DIR=%GSTREAMER_DIR%
set OPENCV_DIR=C:\opencv

To generate a Visual Studio 2008 solution file and install the resulting plugins in C:\gstreamer\plugins run the following commands:

mkdir build
cd build
cmake .. -G "Visual Studio 9 2008" -DCMAKE_INSTALL_PREFIX=C:\gstreamer\plugins

Alternatively, you can use the CMake gui, cmake-gui.

Once the build files have been generated, open the solution file and either "Build Solution" or build the ALL_BUILD project. To install the plugin, issue a build command on the INSTALL project.

Linux

To generate makefiles, build, then install, run the following commands:

mkdir build
cd build
cmake .. -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/gstreamer/plugin/dir
make
make install

Contributing

Fork it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.