Flutter Dev

Flutter Dev

1616770707

AI-powered Personal Yoga Instructor App Built using Flutter

AI-powered Personal Yoga Instructor App Built using Flutter

Video Demo of the app in action

Download the APK here

Sofia is your personal AI powered Yoga instructor, allowing you to harness the benefits of yoga from any place you want.

  • The app is built using a cross-platform framework called Flutter, so it can run on both iOS and Android.

  • For authentication, we have used Auth0 SDK.

  • Cloud Firestore is used for storing the user-info and the track data.

  • Firebase Storage is used for the storage of the pose videos.

  • Google TTS API is used for speech output.

  • TFLite model is used for pose recognition.

Sofia timeline

🚧 WIP: Timeline updated on [February 2021]

Screenshots

The following screenshots are outdated, we are currently working on a new UI design 😉

Sofia Login Sofia Name Sofia Gender

Sofia Age Sofia Home Sofia Voice

Sofia Track Sofia Pose 1 Sofia Pose 2

About

Problem Statment : Addressing the after-effects

  • With COVID 19, people have resorted to quarantine as the last resort to protect themselves from the deadly virus.

  • As time progresses, this can lead to health problems due to physical inactivity. Obesity is already a very big worldwide health issue.

  • Physical inactivity can lead to diseases,both physical and mental. In these trying times, any kind of diseases can be deadly and physical activity helps boost immunity and keep diseases away.

  • In this hectic lifestyle, we all get so busy with our daily schedule & this is where we always forget to take care of ourselves. It is important for us to take care of our body and mind as well. Maintaining correct posture while exercising is essential, as wrong postures can lead to body problems.

Our Solution

  • Sofia is your real time interactive YOGA instructor, allowing anyone to harness the benefits of yoga from any place in the world.

  • Sofia will ensure that however busy a person might be, they spend at least 50 mins of their day in physical activity and mental exercises. It’s time for people from all walks of life to start paying attention to physical as well as mental fitness.

  • Practitioners tout yoga for its mind-body benefits—flexibility, toned muscles, reduced stress, among others.

  • More recently, scientists have begun to test yoga’s effect on serious medical conditions.

  • The results have been impressive enough that investigators expect yoga will soon become part of the standard treatment for a number of disorders.

  • There are yoga tracks for beginners to Power Yoga tracks for a workout. Now, more than ever, we need our immune systems to function better. We have the immunity booster yoga track. The cardiovascular track helps increase blood flow to the muscles. The stress release track will make you feel relaxed and peaceful.

  • Most important part of any kind of exercise you do while watching a video is the posture. Maintaining correct posture while exercising is essential, as wrong postures can lead to body problems. Sofia recognizes poses in real time. As you follow the video and reach an intermediate step in each pose, it analyses the posture and lets you proceed only when you complete the step successfully.

  • We have gamified the app to let the users enjoy it more. They are awarded stars as points based on how good the accuracy of their pose is once they complete and progress through each step in the track. This ensures a fun and exciting approach to perfecting yoga postures.

Features

  • Interactive experience through real time pose recognition

  • Voice recognition which enables the user to engage in conversation

  • Uses computer vision and deep learning keras models to guide you through every step of the asana only when you complete the previous step of the asana successfully.

  • Specifically designed yoga tracks/playlists which are suited to the user’s health issues, creating a more personalized experience

How is Sofia diffrent from all the applications out there

Why would you choose Sofia? Simply because no other app out there implements real time pose prediction technology. Every time you are stuck on a step or an yogaasana, Sofia waits for you to complete it, and only then it gives intructions for the next asana, just like a personal yoga instructor who attends to you real time.

Research proven benefits of yoga :

  • Yoga can significantly improve mood and reduce the symptoms of depression and anxiety.

  • Women who do yoga during and after treatment of breast cancer experience less physical discomfort and stress.

  • Yoga can lower blood pressure, cholesterol, and resting heart rates, and help slow the progression of atherosclerosis—all risk factors for heart disease.

  • Menopausal women who took two months of a weekly restorative yoga class, reported a 30 percent decrease in hot flashes.

  • People with various types of arthritis who practice yoga regularly can reduce joint pain, improve joint flexibility and function, and lower stress and tension to promote better sleep.

  • Yoga during pregnancy have found it is also effective for reducing depression, particularly when it is started early in the pregnancy and can be combined with standard depression treatment. Yoga can also reduce pain and discomfort, as well as improve overall quality of life during pregnancy.

Requirement Specific Tracks

  • POWER YOGA TRACK

Adapted from the basic Ashtanga yoga, power yoga requires increased energy, focus, and strength. Muscles are challenged as the mind and body have to work together simultaneously to hold a position without giving up. Breathing, posing, moving, and increasing flexibility happen together at one time, which unearths a new level of discipline in your mind and body.

  • IMMUNITY

Yoga poses help massage organs and strengthens muscles while breathing techniques and meditation release stress and improve immunity.

  • MORNING

A list of curated yoga poses for performing in the morning to feel fresh and energised throughout the day.

  • YOGA IN PREGNANCY

Yoga is a great way to stay active and is healthy for you and your baby. Yoga classes in pregnancy use relaxation and breathing techniques with postures that are adapted for pregnancy.

  • INSOMNIA

Yoga isn’t just beneficial for improving core strength, flexibility, and stress levels; it can also help you sleep better—especially if you suffer from insomnia. When people who have insomnia perform yoga on a daily basis, they sleep for longer, fall asleep faster, and return to sleep more quickly if they wake up in the middle of the night. This is also true for older people who have insomnia—those who are 60 and older experience better sleep quality, sleep for longer, and feel better during the day when they perform regular yoga.

  • CARDIOVASCULAR YOGA TRACT

Yoga to have a positive effect on cardiovascular risk factors: It helped lower blood pressure in people who have hypertension. It’s likely that the yoga restores “baroreceptor sensitivity.”

  • MIGRAINE

Migraine is a neurological disorder that causes recurring headaches ranging from moderate to high intensity. Yoga is a side-effect-free method to fight migraine.

  • ASTHMA

Yoga can help increase breath and body awareness, slow your respiratory rate, and promote calm and relieve stress — all of which are beneficial for people who have asthma.

What are the metrics that one can use to analyse the impact of Sofia?

  • The number of active users on the app

  • Retention rate of users on app

  • Social media engagement through gamification

  • On a larger scale, overall health of regular app users and non users can be judged.

Tech Stack

Our tech stack consists of the following:

  • Flutter (cross-platform app development framework)

  • Auth0 (for user authentication)

  • Firebase Cloud Firestore (for storing app data and user information)

  • Firebase Storage (for storing videos)

  • Google TTS and Google STT (for creating the voice assistant)

  • Python, Tensorflow, Keras and TFLite (for creating the yoga pose recognition model)

How to use the app

Follow the steps below in order to get the app running from code:

  • Clone the project:

    git clone https://github.com/sbis04/yoga-instructor.git
    
  • Setup Flutter on your system following the guide here.

  • Complete the Firebase setup by creating a new project from here for the specific platform (Android or iOS) on which you want to run the app.

  • Include the Firebase secret files to the proper location in the project, google-services.json file for Android or GoogleService-Info.plist file for iOS.

  • Register a new Native app on Auth0 by following this guide.

  • Add the Auth0 secrets by creating a new file under lib folder called secrets.dart in the following format:

    final String authDomain = '<Add Auth0 Domain here>';
    final String authClientID = '<Add Auth0 Client ID here>';
    
  • Now, you have successfully completed the setup. Run it by using the following command:

    flutter run yoga-instructor
    

Download Details:

Author: sbis04
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/sbis04/yoga-instructor
License: Copyright © 2020 Souvik Biswas and Soumi Bardhan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#flutter

What is GEEK

Buddha Community

AI-powered Personal Yoga Instructor App Built using Flutter

Google's Flutter 1.20 stable announced with new features - Navoki

Flutter Google cross-platform UI framework has released a new version 1.20 stable.

Flutter is Google’s UI framework to make apps for Android, iOS, Web, Windows, Mac, Linux, and Fuchsia OS. Since the last 2 years, the flutter Framework has already achieved popularity among mobile developers to develop Android and iOS apps. In the last few releases, Flutter also added the support of making web applications and desktop applications.

Last month they introduced the support of the Linux desktop app that can be distributed through Canonical Snap Store(Snapcraft), this enables the developers to publish there Linux desktop app for their users and publish on Snap Store.  If you want to learn how to Publish Flutter Desktop app in Snap Store that here is the tutorial.

Flutter 1.20 Framework is built on Google’s made Dart programming language that is a cross-platform language providing native performance, new UI widgets, and other more features for the developer usage.

Here are the few key points of this release:

Performance improvements for Flutter and Dart

In this release, they have got multiple performance improvements in the Dart language itself. A new improvement is to reduce the app size in the release versions of the app. Another performance improvement is to reduce junk in the display of app animation by using the warm-up phase.

sksl_warm-up

If your app is junk information during the first run then the Skia Shading Language shader provides for pre-compilation as part of your app’s build. This can speed it up by more than 2x.

Added a better support of mouse cursors for web and desktop flutter app,. Now many widgets will show cursor on top of them or you can specify the type of supported cursor you want.

Autofill for mobile text fields

Autofill was already supported in native applications now its been added to the Flutter SDK. Now prefilled information stored by your OS can be used for autofill in the application. This feature will be available soon on the flutter web.

flutter_autofill

A new widget for interaction

InteractiveViewer is a new widget design for common interactions in your app like pan, zoom drag and drop for resizing the widget. Informations on this you can check more on this API documentation where you can try this widget on the DartPad. In this release, drag-drop has more features added like you can know precisely where the drop happened and get the position.

Updated Material Slider, RangeSlider, TimePicker, and DatePicker

In this new release, there are many pre-existing widgets that were updated to match the latest material guidelines, these updates include better interaction with Slider and RangeSliderDatePicker with support for date range and time picker with the new style.

flutter_DatePicker

New pubspec.yaml format

Other than these widget updates there is some update within the project also like in pubspec.yaml file format. If you are a flutter plugin publisher then your old pubspec.yaml  is no longer supported to publish a plugin as the older format does not specify for which platform plugin you are making. All existing plugin will continue to work with flutter apps but you should make a plugin update as soon as possible.

Preview of embedded Dart DevTools in Visual Studio Code

Visual Studio code flutter extension got an update in this release. You get a preview of new features where you can analyze that Dev tools in your coding workspace. Enable this feature in your vs code by _dart.previewEmbeddedDevTools_setting. Dart DevTools menu you can choose your favorite page embed on your code workspace.

Network tracking

The updated the Dev tools comes with the network page that enables network profiling. You can track the timings and other information like status and content type of your** network calls** within your app. You can also monitor gRPC traffic.

Generate type-safe platform channels for platform interop

Pigeon is a command-line tool that will generate types of safe platform channels without adding additional dependencies. With this instead of manually matching method strings on platform channel and serializing arguments, you can invoke native class and pass nonprimitive data objects by directly calling the Dartmethod.

There is still a long list of updates in the new version of Flutter 1.2 that we cannot cover in this blog. You can get more details you can visit the official site to know more. Also, you can subscribe to the Navoki newsletter to get updates on these features and upcoming new updates and lessons. In upcoming new versions, we might see more new features and improvements.

You can get more free Flutter tutorials you can follow these courses:

#dart #developers #flutter #app developed #dart devtools in visual studio code #firebase local emulator suite in flutter #flutter autofill #flutter date picker #flutter desktop linux app build and publish on snapcraft store #flutter pigeon #flutter range slider #flutter slider #flutter time picker #flutter tutorial #flutter widget #google flutter #linux #navoki #pubspec format #setup flutter desktop on windows

Top 10 Apps built with Flutter - TopDevelopers.co

Here’s some top apps developed using Flutter, and those that reckon Flutter app development provides many benefits have more reasons to support their claim.
With instant reload, easy to read & code, and many other first-class features developing apps using Flutter is a magical experience even for the app developers.

#top mobile apps built with flutter framework #top apps built using flutter #flutter applications #top flutter apps #flutter app development companies

Hire Dedicated Flutter App Developer USA| Flutter App Developers

Hire Flutter App Developers: WebClues Infotech is a Flutter App Development company. Our Flutter mobile app development team can create cross-platform apps for different industry verticals. Our Flutter developers will help you extend your business’s scope by developing enhanced functionality and a feature-rich app. To provide a rich user experience to your users, hire dedicated Flutter app developers from WebClues Infotech today!

#hire flutter app developers #hire dedicated flutter app developer usa #hire flutter app developer usa #hire dedicated flutter app developer #hire flutter developer #flutter app development company

Best Flutter App Development Company

Are you looking for the best flutter app development company? Then AppClues Infotech is the leading flutter app development company in USA offering the best service worldwide. We focused on developing hybrid mobile apps on Android & iOS and assures our end-user about exceptional and functionally-rich mobile apps.

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#top flutter app development company in usa #best flutter app development service #best flutter app development company #hire flutter app developers #flutter app development company #expert flutter app development company

Best Flutter App Development Company in USA & India

AppClues Infotech is one of the best flutter app development company in USA & India. Our diverse and experienced team of developers can help you sketch the smartest and quickest solution for your mobile app development projects with the most superior technology.

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#top flutter app development company in usa #best flutter app development service #best flutter app development company #hire flutter app developers #flutter app development company in usa & india #custom flutter app development service