Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noahs_camera_controller-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noahs_camera_controller-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file noahs_camera_controller-0.1.0.tar.gz.

File metadata

  • Download URL: noahs_camera_controller-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for noahs_camera_controller-0.1.0.tar.gz
Algorithm Hash digest
SHA256 341072a1accd37898f279d0d551ce05d44e27b75d1e559fa3ae4896cd7024675
MD5 a360345bec76c1c7612b90fd2440c8db
BLAKE2b-256 086f933e4a5341251d3d56ed1c05bd0489fbddbb48e468f797799c8951a87de5

See more details on using hashes here.

File details

Details for the file noahs_camera_controller-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for noahs_camera_controller-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf78af507fee8da6af8a183edb75ba684283ab339c1e2d89375ee99bab1104f3
MD5 c2f7a7dedad80ec4a1b9b35365e565f4
BLAKE2b-256 e3974ddd602bd8871c7ad31098a43f64a4805b82a6e820dce282b72351b09984

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page