gpt4 book ai didi

c++ - C++,OpenCV : Cannot include imgproc library for Cvtcolor function

转载 作者:搜寻专家 更新时间:2023-10-31 01:02:55 28 4
gpt4 key购买 nike

我是opencv新手,写的时候想用CvtColor函数

<#include opencv2/imgproc/imgproc2410.hpp>

它说 Error 1 error C1083: Cannot open include file: 'opencv2/imgproc/imgproc2410.hpp': No such file or directory

您有什么建议吗?谢谢。

最佳答案

没有这样的文件:

<#include opencv2/imgproc/imgproc2410.hpp>

替换为

#include <opencv2/imgproc/imgproc.hpp>

关于c++ - C++,OpenCV : Cannot include imgproc library for Cvtcolor function,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26306969/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com