https://github.com/technomancers/picamera
Capture the stream of Images for a Raspberry Pi Camera in GoLang
https://github.com/technomancers/picamera
camera golang raspberry-pi
Last synced: about 1 month ago
JSON representation
Capture the stream of Images for a Raspberry Pi Camera in GoLang
- Host: GitHub
- URL: https://github.com/technomancers/picamera
- Owner: technomancers
- License: bsd-3-clause
- Created: 2017-08-03T02:01:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T22:12:39.000Z (over 6 years ago)
- Last Synced: 2025-03-25T07:41:41.885Z (2 months ago)
- Topics: camera, golang, raspberry-pi
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 30
- Watchers: 6
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# piCamera [](https://godoc.org/github.com/technomancers/piCamera)
This package is a wrapper for the `raspivid` command on the Raspberry Pi. To make development easier on a PC, there is are different `Start()` methods depending on what is compiled. One is for the Raspberry Pi and the other is for everything else.
## Installation
Since this package depends on a Raspberry Pi only command there is an extra flag needed to build this package for the Raspberry Pi.
```sh
env GOOS=linux GOARCH=arm GOARM=7 go build -tags pi -a .
```Make note of the `-tags pi` on build. Any `main` package that has any dependency to this package should have that flag so that this package is built correctly for the Raspberry Pi.