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
Release files for noahs-camera-controller 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| noahs_camera_controller-0.1.0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| noahs_camera_controller-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / noahs_camera_controller-0.1.0.tar.gz
| Download URL | noahs_camera_controller-0.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
341072a1accd37898f279d0d551ce05d44e27b75d1e559fa3ae4896cd7024675
|
|
BLAKE2b-256 checksum How to use checksums |
086f933e4a5341251d3d56ed1c05bd0489fbddbb48e468f797799c8951a87de5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Release files / noahs_camera_controller-0.1.0-py3-none-any.whl
| Download URL | noahs_camera_controller-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf78af507fee8da6af8a183edb75ba684283ab339c1e2d89375ee99bab1104f3
|
|
BLAKE2b-256 checksum How to use checksums |
e3974ddd602bd8871c7ad31098a43f64a4805b82a6e820dce282b72351b09984
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|