Get device list with Windows DirectShow
Project description
List Capture Devices for Python OpenCV on Windows
OpenCV does not have an API for listing capture devices. The sample shows how to create a Python extension to invoke DirectShow C++ APIs for enumerating capture devices.
Environment
- Microsoft Windows SDK
- Python 2.7.9 / Python 3.6.5
- OpenCV 3.3.0
How to Build the CPython Extension
-
distutils:
python .\setup_distutils.py build
-
scikit-build:
pip wheel . --verbose
Test
python test.py
Blog
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
Built Distribution
Close
Hashes for windows-capture-device-list-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad4f3d6d6c64da58f5020377474efa604e746c9252f1d74094dfb8334202316a |
|
MD5 | f25d5715eeb451ab6f7b22f164909584 |
|
BLAKE2b-256 | f9eed96e6f48556d234072d4706cbdf5812e9333d805bcbb806e03a2b2266b8b |
Close
Hashes for windows_capture_device_list-1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e1703faba6e15ed8599e7d79d0e785bdf937c6fa172df1108b9260bba2cfcc |
|
MD5 | 0036da21e58742a6d4750727359a171f |
|
BLAKE2b-256 | 8b3ce5ca81e91f98672616fb59b6d037ef744c304454d4d30c1792ac1513500b |