mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-17 15:26:00 +08:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -135,13 +135,6 @@ struct GPCTrainingParams
|
||||
CV_Assert( check() );
|
||||
}
|
||||
|
||||
GPCTrainingParams( const GPCTrainingParams ¶ms )
|
||||
: maxTreeDepth( params.maxTreeDepth ), minNumberOfSamples( params.minNumberOfSamples ), descriptorType( params.descriptorType ),
|
||||
printProgress( params.printProgress )
|
||||
{
|
||||
CV_Assert( check() );
|
||||
}
|
||||
|
||||
bool check() const { return maxTreeDepth > 1 && minNumberOfSamples > 1; }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user