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

This commit is contained in:
AuroraWright
2024-01-14 16:29:48 +01:00
parent 3b6c6d3f1f
commit 186447333e
3 changed files with 66 additions and 41 deletions

View File

@@ -2,6 +2,8 @@
;engines = avision,gvision,azure,mangaocr,winrtocr,easyocr,paddleocr
;logger_format = <green>{time:HH:mm:ss.SSS}</green> | <level>{message}</level>
;engine_color = cyan
;websocket_port = 7331
;delay_secs = 0.5
[winrtocr]
;url = http://aaa.xxx.yyy.zzz:8000
[azure]