Better HN
topnewbestaskshowjobs
Log inSign up

_p9qq

1 karma · joined Aug 24, 2023 (3y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

You could possibly do it server side. I would personally implement it as a Flask server that took an image, ran it through either Pytesseract (quick, got to manually preprocess, needs tesseract installed) or Easyocr (slower but works out the box) then send back the if and only if it was a valid tire-info-string to avoid people abusing it for other purposes.