Code Monkey home page Code Monkey logo

h2o's Introduction

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

h2o's People

Contributors

fivesquared avatar

Watchers

James Cloos avatar Suri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.