我已经获得了 RAW 指纹图像,但需要将其镜像以将其与另一个图像进行比较。原始 Raw 图像数据如下所示:
public void onUpImageSuccess(byte[] data) {
Log.i("whw", "up image data.length="+data.length);
Bitmap image = BitmapFactory.decodeByteArray(data, 0,
data.length);
Bitmap bitmap = ImageMirror.getInstance().MirrorImage(image,1);
fingerprintImage
.setBackgroundDrawable(new BitmapDrawable(bitmap));
}