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.2.tar.gz
(27.9 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.2.tar.gz.
File metadata
- Download URL: actscene_ocr-0.1.2.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b13e1519aa246dbcf1efb60e21a6bd35e58d962c6f20e58ec766bc20897a01
|
|
| MD5 |
58b468942ea8e1c40fba6a6c57558e6a
|
|
| BLAKE2b-256 |
78ebe75f6bde1adbec35b2381fdc568aa91309ddac378aadd3eeb5576eb1dfbd
|
File details
Details for the file actscene_ocr-0.1.2-py3-none-any.whl.
File metadata
- Download URL: actscene_ocr-0.1.2-py3-none-any.whl
- Upload date:
- Size: 36.9 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 |
4d5d20ef4d23d6784dc7fc8b2c0838651bb35a07ef3bb6bc7500f9867418fe33
|
|
| MD5 |
a2a95a6aefbe133b5aee43b3284d0bca
|
|
| BLAKE2b-256 |
8142ac782b852fa1ad98e2f77fa46e89c9fb518b7bce2338f0193d288bd7cb0a
|