CZXing icon indicating copy to clipboard operation
CZXing copied to clipboard

相机预览放大问题

Open StephenZKCurry opened this issue 5 years ago • 2 comments

使用ScanView自定义界面的方式识别二维码,在调用openCamera()方法后(并未调用startScan()开始识别)展示的相机预览画面会拉伸放大,这个效果可以取消吗

StephenZKCurry avatar Sep 18 '20 07:09 StephenZKCurry

提前设置BarcodeReader.getInstance().enableCVDetect(false);就可以了

devilsen avatar Sep 21 '20 02:09 devilsen

提前设置BarcodeReader.getInstance().enableCVDetect(false);就可以了

我是在调用openCamera()方法前设置了BarcodeReader.getInstance().enableCVDetect(false),没有效果

StephenZKCurry avatar Sep 21 '20 03:09 StephenZKCurry