GithubHelp home page GithubHelp logo

Comments (7)

mylhyl avatar mylhyl commented on May 30, 2024

扫描成功的残影:#9

from android-zxing.

mylhyl avatar mylhyl commented on May 30, 2024

请使用RelativeLayout布局,laserFrameTopMargin只计算了状态栏与标题栏的高度

from android-zxing.

Swordce avatar Swordce commented on May 30, 2024

我设置只能靠上或者靠下,如何居中呢?

from android-zxing.

mylhyl avatar mylhyl commented on May 30, 2024

@Swordce 没有提供居中api,大部分扫描区域上下都是5:8比例,视觉效果比较适中,你可以先用setLaserFrameTopMargin调至居中,看看效果视觉如何,有必要的话再issues

from android-zxing.

ACMNexus avatar ACMNexus commented on May 30, 2024

确实是的,我今天也在设置扫描框的位置之后,扫描的识别率就非常的低了,基本上就非常的难的扫描了。我那个时候以为是改变了文字的位置,后来发现我还修改了扫描框topMargin。请问一下如果我想在扫描框的下面加入一些控件要如何做呢?我还没有想到这个。

from android-zxing.

mylhyl avatar mylhyl commented on May 30, 2024

@ACMNexus 最外层用RelativeLayout

from android-zxing.

chardlau avatar chardlau commented on May 30, 2024

@opencheer
关于"发现在二维码离得特别近的时候扫描的识别率变低"的这个问题你有解决吗?
我在测试的时候,使二维码尽量与LaserFrame四边对齐的时候,发现基本无法扫描出来,反而把摄像头拿远一点就能成功。

from android-zxing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.