Skip to content

Commit 19c914d

Browse files
committed
Changed wrapping mode for cv::dnn::Net::forward
1 parent cac4a7e commit 19c914d

File tree

1 file changed

+2
-2
lines changed
  • modules/dnn/include/opencv2/dnn

1 file changed

+2
-2
lines changed

modules/dnn/include/opencv2/dnn/dnn.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
423423
* @param outputBlobs contains all output blobs for each layer specified in @p outBlobNames.
424424
* @param outBlobNames names for layers which outputs are needed to get
425425
*/
426-
void forward(std::vector<std::vector<Mat> >& outputBlobs,
427-
const std::vector<String>& outBlobNames);
426+
CV_WRAP_AS(forwardAndRetrieve) void forward(CV_OUT std::vector<std::vector<Mat> >& outputBlobs,
427+
const std::vector<String>& outBlobNames);
428428

429429
//TODO:
430430
/** @brief Optimized forward.

0 commit comments

Comments
 (0)