Comments (7)
扫描成功的残影:#9
from android-zxing.
请使用RelativeLayout布局,laserFrameTopMargin只计算了状态栏与标题栏的高度
from android-zxing.
我设置只能靠上或者靠下,如何居中呢?
from android-zxing.
@Swordce 没有提供居中api,大部分扫描区域上下都是5:8比例,视觉效果比较适中,你可以先用setLaserFrameTopMargin调至居中,看看效果视觉如何,有必要的话再issues
from android-zxing.
确实是的,我今天也在设置扫描框的位置之后,扫描的识别率就非常的低了,基本上就非常的难的扫描了。我那个时候以为是改变了文字的位置,后来发现我还修改了扫描框topMargin。请问一下如果我想在扫描框的下面加入一些控件要如何做呢?我还没有想到这个。
from android-zxing.
@ACMNexus 最外层用RelativeLayout
from android-zxing.
@opencheer
关于"发现在二维码离得特别近的时候扫描的识别率变低"的这个问题你有解决吗?
我在测试的时候,使二维码尽量与LaserFrame四边对齐的时候,发现基本无法扫描出来,反而把摄像头拿远一点就能成功。
from android-zxing.
Related Issues (20)
- camera 有开放出来么 怎么获取到
- 扫描界面锁屏后再打开黑屏 HOT 6
- can't find referenced method 'int save(int)' in library class android.graphics.Canvas HOT 3
- 图片导入扫码 HOT 1
- 能不能支持自动检测,提示开启闪光灯? HOT 1
- app编译版本28,模块无法正常运行 HOT 2
- java.lang.IllegalArgumentException:Crop rectangle does not fit within image data.
- java.lang.ArrayIndexOutOfBoundsException
- 下载android studio3.4.1之后,com.google.zxing.Result 找不到, HOT 3
- Android5.1创建二维码报UnsupportedEncodingException: java.nio.charset.CharsetICU[UTF-8] HOT 1
- 报错java.lang.UnsupportedOperationException: Binary XML file line #-1: You must supply a layout_width attribute.
- 如何释放scannerview,就是我感觉在一个界面使用scannerview后面隐藏显示我请求的数据,这个页面就会有点卡顿
- 在扫描界面,切换到系统设置关闭相机权限,再切换回扫描界面,app就挂了。
- 横屏、竖屏一切换就崩溃 HOT 1
- 无法扫描反色二维码 HOT 4
- ...
- 扫码页面高度不是全屏的时候在红米手机上会出现预览界面压缩 很难识别
- 前置摄像头扫条形码怎么识别 HOT 1
- jcenter停止维护,近期有迁移计划吗? HOT 3
- 如何自定义选择摄像头扫描,不想默认摄像头我想自己选择哪个摄像头进行扫描如何实现。请回答一下谢谢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-zxing.