Closed Highpressure closed 1 week ago
This pull request adds support for multiple camera devices by implementing a scanning function to detect available cameras and adding a dropdown menu in the UI to select the desired camera. The changes primarily affect the ui.py
and capturer.py
files, introducing new functionality without adding additional libraries for camera name detection.
Change | Details | Files |
---|---|---|
Implemented a function to list available cameras |
|
modules/ui.py modules/capturer.py |
Added a dropdown menu for camera selection in the UI |
|
modules/ui.py |
Modified the webcam preview function to use the selected camera |
|
modules/ui.py |
Updated the video frame capture function to support both camera and video file inputs |
|
modules/capturer.py |
Removed several UI elements to make room for the new camera selection feature |
|
modules/ui.py |
committed the wrong file - now the switches are back
@Highpressure would like to ask if you can do a recommit on this on the updated main. Just having some issues refactoring with lots of changes that happened. Appreciate the help bro :)
added scanning function for multi camera device support to caputrer.py and a dropdown to select the camera in ui.py did not add additional libraries to support camera name detection as this is only supported on windows
Summary by Sourcery
Add support for multi-camera devices by implementing a function to list available cameras and integrating a dropdown menu in the UI for camera selection. Update the webcam preview functionality to utilize the selected camera index.
New Features:
Enhancements: