HFIPS-Hand Finger Injury Prevention System

Published Aug 05, 2024
 7 hours to build
 Intermediate

Empowering industries with a visionary Smart Hand Safety System - where technology meets safety, detecting and preventing accidents .

display image

Components Used

SEEEDSTUDIO XIAO ESP32C3
ESP32-C ESP32-C3 Transceiver; 802.11 b/g/n (Wi-Fi, WiFi, WLAN), Bluetooth® 5.x (BLE) 2.4GHz Evaluation Board
1
Description

HFIPS-Hand Finger Injury Prevention System

Imagine a world where every hand movement is safeguarded. Our HFIPS-Hand Finger Injury Prevention System arose from a passion for innovation and a commitment to industrial well-being. By integrating cutting-edge technologies like computer vision and IoT, it doesn't just detect hands; it prevents accidents before they occur. It's not just a project; it's a promise to redefine safety standards. Because in a world where progress never stops, neither should safety. Welcome to the future of secure industrial landscapes. Welcome to a safer tomorrow!

Why did I decide to make it?

The inception of the HFIPS was fueled by a stark reality: while established industries boast robust safety standards, small-scale enterprises often grapple with minimal safety measures. In these settings, workers, frequently sole breadwinners, lack insurance, rendering them vulnerable to economic fallout from injuries. Recognizing the ripple effect on families and the financial impact on industries due to machine downtime, the project emerged as a crusade to bridge this safety divide. By harnessing cutting-edge technologies, it seeks to empower smaller enterprises, ensuring the well-being of workers and safeguarding the economic backbone of families and industries alike.

How does it work?

  • Hand Detection:
    Utilizes the Mediapipe library to detect and track hands in the video stream.
    Defines a function detect_hands to extract bounding box coordinates for each detected hand.
  • Drawing Hand Boxes and Safety Circle:
    Uses OpenCV to draw rectangles around detected hands (draw_hand_boxes function) and a safety circle (draw_safety_circle function) on the video frame.
  • Safety Boundary Check:
    Implements the is_hand_touching_circle function to check if a hand breaches the manually set safety boundary.
    Considers both corner points and sides of the bounding box for precise boundary detection.
  • Visual Feedback:
    Displays real-time video feed with hand detection and safety circle on the screen.
    If a hand breaches the safety boundary, it overlays a transparent red color on the frame and triggers a beep sound.
  • Safety Breach Alert:
    If a hand is detected breaching the safety circle, it prints "Hand detected" in the console and displays "Safety breach!" on the video frame.                                           
Codes

Downloads

Hand Flowchart Download
Comments
Ad