07-11-2024, 04:40 PM
Yes you could give the code i am happy to learn something new
ZS
ZS Extension.
|
07-11-2024, 05:13 PM
Hii everyone
ZS
07-12-2024, 05:19 AM
Hii AB
Your challenge seems very hard. It is known as image recognition. I once seen the machine learning and image recognition third party library of csharp having huge sized. I gone a quick search in Google and found many people trying it but it's hard. But not impossible because the world it self say I m possible Coming to main point it's really hard but there is a way. Anyone know that all images are made of small coloured pixel. We could match pixels but this would be extremely slow. I will try my best and do more research on it.
ZS
07-12-2024, 08:23 AM
Dear Z-S,
Let's clarify what concept we are talking about. It seems to me that you are talking about "RECOGNITION" of images. But, I'm talking about "SEARCHING" an image. “RECOGNIZE” an image means CLASSIFY, to determine which class the depicted object belongs to. But, "FIND" images - this means that we must simply check whether such a small fragment that we are looking for exists in a large image. This is similar to searching for the desired word in a text file. Small BASIC is too slow for this purpose. Just as LitDev created the “FastArray” extension and the “FastString” method, you can try to create an “ImageSearch” method that will SEARCH a small image inside a large image as quickly as possible.
Haha AB
I Did It With Help Of GPT But Quite Slow So Be Patient But Tried Working. Latest Release 1.2.0.6 : https://github.com/zs-3/ZS/releases/tag/1.2.0.6 Some Dialog Lib Functions Are Not Working Currently. But Small Images Are Very Fast
ZS
07-12-2024, 09:35 AM
I am sure that the fastest code will not come out immediately.
The fastest code is a fun challenge.
07-12-2024, 10:52 AM
I'm using a paid third party autoclicker written in C++.
But, it's dangerous. I want to have a secure autoclicker that I compiled myself using open source code. But I was too lazy to create a program in C#. But I will be interested in using Small BASIC, SB-Prime Editor and the open source extension to now create my own autoclicker.
07-13-2024, 05:25 AM
Hii AB.
For more speed of our searching function i will advise you to make simple algorithm in program and use small images. I am adding new functions in ZSUtilities for more simpler and smooth work. 1) adding a capture screen function (already present in LD EXTENSION) 2) adding a image resize function so that we can resize original image to smaller size and increase speed ( this is also already present in LD EXTENSION but it use Imagelist which my searching function don't use.)
ZS
|
« Next Oldest | Next Newest »
|