OpenCV 3.2.0에서 cv2.cv.Round 구현이 있습니까? 접두사 cv2.cv가 제거되었고 대신에 cv2.argument가 주로 사용된다는 것을 알게되었습니다. 그러나 문서에서 라운드에 대해서는 아무 것도 찾을 수 없습니다. cv2.cv.Round가 이전 버전에서 작동했음을 압니다. 3.2.0에서 cv2.Round를 시도하면 오류가 발생합니다.OpenCV 3.2.0에서 cv2.cv.Round?
AttributeError: 'module' object has no attribute 'Round'
또한 cv2.cv가 제거되었으므로 예상대로 오류가 발생합니다.
cv2.cv.Round(133.4)
AttributeError: 'module' object has no attribute 'cv'
가 나는 파이썬의 내장에 찬성 하락 ['round'] (https://docs.python.org/3/library/functions.html#round)하고있다 생각 NumPy와의 ['round'] (https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.round_.html) – sgarizvi