Ask Your Question

Yolo DNN example [closed]

asked 2018-11-12 03:57:12 -0500

gerardWalsh gravatar image

When trying to compile YOLO Object Detection example with g++ object_detection.cpp -o yolo pkg-config --cflags --libs opencv I run into the error "fatal error: common.hpp: No such file or directory". I see this file was added to pre-process paramaters. I know sure how to resolve this issue?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by gerardWalsh
close date 2018-11-12 04:34:22.514452

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-12 04:15:39 -0500

berak gravatar image

updated 2018-11-12 04:19:44 -0500

dkurt gravatar image

if you are using opencv3.4.3, you should use 3.4.3 samples , too. (not the ones from the master branch)

however, the current master branch version should still compile fine with 3.4.3, once you copy common.hpp and models.yml next to your sample

edit flag offensive delete link more


Of course one should - Thanks

gerardWalsh gravatar imagegerardWalsh ( 2018-11-12 04:34:12 -0500 )edit

Question Tools

1 follower


Asked: 2018-11-12 03:57:12 -0500

Seen: 235 times

Last updated: Nov 12 '18