This PR is related to polygon label retrieving during postprocessing. Until now, all the detected objects were of type 1; from now we retrieve the corresponding labels by investigating colors and polygons on the raw predicted image with OpenCV.
The dedicated unit tests have been updated, and new ones have been designed for controlling outputs of newly produced functions.
As a side modification, a remaining occurrence of agregation mode (see PR #134) has been removed in postprocessing.py.
This PR is related to polygon label retrieving during postprocessing. Until now, all the detected objects were of type 1; from now we retrieve the corresponding labels by investigating colors and polygons on the raw predicted image with OpenCV.
The dedicated unit tests have been updated, and new ones have been designed for controlling outputs of newly produced functions.
As a side modification, a remaining occurrence of agregation mode (see PR #134) has been removed in
postprocessing.py
.This PR fixes #131.