Code Monkey home page Code Monkey logo

beamailite-ios's Introduction

Beam AI Lite (iOS)

This repository contains the source code for Beam AI Lite built using the Beam AI SDK. With Beam AI Lite, users can monitor their stress, heart rate and heart rate variability through the selfie camera in real-time. You can download Beam AI Lite from App Store.

Beam AI Lite Demo 1Beam AI Lite Demo 2

How Does It Work?

The core stress monitoring technology comes from the Beam AI SDK which enables iOS apps to monitor the user's heart rate, heart rate variability and stress through the selfie-camera. Our technology extracts the user’s pulse wave by analyzing subtle color variations across the skin regions of the user’s face. The user’s pulse is then used to determine stress, heart rate, and heart rate variability. To determine stress, we analyze the variability of the user's heartbeats according to the Baevsky Stress Index which has been shown to provide an accurate quantitative measure of physiological stress.

This is one of the two sample projects provided by Beam AI. To explore how the Beam AI SDK can be used to monitor user stress as they browse the web, see Beam AI Browser. You can find Beam AI Browser's source code here on GitHub.

Setup & Run (in less than 15 minutes)

  1. Clone this repository and open it up in Xcode.
  2. Add the Beam AI SDK to the project inside Xcode. Simply click File > Add Packages. Then, look up https://github.com/beamai/BeamAISDK-iOS/ and click + to add the Beam AI SDK package to your project.
  3. Update the beamID on line 53 of ViewController.swift. You will need a beamID to be able to use the Beam AI SDK. You can sign up to get your beamID dashboard.beamhealth.ai.
self.beamAI = try! BeamAI(beamID: "your-20-char-beamID", frameRate: 30, window: 60.0, updateEvery: 1.0)
  1. Update app team to your App Store developer account, and deploy onto an iPhone device.
  2. Enjoy the build and race to build the super cool application you are thinking about 😎! Note that the SDK works on iPhone and iPad devices, but not the Xcode simulators as those do not support camera access. You will therefore need to build and test this sample project on a physical iPhone device.

Contact

For feature requests, questions and support, please open a GitHub issue. For all other inquiries, please email us directly at [email protected]!

Follow us on LinkedIn, Instagram, Twitter and YouTube to stay up-to-date with our latest news, updates and releases - and lots of fun demos and posts!

beamailite-ios's People

Contributors

peymanbateni 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

Watchers

 avatar

beamailite-ios's Issues

Missing imports

After installing package dependencies there is an error on attempt to import BeamAISDK: Missing required modules: 'ARCoreAugmentedFaces', 'Amplitude_iOS'
(Xcode 14, M1)

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.