Skip to content

Commit 17c430d

Browse files
committed
Updated comment.
1 parent 96a501c commit 17c430d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -599,13 +599,11 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
599599
};
600600

601601
/**
602-
* @brief \f$ L_p \f$ - detection output layer.
602+
* @brief detection output layer.
603603
*
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]
604+
* The layer size is: @f$ (1 \times 1 \times N \times 7) @f$
605+
* where N is the number of detections after nms, and each row is:
606+
* [image_id, label, confidence, xmin, ymin, xmax, ymax]
609607
*/
610608
class CV_EXPORTS DetectionOutputLayer : public Layer
611609
{

0 commit comments

Comments
 (0)