Closed BPdeRooij closed 10 months ago
@BPdeRooij Could you move this function to the respective functions that do use area sorting? That way the current behavior would not change. Also mypy seems to fail.
I believe I addressed your comment with this commit. Mypy was failing because of the new type hinting of OpenCV version 4.9.0.
I ensured that current behavior does not change by sorting available_labels
whenever AnnotationSorting is not None.
This PR fixes #{214} by removing the sorting of
available_labels
.