CLI Application
The CLI trainer application allows you to train QR codes via the terminal.
Train QR codes
-
Starting the trainer application with no argument, or -h, or -help displays usage instructions.
-
Single QR code training requires 2 arguments:
- Output directory
- Input configuration (e.g. defaultQRCodeTargetTrainingConfig.json)
defaultQRCodeTargetTrainingConfig.json
The physical size of the QR code needs to be defined in meters.{ "Config.Target.Name": "VARQR_000", "Config.Target.Type": "QRCode", "QRCode.PhysicalSize": 0.22 }
-
Batch QR code training requires 3 arguments:
- -B
- Output directory
- Input batch configuration (e.g. defaultBatchQRCodeTargetTrainingConfig.json)
defaultBatchQRCodeTargetTrainingConfig.json
This sample configuration will generate 9 QR code targets with the names BatchQRCode_00000, BatchQRCode_00001, ... , BatchQRCode_00008.{ "Batch.Target.Type" : "QRCode", "Batch.Target.Name" : "BatchQRCode", "Batch.Config.File" : "../QRCodeTrainingConfig.json", "Batch.QRCodeTarget.Num" : 9 }
QRTrainingConfig.json
The physical size of the QR codes needs to be defined in meters.{ "QRCode.PhysicalSize": 0.22 }