1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

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
@@ -84,8 +84,6 @@ static std::vector<String> readClassNames(const char *filename = "synset_words.t
int main(int argc, char **argv)
{
cv::dnn::initModule(); //Required if OpenCV is built as static libs
String modelTxt = "bvlc_googlenet.prototxt";
String modelBin = "bvlc_googlenet.caffemodel";
String imageFile = (argc > 1) ? argv[1] : "space_shuttle.jpg";