error: ‘LINE_AA‘ is not a member of ‘cv‘
问题:
error: 'CAP_FFMPEG' is not a member of 'cv'
error: 'LINE_AA' is not a member of 'cv'
error: 'fourcc' is not a member of 'cv::VideoWriter'
error: 'CAP_PROP_FRAME_COUNT' is not a member of 'cv'
网上解决办法:
加上头文件
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/opencv.hpp"
没有用。。。
最后:
更新opencv版本,自带为2.4.9,更新为3.4.3,没有上面的问题了。
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
