Ask Your Question

Dave Employed's profile - activity

2013-12-03 16:46:19 -0600 commented question The matrix is not continuous... got an error when executing face recognition from video

In JavaCv 4.5, there is a bug in the CvMat.isContinuous function that applies a mask to the results of calling type() which itself applies a mask to raw_type losing the bit that indicates the matrix is continuous.

i.e. public boolean isContinuous() { return opencv_core.CV_IS_MAT_CONT(type()); }

Perhaps the same problem exists in the C++ source

2013-12-03 16:44:53 -0600 answered a question The matrix is not continuous... got an error when executing face recognition from video

In JavaCv 4.5, there is a bug in the CvMat.isContinuous function that applies a mask to the results of calling type() which itself applies a mask to raw_type losing the bit that indicates the matrix is continuous.

i.e. public boolean isContinuous() { return opencv_core.CV_IS_MAT_CONT(type()); }

Perhaps the same problem exists in the C++ source.