CLI Application
The CLI trainer application allows you to train QR codes via a terminal application.
Train QR code
-
Starting the trainer application with no argument, or -h, or -help displays usage instructions.
-
For single QR code training you need 2 arguments.
- Output directory
- Input configuration (e.g. defaultQRCodeTargetTrainingConfig.json)
defaultQRCodeTargetTrainingConfig.json
{ "Config.Target.Name": "QR_000", "Config.Target.Type": "QRCode", "Object.Physical.Width": 0.012, "Object.Physical.Height": 0.012 }
-
For batch image training you need 3 arguments.
- -B
- Output directory
- Input batch configuration (e.g. defaultBatchQRCodeTargetTrainingConfig.json)
defaultBatchQRCodeTargetTrainingConfig.json
{ "Batch.Target.Type" : "QRCode", "Batch.Target.Name" : "BatchQRCode", "Batch.Config.File" : "../../resource/QRCodeTarget/QRCodeTrainingConfig.json", "Batch.QRCodeTarget.Num" : 9 }
QRTrainingConfig.json
{ "Object.Physical.Width": 0.012, "Object.Physical.Height": 0.012 }