Giter VIP home page Giter VIP logo

stroke's Introduction

SFU CMPT 340 Project -- AmIHavingAStroke.ca

A common symptom of strokes is facial drooping and asym- metry. We present a Python program that aims to help patients assess their own health by analysing their face and determining the likelihood of a positive diagnosis. We pre-process and detect facial landmarks of the dataset, consisting of stroke patients and healthy individuals, with the dlib library. We then extract features from the landmarks, and finally we train an SVM model and use it to predict if the user is experiencing a stroke. The experimental results of our system average to 93%, indicat- ing a high accuracy in facial droop recognition, which help identifying patients having a stroke.

Important Links

Timesheet Slack channel Project report

Video/demo/GIF

CMPT340.Facial.Droop.Project._compress.mp4

Table of Contents

  1. Demo

  2. Installation

  3. Reproducing this project

  4. Guidance

1. Example demo

What to find where

Explain briefly what files are found where

repository
├── src                          ## source code stroke detection program
├── dataset                      ## dataset that train and test the model
├── model                        ## pre-traind machine learning models
├── scripts                      ## scripts, train and save the model to model directory
├── README.md                    ## You are here
├── requirements.yml             ## If you use conda

2. Installation

Provide sufficient instructions to reproduce and install your project. Provide exact versions, test on CSIL or reference workstations.

git clone $THISREPO
cd $THISREPO
conda env create -f requirements.yml
conda activate $THISREPO

3. Reproduction

To train the model

cd project_21
python scripts/train_model_svm.py

This will save the model to model directory. The model evaluation result will be printed in the terminal.

To run the GUI

cd project_21
python src/UI/UI.py

4. Guidance

  • Use git
    • Do NOT use history re-editing (rebase)
    • Commit messages should be informative:
      • No: 'this should fix it', 'bump' commit messages
      • Yes: 'Resolve invalid API call in updating X'
    • Do NOT include IDE folders (.idea), or hidden files. Update your .gitignore where needed.
    • Do NOT use the repository to upload data
  • Use VSCode or a similarly powerful IDE
  • Use Copilot for free
  • Sign up for GitHub Education

stroke's People

Contributors

sychau avatar

Watchers

 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.