delete unused function drawDetectedXXYY