Skip to content

OpenCV (C++) code that uses blob detection and background modelling to detect a possible suicide attempt

Notifications You must be signed in to change notification settings

SaranshKejriwal/Suicide_Detect_Railway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Suicide_Detect_Railway

OpenCV (C++) code that uses blob detection and background modelling to detect a possible suicide attempt

Demo available on https://www.youtube.com/watch?v=pz3rC0eaC2U

The algorithm works for well for open tracks. It involves the following steps:

-Create rectangular ROI at the track center -Blur the ROI so as to neglect minor track jitter -perform background subtraction -enclose larger foreground contours in rects -if rect area exceeds a threshold, and it is located between the tracks, putText()

The model and ROI have been calibrated according to the video available in the repo. The shell file can be used on Linux systems with OpenCV 2.4+ and gpp.

About

OpenCV (C++) code that uses blob detection and background modelling to detect a possible suicide attempt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published