Skip to content

The project aims early detection of 'Autism' and 'ADHD' through a web platform fueled by machine learning.

License

Notifications You must be signed in to change notification settings

deyRupak/oculus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oculus

The project aims early detection of 'Autism' & 'ADHD' through a web platform fueled by machine learning.




Problem Addressed

It is estimated that 1 in 59 children have Autism. Early warning signs of potential development of autism are very useful, because the treatment procedures can be started earlier, thus decreasing the struggle of the child. Cheap, fast and easy methods for detecting early warning signs of these disorders of the neurological development of children are needful.

A chronic condition including attention difficulty, hyperactivity and impulsiveness. ADHD often begins in childhood and can persist into adulthood. It may contribute to low self-esteem, troubled relationships and difficulty at school or work. Symptoms include limited attention and hyperactivity. Treatments include medication and talk therapy.

Solution

A free, web-based-application that uses a standard computer webcam to screen a child while reading a passage on the screen and recording fixation time while reading.





Approach

  1. Get real-time info of user's eye movement using OpenCV.
  2. Gather the co-ordinates of the pupil according to the viewport.
  3. Plot a line graph for the co-ordinates.
  4. Pass the resulting graph through CNN for classifying.
  5. Displaying the test result.

Project Structure

  • main.py :
    • embedding the machine learning model to flask
    • routing functions
  • templates/ :
    • frontend files
  • static/ :
    • media files
  • model/ :

Dependencies

  • Flask
  • OpenCV
  • Tensorflow
  • Matplotlib

Installation & Execution Guide

Clone the repository :

git clone https://github.com/deyRupak/oculus.git

Install the dependencies :

pip install -r req.txt

Change the directory :

cd oculus

Run main.py as:

py main.py
or
python main.py


- expected output
>py main.py
 * Serving Flask app "main" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
 * Debug mode: on
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 177-932-044
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Type in your browser [ will take you to the index page ]:

localhost:5000/

About

The project aims early detection of 'Autism' and 'ADHD' through a web platform fueled by machine learning.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •