OCR_GLS_G6 - Optical character recognition and QR codes
Project description
วิธีติดตั้ง
เปิด CMD / Terminal
pip install OCR-GLS-G6
วิธีใช้
from OcrTools import *
img_path="simple.pdf" // ไฟล์ PDF หรือ ไฟล์รูปภาพ
OcrTools.easyOCR(typeOfOcr="qrcode",locationFile=img_path,area={'offset_x_min':2078,'offset_y_min':3152,'width':213,'height':220})
// Output
{
'coordinates': [ตำแหน่งของไฟล์ที่อ่านข้อมูล],
'value': ข้อความที่ได้จาก QR หรือ ข้อความในไฟล์ที่ต้องการ,
'valid': ความถูกต้องของข้อมูล
'accuracy_percent': เปอร์เซ็นความถูกต้องของข้อมูล
}
พัฒนาโดย: Burin Panchat GLS Develop G6
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
OCR_GLS_G6-0.0.2.tar.gz
(3.8 kB
view details)
File details
Details for the file OCR_GLS_G6-0.0.2.tar.gz.
File metadata
- Download URL: OCR_GLS_G6-0.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2c9d4e2e27796914512ad70f4cf26bf3d25f7a8a6aa5b8d6a3d487c975705c9
|
|
| MD5 |
c82e9548755c0359e38a9d52ec829f68
|
|
| BLAKE2b-256 |
bd95a59d5191a52305ac3afc0e9dcf935c79f164e27cf01220daef6912a1a541
|