Opencv 3.0.0 , C++, Visual Studio 2015 - error in finding contours and ConvexHull

后端 未结 3 1021
时光说笑
时光说笑 2021-01-16 01:50

I am trying to write a program that can create a polygon(of any number of sides) around a certain object and find the polygon\'s centroid . For this purpose, I opted to use

3条回答
  •  逝去的感伤
    2021-01-16 02:11

    It is probably a simple linking problem.

    If you are compiling in Debug mode, the linker needs the Input Variables opencv_world310d.lib not the opencv_world310.lib (notice the d before the dot).

    Only when you compile the Release mode you have to type in the opencv_world310.lib.

    I had the same problem. Cost me a day to figure out.

提交回复
热议问题