dnn: fix LayerFactory initialization

This commit is contained in:
Alexander Alekhin
2017-06-27 20:34:17 +03:00
parent 82ec76c123
commit 00dd433368
10 changed files with 168 additions and 142 deletions
-2
View File
@@ -85,8 +85,6 @@ static void colorizeSegmentation(const Mat &score, const vector<cv::Vec3b> &colo
int main(int argc, char **argv)
{
cv::dnn::initModule(); //Required if OpenCV is built as static libs
String modelTxt = fcnType + "-heavy-pascal.prototxt";
String modelBin = fcnType + "-heavy-pascal.caffemodel";
String imageFile = (argc > 1) ? argv[1] : "rgb.jpg";