The inspiration for the project was thinking back to playing contact sports. Sometimes players would receive head injuries and not undergo a proper concussion examination; a concussion could then go undetected - possibly resulting in cognitive issues in the future.

What it does

The project is a web page that has a concussion diagnosis algorithm and a concussion diagnosis form. The web page can open the camera window - allowing the user to record video of their pupils. This video undergoes analysis by the concussion algorithm. This compares the radii of the patient's pupils over time. With this data, a concussion diagnosis can be provided. After analysis, a concussion form is provided to the patient to further confirm the diagnosis.

How we built it

We built the project using openCV in python. The web browser was developed using JavaScript in WIX and the communication between the openCV algorithm and the browser is done using flask.

Challenges we ran into

We ran into a challenge with sending data between flask and our hosted file. The file would refresh before receiving the flask data causing us to be unable to use our calculated concussion variable.

Accomplishments that we're proud of

We are proud of developing a functional front end and a functional algorithm. We are also proud that we were able to use OpenCV to locate pupils and read their sizes.

What we learned

We learned how to work with openCV, Wix, flask, and js. Although some of these skills are still very rudimentary, we have a foundation using frameworks and languages we had never used before.

What's next for ConcussionMD

Next, we will try to improve our flask back end to ensure users can upload their own videos, as right now this functionality is not fully implemented. We will also try to implement an option for users who were found concussed to see hospitals near their location to go to.

Share this project: