CLI Application
Preparation
Unlike Image Targets, QR Code Target training does not require input images.
Encoding Information
The content of the QR Code equals the Target name. If you wish to encode a specific string in the QR Code Target, ensure that this string only contains the following characters:
a-z
A-Z
0-9
_
Single QR Code target training
Single QR code training requires 2 arguments:
- Output directory
- Input configuration (e.g. QRCodeTargetTrainingConfig.json)
QRCodeTargetTrainingConfig.json
{
"Config.Target.Name": "VARQR_000",
"Config.Target.Type": "QRCode",
"QRCode.PhysicalSize": 0.22
}
Batch QR code training
Batch QR code training requires 3 arguments:
- -B to enable batch training
- Output directory
- Input batch configuration (e.g. BatchQRCodeTargetTrainingConfig.json)
BatchQRCodeTargetTrainingConfig.json
{
"Batch.Target.Type" : "QRCode",
"Batch.Target.Name" : "BatchQRCode",
"Batch.Config.File" : "../QRCodeTrainingConfig.json",
"Batch.QRCodeTarget.Num" : 9
}
QRTrainingConfig.json
{
"QRCode.PhysicalSize": 0.22
}