Opencv polylines function in python throws exception Opencv polylines function in python throws exception numpy numpy