Actscene OCR: 日本語書類向けの包括的OCRパイプライン (PaddleOCRベース)
Project description
actscene-ocr
日本語の各種書類向けに最適化した OCR ライブラリ
インストール
pip install actscene-ocr
使い方
from actscene_ocr import ActsceneOCR
ocr = ActsceneOCR()
# 基本的な使い方(画像パス + max_segment_pixels のみ)
result = ocr.shaken("/path/to/image.jpg")
# 全メソッド一覧
res1 = ocr.shaken_kiroku("/path/to/image.jpg")
# -> {"所有者の氏名又は名称": "", "所有者の住所": "", "自動車登録番号又は車両番号": "",
# "初度登録年月": "", "有効期限の満了する日": "", "車台番号": ""}
res2 = ocr.shaken("/path/to/image.jpg")
# -> {"使用者の氏名又は名称": "", "自動車登録番号又は車両番号": "",
# "初度登録年月": "", "車台番号": ""}
res3 = ocr.recycle("/path/to/image.jpg")
# -> {"預託金額合計": "", "車台番号": ""}
res4 = ocr.jouto("/path/to/image.jpg")
# -> {"譲渡人及び譲受人の氏名又は名称及び住所": ""}
res5 = ocr.jibaiseki("/path/to/image.jpg")
# -> {"車台番号": "", "保険期間至": ""}
res6 = ocr.inkan("/path/to/image.jpg")
# -> {"氏名": "", "住所": ""}
res7 = ocr.inin("/path/to/image.jpg")
# -> {"委任人の氏名又は名称及び住所": ""}
共通引数
image: 画像パス、numpy.ndarray、PIL.Image.Imageのいずれかmax_segment_pixels: セグメントの最大ピクセル数(既定 1,000,000)debug_dir: デバッグ画像の出力先ディレクトリ(省略可)
ライセンス
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
actscene_ocr-0.1.1.tar.gz
(27.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file actscene_ocr-0.1.1.tar.gz.
File metadata
- Download URL: actscene_ocr-0.1.1.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78ff0c03a4674c135c112882477ccde858092832a6888c9648f6590267d97924
|
|
| MD5 |
dbe4db52f98b857e66a726969a165172
|
|
| BLAKE2b-256 |
34e451a7e3996222c461bdc7142f182a8f0500c3947b18fcbf28acccef4e8373
|
File details
Details for the file actscene_ocr-0.1.1-py3-none-any.whl.
File metadata
- Download URL: actscene_ocr-0.1.1-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f6a3e23ba76e7df7b5f0562c6fc128033103f74256bd462f2778da63ec9ff46
|
|
| MD5 |
6a282d95ec14d9a3611bf89b604ba5b6
|
|
| BLAKE2b-256 |
6fccb8e130ea56ba78d8e4b3cec2ec3af085b747088e8c905e065be830aa0af2
|