Added cv namespace to the rectangle method