Skip to content

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.

3 participants