alex-ong / NESTrisOCR

OCR for statistics in NESTris
24 stars 7 forks source link

Add ability to specify config file #52

Closed timotheeg closed 4 years ago

timotheeg commented 4 years ago

Port PR #22 to latest master, because the feature was accidentally removed in PR #27

Now allows to start with (for example)

python3 main.py --config=config.p1.json
python3 main.py --config=config.p2.json

@blakegong @alex-ong

alex-ong commented 4 years ago

Wow excellent, accessing arguments from outside if name == main.

Looks good!