N
N
Nokse2016-06-15 22:28:04
Programming
Nokse, 2016-06-15 22:28:04

How to count a number from a flash application in a browser?

There is a flash application like this .
What are the options for getting the value of the current balance programmatically?
Because my bike with cutting out reference numbers from a screenshot, calculating the hash for each digit and then comparing the hash of the picture with the hashes of the references is a working, but terrible way.
The main disadvantage of this method is that it is worth changing the background of the figure at least a little (even for one pixel) and the hash will not match any standard. I don’t know if I can recognize OpenCV, since the balance numbers are very close next to each other, there is actually 1 pixel dark between. If this can be done using OpenCV, then tell me where you can read and see sensible examples (preferably in C).
Thanks in advance for your replies, advice and tips.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene 222, 2016-06-16
@mik222

Your algorithm is pretty.
----------------
You can develop it by using various kinds of fuzzy hashes.
For example:
Min-hashing: www.robots.ox.ac.uk/~vgg/publications/papers/chum0...
thedigitalstandard.blogspot.bg/2009/11/why-fuzzy-h...
----- -------
In this way, you can improve the stability of your algorithm almost without rewriting the logic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question