made boundingRects argument of segmentMotion CV_OUT
authorAlexander Mordvintsev <no@email>
Mon, 11 Jul 2011 07:51:15 +0000 (07:51 +0000)
committerAlexander Mordvintsev <no@email>
Mon, 11 Jul 2011 07:51:15 +0000 (07:51 +0000)
updated documentation

modules/video/doc/motion_analysis_and_object_tracking.rst
modules/video/include/opencv2/video/tracking.hpp

index d27c20b..ba3e44c 100644 (file)
@@ -322,7 +322,7 @@ Splits a motion history image into a few parts corresponding to separate indepen
 
 .. ocv:function:: void segmentMotion(InputArray mhi, OutputArray segmask, vector<Rect>& boundingRects, double timestamp, double segThresh)
 
-.. ocv:pyfunction:: cv2.segmentMotion(mhi, boundingRects, timestamp, segThresh[, segmask]) -> segmask
+.. ocv:pyfunction:: cv2.segmentMotion(mhi, timestamp, segThresh[, segmask]) -> segmask, boundingRects
 
 .. ocv:cfunction:: CvSeq* cvSegmentMotion( const CvArr* mhi, CvArr* segMask, CvMemStorage* storage, double timestamp, double segThresh )
 .. ocv:pyoldfunction:: cv.SegmentMotion(mhi, segMask, storage, timestamp, segThresh)-> None
index bcf969c..6a4b1d5 100644 (file)
@@ -259,7 +259,7 @@ CV_EXPORTS_W double calcGlobalOrientation( InputArray orientation, InputArray ma
                                            double duration );
 
 CV_EXPORTS_W void segmentMotion(InputArray mhi, OutputArray segmask,
-                                vector<Rect>& boundingRects,
+                                CV_OUT vector<Rect>& boundingRects,
                                 double timestamp, double segThresh);
 
 //! updates the object tracking window using CAMSHIFT algorithm