fixing segfaults occuring when launching those unit tests
This commit is contained in:
committed by
David Carlier
parent
0d10eb5173
commit
bacc210606
@@ -83,6 +83,9 @@ protected:
|
||||
|
||||
vector<PointType> convertContourType(const Mat& currentQuery) const
|
||||
{
|
||||
if (currentQuery.empty()) {
|
||||
return vector<PointType>();
|
||||
}
|
||||
vector<vector<Point> > _contoursQuery;
|
||||
findContours(currentQuery, _contoursQuery, RETR_LIST, CHAIN_APPROX_NONE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user