Open Akhileshkakade opened 4 years ago
Use this python code:
`img = cv2.imread(image_path, 0) blur = cv2.GaussianBlur(img,(5,5),0) ret3,th3 = cv2.threshold(blur,0,255,cv2.THRESH_BINARY+cv2.THRESH_OTSU)
cv2.imwrite(output_path, th3)`
Hope it helps.
I was executing convert_data.m. Its creating cloth-mask images with white background images. Kindly help with this issue.