Open Blaisorblade opened 8 years ago
Could be paired with #335
I don't know how common it is for two Pokémon to have the same height and weight, but could scanning height/weight be used to match multiple scans?
The thread also suggested the moveset. For all of those options, the only question is scanning the right area of the screen—like OCRHelper does. Once you cut the right part of the screen everything else is easy.
But to do the cutting we have code like this in OCRHelper (for the HP):
Bitmap hp = Bitmap.createBitmap(pokemonImage, (int) Math.round(widthPixels / 2.8),
(int) Math.round(heightPixels / 1.8962963), (int) Math.round(widthPixels / 3.5),
(int) Math.round(heightPixels / 34.13333333));
Where do those magic numbers come from? I think from trial and error on screenshots... I'm not the right guy to do that I fear.
Are there other IV OCR apps? I actually like UI of the other app that was linked there.
https://www.reddit.com/r/GoIV/comments/50htwz/store_calculated_iv/d77waw8?context=3
EDIT: in short, allow users to manage a database of pokemon where one can attach multiple scans to refine results. The user shows another app allowing that.
Since one needs this for few pokemons, allowing users to select by hand matching pokemons is reasonable. One can have heuristics to match a new scan to existing ones, but in this model they don't need at all to be perfect.