alex-ong / NESTrisOCR

OCR for statistics in NESTris
24 stars 7 forks source link

Allow CLI arg to specify config file #22

Closed timotheeg closed 4 years ago

timotheeg commented 4 years ago

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:

Cheers!

alex-ong commented 4 years ago

Nice; will be overhauling main anyway soon.