...
How to change AI model
Please replace
data_CV2X/cnn/mobilenetv1_ssd_cavalry*.bin
and
data_CV5X/cnn/mobilenet_priorbox_fp32*.bin
with your model.Please change the following part of main.cpp according to your model.
#define OUTSIZE_HEIGHT<Input height of your model>
#define OUTSIZE_WIDTH<Input width of your model>
#define NETNAME<File name of your model>
#define LAYERNAMEIN"data"<Input layer name of your model>
#define LAYERNAMEOUT_CONV59"conv59"<Output layer name of your model>
#define LAYERNAMEOUT_CONV67"conv67"<Output layer name of your model>
#define LAYERNAMEOUT_CONV75"conv75"<Output layer name of your model>
#define PROPERTY_NUMCLASSES<Number of classes of your model>Please describe "names" (label-objectname matrix) according to your model.
...