-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(utils): add TkImageWindow to unblock switch to opencv-python-headless
#2320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
3580d25
feat(utils): add TkImageWindow and switch to opencv-python-headless
Borda e624ea3
Potential fix for pull request finding
Borda 33000e8
Potential fix for pull request finding
Borda 335caa0
Potential fix for pull request finding
Borda 937ec58
Potential fix for pull request finding
Borda e17a4c0
Fix Tk image window event handling
Borda a70e11e
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] b817aee
Merge branch 'drop/cv2-gui' of https://github.com/roboflow/supervisio…
Borda bf1305b
Merge branch 'drop/cv2-gui' of https://github.com/roboflow/supervisio…
Borda 8987daa
Merge branch 'develop' into drop/cv2-gui
Borda b3bb85e
fix(tests): patch PIL.ImageTk via sys.modules to fix Python 3.12+ CI …
Borda 703862d
fix(examples): revert 3 stream examples from TkImageWindow to cv2.imshow
Borda edec485
docs(image_window): clarify API differences from cv2 and correct exce…
Borda e1b59da
docs(video): add webcam ownership pattern to get_video_frames_generator
Borda f8b6bd4
docs: add TkImageWindow to mkdocs navigation
Borda cbf1a1a
Merge branch 'drop/cv2-gui' of https://github.com/roboflow/supervisio…
Borda 0262595
Merge branch 'develop' into drop/cv2-gui
Borda 440839e
fix(detection): add type args to _merge_obb_corners parameter
Borda 64382e9
fix(utils): correct TkImageWindow docstring, key-queue, ghost-window,…
Borda c58b9c4
docs(changelog): add TkImageWindow entry, fix pip co-install wording
Borda 37d0ab1
test(utils): add edge-case tests, parametrize TkImageWindow error paths
Borda 2c08819
Merge branch 'develop' into drop/cv2-gui
Borda e6536f8
Merge branch 'develop' into drop/cv2-gui
Borda d5745f1
feat(utils): resize TkImageWindow scales image, not crops
Borda e40f1ff
Merge branch 'develop' into drop/cv2-gui
Borda 3c9ec36
Merge branch 'develop' into drop/cv2-gui
Borda 589b2af
Merge branch 'develop' into drop/cv2-gui
Borda a50e180
Merge branch 'develop' into drop/cv2-gui
Borda 8de90fd
Merge branch 'develop' into drop/cv2-gui
Borda 5f5f82e
Merge branch 'develop' into drop/cv2-gui
Borda 4227ad9
revert accidental delete
Borda 67f7cef
Merge remote-tracking branch 'origin/develop' into drop/cv2-gui
Borda 022f722
refactor(rename): TkImageWindow -> ImageWindow across examples/docs/e…
Borda 97fd91b
fix(image_window): correct mouse coords after resize; reuse cv2_to_pi…
Borda d196a21
docs(changelog): rename mention, consolidate duplicate text, use warn…
Borda 17ce271
lint: auto-fix violations after resolve cycle
Borda 527779c
fix(changelog): move ImageWindow entry out of already-published 0.29.…
Borda c654b25
fix(utils): add ImageWindow.is_open and update examples
Borda c9ed0c2
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] 9cd8c60
Potential fix for pull request finding
Borda bff69b4
Potential fix for pull request finding
Borda cfd1f69
Apply suggestions from code review
Borda e6fe172
Merge branch 'develop' into drop/cv2-gui
Borda d6996fb
docs: correct premature opencv-headless claims
Borda 317900f
docs(changelog): drop premature OpenCV-dependency-change note
Borda 51f665d
docs: fix wrong opencv-python-only claim for cv2.VideoCapture in FAQ
Borda e903d68
replace opencv-python-headless with opencv-python as dependency in uv…
Borda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| comments: true | ||
| status: new | ||
| --- | ||
|
|
||
| # Image Window | ||
|
|
||
| <div class="md-typeset"> | ||
| <h2><a href="#supervision.utils.image_window.ImageWindow">ImageWindow</a></h2> | ||
| </div> | ||
|
|
||
| :::supervision.utils.image_window.ImageWindow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.