Skip to main content

OmniCamera

A library for querying and capturing from cameras, based on nokhwa crate.

Examples

Query available cameras:

print(*omni_camera.query(), sep='\n')

Example output:

CameraInfo(index=2, name='UVC Camera (046d:0809)', description='Video4Linux Device @ /dev/video2', misc='')
CameraInfo(index=0, name='USB2.0 VGA UVC WebCam: USB2.0 V', description='Video4Linux Device @ /dev/video0', misc='')

Save an image (note: requires pillow to be installed):

import omni_camera
import time
cam = omni_camera.Camera(camerata.query()[0]) # Open a camera
while cam.poll_frame_pil() is None: # Note that .poll_frame_* functions never blocks
    time.sleep(0.1) # Wait until we get at least one frame from the camera
#time.sleep(1) # You might want to wait a bit longer while camera is calibrating
img = cam.poll_frame_pil()
img.save("img.png")

See examples/ for more

Metadata

Release files for omni-camera 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omni-camera 0.6.3
File Size Uploaded Provenance
omni_camera-0.6.3.tar.gz 17.9 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for omni-camera 0.6.3
File
omni_camera-0.6.3-cp313-cp313t-win_amd64.whl CPython 3.13 CPython 3.13 free-threading Windows x86-64 Details
omni_camera-0.6.3-cp313-cp313t-win32.whl CPython 3.13 CPython 3.13 free-threading Windows x86-32 Details
omni_camera-0.6.3-cp313-cp313t-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 free-threading Linux glibc 2.34+ x86-64 Details
omni_camera-0.6.3-cp313-cp313t-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 free-threading macOS 11.0+ ARM64 Details
omni_camera-0.6.3-cp313-cp313t-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 free-threading macOS 10.12+ x86-64 Details
omni_camera-0.6.3-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
omni_camera-0.6.3-cp39-abi3-win32.whl CPython 3.9 abi3 Windows x86-32 Details
omni_camera-0.6.3-cp39-abi3-manylinux_2_34_x86_64.whl CPython 3.9 abi3 Linux glibc 2.34+ x86-64 Details
omni_camera-0.6.3-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
omni_camera-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 4.4 MB

Release files / omni_camera-0.6.3.tar.gz

Download URL omni_camera-0.6.3.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ffc29a2f9bec793d6c0655f5ccb90e40be7e5388c3e2910586eda0d2b7b645fb
BLAKE2b-256 checksum
How to use checksums
9405027efb2b9f7028b1d41af320cf50b475b9c1c1ded472b466d7af22de117a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp313-cp313t-win_amd64.whl

Download URL omni_camera-0.6.3-cp313-cp313t-win_amd64.whl
Size 319.5 kB
Tags CPython 3.13 CPython 3.13 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
40286e21e1cb6f85e7168c1c1a1bc1c941bc71776e1b173612e44add49c1625d
BLAKE2b-256 checksum
How to use checksums
04547154d7f9f5c5be3e44662f91f0d18e83f28d2454446f68a8dd3246afe14e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp313-cp313t-win32.whl

Download URL omni_camera-0.6.3-cp313-cp313t-win32.whl
Size 294.2 kB
Tags CPython 3.13 CPython 3.13 free-threading Windows x86-32
SHA-256 checksum
How to use checksums
2d8fc27a94b9790ed11adaf66051cf06fafc5e2fc2707ef628d2e173f95a9005
BLAKE2b-256 checksum
How to use checksums
1fe1466180be09737fbe2a58877126e5df6fcd91091ba0f24ba2dffc11e8aec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp313-cp313t-manylinux_2_34_x86_64.whl

Download URL omni_camera-0.6.3-cp313-cp313t-manylinux_2_34_x86_64.whl
Size 522.5 kB
Tags CPython 3.13 CPython 3.13 free-threading Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
f872d25140d9f780d30ada64831c1a9aa191c3255c5c16c7f0e1978ffb2ee410
BLAKE2b-256 checksum
How to use checksums
293c718dda87bb78182be83b28062ad23948f213eba8322a9c1572598521241f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp313-cp313t-macosx_11_0_arm64.whl

Download URL omni_camera-0.6.3-cp313-cp313t-macosx_11_0_arm64.whl
Size 510.0 kB
Tags CPython 3.13 CPython 3.13 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6ea97b77e7c4ceaec00f5ed1722f3210025c2b12323212001b93f7949113b20e
BLAKE2b-256 checksum
How to use checksums
db1bb4b5a21b6ec5593546c3e5be8ca5cf055f97ff3df69ddec9ba6f2d827f0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp313-cp313t-macosx_10_12_x86_64.whl

Download URL omni_camera-0.6.3-cp313-cp313t-macosx_10_12_x86_64.whl
Size 527.1 kB
Tags CPython 3.13 CPython 3.13 free-threading macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ac1500cf8ba0661ea611fa66be1b686d18aba75814aaf205ae333bb9db8e6b41
BLAKE2b-256 checksum
How to use checksums
cfe9ad5d68568c7f662aa6430b1770f001c64970935467f4a4fb108fa54aa7ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp39-abi3-win_amd64.whl

Download URL omni_camera-0.6.3-cp39-abi3-win_amd64.whl
Size 323.9 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
cb3acf2cc05d54b908d9e05b925b169e57d18dd358f3b0be60367d3e70302925
BLAKE2b-256 checksum
How to use checksums
754057ac32784afce1e1fa8b7fca2b40292c90474a93c17e2d0f2482c849d5e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp39-abi3-win32.whl

Download URL omni_camera-0.6.3-cp39-abi3-win32.whl
Size 298.7 kB
Tags CPython 3.9 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
947b673c6d5f0e36aa734121b82665b55ec093a966bbae77f661a6bef9fd407e
BLAKE2b-256 checksum
How to use checksums
1a9d5e5cd4988ebdbb5430e982c1a40251594d4519e6e5b6e762a1d5179ab185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp39-abi3-manylinux_2_34_x86_64.whl

Download URL omni_camera-0.6.3-cp39-abi3-manylinux_2_34_x86_64.whl
Size 528.5 kB
Tags CPython 3.9 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
91382d89c3b83b41b7fe7d62fab277a3329f1dd9e925b0859d7e817ad8cc5a31
BLAKE2b-256 checksum
How to use checksums
7df0815ebc725b85c0d3c1338722b14d7095056da8086cfb1df6aad0e4d64da5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL omni_camera-0.6.3-cp39-abi3-macosx_11_0_arm64.whl
Size 517.2 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
84a6238104404749683687c6895f32b9633241ba10fc130a57376a1a85e5b815
BLAKE2b-256 checksum
How to use checksums
f4a9840d24d56222fe8a4f47ec25300ffcb13fa9bacceae2aed4a064f574a76e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / omni_camera-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL omni_camera-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl
Size 534.9 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7f473f3f7328a7c29b1afb685842bfc174ed7357af35267c03c99b30fd08d3d9
BLAKE2b-256 checksum
How to use checksums
f91fac52542e32f17837b5654a967315bc3b91b910b5ad8c754b234b4ecd24e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Security for omni-camera 0.6.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page