I solved this error just by doing brew update brew install tesseract --HEAD
Now everything works perfectly. Thank you @shree Le mardi 26 septembre 2017 11:46:05 UTC+2, shree a écrit : > > sorry, can't help as I do not have a mac. > > Please post on the related issue - maybe @stweil can help. > > ShreeDevi > ____________________________________________________________ > भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com > > On Tue, Sep 26, 2017 at 3:04 PM, David Sixela <[email protected] > <javascript:>> wrote: > >> I just ran into errors while trying to install tesseract --HEAD: >> >> Error: Failed to download resource "tesseract--tessdata-head" >> >> Failure while executing: git clone --depth 1 --branch master >> https://github.com/tesseract-ocr/tessdata.git >> /Users/drnnokc/Library/Caches/Homebrew/tesseract--tessdata-head--git >> >> >> >> Le mardi 26 septembre 2017 10:27:33 UTC+2, shree a écrit : >>> >>> I thought you wanted to match the version you had built from source. >>> >>> 3.05.01 uses legacy tesseract engine. >>> >>> building from source in master branch will give you 4.00.00alpha - LSTM >>> based OCR. It has not been released yet. >>> >>> See https://github.com/tesseract-ocr/tesseract/issues/864 for more >>> details >>> >>> ShreeDevi >>> ____________________________________________________________ >>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com >>> >>> On Tue, Sep 26, 2017 at 1:48 PM, David Sixela <[email protected]> >>> wrote: >>> >>>> Thanks for your answer, i'm going to try that. But do you think this >>>> will solve that issue? what's wrong with 3.05.01? >>>> >>>> Le mardi 26 septembre 2017 10:14:14 UTC+2, shree a écrit : >>>>> >>>>> you can build 4.o on macos >>>>> >>>>> $ brew update >>>>> $ brew install tesseract --HEAD >>>>> >>>>> >>>>> ShreeDevi >>>>> ____________________________________________________________ >>>>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com >>>>> >>>>> On Tue, Sep 26, 2017 at 12:57 PM, David Sixela <[email protected]> >>>>> wrote: >>>>> >>>>>> I recently changed my computer from a PC running Ubuntu 16.04 to a >>>>>> MacBook Pro with Mac Os X 10.12.6. >>>>>> I'm working on a program using tesseract (pytesseract 0.1.7) and >>>>>> opencv 3.3.0 for automatic text extraction on Id cards. >>>>>> The problem that i'm facing right now is that my program doesn't work >>>>>> properly, the OCR is completely false on my MacBook and i don't get why. >>>>>> I'd like to know what i should do to make it work on MacBook Pro the >>>>>> same >>>>>> way it works on Ubuntu. Should i downgrade? if yes how. Is there new >>>>>> parameters on the new version 3.05.01 ? >>>>>> >>>>>> configuration : >>>>>> -Ubuntu 16.04: >>>>>> tesseract was build from source >>>>>> tesseract --version : >>>>>> tesseract cf0b378 >>>>>> leptonica -1.74.1 >>>>>> libjpeg 8d (libjpeg-turbo 1.4.2): libpng 1.2.54 : libtiff 4.0.6 >>>>>> : zlib 1.2.8 >>>>>> >>>>>> FOUND AVX >>>>>> FOUND SSE >>>>>> >>>>>> -MacBook os X 10.12.6 : >>>>>> tesseract installed via Homebrew >>>>>> tesseract --version: >>>>>> tesseract 3.05.01 >>>>>> leptonica-1.74.4 >>>>>> >>>>>> libjpeg 9b : libpng 1.6.32 : libtiff 4.0.8 : zlib 1.2.8 >>>>>> >>>>>> Example: >>>>>> on this particular image : >>>>>> >>>>>> >>>>>> <https://lh3.googleusercontent.com/-XPYNzfJ3nx0/Wcn_bXAmQ_I/AAAAAAAAAKc/dDdn-UFiJjYtwfgy1XCCITeWivwXfxJ5gCLcBGAs/s1600/textArea_5.jpg> >>>>>> The output of this command >>>>>> tesseract image.jpg stdout >>>>>> >>>>>> on Ubuntu's configuration : >>>>>> Gabo / M >>>>>> >>>>>> MacBook Pro 's configuration: >>>>>> GM!" >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "tesseract-ocr" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> Visit this group at https://groups.google.com/group/tesseract-ocr. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/tesseract-ocr/12aba377-d071-4b8e-a1d4-12f63ed43ce6%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/12aba377-d071-4b8e-a1d4-12f63ed43ce6%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "tesseract-ocr" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at https://groups.google.com/group/tesseract-ocr. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tesseract-ocr/83cd5291-07e2-474b-b9f8-785636c55ae7%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tesseract-ocr/83cd5291-07e2-474b-b9f8-785636c55ae7%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "tesseract-ocr" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/tesseract-ocr. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/c5a9f3ca-a5bc-4661-8982-d155662141a0%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/c5a9f3ca-a5bc-4661-8982-d155662141a0%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/aac53109-d199-410c-a0c4-f78a9eef1fc8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

