summaryrefslogtreecommitdiff
path: root/cmd/rescribe
AgeCommit message (Collapse)Author
2022-02-14rescribe: Add gui elements for getgbook integration (wip)Nick White
2022-02-09rescribe: ensure go generate is called when needed in makefile, and remove ↵Nick White
unneeded rules
2022-02-09rescribe: makefile now supports cross-compiling with fyneNick White
This also necessitated a version bump to fyne.
2022-02-09rescribe: make go generate skip already downloaded files, checking that ↵Nick White
checksum matches expected for safety
2022-01-31rescribe: remove unnecessary extra cancel calls; anything which errors ↵Nick White
should clean up well enough, and this has the potential for more harder to find bugs
2022-01-31Ensure cancel is sent to any errant processes in case of an error, and stick ↵Nick White
with "Start OCR" for go button
2022-01-31rescribe: Add context cancelling to extractPdfImgs(), so it's no longer ↵Nick White
possible to get the gui into a bad state by cancelling before startProcess began (hopefully)
2022-01-31rescribe: Ensure status isnt overwritten after an abort, when wipe-only ↵Nick White
preprocessing
2022-01-31rescribe: fix bug where a successful run would segfaultNick White
2022-01-31Make pipeline context-aware, so the rescribe tool can cancel jobsNick White
2022-01-17rescribe: Surface errors properly, with a dialogue boxNick White
2022-01-17rescribe: Show friendly names for the trainings, and hide "osd" trainingNick White
2022-01-10rescribe: Increase size of file & folder picker dialog windowsNick White
2022-01-10rescribe: Put log in an accordion, disable buttons when processing, and ↵Nick White
don't lock gui when processing
2022-01-10rescribe: ensure books with a space in the name are handled correctly in the guiNick White
2022-01-10rescribe: Rename PDFs taking into account that in some cases one or the ↵Nick White
other of binarised or colour may not exist
2022-01-10rescribe: handle PDF errors much more gracefullyNick White
2022-01-04rescribe: parse stdout and set progress bar based on it, using appropriate ↵Nick White
labels for the progress bar text to show what's being done
2022-01-04rescribe: Restrict file types to select for .pdf and .traineddata file pickersNick White
2022-01-04rescribe: add select box to choose training to use, including an Other... optionNick White
2021-12-20rescribe: Ensure temporary tesseract data is only removed when the program ↵Nick White
ends, so multiple books can be processed by the gui one after the other
2021-12-20rescribe: Improve layout of gui, and make dir entry box read onlyNick White
2021-12-20rescribe: Ensure temporary tesseract dir is removed in gui mode tooNick White
2021-12-20rescribe: add "Choose PDF" button, and make chosen dir/file section a label ↵Nick White
rather than an entry
2021-12-20whitespace and error clarity changesNick White
2021-12-20fixed -png flag and changed rescribe tool to save binarized png in separate ↵Antonia Rescribe
folder
2021-12-20rescribe: Include stderr in log area, and ensure button is re-enabled on failureNick White
2021-12-06pipeline: process jpg or png regardless of whether in wipe or preprocess queueNick White
2021-11-23rescribe: Remove debugging printfs related to PDF parsingNick White
2021-11-23rescribe: Improve pdf consumption by ensuring only jpg or png are saved to ↵Nick White
upload
2021-11-23gofmt, plus update documentation of recently changed pipeline.UploadImagesNick White
2021-11-22rescribe: Add support for reading images directly from PDFsNick White
There are several TODO items before this can be considered "good enough", let alone complete. See the comments in the code for details. On a good day, with a fair wind, though, this works.
2021-11-22rescribe: replace errors.New with fmt.ErrorfNick White
2021-11-02rescribe: handle directories with spaces correctlyNick White
2021-10-26rescribe: Separate gui code, and organise it better (should be no functional ↵Nick White
change)
2021-10-25rescribe: wip gui using fyneNick White
2021-10-12rescribe: fix lookup of external training filev0.5.3Nick White
2021-10-01rescribe: Include new tessdata in embed getterv0.5.2Nick White
2021-10-01rescribe: Add embedded lat.traineddataNick White
2021-10-01rescribe: Add both original training path and embedded version on error ↵Nick White
output for training file not found, so that its clear that the file specified may not exist
2021-08-24rescribe: improve makefile to match the way we deploy to the websiteNick White
2021-08-18rescribe: Update documentation on how to deal with M1 signing, and move ↵Nick White
makefile to where it makes sense
2021-08-17pipeline: use regular storage for tests, rather than a separate oneNick White
2021-08-02rescribe: Add experimental m1 buildNick White
2021-08-02internal/pipeline: Add test (incomplete but working) for UploadImagesNick White
2021-07-20Cleanup thanks to go vetNick White
2021-07-13gofmtNick White
2021-07-08rescribe: Exit with an error if directory doesn't existNick White
2021-06-29rescribe: add documentation on how to generate embedded dataNick White
2021-06-29rescribe: Add embed target for darwin (osx) tooNick White