Help to translate captcha by using the python, csv and Tesseract language [closed]

Asked

Viewed 100 times

0

I’m trying to make the recognition of these images, I’ve tried several types and I can’t identify with the tesserat because of the lines and scratches

I get the site information below and can’t translate using cv2 and Tesseract I used the code below for testing, but no success

if I need more examples, I pick up on this site https://afi.santanderfinanciamentos.com.br/scripts/afi_santanderLojista.dll?OPERA=AFI_Home

Captchas used

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

--Code that I used--

img = cv2.imread('Imagens/solvCaptch.png')
img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
suave = cv2.GaussianBlur(img, (3, 3), 0)
(T, bin) = cv2.threshold(suave, 160, 255, cv2.THRESH_BINARY)
resultado = np.vstack([np.hstack([bin])])
str = ocr.image_to_string(resultado, lang='por')
print(str)
  • Please read How they work Captchas, Plain text boxes can be "broken" but requires artificial intelligence or other techniques. Becoming a little more complex than using only an OCR and a morphological operation on the image.

  • You could help me with what I use ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.