https://github.com/bububa/camera
golang lib for different camera device capture
https://github.com/bububa/camera
Last synced: about 1 year ago
JSON representation
golang lib for different camera device capture
- Host: GitHub
- URL: https://github.com/bububa/camera
- Owner: bububa
- License: apache-2.0
- Created: 2021-10-08T05:31:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-08T05:54:28.000Z (over 4 years ago)
- Last Synced: 2024-06-21T06:34:55.051Z (almost 2 years ago)
- Language: Go
- Size: 17.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Golang lib for camera capture
[](https://pkg.go.dev/github.com/bububa/camera)
[](https://github.com/bububa/camera/actions/workflows/go.yml)
[](https://github.com/bububa/camera/actions/workflows/goreleaser.yml)
[](https://github.com/bububa/camera)
[](https://goreportcard.com/report/github.com/bububa/camera)
[](https://github.com/bububa/camera/blob/master/LICENSE)
[](https://GitHub.com/bububa/camera/releases/)
## Demo

## Install
go get -u github.com/bububa/camera
## Requirements
- [libjpeg-turbo](https://www.libjpeg-turbo.org/) (use `-tags jpeg` to build without `CGo`)
- On Linux/RPi native Go [V4L](https://github.com/korandiz/v4l) implementation is used to capture images.
## Build tags
- `cv4` - build with `OpenCV` 4.x ([gocv](https://gocv.io/x/gocv))
- `jpeg` - build with native Go `image/jpeg` instead of `libjpeg-turbo`
- `android` - build for Android