-
Notifications
You must be signed in to change notification settings - Fork 4
tidlpostproc
tidlpostproc
is used to Postprocesses the output of deep learning model using NV12 drawing utilities.
It supports post-processing for Image Classification, Object Detection and Semantic Segmentation.
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstTIDLPostProc
video/x-raw
format: { (string)NV12 }
width: [ 1, 8192 ]
height: [ 1, 8192 ]
Availability – always
Direction – sink
Object type – GstPad
video/x-raw
format: { (string)NV12 }
width: [ 1, 8192 ]
height: [ 1, 8192 ]
Availability – always
Direction – src
Object type – GstPad
application/x-tensor-tiovx
Availability – always
Direction – sink
Object type – GstPad
Alpha value for sematic segmentation blending
flags: readable, writable, controllable
Float Range: 0 - 1
Default: 0.5
Display model name on top of the frame
flags: readable, writable, controllable
Boolean
Default: false
TIDL Model directory with params, model and artifacts
flags: readable, writable
String
Default : NULL
Mean pixel to be subtracted for the second plane
flags: readable, writable
Float Range: 0 - 255
Default : 0
The name of the object
flags: readable, writable
String
Default : "tidlpostproc0"
The parent of the object
flags: readable, writable
GstObject
Default : N/A
Number of class to overlay for classification results
flags: readable, writable
Integer Range 1-10
Default : 5
Confidence Threashold for drawing bounding boxes for object detection and human pose estimation results
flags: readable, writable
Float Range: 0 - 1
Default : 0.6
gst-launch-1.0 \
multifilesrc location=/opt/edgeai-test-data/videos/video_0000_h264.h264 ! \
h264parse ! avdec_h264 ! ticolorconvert ! \
video/x-raw, format=NV12 ! \
\
tee name=split \
\
split. ! queue ! tiscaler ! video/x-raw, width=416, height=416 ! \
tidlpreproc data-type=3 channel-order=0 tensor-format=bgr ! \
tidlinferer model=/opt/model_zoo/ONR-OD-8200-yolox-nano-lite-mmdet-coco-416x416 ! \
queue ! post.tensor \
\
split. ! queue ! tiscaler ! video/x-raw,width=1280,height=720 ! post.sink \
\
tidlpostproc name=post model=/opt/model_zoo/ONR-OD-8200-yolox-nano-lite-mmdet-coco-416x416 ! \
kmssink sync=false driver-name=tidss