You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

noahs-camera-controller

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noahs-camera-controller

A simple tool for Mac, Windows and Linux for basic photo and video capture

0.1.0
pipPyPI
Maintainers
1

Usage: noahs_camera_controller

This library provides a simple way to do basic photo a video capture. On most devices, opencv will be used, however, on arm based linux devices like raspberry pi, libcamera-still and libcamera-vid will be used. Make sure your command line has permission to access your camera before use.

Getting Started

First, install the library:

pip install noahs_camera_controller

Then run the sample code below.

from noahs_camera_controller import list_available_cameras, capture_photo, capture_video

capture_photo(name="my_photo",rotation=None, hflip=False, vflip=False, device_index=0)
capture_video(name="my_video", duration=5, rotation=None, hflip=False, vflip=False, device_index=0)

Check out Source Code

https://github.com/jonesnoah45010/camera_controller

FAQs

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