refer to the line: https://developer.ridgerun.com/wiki/index.php?title=GstShark_-_Getting_Started "$ git clone https://github.com/RidgeRun/gst-shark/ $ sudo apt install graphviz libgraphviz-dev $ sudo apt install octave epstool babeltrace $ sudo apt-get update -y $ sudo apt-get install -y gtk-doc-tools $ ./autogen.sh --prefix /usr/ --libdir /usr/lib/aarch64-linux-gnu/ $ make $ sudo make install" gst-launch-1.0 filesrc location=geo-fencing-demo.mp4 ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! adrt model=mobilenetSSDv2_geofencing.engine batch=1 device=0 scale=0.008 mean="127 127 127" rgbconv=true ! adtrans_ssd max-count=5 label=adlink-mobilenetSSDv2-geo-fencing-label.txt threshold=0.1 ! geofencebase alert-area-def=alert-def-area-geo.txt area-display=true person-display=true alert-type=geofence ! email_alert alert-type=geofence receiver-address=youremail@domain.com ! voice_alert alert-type=geofence ! videoconvert ! xvimagesink gst-launch-1.0 filesrc location="/home/adlink/Desktop/demo1.mp4" ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! adrt model="/home/adlink/Desktop/EVA Sample/EVA_IDE/model/ssd_mobilenetv2-b1.engine.engine" device=0 scale=0.008 mean="127 127 127" rgbconv=True ! adtrans_ssd max-count=5 threshold=0.1 label="/home/adlink/Desktop/EVA Sample/EVA_IDE/model/ssd_mobilenetv2_RT_labels.txt" ! geofencefoot alert-area-def="/home/adlink/Desktop/EVA_Show-Case/src/demo/geofence/demo.txt" area-display=True person-display=True alert-type="geofence" ! email_alert alert-type="geofence" receiver-address="kevinyw.lin@adlinktech.com" ! videoconvert ! xvimagesink gst-launch-1.0 filesrc location="/home/adlink/Desktop/demo1.mp4" ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! adrt model="/home/adlink/Desktop/EVA Sample/EVA_IDE/model/ssd_mobilenetv2-b1.engine" batch=1 device=0 scale=0.0078 mean="0 0 0" norm=false ! adtrans_ssd label="/home/adlink/Desktop/EVA Sample/EVA_IDE/model/ssd_mobilenetv2_RT_labels.txt" ! admetadrawer ! videoconvert ! xvimagesink ===demo onnx=== gst-launch-1.0 filesrc location="/home/adlink/Desktop/person/test.mp4" ! qtdemux ! h264parse ! avdec_h264 ! videoscale ! capsfilter caps="video/x-raw, height=(int)480, width=(int)640" ! videoconvert ! adonnx mean="0,0,0" model="/home/adlink/Desktop/person/model.onnx" rgbconv=true ! adtrans_tinyyolov2_py input-height=512 input-width=512 class-num=1 label-file="/home/adlink/Desktop/person/labels.txt" threshold=0.245 ! admetadrawer ! videoconvert ! xvimagesink ===demo save mp4=== gst-launch-1.0 filesrc location="/home/adlink/Desktop/person/test.mp4" ! qtdemux ! h264parse ! avdec_h264 ! videoscale ! capsfilter caps="video/x-raw, height=(int)480, width=(int)640" ! videoconvert ! adonnx mean="0,0,0" model="/home/adlink/Desktop/person/model.onnx" rgbconv=true ! adtrans_tinyyolov2_py class-num=1 label-file="/home/adlink/Desktop/person/labels.txt" threshold=0.245 ! admetadrawer ! videoconvert ! 'video/x-raw, format=(string)UYVY' ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! nvv4l2h264enc ! h264parse ! matroskamux ! filesink location=demo_adlink.mkv === onnx runtime === gst-launch-1.0 filesrc location=test.mp4 ! qtdemux ! h264parse ! avdec_h264 ! videoscale ! capsfilter caps="video/x-raw, height=(int)480, width=(int)640" ! videoconvert ! adonnx mean="0,0,0" model=model.onnx rgbconv=true scale=0.004 ! adtrans_tinyyolov2_py class-num=1 label-file=labels.txt threshold=0.3 input-height=512 input-width=512 ! admetadrawer ! videoconvert ! xvimagesink === RTSP camera === gst-launch-1.0 pylonsrc fps=10 binningh=2 binningv=2 ! videoconvert ! nvvideoconvert ! nvv4l2h265enc ! rtspclientsink location=rtsp://localhost:8554/test === RTSP video === gst-launch-1.0 filesrc location="~/Desktop/EVA_Show-Case/src/demo/geofence/geo-fencing-demo.mp4" ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! adrt model=mobilenetSSDv2_geofencing.engine batch=1 device=0 scale=0.008 mean="127 127 127" rgbconv=true ! adtrans_ssd max-count=5 label=adlink-mobilenetSSDv2-geo-fencing-label.txt threshold=0.1 ! geofencebase alert-area-def=alert-def-area-geo.txt area-display=true person-display=true alert-type=geofence ! email_alert alert-type=geofence receiver-address=swf33560@eoopy.com ! videoconvert ! nvvideoconvert ! nvv4l2h265enc ! rtspclientsink location=rtsp://localhost:8554/test ===1080p RTSP lantency=== GST_DEBUG="GST_TRACER:7" GST_TRACERS="proctime" gst-launch-1.0 pylonsrc fps=20 width=1920 height=1080 ! videoconvert ! adrt model=mobilenetSSDv2_geofencing.engine batch=1 device=0 scale=0.008 mean="127 127 127" rgbconv=true ! adtrans_ssd max-count=5 label=adlink-mobilenetSSDv2-geo-fencing-label.txt threshold=0.1 ! geofencebase alert-area-def=alert-def-area-geo.txt area-display=true person-display=true alert-type=geofence ! email_alert alert-type=geofence receiver-address=swf33560@eoopy.com ! videoconvert ! nvvideoconvert ! nvv4l2h265enc ! rtspclientsink location=rtsp://localhost:8554/test --gst-debug-no-color=1 2>&1 | grep "proctime" > JNX_1920x1080_rtsp_geofence.txt ===720p RTSP lantency=== GST_DEBUG="GST_TRACER:7" GST_TRACERS="proctime" gst-launch-1.0 pylonsrc fps=20 width=1280 height=720 ! videoconvert ! adrt model=mobilenetSSDv2_geofencing.engine batch=1 device=0 scale=0.008 mean="127 127 127" rgbconv=true ! adtrans_ssd max-count=5 label=adlink-mobilenetSSDv2-geo-fencing-label.txt threshold=0.1 ! geofencebase alert-area-def=alert-def-area-geo.txt area-display=true person-display=true alert-type=geofence ! email_alert alert-type=geofence receiver-address=swf33560@eoopy.com ! videoconvert ! nvvideoconvert ! nvv4l2h265enc ! rtspclientsink location=rtsp://localhost:8554/test --gst-debug-no-color=1 2>&1 | grep "proctime" > JNX_1280x720_rtsp_geofence.txt