The project aims early detection of 'Autism' & 'ADHD' through a web platform fueled by machine learning.
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.
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.
- Get real-time info of user's eye movement using OpenCV.
- Gather the co-ordinates of the pupil according to the viewport.
- Plot a line graph for the co-ordinates.
- Pass the resulting graph through CNN for classifying.
- Displaying the test result.
- main.py :
- embedding the machine learning model to flask
- routing functions
- templates/ :
- frontend files
- static/ :
- media files
- model/ :
- pre-trained pickle file
- Flask
- OpenCV
- Tensorflow
- Matplotlib
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/