Scoring
Score your detected Geometry entities
Otary allows you to score the confidence of your detected Geometry Entities.
Let us suppose you have detected Segments, Contour, Corners using OpenCV for example. Now, you need to evaluate the quality of the detected objects.
Otary allows you to compare your Geometry Entities to the pixels of the image (ground truth).

If you prefer to have a list of scores for each detected Linear Entity, you can
use score_contains_linear_entities method instead.
You can even be more tolerant about the detected objects by dilating the pixels
of the ground truth image. This can be controled by the dilate_kernel and
the dilate_iterations parameters. This way, if it does not fit exactly but is
still close enough, the detected geometry object can be considered as valid for
a threshold that you may choose.
Explore the Analysis part of the Otary Image module to learn more about scoring.