New
Clarifai is recognized as a Leader in The Forrester Wave™: Computer Vision Tools, Q1 2024
April 7, 2016

Clarifai Featured Hack: How Healthy (or Unhealthy) Is Your Meal? Foodifai Knows!

Table of Contents:

Foodifai is an app that tells how healthy (or, let’s face it, more like unhealthy) your food is and gives you points proportional to the “health factor.” You can compete with your friends and totally judge their eating habits, yay!

Staying healthy is hard, especially when you work at a tech company that gives you infinite free snacks. Sure, there are apples and stuff, but who’s going to reach for that when there’s a Butterfinger bar on the shelf next to them? Ok, our CEO Matt would choose the apple, but the rest of us mere mortals need a little more motivation to stay healthy. And motivation is clearly best when it’s in the form of heated competition among your friends!

foodifai

That’s why the Foodifai app is so cool. It’s an app that helps you stay in shape by allowing you to take a picture of your food to earn health points dependent on your food’s nutritional value. You can compete with your friends and family to gain the top spot and quietly judge one another. The more unhealthy food you eat, the more points you lose.

But perhaps best of all, the app is also equipped with a cool “trash talk” feature, which delivers a heaping dose of snark every time you eat unhealthy food. It’s verbal equivalent of that Amy Schumer diet sketch:

 

 

WHY WE ❤ IT

There’s so much to love about this app – it combines our favorite elements of “being better than our friends” and “not eating ourselves into early diabetes.” You know, the usual. You can check out the app on Devpost and GitHub while you’re chomping down on that donut.

HOW YOU DO IT

We caught up with Parikshit Tiwari, actual marathoner AND hackathoner, of the Foodifai team to ask him how he maintains that gorgeous, chiseled Adonis physique built such a fun and useful app.

Clarifai: What inspired your idea for Foodifai?

Parikshit: The idea was conjured up at SwampHacks when last minute creativity struck my team. We’ve been gaining some weight lately, and we wondered, what are we missing? Probably some six pack abs. But most importantly some inspiration to eat healthy. So, we thought let’s build an app which will motivate us to get back in shape and stay fit.

C: What did you use to build your app?

P: We built a native Android app, which uses Clarifai APIs for image tagging. We’ve also used Parse to implement the Login and Register functionality along with the storing the data for leaderboard and groups. The biggest challenge was connecting the Parse and Clarifai APIs – after that, it was smooth sailing.

Currently, we’re using mock nutrition data. However, we look forward to connecting the application to more authentic nutrition data from sources like NSDA API, Food API, etc.

C: What’s better, working with the Clarifai API or eating a tub of ice cream?

P: The Clarifai API was so easy use! And I am still amazed at the accuracy of the tags, although it does come up with some funny tags sometimes.

Thanks for sharing, Parikshit!

To learn more, check out our documentation and sign-up for a free Clarifai account to start using our API – all it takes is three lines of code to get up and running! We’re super excited to share all the cool things built by our developer community, so don’t forget to tweet @Clarifai to show us your apps.