扫描QR code,如果多个QR code在屏幕上显示 [英] Scan QR code if multiple QR code showing on screen

查看:848
本文介绍了扫描QR code,如果多个QR code在屏幕上显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一款使用Android操作系统的示例应用程序作为一个学术项目,我需要扫描QR code,我用QR扫描code库,我能够检测到C分别成功,如果屏幕上有QR $ C $只有一个QR code。

I am developing one android sample application as an academic project where I need to scan QR code, I used QR scan code library and I am able to detect QR code successfully if on screen there is only one QR code.

右键我想扫描QR code虽然同样QR code表示在同时在屏幕上多个地方。举一个例子,在我的笔记本电脑屏幕QR code图像看起来类似下面images.All QR codeS一样,它们之间没有什么区别。
考虑下面这些具有6个和4个同样的QR code,但与一些填充在一起的图像。现在,用户关注的焦点或将相机屏幕上的任何地方,应该进行扫描。如果相机聚焦在多个QR code在同一时间然后扫描他们中的任何一个。

Right I want to scan QR code although same QR code showing at multiple places on screen at a time. For an example, On my laptop screen QR code image looks like below mentioned images.All QR codes are same, there is no difference between them. Consider below images which are having 6 and 4 same QR code but together with some padding. Now, user focus or put camera anywhere on screen it should be scanned. If camera focus on multiple QR code at a time then scan any one of them.

解决方案,我想

1),我们可以限制摄像机preVIEW框架的区域并试图让QR code,但按我的要求,这是不可行的。
2)应适用的任何图像处理算法图像第一?

1) We can limit the area of camera preview frame and try to get QR code, but as per my requirement it is not feasible. 2) Shall I apply any image processing algorithm on image first?

请帮助我,我如何与稳健性实现。
任何帮助将是AP preciated。感谢您的时间。

Please help me how can I achieve with robustness. Any help would be appreciated. Thanks for your time.

2图片:

问候

推荐答案

我不明白这一点。为什么会有人有相同的QR codeS其网页上的3×2?我理解的方式,所有4个或QR codeS 6将在相同的点在一个页面上进行分组?

I don't understand this. Why would someone have 3x2 of the exact same QR codes on their page? The way I'm understanding it, all 4 or 6 of the QR codes would be grouped in the exact same spot on one page?

这篇关于扫描QR code,如果多个QR code在屏幕上显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆