hey guys, I need to do ocr on car plate but I need to make tilt correction
first, can you suggest me the best way to do it? I also want to train a
model to do so but I can't find any code about that ? any suggestions?

Le sam. 20 août 2022 à 09:20, Lisa Ki <112358132134horvej...@gmail.com> a
écrit :

> Hi guys, I am trying to extract text from some simple clips and it just
> keeps reading capital I into number 1. Does anyone have any suggestions?
>
> I have only added borders to the original images as code below:
>
> i = Image.open(ifp).convert('RGB')
> colour = [255, 255, 255]
> top, bottom, left, right = [150]*4
> i_with_border = cv2.copyMakeBorder(np.array(i), top, bottom, left, right,
> cv2.BORDER_CONSTANT, value=colour)
> ocr_result = pytesseract.image_to_string(i_with_border)
>
> results:
> 101.
>
> 102.
>
> 103.
>
> 104.
>
> 105.
>
> 106.
>
> 107.
>
> 108.
>
> 109.
>
> 110.
>
> I'11.
>
> 112.
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tesseract-ocr+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/59710fba-c1f8-43b7-ba93-7ad84f9318f2n%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/59710fba-c1f8-43b7-ba93-7ad84f9318f2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAF%2BSQM1LPprS1-MnmbTwncwL6yww%3DC_-FonLoYZW3fcfE8d7MQ%40mail.gmail.com.

Reply via email to