Giter Site home page Giter Site logo

Comments (11)

samuel-chen-mil-navy avatar samuel-chen-mil-navy commented on June 2, 2024

Yes!! tesseract causes R 4.2.0 to crash. Works okay with 4.1.x. Tested on multiple machines.
Does package need new binaries on CRAN for new 4.2.0?

from tesseract.

thomasairbag avatar thomasairbag commented on June 2, 2024

I am experiencing this problem also.
R version: 4.2.0 (2022-04-22 ucrt)
Running: Windows 11 Home 21H2

from tesseract.

rafaelkiko avatar rafaelkiko commented on June 2, 2024

Same problem here
tesseract 5.0.0
R version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running: Windows 11 Pro 21H2

from tesseract.

jeroen avatar jeroen commented on June 2, 2024

Hmm I cannot reproduce this. Seems to load fine on my Windows...

from tesseract.

samuel-chen-mil-navy avatar samuel-chen-mil-navy commented on June 2, 2024

Update: On both work and home machine, library(tesseract) take about 5 - 6 minutes to load. So R didn't crash. Just it takes an unreasonably long time to load. Can this be fixed? Home machine:

R version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)

from tesseract.

jeroen avatar jeroen commented on June 2, 2024

I tried building a new version of tesseract. Can you please test if the problem still appears with tesseract 5.1.0? To install the new test version, run this in a clean empty r session

install.packages("tesseract", repos = 'https://ropensci.r-universe.dev')

from tesseract.

samuel-chen-mil-navy avatar samuel-chen-mil-navy commented on June 2, 2024

The package is still taking a long time to load, but maybe a little bit faster! On home machine, I deleted the tesseract directory from my windows library folder and installed from ropensci repo. I will test on work machine and report.

from tesseract.

samuel-chen-mil-navy avatar samuel-chen-mil-navy commented on June 2, 2024

The newly compiled package might even be slower. This morning, I timed with stopwatch (smartphone) and got approximately five and half minutes. Now...

beginTime = Sys.time()
library(tesseract)
endTime = Sys.time()
endTime - beginTime
Time difference of 6.699568 mins
sessionInfo()
R version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

from tesseract.

rafaelkiko avatar rafaelkiko commented on June 2, 2024

still getting a fatal error and aborted session with the new package,
same R version, Platform and Windows as before

from tesseract.

jeroen avatar jeroen commented on June 2, 2024

This has been fixed now in the upstream libtesseract code: tesseract-ocr/tesseract#3830

from tesseract.

jeroen avatar jeroen commented on June 2, 2024

I have deployed a fixed version to r-universe, and will submit to CRAN soon:

install.packages("tesseract", repos = 'https://ropensci.r-universe.dev')

from tesseract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.