The Introvert Hat

About the project

A hat that warns you when people are in your general vicinity

Project info

Difficulty: Easy

Platforms: Python

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Any sort of webcam Any sort of webcam x 1

Software apps and online services

yolov5 framework yolov5 framework This is the computer vision

Story

So I absolutely despise people coming up to talk to me... it's the worst. So I made a hat that has GLaDOS say the phrase "Warning social interaction ahead" whenever it sees a person... genius. 


The hat runs on the YOLOv5 framework and that does most of the heavy lifting. All I added really was the code for the hat to react to people specifically. The two files that you should look for are the detectHat2.py and the Hat2.py programs. 


To download the yolov5 framework to your computer, follow the instructions at this link

https://github.com/ultralytics/yolov5


Once downloaded and you copy the code from my repo, run the script "runHat2.py"  to run the code

Code

Introvert Hat

Credits

Photo of raymie

raymie

I make horribly dumb projects.

   

Leave your feedback...