TemplateProcessor
ภาพรวม
TemplateProcessor เป็นคลาสใน Aspose.OMR FOSS สำหรับ Python.
ประมวลผลภาพ OMR ตามเทมเพลตที่สร้างขึ้น.
คลาสนี้ประกาศ 4 เมธอดสำหรับอ็อบเจ็กต์ TemplateProcessor ในโปรแกรม Python. เมธอดที่มี ได้แก่: Recalculate, Recognize, RecognizeFolder, __init__. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Python ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.OMR FOSS สำหรับ Python. คุณสมบัติ: ApplyLightShadeProcessing.
คุณสมบัติ
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
ApplyLightShadeProcessing | bool | อ่าน | รับการประมวลผลการใช้เงาอ่อน. |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
__init__(descriptor: dict, logic: FormValidationLogic) | Calls init(descriptor, logic) บนอินสแตนซ์ TemplateProcessor นี้. |
Recognize(source: typing.Any, recognitionThreshold: int) | จดจำแบบฟอร์มสแกนหนึ่งรายการ -> RecognitionResult. |
RecognizeFolder(folderPath: str, recognitionThreshold: int) → list | จดจำภาพที่รองรับทั้งหมดในโฟลเดอร์, แต่ละภาพเป็นแบบฟอร์ม INDEPENDENT. |
Recalculate(result, recognitionThreshold: int) | ให้คะแนนใหม่ RecognitionResult ก่อนหน้า ที่เกณฑ์ใหม่ โดยตรง, |
WITHOUT re-reading pixels (uses the cached per-bubble fill ratios). |