Adding new variables to NvDsVehicleObject Struct Reference

I’m not sure what happened, it looks like your DeepStream has some installation issues.

Please try reinstalling or using Docker, or upgrading to DS-7.0.

Yes I did try using docker, everything is fine in docker but I faced a new issue when I tried to containerize, I have raised a new forum about it.

This is the new issue I am facing.

  1. How did you start docker? Can share your command line?

Generally speaking, the --net=host parameter will directly use the host’s network for communication.

  1. If you want to communicate between different dockers, please refer to the docker documentation Networking overview | Docker Docs

docker run --volume video_volume --volume video_volume -e video=video.mp4 --gpus all --network dock-db-test -it ae10514a69f6 bash

BTW I was able to ping postgres and kafka in my second container after I created the network.

ping kafka_docker
PING kafka_docker (172.22.0.2) 56(84) bytes of data.
64 bytes from test-kafka_docker-1.dock-db-test (172.22.0.2): icmp_seq=1 ttl=64 time=0.135 ms
64 bytes from test-kafka_docker-1.dock-db-test (172.22.0.2): icmp_seq=2 ttl=64 time=0.091 ms

ping postgres
PING postgres (172.22.0.3) 56(84) bytes of data.
64 bytes from test-postgres-1.dock-db-test (172.22.0.3): icmp_seq=1 ttl=64 time=0.153 ms
64 bytes from test-postgres-1.dock-db-test (172.22.0.3): icmp_seq=2 ttl=64 time=0.062 ms

The docker network is another problem. Please test it in the same docker.

# start docker and run the kafka server
docker run --gpus all -it --rm --name for-kafka-test --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.4 nvcr.io/nvidia/deepstream:6.4-gc-triton-devel

# open a new terminal run deepstream-test-4.py, if you need more terminal for the docker, execute it again
docker exec -it for-kafka-test  bash