A library to access the device's camera and preprocess images for decoding.
Project description
spsscamera
The spsscamera library accesses the device’s camera, captures high-quality frames, and preprocesses them for efficient decoding by spssdecode. It supports cross-platform compatibility for web, iOS, and Android.
Installation
pip install -r requirements.txt
USAGE: from spsscamera.camera import Camera
Initialize the Camera
camera = Camera()
Capture a frame
frame = camera.capture_frame()
Optimize for low-light conditions
optimized_frame = camera.optimize_low_light(frame)
Preprocess the image
preprocessed_frame = camera.preprocess_image(optimized_frame)
print(preprocessed_frame)
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 spsscamera-0.1.0.tar.gz.
File metadata
- Download URL: spsscamera-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3caa6b6738a3699d73591c9561b6e31b2e5716e456f4fb03144682ec2d0526e3
|
|
| MD5 |
eeb9c07c696aabbf40c7253e3488726a
|
|
| BLAKE2b-256 |
778d3aca5bfcff23e4fb420acf7d6774ea46c74b2810b731e87fa1aa7d5f8910
|
File details
Details for the file spsscamera-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spsscamera-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dd9e51821406e0bba9eec503a6ea69e019ff9b676acf663d75f88453e7e4a83
|
|
| MD5 |
33f52de6ffc6f2acae11f88d871d252b
|
|
| BLAKE2b-256 |
8d1329784fe25e20c7ba16f35e327522fb4136281549b7d7b41519389854de4c
|