When one has multiple input system (capture device, emulator, etc.), it might be useful to store multiple local config file and to pass the desired one to NEStrisOCR.
argparse is normally not used in module files (typically used in main instead in some sort of bootstrapping sequence), but I put in config.pyanyway because:
config.py is already is used as "initialized on import" by both main.py and calibrate.py
NESTrisOCR doesn't use CLI args, so it's not conflicting with other stuff
When one has multiple input system (capture device, emulator, etc.), it might be useful to store multiple local config file and to pass the desired one to NEStrisOCR.
argparse
is normally not used in module files (typically used in main instead in some sort of bootstrapping sequence), but I put inconfig.py
anyway because:main.py
andcalibrate.py
Cheers!