Skip to content

Detects the abnormal behaviors of passengers on a ship so we can prevent accidents from occurring

Notifications You must be signed in to change notification settings

Arakim44/HAAR_DeepModel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOGO

Contributors Forks Stargazers Issues MIT License

HAAR(Human Abnormal Activity Recognition) DeepModel (v.0.5)

Open Source Algorithm For Detecting Ship Passengers’ Abnormal Behaviors And Fall Accidents

Preventing accidents on ships and alerting for help is the goal of the detection algorithm. Prevent more accidents, save more lives.

Table of Contents
  1. About The Project
  2. Requirenments
  3. Getting Started
  4. License
  5. Acknowledgments

About The Project

Open Source CCTV-based AI algorithm which detects the abnormal behaviors of passengers on the ship to predict possible accidents and warn the onboard sailors. When the CCTV catches any abnormal behavior, the algorithm will detect the incidents and alert the current accident location to nearby coast guards in real-time to increase the rescue rate for the fallen passengers.

We defined activity of ship-passenger. (normal, abnormal)
[Walking, Lean-railing, Sit-down, Smoking, Move-Over, Standing ... ]

Demo Reel of the Model

Check out list of categories of behaviors of the passengers here

  1. Walking

    walking-animated

  2. Move Over #1

    moveover1-animated

  3. Move Over #2

    moveover2-animated

(back to top)

Requirements

  • Cuda, Cudnn : Cuda support GPU Device (We implemented RTX 3090)
  • Detectron 2
    • Linux or macOS with Python ≥ 3.7
    • PyTorch ≥ 1.8 and torchvision that matches the PyTorch installation. Install them together at pytorch.org to make sure of this
    • OpenCV is optional but needed by demo and visualization
    • See Detectron Install.md
  • AdelaiDet

Download pretrain Model : Key-Point

Download pretrain Model : Faster-RCNN

Download pretrain Model : Retinanet

(back to top)

Getting Started

The model can be started by executing haar_demo.py in /HAAR_Demo directory.

[Sample Run Script] (use custom model)

python HAAR_Demo/haar_demo.py \
--video-input ./HAAR_Demo/cctv_demo.mp4 \
--opts MODEL.WEIGHTS ./models/mymodel.pth

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

(back to top)

About

Detects the abnormal behaviors of passengers on a ship so we can prevent accidents from occurring

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.0%
  • Cuda 3.2%
  • C++ 2.3%
  • Shell 0.4%
  • Dockerfile 0.1%
  • Makefile 0.0%