Inspiration

I was inspired by an alarm that I had on my android phone years back. It made you do complicated math sums to wake you up.

What it does

This alarm clock will only be stopped once it recognizes the text 'book' in your livestream.

How we built it

Used a javascript code for a simple alarm clock web app and then used the detect text functionality and available code of Google Vision API to recognize a book in your live stream to shut off the alarm tone on clicking 'Stop Alarm'.

Challenges we ran into

I had not used Google vision API before. My initial challenge was to understand the vision API and set it up for the python code. Then, I had to run an external python script from within my JavaScript function, for which I had to use a web framework. I used Flask. Running Python script on clicking an Html button was also a big challenge.

Accomplishments that we're proud of

I am proud that I had to opportunity to learn a new web framework that I had not used before.

What we learned

Vanilla javascript code without any libraries, Google Vision API, Python Flask framework.

What's next for Vision Powered Alarm Clock

Aesthetically pleasing web layout, detect objects, option to select which object to detect.

Built With

Share this project:

Updates