Python module to detect and track the motion of worms