An efficient vehicle queue detection system based on image processing