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.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for opencv_cam_idx-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9729bf4f0e3ee300a75e231e029210ef85101f0c8b3796eb50ab975e8fc39ec1 |
|
MD5 | 54109fabe680498821de2b956224238e |
|
BLAKE2b-256 | 6939db9f5c43c8549525fd7c189141fec52a9850adc7c000921e9226a3670ef3 |