Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I understand how this work? #837

Closed
Pnlvfx opened this issue Oct 4, 2023 · 4 comments
Closed

Can I understand how this work? #837

Pnlvfx opened this issue Oct 4, 2023 · 4 comments

Comments

@Pnlvfx
Copy link

Pnlvfx commented Oct 4, 2023

If I'll try to recognize an image without any text I'll get this and honestly idk if it's a bug, or an invisible text, maybe someone could explain it to me?

'"\n' +
'A y 3 Vo —\n' +
'“Wl |.\n' +
'ul! ni | ; / =\n' +
'i I |\n' +
'If HJ |\n' +
'] I\n' +
'< as IE - LE - |\n' +
'47 COSI EE ([ | B\n' +
'a : 4 Ec Ee .\n' +
'—— pee y 5 Sr) Py WS “ ne\n' +
'mn : a 1 V7 5 Novum — >» 2 fe %\n' +
'So —— HET aE\n' +
'= a . — Ee —\n' +
'HEE = g |\n' +
'p—l | g=mrr2 % DE\n' +
'\ ral nh = “NY\n' +
'___ J) a\n' +
'PD I | ( [\n' +
'I UTE | .\n' +
'| mil wpe | pe\n' +
'RY we | JH | Sv a il rb\n' +
'TREE | J =e\n' +
'0, 5 =uBg5"= 2 ill\n' +
'| I | & wv\n' +
'— |\n' +
'| EN)\n' +
'> | { |\n' +
'IH | ¥B nid\n' +
'“ | 1 A= | ke : & Ey oN\n' +
'a Ly | PY\n' +
'Ly —eee— = Seosor | <o eo — 4 a = -\n' +
'CEA CL ——— a Sa Rete 5, po ~\n' +
'a —— es = dia\n'
}

@Balearica
Copy link
Collaborator

Please post a reproducible example including the image and code.

@Pnlvfx
Copy link
Author

Pnlvfx commented Oct 5, 2023

Sorry. my question is, why if an image has no text it return some strange characters? What I need is a package that detect if an image has text on it, I don't care what the text is. So my question, is this package good to be used for this or it only works with images that have text?

@Balearica
Copy link
Collaborator

It does not sounds like Tesseract.js is suited for your application. Tesseract assumes what you are showing it is text, and does its best to recognize it as such.

@Pnlvfx
Copy link
Author

Pnlvfx commented Oct 5, 2023

Ok sorry, can I ask if someone know what package can I use to achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants