diff --git a/modules/dnn/include/opencv2/dnn/all_layers.hpp b/modules/dnn/include/opencv2/dnn/all_layers.hpp index fb211fe46b..c9455ab528 100644 --- a/modules/dnn/include/opencv2/dnn/all_layers.hpp +++ b/modules/dnn/include/opencv2/dnn/all_layers.hpp @@ -599,11 +599,12 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN }; /** - * @brief detection output layer. + * @brief Detection output layer. * * The layer size is: @f$ (1 \times 1 \times N \times 7) @f$ - * where N is the number of detections after nms, and each row is: + * where N is [keep_top_k] parameter multiplied by batch size. Each row is: * [image_id, label, confidence, xmin, ymin, xmax, ymax] + * where image_id is the index of image input in the batch. */ class CV_EXPORTS DetectionOutputLayer : public Layer {