Tool/software:
Hello expert,
Previous days, I am working to find the below text overlay while running a pipeline.
Here is the pipeline I used.
gst-launch-1.0 -e \ v4l2src device=/dev/video-imx219-cam1 io-mode=5 ! \ queue leaky=2 ! video/x-bayer, width=3280, height=2464, framerate=15/1, format=rggb10 ! \ tiovxisp sensor-name=SENSOR_SONY_IMX219_RPI dcc-isp-file=/opt/imaging/imx219/linear/7140.dcc_viss.bin format-msb=9 \ sink_0::dcc-2a-file=/opt/imaging/imx219/linear/7140.dcc_2a.bin sink_0::device=/dev/v4l-imx219-subdev1 ! \ video/x-raw, format=NV12 ! \ tiovxmultiscaler src_1::pool-size=4 name=split_01 src_0::roi-startx=205 src_0::roi-starty=154 src_0::roi-width=2870 src_0::roi-height=2156 target=0 \ split_01. ! queue ! video/x-raw, format=NV12, width=718, height=540, framerate=15/1 ! tiovxmultiscaler target=1 ! \ video/x-raw, width=224, height=224 ! tiovxdlpreproc model=/opt/model_zoo/mobileNetV2 out-pool-size=4 ! \ application/x-tensor-tiovx ! tidlinferer target=1 model=/opt/model_zoo/mobileNetV2 ! post_0.tensor \ split_01. ! queue ! video/x-raw, format=NV12, width=3280, height=2464, framerate=15/1 ! post_0.sink \ tidlpostproc name=post_0 model=/opt/model_zoo/mobileNetV2 top-N=1 display-model=false ! \ kmssink
1. Tried to locate it, in gsttidlpostproc.cpp and gsttidlinferer.cpp present in /opt/edgeai-gst-plugins/ext/ti . Unfortunately nothing about drawing this text overlay and contrast color box.
In apps_python it is present in post_process.py file. I am trying to create a python app for my use case. Where can I find this text overlay?
2. Where can I find the logic of recognizing class_name. post_process.py, #L156 to #L167 . I mean I need to do some tuning in the class_name that is detected by the model.
Please help me to find this 2 sections in code.
Warm Regards,
Sajan