First time here? Check out the FAQ!
answered 2018-11-13 08:44:52 -0600
Have you tried using something else than THRESH_BINARY? Like:
th3 = cv.adaptiveThreshold(img,255,cv.ADAPTIVE_THRESH_GAUSSIAN_C,\ cv.THRESH_BINARY,11,2)