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

WIN32 Build hangs on exiting findLegallyConnectedComponents #15

Open
RupertAvery opened this issue Nov 26, 2018 · 0 comments
Open

WIN32 Build hangs on exiting findLegallyConnectedComponents #15

RupertAvery opened this issue Nov 26, 2018 · 0 comments

Comments

@RupertAvery
Copy link

RupertAvery commented Nov 26, 2018

I was able to build bibnumber on the following setup

  • Windows 10
  • Visual Studio 2017 15.9
  • CMake 3.13
  • latest leptonica, tesseract from GitHub + CPPAN
  • OpenCV 2.4
  • Boost

With a bit of coaxing I was able to get it to compile. However when running the program

bibnumber <path_to_images>

The processing stops as the first image. I was able to trace it to textdetection.cpp findLegallyConnectedComponents, right on the last statement return components.

For some reason it takes forever to exit this method.

This happens on the Debug build.

When compiled for Release, the program progresses further, generating bib-components, bib-rotated and bib-tess-input images, however, it crashes with a heap corruption error.

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

1 participant