fix return type for bool functions

This commit is contained in:
perseusdg
2021-08-04 12:37:58 +05:30
parent bb902f5b65
commit d2ce966c46
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -118,6 +118,7 @@ bool CenternetDetection::init(const std::string& tensor_path, const int n_classe
dst2.at<float>(2,0)=dst2.at<float>(1,0) + (-dst2.at<float>(0,1)+dst2.at<float>(1,1) );
dst2.at<float>(2,1)=dst2.at<float>(1,1) + (dst2.at<float>(0,0)-dst2.at<float>(1,0) );
return true;
}