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

It there a way to simply call kraken recognizer from code? #615

Closed
dantetemplar opened this issue Jun 16, 2024 · 1 comment
Closed

It there a way to simply call kraken recognizer from code? #615

dantetemplar opened this issue Jun 16, 2024 · 1 comment

Comments

@dantetemplar
Copy link

dantetemplar commented Jun 16, 2024

I would like to call kraken recognition from code and get hocr. However, just calling kraken --hocr -i image.png image.txt binarize segment ocr --reorder will initialize model on each image recognition. Also it will create file when I need pipe.

Kraken code with click is too tricky for reverse-engineering.

@dantetemplar dantetemplar changed the title It there a way to sipmly call kraken recognizer from code? It there a way to simply call kraken recognizer from code? Jun 16, 2024
@mittagessen
Copy link
Owner

The API tutorial explains how to do it. It's fairly straightforward.

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