Although violent situations in cap are taking place quite often, there is no system which notifies the emergencies automatically. So, we embodied our idea to solve that issue using only image data taking advantages of Openpose(Zhe et al.), Deepsort(Nicholas et al.).
Clone
!git clone https://github.com/hsk9767/Abnormal-Situation-Detection-in-Cap.git
Download Model : Google Drive
Download two files in shared google drive to ./default_checkpoints
Run Demo
run demo.py --video path/to/video(image) --checkpoint-path default_checkpoints/checkpoint_iter_147000.pth
For the --video argument, you can use device number for like web cam.
To save every processed images, you can set --save-path keyword.
It will save images as frame_number(from 0).png
Click Here to watch sample videos.