Active vision based on CMOS camera : an active detector approach