Giter VIP home page Giter VIP logo

opencovid19coughcheck / coughcheckapp Goto Github PK

View Code? Open in Web Editor NEW
65.0 9.0 17.0 5.32 MB

Development of AI audio app to compare the cough of a Coronavirus (COVID-19) infected individual with the cough of an uninfected individual.

License: MIT License

TypeScript 19.22% JavaScript 78.97% HTML 1.67% Handlebars 0.15%
covid19 covid-19 coronavirus coronavirus-analysis expo react-native reactjs audio-analysis deep-learning data-collection

coughcheckapp's Introduction

CoughCheck
CoughCheck

AI Audio App to compare cough of COVID-19 infected versus Normal cough

Be sure to ⭐ us so you can keep up to date on any daily progress!

WebsiteTrelloSlack

MIT license. PRs welcome! dependencies Status devDependencies Status GitHub version Join our Slack!

All Contributors

Table of contents

Overview

The purpose of this Application is to provide the global community with a non-invasive application for personal pre-screening, anywhere and anytime, through which the user can record and upload a clip of themselves or a loved-one coughing. This repository contains source code to build the Application CoughCheck, and general information about the project.

  • Privacy aware. Recorded coughs encrypted on device to protect user privacy.
  • Secure endpoints. Consented associated data uploaded to external privacy-concerned repository using OAuth2.
  • Data protection. All of the data sent through CoughCheck is owned by you, and you can remove it anytime.
  • Respect the science. Collect data first, do not overfit/underfit the machine-learning model to publish results faster.
  • Explainable AI Do not build black-box models, enforce debuggable models.
  • Cross platform. It doesn't matter what OS you use, it just works wherever Node.js runs.
  • Responsive interface. Works smoothly on every desktop, smartphone and tablet.

The Machine-Learning module will analyze the cough and determines the likelihood that the user is infected with COVID-19 as well as the other potentially crucial meta information such as the potential severity of the infection, likelihood of accompanying health concerns, etc.

Roadmap

Data Gathering

The first step of this project will be to release this application so that end-users can begin to upload data to.

ML Processing

The second step is to onboard as many users as feasible (both uninfected and infected individuals) and setup machine learning capabilities within the application, which processes audio clips uploaded to discern discrepancies between the coughs of an infected individuals and the coughs of an uninfected individual.

COVID-19 Presumptive Detection

Pivot the application to return predictions based on audio files uploaded once confidence level in ML Processing is high enough.

Contributing

This project exists thanks to all the people who contribute. Check our general on-boarding guide.

Developers

  • If you prefer to immediately contribute with code feel free to check our issues page if you want to contribute.
  • If you prefer to check the contributing guide
  • If you have not time at all, you may still star this repository if this project can help you!

Financial collaborators

  • Become a financial contributor and help us sustain our community through OpenCollective
  • Donate using Liberapay You can also donate using Liberapay

Project Status

CoughCheckApp is being actively developed. We’re currently working on partnerships with other open source projects and support from companies and Universities around the globe.

Visit the to the ToDo list to contribute or see the features in progress.

Collaborators

The following Organizations and Companies are kindly helping us to develop a solution:

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

We are currently using the Open Source MIT License

TODOs

  • Adding prettier & editorconfig so we all have a consistent code (also husky so we are sure not breaking existing style rules with new commits)
  • Adding native-base to implement the login.
  • Adding a SafeArea layout/Keyboard layouts, so we are safe for devices with notches and able to reuse in different views.
  • Add Authentication routes and Global Context.
  • Adding oAuth2.
  • Migrate existing UI components from react-native-paper to native-base components. Here their reasons to make this choice and for me mainly because they are wider used and they provide both Sketch/Illustrator/Figma compatible design components.
  • I would change the styling approach from Object-based style to styled-components.
  • Start adding tests with react-native-testing-library.

=======

Copyright © 2020 OpenCOVID19CoughCheck Team

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

coughcheckapp's People

Contributors

dependabot[bot] avatar jerrysam avatar mattblackdev avatar monkeywithacupcake avatar robertovg 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coughcheckapp's Issues

Where can I find the code used for training the model?

Hello,

This is very exciting work. I read your paper "COVID-19 Artificial Intelligence Diagnosis using only Cough Recordings" published in IEEE Open Journal of Engineering in Medicine and Biology.

I was wondering if where I could find the pre-trained models and the code used to train the model and extract the features from the audio. I am working on a research project about using audio to detect Parkinson's disease and I believe your methodology could be modified for our purpose.

We'd very much appreciate access to your code and model.

Best,

Victor

Error: Invalid sdkVersion in Android after exp start

Screenshot attached.
OnePlus 5T: Android 7.1.1
Expo Client version: 2.15.0
Supported SDKs: 34,35,36,37

Steps to reproduce

npm install -g exp

npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the b
est features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actua
l version of core-js@3.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the b
est features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the b
est features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the b
est features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain
bugs and security issues.
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain
bugs and security issues.
/usr/local/bin/expo -> /usr/local/lib/node_modules/expo-cli/bin/expo.js
/usr/local/bin/expo-cli -> /usr/local/lib/node_modules/expo-cli/bin/expo.js

[email protected] install /usr/local/lib/node_modules/expo-cli/node_modules/fsevents [92/1096]
node-gyp rebuild

SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/
CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreSe
rvices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Vers
ions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents.tbd and library file /System/Li
brary/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /Syste
m/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Li
brary/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /Syste
m/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Framew
orks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library fil
e /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for l
inking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library fil
e /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for l
inking.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/traveling-fastlane-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"win32,linux","arch":"any"} (current: {"os":"darwin",
"arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-freebsd-ia32
):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"freebsd","arch":"ia32"} (current: {"os":"darwin","arch"
:"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-linux-arm):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"linux","arch":"arm"} (current: {"os":"darwin","arch":"x64"
})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-linux-x64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"linux","arch":"x64"} (current: {"os":"darwin","arch":"x64"
})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-sunos-[48/1096]
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"sunos","arch":"x64"} (current: {"os":"darwin","arch":"x64"
})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-win32-i
a32):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"win32","arch":"ia32"} (current: {"os":"darwin","ar
ch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-darwin-ia32):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"darwin","arch":"ia32"} (current: {"os":"darwin","arch":"
x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-linux-arm64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"linux","arch":"arm64"} (current: {"os":"darwin","arch":"
x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-linux-ia32):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"linux","arch":"ia32"} (current: {"os":"darwin","arch":"x6
4"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/ngrok-bin/node_modules/@expo/ngrok-bin-win32-x6
4):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/[email protected]: wanted {"os":"win32","arch":"x64"} (current: {"os":"darwin","arch
":"x64"})
npm WARN @expo/[email protected] requires a peer of sharp-cli@^1.10.0 but none is installed. You must install peer dependencies yourself.

  • [email protected]
    added 69 packages from 27 contributors, removed 145 packages, updated 28 packages and moved 2 packages in 134.051s
yarn install
exp start

Error log:

[03:36:39] Instructions to open this project on a simulator
[03:36:39] If you already have the simulator installed, run exp ios or exp android in this project directory in another terminal window.
exp start
We've built a brand new CLI for Expo!
Expo CLI is a drop in replacement for exp.
Install: npm install -g expo-cli
Use: expo --help
Read more: https://blog.expo.io/expo-cli-2-0-released-a7a9c250e99c
[03:39:37] Using project at /Users/mvs/git_projects/other/CoughCheckApp
[03:39:40] Warning: Problem validating app.json: Unable to perform cache refresh for /Users/mvs/.expo/cache/schema-undefined.json: Error: Request failed with status code 404.
[03:39:41] Error: Invalid sdkVersion. Valid options are 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, 19.0.0, 20.0.0, 21.0.0, 22.
0.0, 23.0.0, 24.0.0, 25.0.0, 26.0.0, 27.0.0, 28.0.0, 29.0.0, 30.0.0, 31.0.0, 32.0.0, 33.0.0, 34.0.0, 35.0.0, 36.0.0, 37.0.0
[03:39:43] ┌──────────────────────────────────────────────────────────────────────────────┐ [8/438]
[03:39:43] │ │
[03:39:43] │ Running Metro Bundler on port 19001. │
[03:39:43] │ │
[03:39:43] │ Keep Metro running while developing on any JS projects. Feel free to │
[03:39:43] │ close this tab and run your own Metro instance if you prefer. │
[03:39:43] │ │
[03:39:43] │ https://github.com/facebook/react-native
[03:39:43] │ │
[03:39:43] └──────────────────────────────────────────────────────────────────────────────┘
[03:39:43] /Users/mvs/git_projects/other/CoughCheckApp
[03:39:43] /Users/mvs/git_projects/other/CoughCheckApp
[03:39:43] Loading dependency graph, done.
[03:39:44] Tunnel ready.
[03:39:44] Expo is ready.

Opening the App in Expo from Android:

[03:36:39] Logs for your project will appear below. Press Ctrl+C to exit.
[03:36:42] Loading dependency graph, done.
[03:37:36] Warning: Unable to resolve manifest assets. Icons might not work. Unable to perform cache refresh for /Users/mvs/.expo/cache/schema-undefined.json: Error: Request failed with status code 404.
[03:37:36] Warning: Problem validating app.json: Unable to perform cache refresh for /Users/mvs/.expo/cache/schema-undefined.json: Error: Request failed with status code 404.
[03:37:37] Error: Invalid sdkVersion. Valid options are 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, 19.0.0, 20.0.0, 21.0.0, 22.0.0, 23.0.0, 24.0.0, 25.0.0, 26.0.0, 27.0.0, 28.0.0, 29.0.0, 30.0.0, 31.0.0, 32.0.0, 33.0.0, 34.0.0, 35.0.0, 36.0.0, 37.0.0

CC-001

Remove builderX generated code folder

Most, if not all, the code has been "ported" from the generated code version from BuilderX.
Check and remove the folder builderX if there's nothing else to use.

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.