If I try to write that code Mat.CvType.CV_8UC1 I get the error CvType cannot be resolved or is not a field. What am I missing? I think I've added the correct library and DLL in the project properties because everything else seems to be working. I need to find those CV_8UC1 CV_8UC2, etc.
如果我尝试编写这个代码matl . cvtype。CV_8UC1我得到错误CvType无法解决或不是字段。我缺少什么?我认为我已经在项目属性中添加了正确的库和DLL,因为其他一切似乎都在工作。我需要找到CV_8UC1 CV_8UC2,等等。
1 个解决方案
#1
9
You can try to use CvType.CV_8UC1
insted of Mat.CvType.CV_8UC1
您可以尝试使用CvType。CV_8UC1本月的Mat.CvType.CV_8UC1
#1
9
You can try to use CvType.CV_8UC1
insted of Mat.CvType.CV_8UC1
您可以尝试使用CvType。CV_8UC1本月的Mat.CvType.CV_8UC1