Skip to main content

opencv-cam-idx

Find opencv camera index in windows using win32 api

Installation

You can install the package via pip:

pip install opencv-cam-idx

Usage

from opencv_cam_idx.finder import find_cameras

find_cameras()

# Camera(
#     idx=0,
#     friendly_name='USB Video',
#     device_path='\\\\?\\usb#vid_534d&pid_2109&mi_00#7&11fabc89&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global',
#     description='',
# )
# Camera(
#     idx=1,
#     friendly_name='Integrated Webcam',
#     device_path='\\\\?\\usb#vid_1bcf&pid_28b0&mi_00#6&3443eee2&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global',
#     description='',
# )

License

This project is licensed under the terms of the MIT license.

Metadata

Release files for opencv-cam-idx 1.0.1

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

Source distribution (sdist)

Source distribution for opencv-cam-idx 1.0.1
File Size Uploaded Provenance
opencv_cam_idx-1.0.1.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for opencv-cam-idx 1.0.1
File Interpreter ABI Platform
opencv_cam_idx-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / opencv_cam_idx-1.0.1.tar.gz

Download URL opencv_cam_idx-1.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0315636eeff0bfda15b50089cff6a6964c4d5f621e2a51a98d5cf57772e04762
BLAKE2b-256 checksum
How to use checksums
013feec7fb3f80921593207118c55764e8ed97a863e51b05aa3f438b351c05ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / opencv_cam_idx-1.0.1-py3-none-any.whl

Download URL opencv_cam_idx-1.0.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb808923210b9acabfc05472c5ec83bd70296c9babdfb4f4e51e25e274507b30
BLAKE2b-256 checksum
How to use checksums
71c54ee7a60fd20e9f98dc4d5d0718c6e778ce7bc0ad0fae85aeae9bdf7f55d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for opencv-cam-idx 1.0.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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