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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
341072a1accd37898f279d0d551ce05d44e27b75d1e559fa3ae4896cd7024675
|
|
| MD5 |
a360345bec76c1c7612b90fd2440c8db
|
|
| BLAKE2b-256 |
086f933e4a5341251d3d56ed1c05bd0489fbddbb48e468f797799c8951a87de5
|
File details
Details for the file noahs_camera_controller-0.1.0-py3-none-any.whl.
File metadata
- Download URL: noahs_camera_controller-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf78af507fee8da6af8a183edb75ba684283ab339c1e2d89375ee99bab1104f3
|
|
| MD5 |
c2f7a7dedad80ec4a1b9b35365e565f4
|
|
| BLAKE2b-256 |
e3974ddd602bd8871c7ad31098a43f64a4805b82a6e820dce282b72351b09984
|