Appear this kind of problem, first of all, we see their own version, opencv4 is to put the CV. H file, fusion is image processing imgproc header files,
At the same time, in their own opencv installation directory search whether have the file, and then checked the opencv library version of want to belong to the header file, using the function of the edition also note function because there might be modified version problem,
If the header file on face recognition face, need to download the contrib
Reference: https://blog.csdn.net/bboytd_lyg/article/details/78457260
CodePudding user response:
Direct # include & lt; Opecv2/imgproc> It is ok