Merge pull request #17742 from SoheibKadi/DetectionOutput_layer_doc

Adding comment from source code to DetectionOutputLayer class documentation
This commit is contained in:
Alexander Alekhin 2020-08-03 17:17:04 +03:00 committed by GitHub
commit 65b02cc8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: