Add CV_WRAP to registerOutput for language bindings support

This commit is contained in:
utibenkei
2025-04-26 01:31:43 +09:00
parent 19c4d97638
commit c774dd41cf

View File

@@ -606,7 +606,7 @@ CV__DNN_INLINE_NS_BEGIN
*
* @returns index of bound layer (the same as layerId or newly created)
*/
int registerOutput(const std::string& outputName, int layerId, int outputPort);
CV_WRAP int registerOutput(const std::string& outputName, int layerId, int outputPort);
/** @brief Sets outputs names of the network input pseudo layer.
*