add the lineDetect class and CircleDetect class