Transferable Skills Developed

šŸ˜ Collaboration with Other Hackers

šŸ¦œ Public Speaking Abilities

šŸ“… Time Management Skills

šŸ“ Critical Thinking and Problem Solving

Technical Skills Developed

šŸ‘Øā€šŸ’» Python Coding Experience

šŸ’æ Experience with OpenCV and Twilio Libraries

šŸ± Experience with Git and GitHub

šŸ’» Integration with Hardware Components

Full Project Demonstration!


https://www.youtube.com/watch?v=k1GlQNUzvNI

Overview


Our team for DeltaHacks 2024

Our team for DeltaHacks 2024

Blink Twice if You Need Help is a wearable device which facilitates blink detection. Upon blinking twice in a specific time frame, emergency services (which was simulated by my phone) can be called, with information about the userā€™s location being given. This project was split into four parts:

This was my first ever hackathon, and it was a pleasure to complete it with one of my good friends, Gavin Tranquilino!

Project Details


The project began with Gavin using an open source face detection model created in OpenCV to determine if a user had their eyes open or if they were blinking. If the user blinked twice within a hardcoded amount of time, my phone would be called to simulate contacting an emergency number.

A demo of the face tracking model!

A demo of the face tracking model!

detection of blink - 2.png

Gavin wearing our model and testing blinking

Gavin wearing our model and testing blinking

I then used the Twilio service and libraries to send a phone call from my Python script to my phone, which would play a predetermined message. I edited this message to send the users IP address, city, country, and coordinates of longitude and latitude to the person on the other line. Gavin was eventually able to integrate these two functions, where my code was implemented as a function within his.

Implementing this did not come without difficulty, as I had to ensure the coordinates of latitude and longitude, as well as the userā€™s IP address, were communicated slowly enough for an emergency operator to make note of. I also had to ensure the coordinates were read properly, which involved type checking, string stripping, and string concatenation. Sensitive phone numbers and authorization keys also needed to be kept hidden, which Gavin helped me with.

We then progressed to creating our hardware design, which involved connecting cardboard to my baseball hat while supporting the underside with bubble tea straws and barbecue skewers. We attached a webcam to the end of the cardboard, and adjusted its position so it was in line with Gavinā€™s face, and close enough for the model to detect it. We also attached a ring light to the design, as we found that increased lighting conditions led to better results.

Gavin and I programming our project!

Gavin and I programming our project!

Our wearable hat design!

Our wearable hat design!

Our presentations to the DeltaHacks judges were a huge success! We successfully garnered a large amount of interest in our idea due to its unique, head-mounted design, and the future implications of this technology. This included attracting the interest of one employee from the Communications Security Establishment, as well as various DeltaHacks executives and McMaster TAs.

While we ultimately were not selected as one of the ten finalists, Gavin and I were extremely proud of our design, and were intrigued by the potential of this technology in the future!

Limitations


While the technology of blink and object tracking has extremely high potential, we observed various limitations while programming.

A trip to McMasterā€™s iconic Edwards Arch!

A trip to McMasterā€™s iconic Edwards Arch!

Gavin and I attending a GitHub Copilot Workshop!

Gavin and I attending a GitHub Copilot Workshop!

Based on these limitations, as well as our desire to make the most of our experience at DeltaHacks by networking and attending other workshops, we chose to structure our idea as a proof of concept rather than a fully-fledged application