my setup
NVIDIA Orin NX Developer Kit - Jetpack 5.1.1 [L4T 35.3.1]
Platform:
- Distribution: Ubuntu 20.04 focal
- Release: 5.10.104-tegra
Libraries: - CUDA: 11.4.315
- cuDNN: 8.6.0.166
- TensorRT: 8.5.2.2
- VPI: 2.2.7
- Vulkan: 1.3.204
- OpenCV: 4.5.4 - with CUDA: NO
SDK: - Deepstream 6.2
- RabbitMQ
looking for complete guide about enabling msg brokers, in my case rabbitmq, I was successful with enabling analytics and now I would like to receive data about line crossing or roi. Unfortunately I spent 2 days looking for info but finally I cant solve my problem, which is lack of messages send to the topic. I can see connections at the Rabbit console but no message is sent there. I’m using config files and run my app using deepstream-app.
Here are some configs sections I have in my setup:
APP CFG
[sink2]
enable=1
#gpu-id=0
#nvbuf-memory-type=0
source-id=0
#Type - 1=FakeSink 2=EglSink 3=File 4=UDPSink 5=Overlay 6=MsgConvBroker
type=6
msg-conv-config=msgconv_config.txt
#(0): PAYLOAD_DEEPSTREAM - Deepstream schema payload
#(1): PAYLOAD_DEEPSTREAM_MINIMAL - Deepstream schema payload minimal
#(256): PAYLOAD_RESERVED - Reserved type
#(257): PAYLOAD_CUSTOM - Custom schema payload
msg-conv-payload-type=0
msg-broker-proto-lib=/opt/nvidia/deepstream/deepstream-6.2/lib/libnvds_amqp_proto.so
msg-broker-config=cfg_amqp.txt
[nvds-analytics]
enable=1
config-file=config_nvdsanalytics.txt
ANALYTICS CFG
[property]
enable=1
#Width height used for configuration to which below configs are configured
config-width=1280
config-height=720
#osd-mode 0: Dont display any lines, rois and text
#1: Display only lines, rois and static text i.e. labels
#2: Display all info from 1 plus information about counts
osd-mode=2
set OSD font size that has to be displayed
display-font-size=12
[line-crossing-stream-0]
enable=1
class-id=1
line-crossing-Exit=930;200;810;390;1100;440;560;320
mode=balanced
extended=0
[roi-filtering-stream-0]
enable=1
class-id=1
roi-main=860;125;770;350;1045;410;1080;130
inverse-roi=0
[direction-detection-stream-0]
enable=1
#Label;direction;
direction-towards_exit=730;480;100;580
class-id=1
CFG_AMQP.TXT
[message-broker]
hostname = localhost
port = 5672
username = guest
password = guest
exchange = amq.topic
topic = mytopic
amqp-framesize = 131072
#share-connection = 1
AND msgconv_config.txt (taken from example) - which btw I completely don’t understand
[sensor0]
enable=1
type=Camera
id=CAMERA_ID
location=45.293701447;-75.8303914499;48.1557479338
description=“Entrance of Garage Right Lane”
coordinate=5.2;10.1;11.2
[place0]
enable=1
id=1
type=garage
name=XYZ
location=30.32;-40.55;100.0
coordinate=1.0;2.0;3.0
place-sub-field1=walsh
place-sub-field2=lane1
place-sub-field3=P2
[place1]
enable=1
id=1
type=garage
name=XYZ
location=28.47;47.46;1.53
coordinate=1.0;2.0;3.0
place-sub-field1=“C-76-2”
place-sub-field2=“LEV/EV/CP/ADA”
place-sub-field3=P2
[analytics0]
enable=1
id=XYZ
description=“Vehicle Detection and License Plate Recognition”
source=OpenALR
version=1.0
can anybody provide me with some useful example, python app 4 is about specific classes, I have my own model, and just want to count objects that cross the line and got info when ROI is occupied?
Thanks in advance!
Kris