-
Notifications
You must be signed in to change notification settings - Fork 892
Update README.md #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update README.md #54
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,96 +1,86 @@ | ||||||||||||||||||||||||||||||||||||||||
<img width="3188" height="1202" alt="frame (3)" src="https://github.com/user-attachments/assets/517ad8e9-ad22-457d-9538-a9e62d137cd7" /> | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# [Project Name] 🎯 | ||||||||||||||||||||||||||||||||||||||||
# Snap Shield 🎯 | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
## Basic Details | ||||||||||||||||||||||||||||||||||||||||
### Team Name: [Name] | ||||||||||||||||||||||||||||||||||||||||
### Team Name: Pixel pada | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
### Team Members | ||||||||||||||||||||||||||||||||||||||||
- Team Lead: [Name] - [College] | ||||||||||||||||||||||||||||||||||||||||
- Member 2: [Name] - [College] | ||||||||||||||||||||||||||||||||||||||||
- Member 3: [Name] - [College] | ||||||||||||||||||||||||||||||||||||||||
- Team Lead: Alphin - MACE | ||||||||||||||||||||||||||||||||||||||||
- Member 2: Anuranj -MACE | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
### Project Description | ||||||||||||||||||||||||||||||||||||||||
[2-3 lines about what your project does] | ||||||||||||||||||||||||||||||||||||||||
Snap shield is a comedic yet functional eye-closure detection system that uses AI to watch your eyelids. If you blink too often or keep your eyes shut for too long, it blasts a song and turns off an LED through an ESP32 — perfect for turning naps into dramatic events. | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
### The Problem (that doesn't exist) | ||||||||||||||||||||||||||||||||||||||||
[What ridiculous problem are you solving?] | ||||||||||||||||||||||||||||||||||||||||
Sometimes, when you accidentally fall asleep, nothing fun happens. You just… sleep. That’s boring. | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
### The Solution (that nobody asked for) | ||||||||||||||||||||||||||||||||||||||||
[How are you solving it? Keep it fun!] | ||||||||||||||||||||||||||||||||||||||||
We use AI-powered eyelid tracking to detect suspicious sleep attempts and instantly launch a wake-up concert, complete with LED theatrics. Your naps will never be peaceful again. | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
## Technical Details | ||||||||||||||||||||||||||||||||||||||||
### Technologies/Components Used | ||||||||||||||||||||||||||||||||||||||||
For Software: | ||||||||||||||||||||||||||||||||||||||||
- [Languages used] | ||||||||||||||||||||||||||||||||||||||||
- [Frameworks used] | ||||||||||||||||||||||||||||||||||||||||
- [Libraries used] | ||||||||||||||||||||||||||||||||||||||||
- [Tools used] | ||||||||||||||||||||||||||||||||||||||||
Languages: Python, Arduino C++ | ||||||||||||||||||||||||||||||||||||||||
Frameworks: MediaPipe, OpenCV | ||||||||||||||||||||||||||||||||||||||||
Libraries: mediapipe, opencv-python, pygame, pyserial, scipy | ||||||||||||||||||||||||||||||||||||||||
Tools: Arduino IDE, Python 3.x | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
For Hardware: | ||||||||||||||||||||||||||||||||||||||||
- [List main components] | ||||||||||||||||||||||||||||||||||||||||
- [List specifications] | ||||||||||||||||||||||||||||||||||||||||
- [List tools required] | ||||||||||||||||||||||||||||||||||||||||
Controller: ESP32 WROOM Board | ||||||||||||||||||||||||||||||||||||||||
Output Device: LED (with resistor) | ||||||||||||||||||||||||||||||||||||||||
Power Supply: USB (5V) | ||||||||||||||||||||||||||||||||||||||||
Other Tools: Breadboard, jumper wires | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
### Implementation | ||||||||||||||||||||||||||||||||||||||||
For Software: | ||||||||||||||||||||||||||||||||||||||||
# Installation | ||||||||||||||||||||||||||||||||||||||||
[commands] | ||||||||||||||||||||||||||||||||||||||||
pip install opencv-python mediapipe pygame pyserial scipy | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# Run | ||||||||||||||||||||||||||||||||||||||||
[commands] | ||||||||||||||||||||||||||||||||||||||||
python blink_beats.py | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
### Project Documentation | ||||||||||||||||||||||||||||||||||||||||
For Software: | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# Screenshots (Add at least 3) | ||||||||||||||||||||||||||||||||||||||||
Comment on lines
47
to
50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Unify documentation headings under a consistent hierarchy. “Project Documentation” (H3) should contain H4/H5 children; several child sections are H1s. This aligns with MD001 and improves TOC rendering. -### Project Documentation
-For Software:
-
-# Screenshots (Add at least 3)
+### Project Documentation
+#### Software
+
+#### Screenshots (at least 3)
-# Diagrams
+#### Diagrams
-# Schematic & Circuit
+##### Schematic & Circuit
@@
-# Build Photos
+##### Build Photos
@@
-### Project Demo
+## Project Demo Also applies to: 57-57, 62-66, 73-73 🧰 Tools🪛 markdownlint-cli2 (0.17.2)47-47: Heading levels should only increment by one level at a time (MD001, heading-increment) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Add caption explaining what this shows* | ||||||||||||||||||||||||||||||||||||||||
[Real-time eyelid tracking using MediaPipe.](https://github.com/a-nuranj/anuranj/blob/main/Sleepy%20Detector%2009-08-2025%2005_02_31.png) | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Add caption explaining what this shows* | ||||||||||||||||||||||||||||||||||||||||
[Detection triggered after 3 rapid closures.](https://github.com/a-nuranj/anuranj/blob/main/Screenshot%202025-08-09%20050531.png) | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Add caption explaining what this shows* | ||||||||||||||||||||||||||||||||||||||||
[Song plays and LED turns off when sleep detected.](https://github.com/a-nuranj/anuranj/blob/main/Screenshot%202025-08-09%20050611.png) | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# Diagrams | ||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Add caption explaining your workflow* | ||||||||||||||||||||||||||||||||||||||||
Snap shield workflow: Eye detection → Blink count logic → Song trigger → ESP32 LED control. | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
For Hardware: | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# Schematic & Circuit | ||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Add caption explaining connections* | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Add caption explaining the schematic* | ||||||||||||||||||||||||||||||||||||||||
https://github.com/a-nuranj/anuranj/blob/main/WhatsApp%20Image%202025-08-09%20at%2005.10.22_b8beafa9.jpg | ||||||||||||||||||||||||||||||||||||||||
Connections between ESP32, LED, resistor, and GND. | ||||||||||||||||||||||||||||||||||||||||
Comment on lines
+63
to
+64
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Avoid bare URL and embed schematic image (MD034). Also add a clear caption. -https://github.com/a-nuranj/anuranj/blob/main/WhatsApp%20Image%202025-08-09%20at%2005.10.22_b8beafa9.jpg
-Connections between ESP32, LED, resistor, and GND.
+
+Connections between ESP32, LED, resistor, and GND. 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.17.2)63-63: Bare URL used (MD034, no-bare-urls) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
# Build Photos | ||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*List out all components shown* | ||||||||||||||||||||||||||||||||||||||||
[LED](https://github.com/a-nuranj/anuranj/blob/main/WhatsApp%20Image%202025-08-09%20at%2005.19.09_6af1bd64.jpg) | ||||||||||||||||||||||||||||||||||||||||
[Resistor](https://github.com/a-nuranj/anuranj/blob/main/WhatsApp%20Image%202025-08-09%20at%2005.19.10_dc262e0a.jpg) | ||||||||||||||||||||||||||||||||||||||||
[esp32 WROOM](http://github.com/a-nuranj/anuranj/blob/main/WhatsApp%20Image%202025-08-09%20at%2005.19.10_af895e05.jpg) | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Explain the build steps* | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||
*Explain the final build* | ||||||||||||||||||||||||||||||||||||||||
!Final](https://github.com/a-nuranj/anuranj/blob/main/WhatsApp%20Image%202025-08-09%20at%2005.10.22_b8beafa9.jpg) | ||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix malformed image syntax; also avoid bare URL (MD034). Missing opening bracket after the exclamation mark breaks rendering. -!Final](https://github.com/a-nuranj/anuranj/blob/main/WhatsApp%20Image%202025-08-09%20at%2005.10.22_b8beafa9.jpg)
+ 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.17.2)71-71: Bare URL used (MD034, no-bare-urls) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
### Project Demo | ||||||||||||||||||||||||||||||||||||||||
# Video | ||||||||||||||||||||||||||||||||||||||||
[Add your demo video link here] | ||||||||||||||||||||||||||||||||||||||||
*Explain what the video demonstrates* | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
(https://www.youtube.com/watch?v=FN2iBmGGBCI) | ||||||||||||||||||||||||||||||||||||||||
when eye blink for 3 times music starts to play and led turns off . If eye opens led turns ON and music stops playing. | ||||||||||||||||||||||||||||||||||||||||
# Additional Demos | ||||||||||||||||||||||||||||||||||||||||
[Add any extra demo materials/links] | ||||||||||||||||||||||||||||||||||||||||
[https://www.youtube.com/watch?v=g2KgJIACXjU] | ||||||||||||||||||||||||||||||||||||||||
when eye closed for more than 10sec , music starts to play and led gets turned off | ||||||||||||||||||||||||||||||||||||||||
Comment on lines
73
to
+79
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Normalize heading level; fix bare URLs and grammar (MD001, MD034).
-### Project Demo
-# Video
-(https://www.youtube.com/watch?v=FN2iBmGGBCI)
-when eye blink for 3 times music starts to play and led turns off . If eye opens led turns ON and music stops playing.
-# Additional Demos
-[https://www.youtube.com/watch?v=g2KgJIACXjU]
-when eye closed for more than 10sec , music starts to play and led gets turned off
+## Project Demo
+### Video
+[YouTube: Snap Shield Demo](https://www.youtube.com/watch?v=FN2iBmGGBCI)
+When eyes blink 3 times rapidly, music starts playing and the LED turns off. When eyes open, the LED turns on and the music stops.
+### Additional Demos
+[YouTube: Extended demo](https://www.youtube.com/watch?v=g2KgJIACXjU)
+When eyes remain closed for more than 10 seconds, music starts playing and the LED turns off. 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.17.2)73-73: Heading levels should only increment by one level at a time (MD001, heading-increment) 75-75: Bare URL used (MD034, no-bare-urls) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
## Team Contributions | ||||||||||||||||||||||||||||||||||||||||
- [Name 1]: [Specific contributions] | ||||||||||||||||||||||||||||||||||||||||
- [Name 2]: [Specific contributions] | ||||||||||||||||||||||||||||||||||||||||
- [Name 3]: [Specific contributions] | ||||||||||||||||||||||||||||||||||||||||
Anuranj-hardware,documentation | ||||||||||||||||||||||||||||||||||||||||
Alphin-coding,documentation | ||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
--- | ||||||||||||||||||||||||||||||||||||||||
Made with ❤️ at TinkerHub Useless Projects | ||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Fix heading levels and add code fences for install/run (MD001).
Headings jump levels and commands aren’t fenced; this hurts readability and violates markdownlint MD001.
🤖 Prompt for AI Agents