Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bububa/camera
golang lib for different camera device capture
https://github.com/bububa/camera
Last synced: about 5 hours 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-08T05:54:28.000Z (about 3 years ago)
- Last Synced: 2024-06-21T06:34:55.051Z (5 months 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
[![Go Reference](https://pkg.go.dev/badge/github.com/bububa/camera.svg)](https://pkg.go.dev/github.com/bububa/camera)
[![Go](https://github.com/bububa/camera/actions/workflows/go.yml/badge.svg)](https://github.com/bububa/camera/actions/workflows/go.yml)
[![goreleaser](https://github.com/bububa/camera/actions/workflows/goreleaser.yml/badge.svg)](https://github.com/bububa/camera/actions/workflows/goreleaser.yml)
[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/bububa/camera.svg)](https://github.com/bububa/camera)
[![GoReportCard](https://goreportcard.com/badge/github.com/bububa/camera)](https://goreportcard.com/report/github.com/bububa/camera)
[![GitHub license](https://img.shields.io/github/license/bububa/camera.svg)](https://github.com/bububa/camera/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/bububa/camera.svg)](https://GitHub.com/bububa/camera/releases/)## Demo
![demo screen capture](https://github.com/bububa/camera/blob/main/demo.gif?raw=true)
## 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