space-codes / asar.core

This is our graduation project for arabic manuscript analysis and recognition
0 stars 0 forks source link

Fix segmentation contuors on low quality images #58

Open aboelkassem opened 2 years ago

aboelkassem commented 2 years ago

when using the same image with low quality temp imgContoure2

for cnt in contours1: area = cv2.contourArea(cnt) if area > 30000: