Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/derzombiiie/go-libcamera-example

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/derzombiiie/go-libcamera-example

  • v0.0.0-20220930201251-183e07a1744d
  • Source
  • Go
  • Socket score

Version published
Created
Source

This is a small example showing how you could and arguably shouln't read data from stdout of some process.

...or how to get some kind of image from libcamera-still in go.

This is a proof of concept!

Usage:

  • go run libcamera.go

  • note the PID (first line) should be sth like 17731

  • kill -SIGUSR1 <PID> - signals libcamera-still to take a picture

  • wait.. after a second or so the programm should tell you a filename where the image is saved name is out-.jpg

this example is under the MIT license, see LICENSE

FAQs

Package last updated on 30 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc