Skip to content

My H2O is a Toshi bot for financially incentivizing habits for healthy outcomes - powered by Blockchain. ** Winner @ the Proffer Hackathon (2017) ** Now, a seed of the Habit Economics platform.

License

Notifications You must be signed in to change notification settings

BlockChainYantras/H2O

 
 

Repository files navigation

Habit Economics with @MyH2OBot

Winning entry @ the Proffer Hackathon by Niraj Swami


What is MyH2OBot?

Habits for Healthy Outcomes (H2O) is an intelligent assistant that helps you be accountable for healthy habits - like drinking more water - in a fun, motivating & rewarding way. Let's hack on the idea of a 'habit economics'.

Inspiration

We all aim to have healthy habits, but somewhere in the daily stress and self 'convincing', we end up not holding ourselves accountable and help ourselves to that extra serving of ice cream or cake. Calorie counting apps don't always work because nobody is there to motivate you!! But, the case is different when we ask a friend to hold us accountable and motivated! *

Imagine this: what if I could hold a small bounty ($5) with a trusting friend (read: Blockchain!) who will see what I eat and give me parts of the money back as rewards for eating 'good'. This is where I got inspired for the idea!

Now, this friend is a little sassy. Instead of just giving me a standard amount of money back, they see how often and how good my meals are. So, if I'm very diligent about eating good often and early in my habit, my friend rewards me greater portions - it's like a reward for how quickly I'm forming my habit!

Blockchain technologies seem like the perfect fit for this free-form finance use case with a health-focused drive!

Habit Economics

Architecture

Architecture Diagram

Note that we're using a Webview with a filepicker to bypass Toshi client limitations for image messages.

APIs Used

The following external APIs have been used in our solution:

  • Clarifai for Image-based AI
  • Filestack for food image capture and link generation
  • Request npm package for interacting with our hosted services/APIs
A note on AI +  Blockchain

With the power of AI technologies (predicting validation of images and extracting concepts from activity/images), we are able to accentuate the value of a virtual assistant in a finance-related application. In H2O, this focus is currently based on image recognition (tagging concepts) using models we've created for:

  • Water identification
  • Healthy foods identification (Weight loss, Diabetes, etc)
  • Unhealthy foods identification per diet-type (Weight loss, Diabetes, etc)

This enables us to bring in the 'thinking' of medical and nutrition professionals to a distributed scenario (Blockchain!).

Next Steps

Social Impact

What if we could involve rewards not just from our own stake, but from other folks that care about our wellbeing? Like family members, health care providers, dietitians, and even insurance services! The potential for a gamefying good habits with secure financial bounties is where H2O can really make an impact!

We are pinging Diabetes' doctors and experts to help with rolling out good habits - a top reason for healthy management of Diabetes!

Technology Roadmap

We plan to focus on the following aspects of our solution as our next steps:

  • Implement native image checking and validation (so user is not uploading a picture from the web and we can validate the image is coming from the user's camera using AI + profiling technologies)
  • Additional AI models to provide more 'habit' labels by partnering with dietitians and healthcare providers (we've already got some early traction from hackathon weekend's testing!)
  • Hook into payment gateways (food habits when traveling for work!) and native sensors (like continuous glucose monitors and wearables), so our reward validation system is more holistic
  • Social Finance: This is a key enabler as it would allow us to involve with a 3rd party to put the money stake on a user's MyH2O "account" - that way we can enable rewards from family members, medical system and insurance providers!

About the maker

Niraj Swami

With help from endocrinology fellows, dietitians, and research: Calorie-counting Research Paper Motivation & Calorie-counting Social Motivation for Weight Loss


Talk to @MyH2OBot on Toshi

Open Toshi and add @MyH2OBot, or scan: toshiprod-bot

For Toshi Dev Client, add @MyH2OBot, or scan: toshidev-bot

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

About

My H2O is a Toshi bot for financially incentivizing habits for healthy outcomes - powered by Blockchain. ** Winner @ the Proffer Hackathon (2017) ** Now, a seed of the Habit Economics platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 99.9%
  • Shell 0.1%