-
Notifications
You must be signed in to change notification settings - Fork 16
Save Directories
Unused as of 6/26/18. All images that need to be manually check are moved to not_find_img
now.
This is where all images are saved that PGSS cannot automatically recognize and require manual intervention. Image files need to be renamed manually to proper naming schema before running python3.6 manualsubmit.py
. After all images in this directory are renamed, run python3.6 manualsubmit.py
to update to success_img
direcotry.
Caution: Make sure to rename all files in this directory before running manualsubmit.py
. Otherwise unchanged files will still get sent to success_img
directory with possibly incorrect naming schema.
PokemonImage_##.png
Rename to Pokemon_Pokedex#.png
.
Example: This image is named, PokemonImage_29.png
which is of a Regice raid. Rename that file to Pokemon_387.png
. 387 being the Pokedex number for Regice.
GymImage_###.png
Rename to Fort_####.png
where ####
is the fort ID number stored in your database.
Example: This image is named, GymImage_531.png
which is of a raid egg yet to hatch. Rename that file to Fort_688.png
where 688
is the fort ID listed in my database. To find the fort ID number, either search through your url_img
directory to manually find a match or ask your community what gym that screenshot is of.
To Find Fort ID:
If manually searching through url_img
directory for a match, the file name will be same as the fort ID.
Otherwise, use the forts
id
column of your database to find the Fort ID.
If you know the name of the fort/gym:
MySQL query: SELECT * FROM dbName.forts WHERE name LIKE '%Known Name%';
PostgreSQL query: Unknown at this time
If Blank or Unusable Image
Rename to Fort_Not_whatever.png
where whatever
is literally whatever you want to put there. You just can't duplicate file names within that directory.
When running raidscan.py
or crop.py
(raidscan.py automatically runs crop.py within itself), crop.py
copies partial screenshots to this directory for automated processing.
No manual intervention is required.
All images that have successfully been recognized for automated raid reporting. Reference to check fort detection is correct or not.
Can be deleted but will be re-populated for image log
No manual intervention is required.
All saved fort images after running downloadfortimg.py
. These images are what's used to compare images against process_img
directory to find proper gym and/or Pokemon information.
No manual intervention is required.