Deep learning models have been proven to automate metrology tasks. It provides accurate, robust and fast results if it is trained with proper data. Nonetheless, obtaining training data remains tedious. It requires an expert user to delimitate objects boundaries in several images representing tens to hundreds of objects. Instead of drawing precise boundaries, we propose a tool relying on a rectangular bounding box to detect and segment objects. For complex applications with non-homogeneous background, the user must draw one box per object to segment them. For more homogeneous objects such as contacts, one box on the whole image can successfully segment all objects at once. To further improve the capabilities of the tool, we provide the possibility to segment the different material regions inside the found objects. The process's robustness is demonstrated through benchmarking in two contexts. Firstly, we trained two Mask R-CNN models, one with manual segmentations and the other with segmentations obtained using our tool. We compared the two models to the manual reference and found that the tool is consistent with human annotations while reducing annotation time by a factor of 30. Additionally, the tool greatly reduces user bias as the selected segmentation features are more stable. Furthermore, we suggest extending the tool to identify objects within the already found objects.
|