Category : image-processing

I have these polygons that are either rectangles or "connected rectangles", meaning polygons that could be separated into rectangles, so it’s all "kinda orthogonal". They sometimes have "dog-ears" which need to be filled because they are masks that mustn’t lack those parts of the content once they’re applied to it. Black is what I have, ..

Read more

Intento extraer el texto del captcha esta es la imagen Aqui la imagen del captcha Este es el code que intente: image = cv2.resize(image, (300,120)) image = cv2.dilate(image, None, iterations=1) image = cv2.GaussianBlur(image,(1,9),0) image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) image = cv2.threshold(image, 0, 255, cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1] image = cv2.medianBlur(image,5) cv2.imshow("Image", image) cv2.imwrite("im.jpg",image) text =pytesseract.image_to_string(image,config=’–psm 8 -c ..

Read more