Skip to content

Add format selection (HOCR/TSV)#33

Open
rtrvrtg wants to merge 2 commits intodesmondmorris:masterfrom
rtrvrtg:feature/format
Open

Add format selection (HOCR/TSV)#33
rtrvrtg wants to merge 2 commits intodesmondmorris:masterfrom
rtrvrtg:feature/format

Conversation

@rtrvrtg
Copy link
Copy Markdown

@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.

1 participant