safety-helmet-detection-in-real-time-video icon indicating copy to clipboard operation
safety-helmet-detection-in-real-time-video copied to clipboard

A warning video system of whether the people in the video wear helmet, extending YOLO.

Realtime-Video-Safety-Helmet-Detection

An OpenCV/Qt based realtime application to magnify motion and color in videos and camerastreams

Examples

Color Magnified Video

*Image shows the detection output for a video. In the pictures you can see the proposal frames of helmets and people in different colors.

Motion Magnified Camerastream

Motion Magnified Camerastream

Dependencies

  • Qt >= 5.0
  • OpenCV >= 2.0 (< 3.0 ? -> not tested yet)
  • [CUDA] [CuDnn]
  • [MySQL]

How do I use it?

MainWindow with saving codec menu Motion Magnified Camerastream

Main Window

When succesfully connected to a camera or opened a window, you can draw a box in the video, to scale and only amplify this Region Of Interest in a video source. Setting the video back to normal can be done via menu that opens with a right click in the video. There is also the option to show the unmagnified image besides the processed one.

Right-click Menu in Frame Label Right-click Menu in Frame Label

Save

For saving videos or recording from camera you have to specify the file extension by your own. .avi is well supported. If you should encounter problems, please try a differenct saving codec in the toolbar under File->Set Saving Codec.