Closed CurtLH closed 6 years ago
For convenience, here is a sample image to test with:
Sounds like you want an activate script. Docs are a bit sparse on this. However if you look for activate.sh
files in conda-forge, you should be able to find some good examples.
You need to package tessdata into $PREFIX/share/tessdata/ and you don't need the env variable.
Closed with #4
Kindly follow this link
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907831
Make sure you in the /usr/share/openalpr/runtime_data/ocr directory and run sudo ln -s tessdata/* .
It works for me
@realDeve, this problem was solved a year and a half ago for the conda packages; it seems you're using a different packaging method for tesseract, not relevant to this repository.
我也遇到了此问题,方便问一下怎么解决的吗
@0FoolishProgrammer, are you activating your conda environment with conda activate
? If not, the environment variables (including TESSDATA_PREFIX
wont' be getting set).
Issue: I installed
tesseract
from Conda-Forge, and as per the directions on the tesseract GitHub, I attempted to use the following command:However, the following error was generated:
From reading on the tesseract GitHub, I see the following statement that references
TESSDATA_PREFIX
.From searching around the tesseract GitHub organization, I came across the tessdata repo. I'm wondering if this needs to also be packaged in Conda-Forge and then somehow linked to the
tesseract
package?As I'm way out of my element here, can someone from @conda-forge/staged-recipes help me resolve this issue?
For what it's worth,
tesseract
seems to be properly installed, just missing some things.Environment (
conda list
):Details about
conda
and system (conda info
):