Skip to content

Commit 96a501c

Browse files
committed
Adding comment from source code to documentation.
1 parent 2e16505 commit 96a501c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,15 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
598598
static Ptr<RegionLayer> create(const LayerParams& params);
599599
};
600600

601+
/**
602+
* @brief \f$ L_p \f$ - detection output layer.
603+
*
604+
* num() and channels() are 1.
605+
* Since the number of bboxes to be kept is unknown before nms, we manually
606+
* set it to maximal number of detections, [keep_top_k] parameter multiplied by batch size.
607+
* Each row is a 7 dimension std::vector, which stores
608+
* [image_id, label, confidence, xmin, ymin, xmax, ymax]
609+
*/
601610
class CV_EXPORTS DetectionOutputLayer : public Layer
602611
{
603612
public:

0 commit comments

Comments
 (0)