Challenges and Observations Using VSS 2.4 Blueprint and Cosmos API for Real-Time Sports Event Detection

We recently experimented with the VSS 2.4 blueprint for one of our use cases and explored the Cosmos API on build.nvidia.com, as well as video processing and RTSP stream processing capabilities provided through the VSS blueprint. Unfortunately, the results did not meet our expectations.

Use Case

Our objective is to process live video streams to detect key moments in sports events—such as goals and yellow cards in soccer matches, and similarly significant moments in football games. Based on these detections, we aim to extract short clips of these key moments from the source streams, with near real-time detection being a critical requirement.

Experiments and Observations

  • Cosmos API: We tested the cosmos-reason1-7b API available on build.nvidia.com. Prompts used and model outputs are included in the attached file cosmos_api.zip.

  • VSS RTSP Stream Processing: Prompts and outputs from RTSP stream processing are provided in RTSP_stream.zip, along with manual observations in soccer_sample_video_manual_observations.docx.

  • VSS Video Processing: Prompts and outputs from video upload processing are included in video_upload.zip, along with manual observations in the same Excel file mentioned above.

Detailed observations are documented in “Observations from using VSS 2.4.docx”, which also contains Google Drive links to the sample videos used for testing.

Additionally, consolidated queries related to leveraging the VSS blueprint for this use case are included in “VSS Queries.docx.”

Key Issues Identified

  • High rate of false positives and low true positives in event detection.

  • Timestamps do not accurately cover the entire event duration.

  • Descriptions lack team names, player names, and jersey numbers—or when present, they are often incorrect.

  • Using a single prompt for multiple event types introduces ambiguity, leading to incorrect detections. Not able to try elaborate prompt due VSS prompt character limit of 5,000.

  • Chat API responses are inconsistent with summaries; event and chunk timestamps are inaccurate.

  • How can we automate the ‘Generate Scenario Highlight’ feature available through the Gradio UI? We attempted enabling the highlight parameter via the Chat API, but the output was nearly identical to the version with the parameter disabled.

We would greatly appreciate any guidance or best practices for improving detection accuracy and timestamp alignment using the VSS blueprint and Cosmos API for real-time sports analytics.

Thank you for taking the time to review these observations and queries. Your support is highly valued.

Required information:

I carefully reviewed all the files you provided. The Cosmos API, File Summarization , and Live Stream Summarization methods yielded similar results. Changing the chunk_size did not improve the results.

Thus, the current issue may be due to the accuracy of the VLM. The VLM output prevents RAG/LLM from providing accurate event results.

Some suggestions

  1. Use ASR to detect events
  2. Optimize the tracker in the CV pipeline for sports scenes, and use it with RAG to improve accuracy
  3. Fine-tune the VLM model to improve accuracy in sports scenes

When calling /chat/completions, did you set the highlight parameter to true? In fact, VSS only sets the highlight parameter when calling the /chat/completions API.

In addition to fine-tuning and improving the capabilities of cv pipeline/ASR, Other tips:
A larger VLM model may work better, Try to use remote VLM.
Test the model’s capabilities first. If the model itself is not accurate enough, VSS will not improve the model’s accuracy.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks.