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 hashes)
Built Distribution
Close
Hashes for opencv_cam_idx-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb808923210b9acabfc05472c5ec83bd70296c9babdfb4f4e51e25e274507b30 |
|
MD5 | 498fcbef32138252da65e5a6b20bc2f4 |
|
BLAKE2b-256 | 71c54ee7a60fd20e9f98dc4d5d0718c6e778ce7bc0ad0fae85aeae9bdf7f55d3 |