You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plug-in is a library to use [OpenCV](http://opencv.org)library, User can use a part of OpenCV functions. For example user can create source component to generate stream video capturing.
5
+
This is the [OpenCV](http://opencv.org)plugin for SensorBee.
6
6
7
-
# Require
7
+
This plugin currently supports following features of OpenCV:
8
8
9
-
* OpenCV
10
-
* attention that ffmpeg version.
11
-
* ex) Mac OS X `brew install opencv --with-ffmpeg`
9
+
* Inputting video stream from a file or a camera
10
+
* Encoding JPEG
11
+
* Cascade classifier
12
+
13
+
# Requirements
14
+
15
+
* OpenCV with ffmpeg enabled for video input sources
16
+
* Example on Mac OS X: `brew install homebrew/science/opencv --with-ffmpeg`
12
17
* SensorBee
13
-
*later v0.5
18
+
* v0.5 or later
14
19
15
20
# Usage
16
21
17
-
## Registering plug-in
22
+
## Plugin Registration
18
23
19
-
`build_sensorbee` with build.yaml set `gopkg.in/sensorbee/opencv.v0/plugin`
24
+
Add `gopkg.in/sensorbee/opencv.v0/plugin` to build.yaml for the `build_sensorbee` command.
20
25
21
26
### build.yaml
22
27
@@ -25,9 +30,9 @@ plugins:
25
30
- gopkg.in/sensorbee/opencv.v0/plugin
26
31
```
27
32
28
-
## Using from BQLs sample
33
+
## BQL examples
29
34
30
-
### Capturing video source and streaming frames
35
+
### Capturing frames from a video file
31
36
32
37
```sql
33
38
-- capturing
@@ -36,8 +41,11 @@ CREATE PAUSED SOURCE camera1_avi TYPE opencv_capture_from_uri WITH
36
41
frame_skip=4, next_frame_error=false;
37
42
```
38
43
39
-
will start generating stream from "video/camera1.avi" after execute`RESUME` query.
44
+
This source will start generating a stream from "video/camera1.avi" after executing`RESUME` query.
40
45
41
46
```
42
47
RESUME SOURCE camera1_avi;
43
48
```
49
+
50
+
Note that `PAUSED` should not be specified when capturing from a webcam, which
0 commit comments