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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user