mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
Sad situation with Windows + OCR #576
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cfsmp3 on GitHub (Apr 12, 2020).
While testing a previous ticket regarding hardsubx on Windows, on master. Running this exact version, just compiled:
First, the reports, as usual about eng.traineddata couldn't suck more.
Seriously, would it kill us to tell the user WHERE we expect that file to be present?
OK So since I didn't remember how this worked at all I started looking into the code a bit. We do look TESSDATA_PREFIX amount other places /usr/share. Wait what? This is Windows! Why are we looking there? Also I see lots of / as path separator, but Windows uses . Is this portable at all?
OK, so I set set the env variable:
Still not working.
Problem now is that I'm missing a \ at the end of the end variable.
OK so let's set it correct:
So now apparently it starts at least, but then it crashes.
We just need to work on OCR + Windows.
In my opinion, at the very least:
Labelling HARD because we seem to be unable to fix it once and for all.
cc: @ShraxO1