Code Monkey home page Code Monkey logo

deepstream-yolov7-triton-server-rtsp-out's Introduction

Sample Application deepstream-yolov7-triton-server-rtsp-out

The Purpose of this repository is to create a Deepstream/Triton-Server sample application that utilizes YOLOv7 models to perform inference on video files or RTSP streams. It then showcases the output on an RTSP URL, providing a straightforward demonstration of end-to-end AI processing.

Follow this steps to Use this Sample App

1. Deploy and Start Triton Server

Follow the steps on below link to Start Triton Server
Triton Server - YOLOV7.

2. Deploy and Start Deepstream

Follow the steps on below link to Start Deepstream
Deepstream - YOLOV7.

3. Using Sample Application deepstream-yolov7-triton-server-rtsp-out

To use this sample application, follow the steps below from within the container:

The sample application is installed on /deepstream_python_apps/apps/deepstream-yolov7-triton-server-rtsp-out/

This sample application supports input streaming from both file:// and rtsp:// sources. It processes the input and streams the output via RTSP at the following URL: rtsp://localhost:8554/ds-test

python3 deepstream_yolov7-triton-server_rtsp_out.py -i <input_files> -m <model> -c <codec> -b <bitrate> [--rtsp-ts]

#example
python3 deepstream_yolov7-triton-server_rtsp_out.py  \
-i file:///videos/input.mp4 rtsp://myserver:554  \
-m  yolov7_qat \
-c H264   

Arguments

  • -i, --input: Path to input file:// or rtsp:// elementary stream. Multiple input files can be provided.
  • -m, --model: Choose between 'yolov7' or 'yolov7_qat'. (Default: 'yolov7_qat')
  • -c, --codec: RTSP Streaming Codec. Choose between H264 and H265. (Default: H264)
  • -b, --bitrate: Set the encoding bitrate. (Default: 4000000)
  • --rtsp-ts: Attach NTP timestamp from RTSP source. (Default: False)




deepstream-yolov7-triton-server-rtsp-out's People

Contributors

levipereira avatar

Watchers

 avatar

Forkers

soon14

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.