mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Boring changes - softcascade.
This commit is contained in:
parent
32205d3c5b
commit
cce0f48d3e
@ -58,7 +58,7 @@ cv::softcascade::ChannelsProcessor::ChannelsProcessor() { throw_no_cuda(); }
|
||||
cv::softcascade::ChannelsProcessor::~ChannelsProcessor() { throw_no_cuda(); }
|
||||
|
||||
cv::Ptr<cv::softcascade::ChannelsProcessor> cv::softcascade::ChannelsProcessor::create(const int, const int, const int)
|
||||
{ throw_no_cuda(); return cv::Ptr<cv::softcascade::ChannelsProcessor>(0); }
|
||||
{ throw_no_cuda(); return cv::Ptr<cv::softcascade::ChannelsProcessor>(); }
|
||||
|
||||
#else
|
||||
|
||||
@ -594,7 +594,7 @@ private:
|
||||
cv::Ptr<cv::softcascade::ChannelsProcessor> cv::softcascade::ChannelsProcessor::create(const int s, const int b, const int m)
|
||||
{
|
||||
CV_Assert((m && SEPARABLE));
|
||||
return cv::Ptr<cv::softcascade::ChannelsProcessor>(new SeparablePreprocessor(s, b));
|
||||
return makePtr<SeparablePreprocessor>(s, b);
|
||||
}
|
||||
|
||||
cv::softcascade::ChannelsProcessor::ChannelsProcessor() { }
|
||||
|
Loading…
Reference in New Issue
Block a user