Coder Social home page Coder Social logo

llsourcell / how_to_build_a_healthcare_startup Goto Github PK

View Code? Open in Web Editor NEW
211.0 17.0 119.0 66.11 MB

This is the code for "How to Build a Healthcare Startup" by Siraj Raval on Youtube

Java 0.70% Ruby 4.18% Objective-C 1.43% Dart 50.19% Jupyter Notebook 43.50%

how_to_build_a_healthcare_startup's Introduction

Overview

This is the code for this video on Youtube by Siraj Raval on "How to Build a Healthcare Startup". The app uses PoseNet to detect human poses and a text to speech engine to speak to you. This emulates the role of a Yoga instructor! This code is unfinished, but meant to give you a starting point and guide so that you can build a profitable business using it or a similar idea.

Dependencies

All of these can be downloaded in a single command, see below.

  • PoseNet Model
  • Tensorflow Lite
  • Stripe
  • RazorPay
  • Flutter Text to Speech

Instructions

First install Flutter.

After download, from command line run this to install the dependencies

flutter packages get

Then run this command to run the app

flutter run

Alternatively you can open the app as a new flutter project in Android Studio after installing the Flutter plugin. See the video for instructions on how to do that.

TODO - please make a PR if you fix any of these

  • Firebase is integrated, but it still needs to be properly wired up to the login and signup pages.
  • Stripe and RazorPay are integrated, but each still need to be wired up to the Credit/Debit Card view i created.
  • Generate some text everytime a pose is detected, not just on startup.
  • Make the personal 0/10 score some meaningful metric, store it in Firebase.
  • PoseNet is integrated, but still needs to be replaced by YogaNet.

Wait what's YogaNet?

this is YogaNet. This person retrained a neural network to detect yoga poses and outputted the result as a TFLite file in their /models folder. Notice how in this flutter app, there is space to import TF Lite models. Integrate the Yoga Model into the app by replacing the existing posenet model.

Credits

Thanks to shaqian for her starter code.

how_to_build_a_healthcare_startup's People

Contributors

betapundit avatar llsourcell avatar shaqian avatar testaccount553 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

how_to_build_a_healthcare_startup's Issues

facing FileNotFoundException on clicking "Begin" button

E/flutter ( 8791): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, Unsupported value: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed, null)
E/flutter ( 8791): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter ( 8791): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18)
E/flutter ( 8791):
E/flutter ( 8791): #2 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:329:12)
E/flutter ( 8791): #3 Tflite.loadModel (package:tflite/tflite.dart:15:27)
E/flutter ( 8791): #4 ThirdRoute.loadModel (package:flutter_realtime_detection/home.dart:46:28)
E/flutter ( 8791): #5 ThirdRoute.onSelect (package:flutter_realtime_detection/home.dart:65:5)
E/flutter ( 8791): #6 ThirdRoute.build. (package:flutter_realtime_detection/home.dart:114:40)
E/flutter ( 8791): #7 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:779:14)
E/flutter ( 8791): #8 _InkResponseState.build. (package:flutter/src/material/ink_well.dart:862:36)
E/flutter ( 8791): #9 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
E/flutter ( 8791): #10 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
E/flutter ( 8791): #11 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
E/flutter ( 8791): #12 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:199:7)
E/flutter ( 8791): #13 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:470:9)
E/flutter ( 8791): #14 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:76:12)
E/flutter ( 8791): #15 PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:117:9)
E/flutter ( 8791): #16 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
E/flutter ( 8791): #17 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:115:18)
E/flutter ( 8791): #18 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:7)
E/flutter ( 8791): #19 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:19)
E/flutter ( 8791): #20 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
E/flutter ( 8791): #21 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
E/flutter ( 8791): #22 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
E/flutter ( 8791): #23 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
E/flutter ( 8791): #24 _rootRunUnary (dart:async/zone.dart:1138:13)
E/flutter ( 8791): #25 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 8791): #26 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
E/flutter ( 8791): #27 _invoke1 (dart:ui/hooks.dart:275:10)
E/flutter ( 8791): #28 _dispatchPointerDataPacket (dart:ui/hooks.dart:184:5)
E/flutter ( 8791):

What does it mean to source bash?

I was watching Siraj in the YouTube video, and I was following along okay until about 26:12 when he says "you gotta source your bash and stuff." What does he mean by that? I am trying to run the flutter_realtime_detection-master from shaqian in my command prompt.

Yoganet integration

Hi my yoga net model is not working. I downloaded the YogAI model.tflite but when I press begin. It says "success" but nothing shows up and when I replace the called model in the PoseNet button on the signup screen, it just shows a standard camera. Any ideas?

White screen when running emulator or real device

Hi.
I have downloaded the repo but when i run it in my android studio ,v3.5, all i get in my emulator/real device is a white screen when opening the app and the console just says "E/BpSurfaceComposerClient(10222): Failed to transact (-1)
E/BpSurfaceComposerClient(10222): Failed to transact (-1)"
. I have the same problem with the flutter-realtime-detection-master by shaqian. Any help with this would be greatly appreciated.

( 4271): Program linking failed.

When clicking the Begin button, nothing happens except I get ( 4271): Program linking failed. in the console and it stays in the same screen. If I try the posenet button, I am able to see that the pose estimation is working (only dots without lines are shown)

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.