João Paulo da Cruz
17706bde8c
creating ocr.scm containing the manga-ocr package definition creating python-xyz.scm containing missing python libraries to feed ocr.scm
38 lines
1.2 KiB
Scheme
38 lines
1.2 KiB
Scheme
(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)))
|
|
manga-ocr
|