Registry / other / blackjack-webcam

blackjack-webcam

JSON →
library0.6.1gogounverified

Library for working with webcams and video capturing devices on Linux using V4L2.

go get github.com/blackjack/webcam
INSTALL
IMPORT
SIG · BLACKJACK-WEBCAM
B
blackjack-webcam
othergov0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

webcam
github.com/blackjack/webcam

Open a webcam device at /dev/video0.

package main import ( "fmt" "github.com/blackjack/webcam" ) func main() { cam, err := webcam.Open("/dev/video0") if err != nil { panic(err) } defer cam.Close() fmt.Println("Camera opened") }
Debug
Known issues
gotchaLinux-only: depends on V4L2 framework, will not compile on other platforms.
fix
Use build tags or conditional compilation to restrict to Linux.
affects: all
Upgrade
Version history
0.6.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Meta
1
OpenAI (training)
1
Resources
blackjack-webcam — go get blackjack-webcam · libregistry