Skip to content

Commit

Permalink
Merge pull request opencv#17742 from SoheibKadi/DetectionOutput_layer…
Browse files Browse the repository at this point in the history
…_doc

Adding comment from source code to DetectionOutputLayer class documentation
  • Loading branch information
alalek authored Aug 3, 2020
2 parents 1c8ee3f + 6bed5c1 commit 65b02cc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/dnn/include/opencv2/dnn/all_layers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,14 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
static Ptr<RegionLayer> create(const LayerParams& params);
};

/**
* @brief Detection output layer.
*
* The layer size is: @f$ (1 \times 1 \times N \times 7) @f$
* 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
{
public:
Expand Down

0 comments on commit 65b02cc

Please sign in to comment.