Inspiration

After a long process with the pet shelter, Luna, my friend's brand new golden retriever was finally home. Unaware of the proper food and exercise the dog required, Luna was eating way too much food and exercising a lot less than required which resulted in a leg injury. Seeing my friend struggling to adapt as a pet owner I decided to make the process much easier!

What it does

The app provides personalized nutritional advice and recommends top-quality dog food brands based on your dog's breeds

How we built it

Starting off with the google generative AI API, I thought about how I could input a dogs breed and get all the information that a owner needs on their dog. After some further research I decided that it was best to instead take an image and try and detect the dog breed and automatically input it through the AI prompt. I went through the documentation for a program called OpenCV which uses Haar Cascade facial detection initializers in order to detect the dog's face and find the breed.

Challenges we ran into

Google's documentation for the Google AI API only took image links, but I wanted users to be able to use their phones camera in order to take a picture of their dog, which is why I installed an application called CAMO which allowed me to connect my phones camera as a webcam and take a photo. I then took the image and created a JavaScript object which OpenCV was able to scan and give output for.

Accomplishments that we're proud of

I am proud of how organized the process was for this app, and how I overcame obstacles when coding this project. I used all the recourses I was given wisely and made sure to read the documentation and necessary dependencies in order to get the code running smoothly.

What we learned

Although I have already learned python through Harvard's CS50, this was an eye opener for how projects should be coded. This was the first time that I was using functions that I was not used to, so calling the functions and creating new classes helped me to step out of my comfort zone.

What's next for PawSpace

Through the recommendation of dog food brands, owners will be able to purchase the brands straight from the app. Eventually this will turn into a subscription where the dog's preferred food will be delivered monthly.

Built With

  • google-ai
  • google-colab
  • python
  • uizard
Share this project:

Updates