1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

fixed some bugs, added tests for gpu::HOGDescriptor

This commit is contained in:
Alexey Spizhevoy
2010-11-15 12:51:30 +00:00
parent 13134595fd
commit fada88e100
5 changed files with 213 additions and 9 deletions
-5
View File
@@ -295,11 +295,6 @@ void cv::gpu::HOGDescriptor::detectMultiScale(const GpuMat& img, vector<Rect>& f
}
cv::gpu::GpuMat cv::gpu::HOGDescriptor::getLastBlockHists() const {
return block_hists;
}
int cv::gpu::HOGDescriptor::numPartsWithin(int size, int part_size, int stride)
{
return (size - part_size + stride) / stride;