farkam135 / GoIV

https://www.reddit.com/r/goiv
Other
372 stars 138 forks source link

Store calculated IVs for a few Pokemon #354

Open Blaisorblade opened 8 years ago

Blaisorblade commented 8 years ago

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.

rpgrca commented 8 years ago

Could be paired with #335

Remiscan commented 8 years ago

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?

Blaisorblade commented 8 years ago

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.

sarav commented 8 years ago

Are there other IV OCR apps? I actually like UI of the other app that was linked there.

rpgrca commented 8 years ago

https://play.google.com/store/apps/details?id=com.hdezninirola.pogoanalyzer https://itunes.apple.com/us/app/poke-genie-smart-iv-calculator/id1143920524 https://itunes.apple.com/us/app/offline-auto-iv-calc-for-pokemongo/id1143897524

History mode should be useful.