threshold otsu detection + getContourLine init