Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uedatakeyuki/fswebcam

Go wrapper of github.com/fsphil/fswebcam inspired by github.com/nimbleindustry/fswebcam
https://github.com/uedatakeyuki/fswebcam

fswebcam go golang uvc uvccamera

Last synced: 20 days ago
JSON representation

Go wrapper of github.com/fsphil/fswebcam inspired by github.com/nimbleindustry/fswebcam

Awesome Lists containing this project

README

        

# fswebcam
Go wrapper of github.com/fsphil/fswebcam inspired by github.com/nimbleindustry/fswebcam.

## How to use

### Set Up
go get this module, then execute **setup.sh** on the downloaded mod folder as follows
```
go get github.com/UedaTakeyuki/fswebcam
cd ~/go/pkg/mod/github.com/\!ueda\!takeyuki/fswebcam@*
sudo sh setup.sh
```

### Code
Import this module and call **Capture()** with fswebcam command line params start with **fswebcam** as follows.

```
import (
fw "github.com/UedaTakeyuki/fswebcam"
)

func main(){
// call Capture with fswebcam command line string
fw.Capture([]string{"fswebcam", "-d", "v4l2:/dev/video0", "kerokero.jpg")
}
```

# History
- 1.0.0 2022.07.29 first version.