[request] want to know the similarity score in case of find failed

Bug #1717175 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

Trying to find out if we can get the highest match score of a failed Region.exists() call. I know that method returns None if a match is not found but would be nice to know "how close" we got to finding the image. Thanks!

Revision history for this message
RaiMan (raimund-hocke) wrote :

A possibility might be to add a Region.getLastScore(), which would be available independently from the existence of a match object.

... but I doubt that it is possible to implement it in 1.1.x (the access to a score in case of find failed is buried deep down in native C++ code, which I do not want to touch anymore). But in version 2 it is surely possible, where all is Java only.

Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.0
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.0.1
milestone: 2.0.1 → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.