Python script to parse Player Level out of Profile Screenshot and verify the Username in the Screenshot with a given Username.
Currently optimized for PokemonGO 0.107.1 to 0.187.2
import poke_profile result = poke_profile.getLevel(fullimagepath, username) print(result) # the found level or None print(result) # booleon; true, if the given username was found
None, if poke_profile encounterd a file read Error. Check the full image path for typos.
usage: poke_profile.py [-h] -i IMAGE -u USERNAME [-p PLOT] optional arguments: -h, --help show this help message and exit -i IMAGE, --image IMAGE path to input image to be OCR'd -u USERNAME, --username USERNAME username to search in OCR output -p PLOT, --plot PLOT true, to display plot, false else