Commit Graph

235 Commits

Author SHA1 Message Date
AuroraWright
9980a43bdb grabclipboard() can raise lots of different kinds of exceptions on Linux across X11 and Wayland, can't be bothered to handle all of them 2024-01-22 16:04:32 +01:00
AuroraWright
24b02b5fc9 Prepare for publishing 2024-01-22 06:12:58 +01:00
AuroraWright
7931f6d427 Allow OCRing the same image if we are sure it has been pasted multiple times 2024-01-22 04:41:27 +01:00
AuroraWright
53920af646 Minor style changes 2024-01-22 03:09:22 +01:00
AuroraWright
59c5a327a7 Allow websocket clients connecting from other machines 2024-01-22 01:05:38 +01:00
AuroraWright
7064c813b3 Add credit for Windows clipboard code 2024-01-22 00:13:20 +01:00
AuroraWright
6461ec80f7 Add Windows native clipboard polling and a note in the readme 2024-01-21 23:47:03 +01:00
AuroraWright
70687e6b01 Switch to pyjson5 as chompjs needs manual building (especially annoyin on Windows), detect Lens errors 2024-01-21 18:30:54 +01:00
AuroraWright
01d0a94a7c More Windows fixes (sigh++) 2024-01-20 23:54:34 +01:00
AuroraWright
d2f71a8129 A few Windows fixes (sigh) 2024-01-20 23:39:32 +01:00
AuroraWright
0c7d3f4045 Remove unused dependency 2024-01-20 20:46:55 +01:00
AuroraWright
7042d5344f Switch to notify-py due to issues with Windows 2024-01-20 19:50:55 +01:00
AuroraWright
11a2ead52a Lowercase some strings after parsing the config 2024-01-20 19:27:12 +01:00
AuroraWright
db9bc73c96 Add OS notifications 2024-01-20 19:20:52 +01:00
AuroraWright
3dc61c6d8e Oops this is a python builtin 2024-01-20 17:16:15 +01:00
AuroraWright
19773812a9 Lens: add request timeout, handle no text being detected 2024-01-20 04:35:16 +01:00
AuroraWright
9518272a5b Implement Google Lens (thanks Viola!) 2024-01-20 02:45:29 +01:00
AuroraWright
4a11dd1178 Improve temporary pause handler 2024-01-17 18:41:38 +01:00
AuroraWright
449a3198c4 When receiving an image, return to the websocket client whether it was processed 2024-01-17 18:05:31 +01:00
AuroraWright
cbbe1ded8f Fix reading images larger than 1 MB via websocket 2024-01-16 05:57:33 +01:00
AuroraWright
82837e4826 Fix readme, remove server connection warning 2024-01-15 04:24:14 +01:00
AuroraWright
475a14d218 Forgot to update part of the help page 2024-01-14 23:23:19 +01:00
AuroraWright
5905876acf Implement reading images via websocket too 2024-01-14 22:31:54 +01:00
AuroraWright
186447333e Fix websocket server termination, make websocket port configurable, move delay_secs to config, add -d parameter to delete files when reading from directory, ignore non-image files 2024-01-14 16:29:48 +01:00
AuroraWright
3b6c6d3f1f Add writing text to a websocket for the modern text hooking pages 2024-01-14 13:40:10 +01:00
AuroraWright
83a820e0ca Make output/colors configurable 2023-12-23 06:33:20 +01:00
AuroraWright
35ae78a5f6 Add missing keys in the readme 2023-12-16 05:01:42 +01:00
AuroraWright
8f7fff01a5 Add missing dependencies 2023-12-16 04:42:08 +01:00
AuroraWright
2b208b9288 Use manga_ocr as library, separate the projects, add some documentation 2023-12-16 04:37:08 +01:00
AuroraWright
c0826b1837 Add way to ignore images with a clipboard flag, cleanup 2023-12-16 01:08:21 +01:00
AuroraWright
a12ddfd222 Reduce macOS idle resource usage 2023-12-13 16:37:17 +01:00
AuroraWright
25d101f806 Rework stuff, add Windows 10/11 OCR 2023-12-13 11:02:51 +01:00
AuroraWright
3eb8db3a48 Add pause at startup, display current engine at startup 2023-12-09 10:01:33 +01:00
AuroraWright
2bec213534 Missed this 2023-12-07 22:46:49 +01:00
AuroraWright
c0641918dd Add EasyOCR/PaddleOCR, remove unneeded stuff 2023-12-07 22:43:16 +01:00
AuroraWright
aae112529b Enable language correction on apple vision (seems to help with vertical text) 2023-10-21 03:19:05 +02:00
AuroraWright
be0654df42 Fix some apple vision crashes 2023-09-29 02:38:52 +02:00
AuroraWright
a8682c6c27 Fix some Azure code not being indented properly 2023-09-15 12:42:30 +02:00
AuroraWright
9bfc265192 Push my mod 2023-09-15 12:10:11 +02:00
Maciej Budyś
1a3ffca7c8 0.1.11 release 2023-08-27 23:47:09 +02:00
Mar2ck
ea21bb71b3 Add support for Linux clipboard reading (#44)
* Allow clipboard reading on Linux using Pillow 10

* Update README.md to reflect Pillow changes

* Update README.md with Linux clipboard requirements

* Fix "Using CUDA;Using CPU" console output

* Add verbose option to help with debugging

* Restore wayland codepath for writing text to clipboard
2023-08-27 23:36:07 +02:00
ba1b0d94a8 GPU support on Apple Silicon (#30)
* Added support for MPS on Apple Silicon

* Requires PyTorch 2.0.0 or greater

* Update requirements.txt

---------

Co-authored-by: Timo Mom <timo.mom@concedro.com>
Co-authored-by: Maciej Budyś <kha-white@mail.com>
2023-05-09 20:10:15 +02:00
Maciej Budyś
b0cac91777 0.1.10 release 2023-05-08 00:38:47 +02:00
Maciej Budyś
b2049017ab 0.1.9 release 2023-05-08 00:37:00 +02:00
Maciej Budyś
60f5fecc63 change log message 2023-05-08 00:37:00 +02:00
oleksii-kostin
ffdcd7226d Added support for wayland sessions. (#32) 2023-05-07 23:48:58 +02:00
Maciej Budyś
250b89fc4a 0.1.8 release 2022-11-05 13:30:04 +01:00
Maciej Budyś
61e615da8e add sentencepiece to requirements 2022-11-05 11:12:28 +01:00
Maciej Budyś
78726ebd13 Update README.md 2022-11-03 21:53:22 +01:00
Maciej Budyś
694ff2e829 pass max_length to generate method 2022-11-03 21:33:10 +01:00