CLI Trainer Application
The CLI trainer application allows you to train images and evaluate the trackability scores via a terminal application.
Train images
-
Starting the trainer application with no argument, or -h, or -help displays usage instructions.
-
For single image training you need 3 arguments:
- Output directory
- Input configuration (e.g. defaultImageTargetTrainingConfig.json)
- Input image file
defaultImageTargetTrainingConfig.json
{ "Config.Target.Name": "Image_000", "Config.Target.Type": "Image", "Object.Physical.Width": 0.300, "Object.Physical.Height": 0.100 }
-
For batch image training you need 3 arguments:
- -B
- Output directory
- Input batch configuration (e.g. defaultBatchImageTargetTrainingConfig.json)
defaultBatchImageTargetTrainingConfig.json
{ "Batch.Target.Name" : "BatchImage", "Batch.Image.Path": "../../resource/ImageTarget/image/", "Batch.Image.Files" : ["VARIMG_000.png", "VARIMG_001.png", "VARIMG_002.png", "VARIMG_003.png", "VARIMG_004.png", "VARIMG_005.png", "VARIMG_006.png", "VARIMG_007.png", "VARIMG_008.png"], "Batch.Config.File" : "../../resource/ImageTarget/TrainingConfig_Batch.json" }
TrainingConfig_Batch.json
{ "Config.Target.Type": "Image" }