I'm new to coding (use python) and working on line pattern defect detection. I have located all the defect with deep-learning and now want to measure the thickness of the line.
I isolated each bounding box and image proccess every defect.
So far these steps what i have done:
- OpenCV adaptive threshold
- Put mask in the center of "X" referencing to this
- and last i use cv2.minAreaRect() and get rectangle width as line thickness
Any sugestion will be appreciated.