Add webcam sample to README.

This commit is contained in:
Bert Chang 2014-01-16 11:49:56 +08:00
parent d511e25516
commit 1d6ae2dabc

View file

@ -22,6 +22,8 @@ Original project (https://code.google.com/p/go-opencv) looks abandoned. Therefor
## Example
### Resizing
```go
package main
@ -42,6 +44,18 @@ func main() {
opencv.SaveImage("resized3.jpg", resized3, 0)
}
```
### Webcam
Yet another cool example is created by @saratovsource which demos how to use webcam:
```
cd samples
go run webcam.go
```
### More
You can find more samples at: https://github.com/lazywei/go-opencv/tree/master/samples
## Contribute