DOI QR코드

DOI QR Code

YOLOv4-based real-time object detection and trimming for dogs' activity analysis

강아지 행동 분석을 위한 YOLOv4 기반의 실시간 객체 탐지 및 트리밍

  • Atif, Othmane (Dept. of Computer Information Science, Korea University) ;
  • Lee, Jonguk (Dept. of Computer Convergence Software, Korea University) ;
  • Park, Daihee (Dept. of Computer Convergence Software, Korea University) ;
  • Chung, Yongwha (Dept. of Computer Convergence Software, Korea University)
  • 오스만 (고려대학교 컴퓨터정보학과) ;
  • 이종욱 (고려대학교 컴퓨터융합소프트웨어학과) ;
  • 박대희 (고려대학교 컴퓨터융합소프트웨어학과) ;
  • 정용화 (고려대학교 컴퓨터융합소프트웨어학과)
  • Published : 2020.11.05

Abstract

In a previous work we have done, we presented a monitoring system to automatically detect some dogs' behaviors from videos. However, the input video data used by that system was pre-trimmed to ensure it contained a dog only. In a real-life situation, the monitoring system would continuously receive video data, including frames that are empty and ones that contain people. In this paper, we propose a YOLOv4-based system for automatic object detection and trimming of dog videos. Sequences of frames trimmed from the video data received from the camera are analyzed to detect dogs and people frame by frame using a YOLOv4 model, and then records of the occurrences of dogs and people are generated. The records of each sequence are then analyzed through a rule-based decision tree to classify the sequence, forward it if it contains a dog only or ignore it otherwise. The results of the experiments on long untrimmed videos show that our proposed method manages an excellent detection performance reaching 0.97 in average of precision, recall and f-1 score at a detection rate of approximately 30 fps, guaranteeing with that real-time processing.

Keywords

Acknowledgement

This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2018R1D1A3B07044938 and NRF-2020R1I1A3070835).