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

fixes for tesseract 3.04 #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixes for tesseract 3.04 #51

wants to merge 1 commit into from

Conversation

ortutay
Copy link

@ortutay ortutay commented Aug 28, 2015

Fixes for tesseract 3.04

@meh
Copy link
Owner

meh commented Aug 28, 2015

Does this actually make it work? TessResultRenderer is not a STRING anymore, and the Ruby side expects a STRING.

@hirokishirai
Copy link

hirokishirai commented Nov 8, 2016

@meh this PR is working well on my Mac.

  bool ProcessPages(const char* filename, const char* retry_config,
                    int timeout_millisec, TessResultRenderer* renderer);

in tesseract/3.04.01_2/include/tesseract/baseapi.h.
ProcessPages expects TessResultRenderer.

my Mac info:

Mac OS X El Capitan(10.11.6)
    30:   File.open(log, 'a') {|f|
    31:     f.puts(cmd)
    32:   }
 => 33:   binding.pry
    34:   unless system(cmd)
    36:     raise CompilationError.new(log)
    37:   end

[1] pry(#<#<Class:0x007fdd242135a0>>)> system(cmd)
=> true

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.

None yet

3 participants