Inspiration

Walking onto the western campus, one of the first things we noticed was the constant construction across the campus. Construction is one of the most safety-critical fields of work, and introducing new technologies could greatly improve safety on construction sites.

What it does

Spidey Safety Hat listens for alarms, sirens, horns, shouting and crashes, and ignores normal site noise. A camera on the back of the helmet spots people, vehicles and sharp objects and tells the wearer which side they're on. It doesn't nag about coworkers standing nearby, but it speaks up right away when someone falls, comes up behind you or approaches fast. A horn heard together with a vehicle in view counts as one urgent warning. Warnings play through a speaker in plain language, like "Warning! Person down on your left."

How we built it

We used two ready-made models from QNX's open-source site, one for sound and one for vision, and wrote the code that runs them and turns their raw guesses into useful warnings. Almost everything is written in Python, split into separate parts for sound, vision, tracking, the main helmet app, the laptop companion, the database connection and the dashboard. All the AI runs on the Raspberry Pi inside the helmet, so it works without internet. The laptop supplies the microphone, speaker and database connection, and it talks to the Pi over a secure SSH connection: audio goes to the helmet and warnings come back. The database password stays on the laptop, so the helmet never holds it. All the settings, like how sensitive the helmet is and how often it alerts, live in one config file, so we can tune it without changing any code.

Challenges we ran into

Our first challenge was 3D printing the helmet's camera mount. The first SolidWorks model printed too large, so we had to rework the design before it fit properly. On the software side, getting the vision model's bounding-box detection right took a lot of trial and error. The boxes mark where each person or object is in the frame, and we needed them to tell the wearer whether a hazard was to their left, ahead or right. Our "man down" detection was the hardest part, because it kept failing to pick up when someone had fallen. We also had to make the system fail safe, so that if one part dropped out, like the database connection, the helmet would keep running and nothing would be lost. Another problem was that the QNX audio drivers would not work with the USB camera mic, so we had to pivot towards using a laptop microphone.

Accomplishments that we're proud of

We're proud that we built a working smart helmet in one weekend that can both hear and see hazards, with all the AI running on the helmet itself and no internet needed. We got QNX running real-time detection on a Raspberry Pi, and we turned the models' raw guesses into clear spoken warnings, like which side a hazard is on. We're also proud that it combines sound and sight, so a horn heard while a vehicle is in view becomes one urgent warning. On top of that, we built a live safety dashboard that gives supervisors a picture of risk across the whole site. Finally, we designed and 3D printed our own camera mount, which turned a regular hard hat into a working prototype.

What we learned

We learned how QNX can be used for real-time, safety critical systems. We also learned how lightweight AI models running on TensorFlow Lite Runtime can do useful detection on a small device like a Raspberry Pi, with no cloud needed. Just as important, we learned how to work as a team and compromise on design decisions. When QNX wouldn't accept the webcam's built-in microphone, for example, we agreed to use the laptop's mic instead so we could keep moving and finish a working product in time.

What's next for Super Safety Hat

Next, we want to add more sensors to the helmet. An accelerometer would let it tell when the wearer falls, and an ultrasonic distance sensor would measure how close people and objects are. We also plan to add a battery so the helmet works on its own without being tied to a laptop. For warnings, we want to replace our temporary speaker with LEDs or a small screen on the helmet, so the wearer still gets alerts on a loud site.

Built With

Share this project:

Updates

Submission history