integrate new cascade format to GPU soft cascade implementation

This commit is contained in:
marina.kolpakova
2013-01-23 14:57:51 +04:00
parent 7572b4d400
commit 8d9c9c2690
7 changed files with 210 additions and 156 deletions

View File

@@ -1556,7 +1556,7 @@ protected:
ChannelsProcessor();
};
// Implementation of soft (stageless) cascaded detector.
// Implementation of soft (stage-less) cascaded detector.
class CV_EXPORTS SCascade : public Algorithm
{
public:
@@ -1577,8 +1577,8 @@ public:
enum { NO_REJECT = 1, DOLLAR = 2, /*PASCAL = 4,*/ DEFAULT = NO_REJECT, NMS_MASK = 0xF};
// An empty cascade will be created.
// Param minScale is a minimum scale relative to the original size of the image on which cascade will be applyed.
// Param minScale is a maximum scale relative to the original size of the image on which cascade will be applyed.
// Param minScale is a minimum scale relative to the original size of the image on which cascade will be applied.
// Param minScale is a maximum scale relative to the original size of the image on which cascade will be applied.
// Param scales is a number of scales from minScale to maxScale.
// Param flags is an extra tuning flags.
SCascade(const double minScale = 0.4, const double maxScale = 5., const int scales = 55,
@@ -1595,7 +1595,7 @@ public:
// Load cascade config.
virtual void read(const FileNode& fn);
// Return the matrix of of detectioned objects.
// Return the matrix of of detected objects.
// Param image is a frame on which detector will be applied.
// Param rois is a regions of interests mask generated by genRoi.
// Only the objects that fall into one of the regions will be returned.