ajattix/ajatt/packages/ocr.scm

37 lines
1.2 KiB
Scheme
Raw Permalink Normal View History

(define-module (ajatt packages ocr)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (gnu packages machine-learning)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages xdisorg)
#:use-module (ajatt packages python-xyz))
(define-public manga-ocr
(package
(name "python-manga-ocr")
(version "0.1.11")
(source
(origin
(method url-fetch)
(uri (pypi-uri "manga-ocr" version))
(sha256
(base32 "1sxhk613ag1vk5hm6zxa0npjcn4gn0bgf1bq7id56qw44rlq1ki1"))))
(build-system pyproject-build-system)
(inputs (list python-fire
python-fugashi
python-jaconv
python-loguru
python-numpy
python-pillow
python-pyperclip
python-pytorch
python-transformers
python-unidic-lite))
(home-page "https://github.com/kha-white/manga-ocr")
(synopsis "OCR for Japanese manga")
(description "OCR for Japanese manga")
(license #f)))