Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/uedatakeyuki/fswebcam
- Owner: UedaTakeyuki
- License: mit
- Created: 2022-07-28T11:38:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T00:09:53.000Z (about 2 years ago)
- Last Synced: 2024-06-21T09:57:10.641Z (6 months ago)
- Topics: fswebcam, go, golang, uvc, uvccamera
- Language: Go
- Homepage:
- Size: 110 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
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.