Age | Commit message (Collapse) | Author |
|
|
|
|
|
copying a sync.Mutex
|
|
|
|
This enables installs straight from 'go install' or 'fyne install'. It
also means warning if a system getgbook isn't found, and erroring if
tesseract isn't found (as was done already). The location of getgbook
can therefore now be specified on the command line.
Embedded builds are enabled with the -tags embed flag, which the makefile
sets for all builds.
|
|
|
|
|
|
|
|
|
|
the "other" training selected
|
|
|
|
|
|
|
|
|
|
|
|
This avoids the issue that large PDFs require a lot of RAM, so there
are chances of running out of memory. Plus it's a waste of space and
time.
|
|
Some issues:
1) The PDF generation stores every page in memory while it constructs it. That means that
there's a higher chance of failure due to running out of memory with these. There's no
getting around this except by improving the PDF generation library, which is not easy.
2) Currently I've just changed the pipeline to always generate these full size PDFs, and
then the rescribe tool will just delete them if they weren't requested. This is bad in
particular because of point 1, and would probably cause issues of failures in the server
pipeline as a result
Therefore the plan is to add a tag to queue messages so that full size generation can be
selectively enabled.
Also, it should be split from the loop with colour pdf generation, as holding them both in RAM at
the same time is unnecessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
should clean up well enough, and this has the potential for more harder to find bugs
|
|
with "Start OCR" for go button
|
|
possible to get the gui into a bad state by cancelling before startProcess began (hopefully)
|
|
|
|
|
|
|
|
|
|
|
|
don't lock gui when processing
|
|
|
|
|
|
labels for the progress bar text to show what's being done
|
|
|
|
|
|
ends, so multiple books can be processed by the gui one after the other
|
|
|
|
rather than an entry
|
|
folder
|
|
|
|
|
|
change)
|