OCR_GLS_G6 - Optical character recognition and QR codes. Support Multiple PDF page file.
Project description
(OCR-GLS-G6) OCR
วิธีติดตั้ง
เปิด CMD / Terminal
pip install OCR-GLS-G6
วิธีใช้
from OCR_GLS_G6.OcrTools import OcrTools
fileLocation="simple.pdf" // ไฟล์ PDF หรือ ไฟล์รูปภาพ
OcrTools.easyOCR(typeOfOcr="qrcode",locationFile=fileLocation,area={'offset_x_min':2078,'offset_y_min':3152,'width':213,'height':220})
// Output
{
'coordinates': [ตำแหน่งของไฟล์ที่อ่านข้อมูล],
'value': ข้อความที่ได้จาก QR หรือ ข้อความในไฟล์ที่ต้องการ,
'valid': ความถูกต้องของข้อมูล
'accuracy_percent': เปอร์เซ็นความถูกต้องของข้อมูล
}
คำแนะนำ
Area |
คำอธิบาย |
|---|---|
offset_x_min |
พิกัดแกน X ที่น้อยที่สุด |
offset_y_min |
พิกัดแกน Y ที่น้อยที่สุด |
width |
ความกว้างของพื้นที่ |
height |
ความยาวของพื้นที่ |
พัฒนาโดย: 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.1.1.tar.gz
(4.3 kB
view details)
File details
Details for the file OCR_GLS_G6-0.1.1.tar.gz.
File metadata
- Download URL: OCR_GLS_G6-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce0745a77ba11512e984864680613edf258c2578839236adbbc9a8ee8966bf8
|
|
| MD5 |
60e7f887a2927661ae03d225d95869d6
|
|
| BLAKE2b-256 |
017b04adc11ed89cafffe8015d6fc9e36facf6195bb648d22b2b8e75d9bc727e
|