We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
作者你好:demo裁剪出来的图片不是扫码框内的部分 是不是以下代码需要对原始数据进行方向判断并转换方向?麻烦了 @OverRide public void onPictureTaken(CameraView cameraView, byte[] data) { super.onPictureTaken(cameraView, data); //TODO data的方向与预览的不一致 mCameraView.cropImage(data, new SmartCameraView.CropCallback() { @OverRide public void onCropped(Bitmap cropBitmap) { if (cropBitmap != null) { showPicture(cropBitmap); } } }); }
The text was updated successfully, but these errors were encountered:
扫描预览是正常的?就拍照裁剪不正常?手机是关闭屏幕旋转还是开启状态?
CameraView.cropImage 里面已经做过方向判断了。
Sorry, something went wrong.
No branches or pull requests
作者你好:demo裁剪出来的图片不是扫码框内的部分 是不是以下代码需要对原始数据进行方向判断并转换方向?麻烦了
@OverRide
public void onPictureTaken(CameraView cameraView, byte[] data) {
super.onPictureTaken(cameraView, data);
//TODO data的方向与预览的不一致
mCameraView.cropImage(data, new SmartCameraView.CropCallback() {
@OverRide
public void onCropped(Bitmap cropBitmap) {
if (cropBitmap != null) {
showPicture(cropBitmap);
}
}
});
}
The text was updated successfully, but these errors were encountered: