With image white background and black character foreground
+ When I use adaptive threshold with thresh_binary_inv then border around character is exact.
+ When I use adaptive threshold with thresh_binar then boder around character is bigger
Can you explain for me why ? How to get exact border at all ?
Example thres_binary_inv (border threshold image bigger origianl then contour is exact)
Original Image: [C:\fakepath\3.png](/upfiles/14616620731457653.png)
Threshold Image: [C:\fakepath\1.png](/upfiles/14616621062762609.png)
Contour: [C:\fakepath\2.png](/upfiles/14616621277516739.png)
↧