Ask Your Question

Revision history [back]

This types define color depth, number of channels and channel layout in the image. On Android the most useful are CvType.CV_8UC4 and CvType.CV_8UCq. CvType.CV_8UC4 is 8-bit per channel RGBA image and can be captured from camera with NativeCameraView or JavaCameraView classes and drawn on surface. CvType.CV_8UC1 is gray scale image and is mostly used in computer vision algorithms.