Skip to content
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

Change image detections to dict. #56

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Change image detections to dict. #56

merged 2 commits into from
Dec 7, 2023

Conversation

denniswittich
Copy link
Contributor

This change allows to associate multiple detections (groups of detections) with an image, e.g. when multiple detectors are used. The default behavior should be mostly unchanged: if there is only one detections in the dict, the property 'image.detections' can still be used to access the detections. The dict keys are strings that correspond to the detector names. Here, this PR introduces the attribute name for the detector which, however, is optional to maintain downward compatibility.

Adapt detectors.
This allows to associate multiple detection goups with an image.
@falkoschindler falkoschindler added this to the 0.9.6 milestone Dec 7, 2023
@falkoschindler falkoschindler added the enhancement New feature or request label Dec 7, 2023
@denniswittich denniswittich merged commit 84c2881 into main Dec 7, 2023
2 checks passed
@denniswittich denniswittich deleted the multi-detections branch December 7, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants