start to use canny detector instead of line detect