This code helps in moving the mouse pointer on the screen with the help of colored markers. No mouse is required as camera detects the colored marker(red) and functions calculates the centroid of that marker or blob and pass it on to mouse function.