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

PolyBlockType definition is outdated #280

Closed
cipri-tom opened this issue Jul 18, 2016 · 3 comments
Closed

PolyBlockType definition is outdated #280

cipri-tom opened this issue Jul 18, 2016 · 3 comments
Assignees
Labels

Comments

@cipri-tom
Copy link

Hi Charles,

I believe that the struct PolyBlockType should be updated to match the one in 3.04 upstream.

I noticed this when one of my blocks had type PolyBlockType.Count.
Thank you!

@cipri-tom cipri-tom changed the title PolyBlockType definition is outdates PolyBlockType definition is outdated Jul 18, 2016
@charlesw
Copy link
Owner

Thanks, unfortunately I'm in the middle of Northern Spain doing the Camino del Norte with only my phone so can't rectify this till mid August at the earliest. If you do fix it yourself please consider creating a pull request :)

Sorry for any inconvenience.

@charlesw
Copy link
Owner

As a temp workaround you could ignore the enum and just cast it to an integer, with a meaningful comment on why your doing this, if you don't want to use a custom build.

@charlesw charlesw added the bug label Jul 19, 2016
@charlesw charlesw self-assigned this Aug 16, 2016
charlesw added a commit that referenced this issue Aug 16, 2016
Updated the PolyBlockType to match upsteam tesseract 3.04 definition found
in publictypes.h which had changed since the previous release (3.02).
@charlesw
Copy link
Owner

Fixed, will be in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants