farkam135 / GoIV

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

Improves mid-evolution detection by removing misdetect #1056

Closed nahojjjen closed 5 years ago

nahojjjen commented 5 years ago

The 'allblank' method heuristic was too trigger happy, in some instances, a few black pixels would accidentally be left in the candy-image, which should still be ignored. This adds a percentage barrier.

I made this patch because a friend couldnt scan pokemon on her phone, and got to borrow her phone and debug to see what happened, which led me to discover this issue.