Re: tensorflow uint8 object detection model
MyungJoo Ham
On Thu, Aug 12, 2021 at 01:41 PM, shortcipher wrote:
Here is the gst pipeline description that I've tested: gst-launch-1.0 v4l2src name=cam_src ! videoconvert ! videoscale ! video/x-raw,width=640,height=480,format=RGB,framerate=30/1 ! tee name=t t. ! queue leaky=2 max-size-buffers=2 ! videoscale ! video/x-raw,width=320,height=320,format=RGB ! tensor_converter ! tensor_transform mode=arithmetic option=typecast:uint8,add:0,div:1 ! tensor_filter framework=tensorflow2-lite model=model.tflite ! tensor_decoder mode=bounding_boxes option1=mobilenet-ssd-postprocess option2=coco-labels-paper.txt option3=0:1:2:3,50 option4=640:480 option5=320:320 ! compositor name=mix sink_0::zorder=2 sink_1::zorder=1 ! videoconvert ! ximagesink t. ! queue leaky=2 max-size-buffers=10 ! videoconvert ! mix. It appears that the video format (RGB) from |
|