Recognition

ใช้ในสาขาความสำเร็จในการจดจำใน UI Recognition.result ส่งคืนการจับคู่สำหรับหนึ่งเป้าหมายการรับรู้หรือ MatchList เมื่อหลายเป้าหมายตรงกัน

รูปแบบคำสั่ง

Recognition

ไม่สามารถสร้างคลาสนี้โดยตรงได้

ค่าที่ส่งกลับ

—

ตัวอย่าง

# Recognition ใช้ได้เฉพาะใน Python ของกิ่งสำเร็จการรับรู้เท่านั้น
a = Recognition.result
if a.found:
    a.highlight(color="yellow", auto_hide_ms=800)

ฟิลด์

ชื่อคำอธิบาย
resultMatch | MatchList
The active recognition result for this Success branch.
ตัวอย่างการอ่านฟิลด์
current = Recognition.result
if current.found:
    click(current, random=0)