Change bounding box color

I am using deepstream-test3. How can I change default bounding box color?

I changed as follows.

obj_meta_f->rect_params.border_color.red = 0;
obj_meta_f->rect_params.border_color.green = 1;
obj_meta_f->rect_params.border_color.blue = 0;
obj_meta_f->rect_params.border_color.alpha = 1;

But before I changed as above, default is red color. I want to change the default color.

The change looks good, what’s the issue you met?
BTW, pls share your setup with us

Before I change to green, the original color is red. Can I change original color to green?
bbox-border-color0 doesn’t work in test3 app.

My config file for deepstream-test3 is as follows.

[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
tlt-model-key=tlt_encode
tlt-encoded-model=../../../../samples/models/tlt_pretrained/resnet18_dashcamnet_pruned.etlt
labelfile-path=../../../../samples/models/tlt_pretrained/labels_dashcamnet.txt
model-engine-file=../../../../samples/models/tlt_pretrained/resnet18_dashcamnet_pruned.etlt_b4_gpu0_fp16.engine
input-dims=3;544;960;0
uff-input-blob-name=input_1
batch-size=4
process-mode=1
model-color-format=0
## 0=FP32, 1=INT8, 2=FP16 mode
network-mode=2
num-detected-classes=3
cluster-mode=1
interval=0
gie-unique-id=1
bbox-border-color0=0;0;1;1
bbox-border-color1=0.5;1;0.2;1
bbox-border-color2=0;1;0;1
bbox-border-color3=1;1;0;1
output-blob-names=output_bbox/BiasAdd;output_cov/Sigmoid


[class-attrs-all]
pre-cluster-threshold=0.4
## Set eps=0.7 and minBoxes for cluster-mode=1(DBSCAN)
eps=0.7
minBoxes=1

The config item is parsed by deepstream-app, it’s not handled by gst-nvinfer plugin, so it’s expected that cannot work well for test3 app.