Integrating YOLO and large language models for context-aware violence detection in surveillance videos
In intelligent surveillance scenarios, the timely detection of violent conflicts and the automated generation of incident reports are critical for improving safety monitoring and emergency response. Complex backgrounds, rapid motion, and strict real-time requirements make such tasks difficult for conventional detection models. This study proposes an optimized deep learning approach for violence detection integrated with an asynchronous Large Language Model (LLM) reporting pipeline. The detection framework enhances spatial feature representation using a Receptive Field Attention mechanism, improving the capture of irregular human postures during physical altercations. To bridge the gap between visual detection and semantic reporting, a three-step processing pipeline is introduced. A high-precision visual capture module first identifies conflicts using YOLO detection. A state machine debounce mechanism then evaluates temporal continuity to prevent false triggers. Finally, a multi-thread asynchronous delivery system queues event data for a background Gemma 4 model to generate formal English academic reports in Markdown format without interrupting continuous frame ingestion in the primary monitoring loop. Experiments on curated violence datasets demonstrate improved detection performance in complex scenarios. The integrated system successfully generates accurate, structured reports, confirming its suitability for modern safety monitoring applications.
Authors
- Weijun Li (ORCID: https://orcid.org/0009-0004-3121-3583)
- Zuochan Lin
- Le Wu
Institutions
- Fujian Police College (CN)
Publication Details
- Journal
- Discover Artificial Intelligence
- Published
- 2026-12-02
- DOI
- https://doi.org/10.1007/s44163-026-02943-0
- Primary Topic
- Human Pose and Action Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00