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

二维码识别,在连续识别的情况下,如何设置识别时间隔间? #97

Open
lhb123 opened this issue Jul 24, 2023 · 1 comment

Comments

@lhb123
Copy link

lhb123 commented Jul 24, 2023

在连续识别二维码的情况下,我想要二次识别设置下识别间隔时间3秒左右,现在好像是不断的连续识别,调用remoteView.onstop()方法,j来停止识别,让后再调用onstart()方法开启识别,这个界面就不太友好了!不知道官方有设置这个连续识别间隔时间不?

@peura-toni
Copy link

Hello,

According to my research the continuous scan is collecting the results while the camera is in use thus scans the frame without intervals.

In order to wait for a specific time frame while scanning a barcode, you can implement your own camera or use a 3rd party dependency that offers camera as a widget and process the camera output using Huawei Scan's decodeWithBitmap API. For detailed information about decodeWithBitmap API, please check this link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants