From 19c914db51e916af08dd7c6680a164ae7b8914a0 Mon Sep 17 00:00:00 2001 From: Alexander Rybnikov Date: Sat, 16 Dec 2017 12:21:12 +0300 Subject: [PATCH] Changed wrapping mode for cv::dnn::Net::forward --- modules/dnn/include/opencv2/dnn/dnn.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dnn/include/opencv2/dnn/dnn.hpp b/modules/dnn/include/opencv2/dnn/dnn.hpp index 24cabc20e8..a0eca0a252 100644 --- a/modules/dnn/include/opencv2/dnn/dnn.hpp +++ b/modules/dnn/include/opencv2/dnn/dnn.hpp @@ -423,8 +423,8 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN * @param outputBlobs contains all output blobs for each layer specified in @p outBlobNames. * @param outBlobNames names for layers which outputs are needed to get */ - void forward(std::vector >& outputBlobs, - const std::vector& outBlobNames); + CV_WRAP_AS(forwardAndRetrieve) void forward(CV_OUT std::vector >& outputBlobs, + const std::vector& outBlobNames); //TODO: /** @brief Optimized forward.