summaryrefslogtreecommitdiff
path: root/cmd/rescribe/gui.go
AgeCommit message (Collapse)Author
2022-03-21rescribe: Simplify disabling and enabling common widgetsNick White
2022-03-21rescribe: disable & enable checkboxes alongside other parts when processingNick White
2022-03-21Only generate full-size PDF if requestedNick White
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.
2022-03-11Add initial support for full-size PDF generationNick White
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.
2022-02-28rescribe: improve layout of completed popupNick White
2022-02-28rescribe: Add popup on completion reporting where files were savedNick White
2022-02-28rescribe: Improve wording of training dropdownNick White
2022-02-28Add PreNoWipe queue, that just does binarisation but no wipingNick White
2022-02-24rescribe: Improve getgbook failure error dialog by keeping it simpleNick White
2022-02-23rescribe: Add embedded support for getgbook, for linux only so farNick White
2022-02-21rescribe: Add getgbook use to the GUI (not embedded yet)Nick White
2022-02-14rescribe: Add gui elements for getgbook integration (wip)Nick White
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: 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: 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: add "Choose PDF" button, and make chosen dir/file section a label ↵Nick White
rather than an entry
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-11-23gofmt, plus update documentation of recently changed pipeline.UploadImagesNick White
2021-10-26rescribe: Separate gui code, and organise it better (should be no functional ↵Nick White
change)