Use manga_ocr as library, separate the projects, add some documentation

This commit is contained in:
AuroraWright
2023-12-16 04:34:19 +01:00
parent c0826b1837
commit 2b208b9288
9 changed files with 75 additions and 192 deletions

10
owocr_config.ini Normal file
View File

@@ -0,0 +1,10 @@
[general]
; engines = avision,mangaocr
[winrtocr]
; url = http://aaa.xxx.yyy.zzz:8000
[azure]
; api_key = api_key_here
; endpoint = https://YOURPROJECT.cognitiveservices.azure.com/
[mangaocr]
pretrained_model_name_or_path = kha-white/manga-ocr-base
force_cpu = False