Code Monkey home page Code Monkey logo

alxandru / vehicle_tracking_deepstream Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 9.0 76 KB

Jetson Nano application that detects and tracks vehicles in a roundabout with Yolov4, DeepSort and NvDCF using DeepStream SDK and sends the info to a Kafka message bus.

Makefile 3.49% Shell 1.00% C++ 95.51%
cpp deepsort deepstreamsdk discriminative-correlation-filter gstreamer jetson-nano kafka kafka-producer neural-networks object-detection object-tracking yolov4 yolov4-tiny

vehicle_tracking_deepstream's People

Contributors

alxandru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vehicle_tracking_deepstream's Issues

NvCaffeParser.h: No such file or directory

DeepStream SDK 6.1 installed

CUDA_VER=11.2 make subsystem

make -C 3pp/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo
make[1]: Entering directory '/home/alp2080/Projects/vehicle_tracking_deepstream/3pp/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo'
g++ -c -o nvdsinfer_yolo_engine.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-11.2/include nvdsinfer_yolo_engine.cpp
In file included from nvdsinfer_yolo_engine.cpp:26:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer_custom_impl.h:126:10: fatal error: NvCaffeParser.h: No such file or directory
#include "NvCaffeParser.h"
^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:84: nvdsinfer_yolo_engine.o] Error 1
make[1]: Leaving directory '/home/alp2080/Projects/vehicle_tracking_deepstream/3pp/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo'
make: *** [Makefile:58: subsystem] Error 2

File does not exist: yolov4-tiny-bus-car.cfg YOLO config file or weights file is not exist

my other deepstream apps work, but this one seems to have an issue.

`/bin/vehicle-tracking-deepstream test002.h264 output.mp4

(gst-plugin-scanner:11361): GStreamer-WARNING **: 11:16:03.004: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:11361): GStreamer-WARNING **: 11:16:03.013: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory

(vehicle-tracking-deepstream:11360): GLib-GObject-WARNING **: 11:16:03.248: g_object_set_is_valid_property: object class 'nvv4l2h264enc' has no property named 'preset-level'

(vehicle-tracking-deepstream:11360): GLib-GObject-WARNING **: 11:16:03.248: g_object_set_is_valid_property: object class 'nvv4l2h264enc' has no property named 'insert-sps-pps'

(vehicle-tracking-deepstream:11360): GLib-GObject-WARNING **: 11:16:03.248: g_object_set_is_valid_property: object class 'nvv4l2h264enc' has no property named 'bufapi-version'
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-6.0/lib/libnvds_nvmultiobjecttracker.so
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
[NvMultiObjectTracker] Initialized
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:1484 Deserialize engine failed because file path: /home/raider/Desktop/LAB WORK ONLY/vehicle_tracking_deepstream/cfg/../models/model_b1_gpu0_fp16.engine open error
0:00:00.799213009 11360 0x5649d0e10a00 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 :/home/raider/Desktop/LAB WORK ONLY/vehicle_tracking_deepstream/cfg/../models/model_b1_gpu0_fp16.engine failed
0:00:00.799243882 11360 0x5649d0e10a00 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 :/home/raider/Desktop/LAB WORK ONLY/vehicle_tracking_deepstream/cfg/../models/model_b1_gpu0_fp16.engine failed, try rebuild
0:00:00.799251389 11360 0x5649d0e10a00 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
File does not exist: yolov4-tiny-bus-car.cfg
YOLO config file or weights file is not exist
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:724 Failed to create network using custom network creation function
ERROR: ../nvdsinfer/nvdsinfer_model_builder.cpp:789 Failed to get cuda engine from custom library API
0:00:00.799530179 11360 0x5649d0e10a00 ERROR nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1934> [UID = 1]: build engine file failed
0:00:00.799543526 11360 0x5649d0e10a00 ERROR nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2020> [UID = 1]: build backend context failed
0:00:00.799548510 11360 0x5649d0e10a00 ERROR nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1257> [UID = 1]: generate backend failed, check config file settings
0:00:00.799719833 11360 0x5649d0e10a00 WARN nvinfer gstnvinfer.cpp:841:gst_nvinfer_start: error: Failed to create NvDsInferContext instance
0:00:00.799724910 11360 0x5649d0e10a00 WARN nvinfer gstnvinfer.cpp:841:gst_nvinfer_start: error: Config file path: cfg/pgie_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
[NvMultiObjectTracker] De-initialized
ERROR from element primary-nvinference-engine : Failed to create NvDsInferContext instance
Error details: gstnvinfer.cpp(841): gst_nvinfer_start (): /GstPipeline:Vehicle-Tracking-Pipeline/GstNvInfer:primary-nvinference-engine:
Config file path: cfg/pgie_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
N NE SE SV NV
N 0 0 0 0 0
NE 0 0 0 0 0
SE 0 0 0 0 0
SV 0 0 0 0 0
NV 0 0 0 0 0
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.