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

What's the purpose of ocrx_cinfo? #69

Open
kba opened this issue Oct 21, 2016 · 3 comments
Open

What's the purpose of ocrx_cinfo? #69

kba opened this issue Oct 21, 2016 · 3 comments

Comments

@kba
Copy link
Owner

kba commented Oct 21, 2016

Spec says

  * ocrx_cinfo should nest inside ocrx_line
  * ocrx_cinfo should contain only x_confs, x_bboxes, and cuts attributes

but not what ocrx_cinfo actually is.

@amitdo
Copy link
Collaborator

amitdo commented Oct 22, 2016

It's not clear whether Tom really wanted both ocr_cinfo and ocrx_cinfo.

@kba
Copy link
Owner Author

kba commented Oct 22, 2016

IIUC:

  • ocr_cinfo is a generalized form of word, a placeholder to set character cuts.
  • ocrx_word is a "word". Quotation marks!, since the engine defines what it means with "word".
  • ocrx_cinfo would then be something within a line that has distinguishable codepoints that is not a "word" in the sense of the engine.
  • x_bboxes is only mentioned for ocrx_cinfo
  • cuts is only mentioned for ocr_cinfo

Since neither ocr_cinfo nor ocrx_cinfo seem to have semantics beyond "can contain character-level coordinates", ocrx_cinfo seems redundant.

@amitdo
Copy link
Collaborator

amitdo commented Oct 22, 2016

Related, should be rebased:
6fdbbbf28

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