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

Add format selection (HOCR/TSV) #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rtrvrtg
Copy link

@rtrvrtg rtrvrtg commented Jun 7, 2016

I noticed that there didn't seem to be a way for node-tesseract to specify whether it should generate output in either HOCR or TSV. This PR provides a new option - format - which can be either "hocr" or "tsv" to specify one output format or the other. If it's absent, it outputs plain text as normal.

Let me know if you'd prefer there to be another way to determine the output format - such as inference from the output file suffix?

@rtrvrtg rtrvrtg changed the title Add feature selection (hocr/tsv) Add format selection (HOCR/TSV) Jun 7, 2016
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

Successfully merging this pull request may close these issues.

None yet

1 participant