final project with blob, motion and nearest point detection