As you all probably know there is a global pandemic going around. That meant that everyone had to be in lockdown and stay home. Everyone started to use their devices more and more. Rishabh was watching Iron Man and saw Tony Stark talk to Jarvis. We have always thought that was so cool and that is what gave us an idea for this hackathon. As you most likely know, we are not multi billionaires like Tony Stark and we're definitely not going to build Jarvis on a massive scale. But, we did what we could from sitting in our rooms and made our own AI called Holmes. Holmes is a voice assistant that we made that can do many different things to simplify your daily needs.
What it does
Open google, open youtube, open Devpost, tell the time, tell the date, and send emails.
How we built it
We started by trying to find out the speech recognition library(SpeechRecognition), there were a couple bugs but we got it to work. After this we realized we had to find a way to store what we said. So we used a variable called “command”. With this we used if statements to run through the command variable to check if the user said something. For the simpler actions we used just the if statements to run the code. But to run more complex programs we used a function. As you can see we used a function when sending emails. At the end we realized to make sure it is secure we should use a small lock system as seen on the bottom of the code. We have a sentence lock so bots cannot access the AI. We also have a number lock as a second stage. Finally, we had to fix all of our bugs. We had a lot of bugs when making this project. Such as how to use our speech recognition library. We also had some issues on sending emails with a different microphone source. After fixing all of our bugs we had our final product.
Challenges we ran into
We had a lot of bugs when making this project. Such as how to use our speech recognition library. We also had some issues on sending emails with a different microphone source.
Accomplishments that we're proud of
We completed this within 24 hours. We added all of our intended features. We made a functioning voice assistant.
What we learned
We strengthened our teamwork skills. We learnt how to manage time with our projects and prioritize things better. We learnt how to use many new python libraries such as speech_recognition, smtplib and webbrowser.
What's next for Holmes AI
We want to make so that Holmes AI can access things in the real world and not just your computer. Such as turning off a light. We will keep working on this and see what else we can do!
Log in or sign up for Devpost to join the conversation.