|
Raspberry Pi 3 B+ |
x 1 | |
|
Raspberry Pi High Quality Camera |
x 1 | |
|
Robot Accessory SG90 Steering Gear(180°/Angle control) |
x 2 |
|
Python |
Wake up Robot
Almost all of us experienced falling asleep while doing something like reading a book.
so I built a robot that based on face and eyes detection can know you're falling asleep and it can wake you up.
in this project i used eSpeak To give the robot ability to speak and OpenCV for image processing.
eSpeak is a compact open source software speech synthesizer for English and other languages.
OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.
OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products.
Here’s how it works: a Raspberry Pi camera on a servo wanders around at eye level, and the Pi it’s attached to uses OpenCV to determine whether those eyes are open or starting to get heavy using image recognition.
The way image recognition works is we first need to "train" a classifier.
To do this, we generally need to compile a massive set of images of what we're looking to detect (In this case face and eyes). OpenCV already contains many pre-trained classifiers for face, eyes, smile etc. Those XML files are stored in opencv/data/haarcascades/ folder. in this project we need haarcascade_frontalface_alt.xml and haarcascade_eye_tree_eyeglasses.xml.
After training it checks if there is face in the frame or not. then checks if there is opened-eyes or not.
For best results you may need to change detectmultiscale parameters.
Wake up Robot
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Norbert
- Making NFTs with Quantum Computer Name of the World's first NFT was Quantum. However, unlike it's name it has nothing to do with quant...
- Quantum Powered Robot There is so many intelligent robots exist today. However, in the future with the help of quantum com...
- Playing game with Quantum Computer in this Project I am talking about Games for today's Quantum Computers and playing a game between my...
- Connecting a Quantum Computer to an Arduino Quantum Computers seems to be the next big thing in tech.So I decided to connect one of them to the ...
- Control objects with your hand Gesture Controlling digital devices with hand gestures is so cool and you can control things like media, APP...
- Tony Stark style Keyboard In iron man movies you can see tony stark controls his computer with hand gestures, which is so cool...
- Beard Combing Robot There is a robot for almost everything.But there is no robot to comb the beard. That's why I made on...
- Wake up Robot Almost all of us experienced falling asleep while doing something like reading a book.so I built a r...
- Control your computer Like iron man Controlling your computer with a wave of the hand seems like something from science fiction, and for...
- Gesture Controlled MP3Player Touchscreens are great, but they’re not always the perfect solution. Trying to operate one with glov...
- Skip Songs just with Looking! I thought pressing a button or touching a touchscreen to skip songs is too much work ;)What if you c...
- This Robot Loves Money I couldn't find a money tracker robot on the internet so I built one! :)In this project I used a Ras...
- Posture Corrector Robot Its very common to see computer users hunched forwards over a screen, which eventually will lead to ...
-
Build a Walking Robot: Theo Jansen Style 3D Printed Octopod
135 0 3 -
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
141 0 0 -
DIY Laser Power Meter with Arduino
217 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
187 0 2