# include
# include
# include
# include
using namespace std;
Using the namespace CV;
Int main ()
{
Mat src1, src2, DST;
Src1=imread (" E:/Project/C_OPV/beauty. JPG ");
Src2=imread (" E:/Project/C_OPV/beauty. JPG ");
Int val=src1. Rows;
Cout & lt; <"The beauty:" & lt;
If (src1. Rows==src2. Rows & amp; & Src1. Cols==src2. Cols & amp; & Src1. Type ()=src2. Type ())
{
Cout & lt; <"Image size and same type" & lt;
return 0;
}
CodePudding user response:
The compiler said you have a wrong you must be a wrongThe compiler doesn't necessarily true didn't say you are wrong you
And error messages have been positioning to the equal sign, less clearly is trying to tell you an equal sign,
CodePudding user response:
the last little==if (src1. Rows==src2. Rows & amp; & Src1. Cols==src2. Cols & amp; & Src1. Type ()==src2. Type ())
CodePudding user response:
Hair done, the clothes are fixed, but the shoes are not produced,CodePudding user response:
The last to have written the===