gnh1201 / welsonjs

WelsonJS - Build a Windows app on the Windows built-in JavaScript engine
https://catswords.social/@catswords_oss
GNU General Public License v3.0
143 stars 12 forks source link

[Native] Automaticallly Screen Capture and Template Matching #124

Closed gnh1201 closed 1 month ago

gnh1201 commented 1 month ago

Summary

Recently, I came across an example dealing with the problem of finding a specific image on a computer screen for QA purposes (for instance, the locateOnScreen method from pyautogui). However, in many cases, this is done synchronously, which has been reported to cause performance issues (such as command delays) in actual use.

One of the most promising options for finding a specific image within the original image is called Template Matching.

This should be implemented to perform asynchronously and handle it as an event.

Related links

gnh1201 commented 1 month ago

What else? 91a13c54e5ae025e

gnh1201 commented 1 month ago

Done