Repository navigation
Context utils - #47
Closed
ondrej-from-pekat wants to merge 19 commits into
Closed
ondrej-from-pekat wants to merge 19 commits into
ondrej-from-pekat wants to merge 19 commits into
Conversation
ondrej-from-pekat
requested review from
Adamasterr,
magic-hacks-by-marek-from-pekat and
xbenam
March 17, 2026 11:18
… UntypedResult based on typed parameter
…dules; update context.py and utils module descriptions
Contributor
|
This is amazing but virtually unmaintainable, there is no guarantee that any of the defined keys are going to be present... |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Create typeddict class for typing of context returned from Instance.analyze(). Added utility functions for working with the output, specifically function for filtering and function for drawing rectangles into the image if cv2 is installed.