头文件写法参考
- getarea.h
导出函数设定: extern “C” __declspec(dllexport) void _stdcall
- cpp文件写法参看
3.vs 库文件配置介绍
头文件及包含的库文件目录设定
(1)头文件设定E:\halcon\env\opencv\include\opencv2;E:\halcon\env\opencv\include;E:\halcon\env\halcon\include;E:\halcon\env\halcon\include\halconcpp;$(IncludePath)
(2)库文件设定
E:\halcon\env\opencv\lib;E:\halcon\env\halcon\lib;$(LibraryPath)
附加依赖项:
halcon.lib;halconcpp.lib;opencv_world410d.lib;opencv_world410.lib;%(AdditionalDependencies)
halcon 圆检测(识别圆、圆拟合) 识别搜索关键词