From 2879eada253eaad31b962ae0f45f7d91b0e537a6 Mon Sep 17 00:00:00 2001 From: anirudt Date: Tue, 13 Sep 2016 16:14:05 +0530 Subject: [PATCH] docs: truncated commit msg --- modules/imgproc/include/opencv2/imgproc.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 15bed25b9b..fef0f6083f 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -3574,10 +3574,8 @@ results are returned in the structure cv::Moments. used for images only. @returns moments. -@note Only applicable to contour moments calculations: For Python users, note that the numpy -type for the input array should be either np.int32 or np.float32, or in general of type CV_32S or CV_32F. -Thus, np.float will not work in this case, as it is the same as np.float64 and does not satisfy the -Point2f type check. +@note Only applicable to contour moments calculations from Python bindings: Note that the numpy +type for the input array should be either np.int32 or np.float32. @sa contourArea, arcLength */