How do I run multiple gstreamer pipeline in parallel?

In the gstreamer pipeline, you need to add a few more parameters to hailonet

hailonet hef-path=$hef_path $device_id_prop batch-size=$batch_size multi-process-service=true device-count=1 vdevice-key=1 !