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

Toggle only some levels active #3

Closed
zuphilip opened this issue Feb 24, 2017 · 7 comments
Closed

Toggle only some levels active #3

zuphilip opened this issue Feb 24, 2017 · 7 comments

Comments

@zuphilip
Copy link
Contributor

It would be nice to have options for ocr_carea, ocr_par, ocr_line, ocrx_word to deactivate/active this level in the output. Currently, I do this manually by changing on the browser console:

hocr-js-borders

@kba
Copy link
Owner

kba commented Dec 3, 2017

You mean something like this: https://youtu.be/9aqBDbiSzbg?

Try #7

@zuphilip
Copy link
Contributor Author

zuphilip commented Dec 3, 2017

Yes, what the video shows. However, it looks that these are different from the hocr-levels I mentioned above? Will you continue the PR?

@kba
Copy link
Owner

kba commented Dec 3, 2017

Currently, just three levels are distinguished (area = carea & par, line, inline = words). I'll make that more specific in #7.

@kba
Copy link
Owner

kba commented Dec 3, 2017

highlighting of carea, par, line and elements within a line can now be toggled.

kba added a commit that referenced this issue Dec 3, 2017
make highlighting of different classes a toggleable feature, #3
@zuphilip
Copy link
Contributor Author

zuphilip commented Dec 3, 2017

Wow, very nice! Thank you! 🙇

I am not sure that the option hightligh is now still needed. Moreover, what is highlightNotPage and is it maybe unneeded?

@kba
Copy link
Owner

kba commented Dec 3, 2017

highlight toggles all highlighting at once. highlightNotPage highlights everything that is within a page so you quickly see areas where the OCR didn't recognize anything at all, to spot images and such.

"Needed" depends on your use case. I do find them useful but you can always disable these features (they are by default).

@zuphilip
Copy link
Contributor Author

zuphilip commented Dec 4, 2017

Okay, good to know that these are useful for you. Thank you again!

@zuphilip zuphilip closed this as completed Dec 4, 2017
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