Find opencv camera index in windows using win32 api
Project description
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.
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
opencv_cam_idx-1.0.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file opencv_cam_idx-1.0.1.tar.gz
.
File metadata
- Download URL: opencv_cam_idx-1.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0315636eeff0bfda15b50089cff6a6964c4d5f621e2a51a98d5cf57772e04762 |
|
MD5 | 7231f5867568b7f4ac1febd6e2cb777c |
|
BLAKE2b-256 | 013feec7fb3f80921593207118c55764e8ed97a863e51b05aa3f438b351c05ea |
File details
Details for the file opencv_cam_idx-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: opencv_cam_idx-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb808923210b9acabfc05472c5ec83bd70296c9babdfb4f4e51e25e274507b30 |
|
MD5 | 498fcbef32138252da65e5a6b20bc2f4 |
|
BLAKE2b-256 | 71c54ee7a60fd20e9f98dc4d5d0718c6e778ce7bc0ad0fae85aeae9bdf7f55d3 |