removed check disabling GPU face detection under Linux, i've checked -- it works
This commit is contained in:
parent
e06557c4a1
commit
a6aff1856b
@ -264,10 +264,6 @@ Size cv::gpu::CascadeClassifier_GPU::getClassifierSize() const
|
|||||||
|
|
||||||
int cv::gpu::CascadeClassifier_GPU::detectMultiScale( const GpuMat& image, GpuMat& objectsBuf, double scaleFactor, int minNeighbors, Size minSize)
|
int cv::gpu::CascadeClassifier_GPU::detectMultiScale( const GpuMat& image, GpuMat& objectsBuf, double scaleFactor, int minNeighbors, Size minSize)
|
||||||
{
|
{
|
||||||
#if !defined(_MSC_VER)
|
|
||||||
CV_Assert(!"FD under not-VS2008 is not implemented");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
CV_Assert( scaleFactor > 1 && image.depth() == CV_8U);
|
CV_Assert( scaleFactor > 1 && image.depth() == CV_8U);
|
||||||
CV_Assert( !this->empty());
|
CV_Assert( !this->empty());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user