We are facing an issue executing the gaze app with rtsp streaming : the app executes correctly but we have a delay about 20 seconds using the command “/deepstream-gaze-app 3 …/…/…/configs/nvinfer/gaze_tao/sample_gazenet_model_config.txt rtsp://192.168.1.168:554/live_st1 ./gaze”.
Although there is almost no delay when we display the rstp video stream using the command “ffplay rtsp://192.168.1.168:554/live_st1” and we have 4-5 seconds delay when we display the usb video with “./deepstream-gaze-app 3 …/…/…/configs/nvinfer/gaze_tao/sample_gazenet_model_config.txt v4l2:///dev/video0 ./gaze”.
Update : If I execute the command “./deepstream-faciallandmark-app 3 …/…/…/configs/nvinfer/facial_tao/sample_faciallandmarks_config.txt rtsp://187.101.100.131:554/live_st1 ./faciallandmark” I have real time inference, no delay. It may be an issue concerning directly the gaze-app and not deepstream
compared with faciallandmark sample, there is special gazenet model in gaze sample pipeline. you can remove the second sgie temporarily. if there is no big delay, it should be related to gazenet model processing.