I've just spotted that brew did good job (pouring from HEAD-9ce4d05) on your machine.
I think you have an other version of Tesseract installed using other way that's interfering with brew version - be sure to remove the older one. Good luck no2 :) On Wednesday, August 1, 2018 at 12:48:09 AM UTC+2, PSK wrote: > > First try to: > brew update > then: > brew install tesseract --HEAD > > I've just installed it on my private mac this way and tesseract is 4.0 > (still beta though): > tesseract --version > tesseract 4.0.0-beta.3 > leptonica-1.76.0 > libjpeg 9c : libpng 1.6.35 : libtiff 4.0.9 : zlib 1.2.11 > Found AVX > Found SSE > > > If this doesn't help, you may want to remove the old version of tesseract > if this doesn't help. > > As the last resort you may run: > brew upgrade > > though, it may take hours to complete (it depends how much stuff you have > installed thru brew) > > Good luck :) > > On Wednesday, August 1, 2018 at 12:01:45 AM UTC+2, [email protected] > wrote: >> >> Thanks a lot. I tried brew install tesseract --HEAD and I still got >> version 3.05.02 >> >> ========================================= >> ➜ ~ *brew install tesseract --HEAD* >> Warning: tesseract HEAD-9ce4d05 is already installed and up-to-date >> To reinstall HEAD, run `brew reinstall tesseract` >> >> ➜ ~ *brew reinstall tesseract* >> ==> Reinstalling tesseract >> ==> Cloning https://github.com/tesseract-ocr/tesseract.git >> Updating /Users/czhang/Library/Caches/Homebrew/tesseract--git >> ==> Checking out branch master >> Already on 'master' >> Your branch is up to date with 'origin/master'. >> HEAD is now at 9ce4d05 Merge pull request #1812 from noahmetzger/winfix >> Entering 'googletest' >> Entering 'test' >> ==> ./autogen.sh >> ==> ./configure --prefix=/usr/local/Cellar/tesseract/HEAD-9ce4d05 >> ==> make install >> ==> Cloning https://github.com/tesseract-ocr/tessdata_fast.git >> Updating >> /Users/czhang/Library/Caches/Homebrew/tesseract--tessdata-head--git >> ==> Checking out branch master >> Already on 'master' >> Your branch is up to date with 'origin/master'. >> HEAD is now at 7274cfa Merge pull request #16 from Shreeshrii/master >> 🍺 /usr/local/Cellar/tesseract/HEAD-9ce4d05: 221 files, 673.6MB, built >> in 2 minutes 34 seconds >> >> ➜ ~ *tesseract -v* >> tesseract *3.05.02* >> leptonica-1.76.0 >> libgif 5.1.4 : libjpeg 9b : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 >> : libwebp 0.5.2 : libopenjp2 2.3.0 >> >> >> Does any one have this problem? Thanks again. >> >> >> >> >> On Tuesday, July 31, 2018 at 9:42:50 AM UTC-7, PSK wrote: >>> >>> So I didn't know that 4.0 cannot be installed via brew so blindly I >>> issued this command: >>> brew install tesseract --HEAD >>> >>> and it installed 4.0 :) Why don't you just try. >>> >>> >>> >>> On Tuesday, July 31, 2018 at 6:28:56 PM UTC+2, [email protected] wrote: >>>> >>>> Hi PSK, thanks for your reply. I was following the guide here to >>>> compile tesseract 4.0 >>>> https://github.com/tesseract-ocr/tesseract/issues/1453 >>>> >>>> It said we cannot install 4.0 through brew install. >>>> >>>> On Tuesday, July 31, 2018 at 12:46:59 AM UTC-7, PSK wrote: >>>>> >>>>> Don't know if it helps, but a couple of days ago I installed Tesseract >>>>> 4 on macOS HighSierra using brew and this command: >>>>> brew install tesseract --HEAD >>>>> >>>>> I had to symlink liblep to proper location (don't remember if it was >>>>> per Tesseract per se, or it was for Tess4j though): >>>>> sudo ln -s /usr/local/lib/liblept.5.dylib >>>>> /opt/local/lib/liblept.4.dylib >>>>> >>>>> How did you install Tesseract on Mac? >>>>> >>>>> On Tuesday, July 31, 2018 at 7:34:49 AM UTC+2, [email protected] >>>>> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I am new to Tesseract 4.0. Very glad to see you guys are here. I am >>>>>> trying to follow the link below to complie Tesseract 4.0 on my Mac. >>>>>> However, I got the out put in the final "make training" step, which >>>>>> yields >>>>>> "Need to reconfigure project, so there are no errors". Did anybody have >>>>>> this same problem? >>>>>> >>>>>> Also, when I run "tessearct -v", it generates: >>>>>> >>>>>> ➜ tesseract git:(master) tesseract -v >>>>>> tesseract 3.05.02 >>>>>> leptonica-1.76.0 >>>>>> libgif 5.1.4 : libjpeg 9b : libpng 1.6.34 : libtiff 4.0.9 : zlib >>>>>> 1.2.11 : libwebp 0.5.2 : libopenjp2 2.3.0 >>>>>> >>>>>> It seems I still get version 3.05. >>>>>> >>>>>> Best, >>>>>> Charlie >>>>>> >>>>> -- 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/71b13ee3-da95-442e-8d02-fe1a25182eff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

