actiona icon indicating copy to clipboard operation
actiona copied to clipboard

Find image: methods

Open rjamesnw opened this issue 4 years ago • 1 comments

Can someone please explain the different Find Image methods?

  • Correlation Coefficient
  • Cross Correlation
  • Squared Difference

There's no explanation on this that I can find anywhere, and searching those terms produces nothing that can help me visualize what is going on. Playing around with them doesn't seem to give consistent results, not sure why.

Also, a feature request: it would be nice to add a "test now" button on the configuration that tells me what the result of the image search is (the confidence), rather than having to return it and show it via another message window using another action just to display it.

rjamesnw avatar Apr 07 '20 10:04 rjamesnw

There's no explanation on this that I can find anywhere, and searching those terms produces nothing that can help me visualize what is going on. Playing around with them doesn't seem to give consistent results, not sure why.

Unfortunately I cannot help you much with that: I've only provided access to the OpenCV parameters. You can have a look at the OpenCV documentation. From experimentation it seems that Correlation Coefficient works best for most cases. I would welcome any advice here, especially from an image processing specialist.

Also, a feature request: it would be nice to add a "test now" button on the configuration that tells me what the result of the image search is (the confidence), rather than having to return it and show it via another message window using another action just to display it.

You mean a button on the action configuration window to test your parameters without having to run the script? I have the vague memory of having started to implement that a few years back, but never got to finish it. Could be useful on other actions too.

Jmgr avatar Apr 07 '20 11:04 Jmgr