GPU soft cascade: buffers preallocation

This commit is contained in:
marina.kolpakova
2012-09-20 18:35:48 +04:00
parent 2b7ce8b160
commit 1ab7af6995
3 changed files with 72 additions and 24 deletions

View File

@@ -1563,18 +1563,6 @@ public:
virtual void detectMultiScale(const GpuMat& image, const GpuMat& rois, GpuMat& objects,
int rejectfactor = 1, Stream stream = Stream::Null());
protected:
enum { BOOST = 0 };
enum
{
FRAME_WIDTH = 640,
FRAME_HEIGHT = 480,
TOTAL_SCALES = 55,
CLASSIFIERS = 5,
ORIG_OBJECT_WIDTH = 64,
ORIG_OBJECT_HEIGHT = 128
};
private:
struct Filds;
Filds* filds;