Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV in Java, why can't I use Mat.CvType.CV_8UC1?

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.

like image 565
Bogdan Tomi Avatar asked Mar 20 '13 13:03

Bogdan Tomi


1 Answers

You can try to use CvType.CV_8UC1 insted of Mat.CvType.CV_8UC1

like image 184
andriy Avatar answered Sep 26 '22 01:09

andriy