The ultimate aim of the project was to obtain displacement, velocity and acceleration-time graphs for a fruit fly, for which a video feed was obtained. A simple algorithm was developed in which the pixel difference between two frames was detected, so that one could detect any object that moved on-screen, regardless of its colour. This project was in collaboration with Dr. Muhamamd Tariq’s fly lab in the Biology Department.