← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698919]: Find the Best Possible match

 

Question #698919 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698919

    Status: Answered => Open

Chetan is still having a problem:
Thanks raiman for the response. can you please elaborate on point 1 -
captures the area of the match (result temp image file)

below is the code we use

we use match=SearchRegion.findBest(name)  // this gets us the match rate
or None

now when match rateis <70( default) then None is returned. however logs
show that can image matched with 58% match rate( see debug logs)

in this case we need to have the image location that had 58% match rate so that we can use that
how can we so that can you please help with pointers 

********************

debug logs showing 58% match rate
[debug] Image: reused: 1629714875056.png (file:/C:/Perf/Work/Groups/AntiPirates/PDFNext/Automations/FeatTests/FEAT/Framework_Testing/TestFiles/VerifyInvalidPageNumber.sikuli/1629714875056.png)
[debug] Finder2: makeMat: INT_RGB (1280x360)
[debug] Finder2: makeMat: 3BYTE_BGR (499x144)
[debug] Finder2: doFindImage: start (stdDev: 88.6009 mean: 713.952878)
[debug] Finder2: doFindImage: in original: %58.1349 (?70) 32 msec 
[debug] Finder2: doFindImage: end 33 msec
[debug] findAnyCollect: all SubFindRuns finished

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.