Home

Awesome

wercker status

OpenCV plugin for SensorBee

This is the OpenCV plugin for SensorBee.

This plugin currently supports following features of OpenCV:

Requirements

Usage

Plugin Registration

Add gopkg.in/sensorbee/opencv.v0/plugin to build.yaml for the build_sensorbee command.

build.yaml

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

BQL examples

Capturing frames from a video file

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

This source will start generating a stream from "video/camera1.avi" after executing RESUME query.

RESUME SOURCE camera1_avi;

Note that PAUSED should not be specified when capturing from a webcam, which keeps generating a video stream.