RecognitionResult
ภาพรวม
RecognitionResult เป็นคลาสใน Aspose.OMR FOSS สำหรับ Python.
ผลลัพธ์ของการจดจำภาพ.
คลาสนี้ประกาศ 7 เมธอดสำหรับอ็อบเจ็กต์ RecognitionResult ในโปรแกรม Python. เมธอดที่มีให้รวมถึง: GetCsv, GetCsvAsStream, GetJson, GetJsonAsStream, GetXml, GetXmlAsStream, __init__. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Python ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.OMR FOSS สำหรับ Python. คุณสมบัติ: ImagePath, Images, OmrElements, PageName, TemplateName.
คุณสมบัติ
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
ImagePath | str | อ่าน | รับเส้นทางของภาพ. |
Images | list[typing.Any] | อ่าน | รับรูปภาพ. |
OmrElements | list[IOmrElement] | อ่าน | รับอิลิเมนต์ OMR. |
PageName | str | อ่าน | รับชื่อหน้า. |
TemplateName | str | อ่าน | รับชื่อเทมเพลต. |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
__init__() | Calls init บนอินสแตนซ์ RecognitionResult นี้. |
| `GetCsv(encoding: str | None)` |
GetCsvAsStream(encoding: str) → io.BytesIO | เรียกใช้ GetCsvAsStream(encoding) บนอินสแตนซ์ RecognitionResult นี้. |
| `GetJson(encoding: str | None)` |
GetJsonAsStream(encoding: str) → io.BytesIO | เรียก GetJsonAsStream(encoding) บนอินสแตนซ์ RecognitionResult นี้. |
| `GetXml(encoding: str | None)` |
GetXmlAsStream(encoding: str) → io.BytesIO | เรียกใช้ GetXmlAsStream(encoding) บนอินสแตนซ์ RecognitionResult นี้. |