Skip to content
New issue

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

从相册选择二维码图片识别,但是RScan.scanImagePath一直返回为空 #18

Open
navyzhou926 opened this issue Apr 29, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@navyzhou926
Copy link

RScanResult result = await RScan.scanImagePath(imageFile.path);
一直为空

@navyzhou926
Copy link
Author

有些二维码或条码图片能扫描,有些扫描不了,我试了别的扫描软件都能扫描出来。还有就是扫描速度偏慢一些,有时要左右移动好久才能识别

@navyzhou926
Copy link
Author

RScanCameraController _controller;
await _controller.stopScan();
await _controller.startScan();

调用stopScan,然后在另一个点击事件中调用startScan,就停止扫描了,这也是一个问题

@navyzhou926
Copy link
Author

调用stopScan,然后在另一个点击事件中调用startScan,还是不能开始扫描了

@rexhu2012
Copy link

ImageScanHelper中 hints.put(DecodeHintType.POSSIBLE_FORMATS, BarcodeFormat.QR_CODE)这边不能直接放BarcodeFormat.QR_CODE,要把这个放到List list中,hints.put(DecodeHintType.POSSIBLE_FORMATS, list)。
图片识别的效果不是很好

@rhymelph rhymelph added the bug Something isn't working label May 6, 2020
@DuQuanzhong
Copy link

我也遇到了同样的问题

@zmGitHub
Copy link

相册中扫描 一直是不行

@zmGitHub
Copy link

没人解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants