GithubHelp home page GithubHelp logo

Comments (6)

cfculhane avatar cfculhane commented on August 16, 2024 1

Reasonably familiar, at work we develop via remote SSH on an AWS ubuntu instance, so I'm becoming a little more familiar, but don't use it day to day on my personal computer yet. Will update this issue when some more changes are made 👍

from ankiocr.

rogershijin avatar rogershijin commented on August 16, 2024 1

I'm on Arch and I also had this problem, adding a symlink fixed it.

ln -s /usr/bin/tesseract /usr/local/bin/tesseract

from ankiocr.

thiswillbeyourgithub avatar thiswillbeyourgithub commented on August 16, 2024

edit : I also noticed the path was wrong : which tesseract returns /usr/bin/tesseract, without "local".

Changing this doesn't solve my issue though.

Installing pytesseract via pip3 either.

from ankiocr.

cfculhane avatar cfculhane commented on August 16, 2024

Thanks for giving it a try, I might expose the path to the directory for edge cases like this - I don't have a Linux distro installed at the moment to attempt this, but would that help? Logs aren't currently being written, but I can start writing them, maybe via a debug flag in the config, that might help too. I'm a bit snowed under with med school and work, might not get to this until later in the week.

from ankiocr.

thiswillbeyourgithub avatar thiswillbeyourgithub commented on August 16, 2024

Thanks for answering quickly. If you're not already familiar with linux I don't think it will be an efficient way to solve this than to make you install it.

I think logs will be useful, but I might eventually figure it out on my own. Maybe some other users will chime in with helpful information.

Nice to see a felow med schooler doing coding ;).

from ankiocr.

cfculhane avatar cfculhane commented on August 16, 2024

So i've updated this to default the path in Linux installs to /usr/bin/tesseract , and leaving MacOS as /usr/local/bin/tesseract.

Additionally, I've added config variables for override_tesseract_exec (boolean) and teseract_exec_dir (path to directory), so if users want to customise where it's looking, they can do so.

from ankiocr.

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.