Bug Fixed: Now Able to Pass 'screen #num' as the Source for check_source Function #4155
Replies: 1 comment
-
@n-aghaebrahim thank you for reporting this issue and suggesting a fix for the I'll review the proposed change to ensure it aligns with the rest of the codebase and doesn't introduce any regressions. If everything checks out, we'll work on integrating the fix into an upcoming release. In the meantime, if you have any further insights or encounter additional issues, please don't hesitate to share them. Keep an eye on the repository for updates, and thanks again for your support! 🚀 |
Beta Was this translation helpful? Give feedback.
-
A glitch exists within the check_source function of the build.py file. When utilizing "screen" as the source, it successfully captures the screenshot and enables model prediction. However, when specifying "screen 2" along with the screen number, it triggers an error. To fix this issue, the bug can be addressed by modifying line 120 in the build.py, as indicated in the accompanying screenshot, to:
screenshot = True if 'screen' in source.lower() else False
Beta Was this translation helpful? Give feedback.
All reactions