Closed ClearTorch closed 3 years ago
I guess it won't affect, because involved libraries should handle points sorted in either clockwise or counterclockwise order well as long as the polygon doesn't have self-intersection. However, it's generally safer to keep them ordered clockwise. It's especially not difficult in python to reverse their order with something like points = points[::-1]
.
BTW, you're welcome to share your result here if you have tried both :)
Dear MMOCR organization: What is the impact of the counterclockwise sorting of text annotation points? I am training FCENet model on horizontal mirroring images and their points. I mirrored the points at the same time, but sorted on counterclockwise direction, starting from the upper right corner。 Will this affect the result? If will, how I change code? Thanks!