Tx2 low fps camera ip deepstream example test

Please provide complete information as applicable to your setup.

**• Hardware Platform> TX2
**• DeepStream Version< 6.0

hello to all the community, I am using the deepstream_nvdsanalytics.py to analyze two inputs (ip cameras). As the minutes go by it gets slower and slower. After a few hours the program stops, I suppose, due to lack of memory. I only want to make a car counter. What will be the theoretical fps rate for this application? and what improvements could apply?
thank you very much as always.

python3 deepstream_nvdsanalytics.py “rtsp://admin:admin1234@192.168.1.202:554/cam/realmonitor?channel=1&subtype=1” “rtsp://admin:admin1234@192.168.1.202:554/cam/realmonitor?channel=1&subtype=1”
Creating Pipeline

Creating streamux

Creating source_bin 0

Creating source bin
source-bin-00
Creating source_bin 1

Creating source bin
source-bin-01
Creating Pgie

Creating nvtracker

Creating nvdsanalytics

Creating tiler

Creating nvvidconv

Creating nvosd

Creating transform

Creating EGLSink

Atleast one of the sources is live
WARNING: Overriding infer-config batch-size 1 with number of sources 2

Adding elements to Pipeline

Linking elements in the Pipeline

Now playing…
1 : rtsp://admin:admin1234@192.168.1.202:554/cam/realmonitor?channel=1&subtype=1
2 : rtsp://admin:admin1234@192.168.1.202:554/cam/realmonitor?channel=1&subtype=1
Starting pipeline

Using winsys: x11
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
[NvMultiObjectTracker] Initialized
0:00:00.423349574 16594 0x164f6470 WARN nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1161> [UID = 1]: Warning, OpenCV has been deprecated. Using NMS for clustering instead of cv::groupRectangles with topK = 20 and NMS Threshold = 0.5
ERROR: Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-6.0/sources/apps/deepstream_python_apps/apps/deepstream-nvdsanalytics/…/…/…/…/…/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine open error
0:00:01.527010378 16594 0x164f6470 WARN nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1889> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-6.0/sources/apps/deepstream_python_apps/apps/deepstream-nvdsanalytics/…/…/…/…/…/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed
0:00:01.527103592 16594 0x164f6470 WARN nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1996> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-6.0/sources/apps/deepstream_python_apps/apps/deepstream-nvdsanalytics/…/…/…/…/…/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed, try rebuild
0:00:01.527132072 16594 0x164f6470 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1914> [UID = 1]: Trying to create engine from model files
WARNING: INT8 not supported by platform. Trying FP16 mode.
WARNING: [TRT]: Detected invalid timing cache, setup a local cache instead

##################################################
Linecrossing Cumulative: {‘Exit’: 901, ‘Entry’: 0}
Linecrossing Current Frame: {‘Exit’: 0, ‘Entry’: 0}
Frame Number= 48657 stream id= 1 Number of Objects= 2 Vehicle_count= 2 Person_count= 0
FPS*******************
Fps of stream 1 is 14.0
##################################################
##################################################
Linecrossing Cumulative: {‘Exit’: 901, ‘Entry’: 0}
Linecrossing Current Frame: {‘Exit’: 0, ‘Entry’: 0}
Frame Number= 48658 stream id= 1 Number of Objects= 1 Vehicle_count= 1 Person_count= 0
##################################################
##################################################
Linecrossing Cumulative: {‘Exit’: 901, ‘Entry’: 0}
Linecrossing Current Frame: {‘Exit’: 0, ‘Entry’: 0}
Frame Number= 48659 stream id= 1 Number of Objects= 1 Vehicle_count= 1 Person_count= 0
FPS*******************
Fps of stream 1 is 0.2
##################################################
End-of-stream
Exiting app

There are some performance data: Performance — DeepStream 6.1.1 Release documentation

To improve the pipeline performance, please refer to Troubleshooting — DeepStream 6.1.1 Release documentation

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.