github.com/nobu-k/sb-opencv

SensorBee OpenCV plugin


Install
go get github.com/nobu-k/sb-opencv

Documentation

wercker status

OpenCV plug-in for SensorBee

This plug-in is a library to use OpenCV library, User can use a part of OpenCV functions. For example user can create source component to generate stream video capturing.

Require

  • OpenCV
    • attention that ffmpeg version.
    • ex) Mac OS X brew install opencv --with-ffmpeg
  • SensorBee
    • later v0.5

Usage

Registering plug-in

build_sensorbee with build.yaml set gopkg.in/sensorbee/opencv.v0/plugin

build.yaml

plugins:
- gopkg.in/sensorbee/opencv.v0/plugin

Using from BQLs sample

Capturing video source and streaming frames

-- capturing
CREATE PAUSED SOURCE camera1_avi TYPE opencv_capture_from_uri WITH
    uri="video/camera1.avi",
    frame_skip=4, next_frame_error=false;

will start generating stream from "video/camera1.avi" after execute RESUME query.

RESUME SOURCE camera1_avi;