protected void processImage(byte[] data, int width, int height) { int w = width, h = height; if (grayImage == null || grayImage.width() != w || grayImage.height() != h) { grayImage = IplImage.createHeader(new CvSize(width, height), IPL_DEPTH_8U, 3); } BytePointer rawImageData = new BytePointer(data); cvSetData(grayImage, rawImageData, w*3); String filename; filename =Environment.getExternalStorageDirectory().toString()+"/RGB-"+Math.random()+".jpg"; cvSaveImage(filename,grayImage); // Save a image for check .
Fatal signal 11 (SIGSEGV) at 0x5e2a2000 (code=1), thread 28133 (acv.facepreview)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)