Code Monkey home page Code Monkey logo

Comments (8)

panruifeng1990 avatar panruifeng1990 commented on September 18, 2024

跟换版本0.2.2试试

from nbzxing.

panruifeng1990 avatar panruifeng1990 commented on September 18, 2024

api 'com.github.ailiwean:NBZxing:0.2.4'
api 'com.github.ailiwean:NBZxing-Scale:0.0.6'
使用最新版本仍有问题

from nbzxing.

panruifeng1990 avatar panruifeng1990 commented on September 18, 2024

@ailiwean 你好作者,使用最新的线上仍然有bugly统计出此问题

from nbzxing.

panruifeng1990 avatar panruifeng1990 commented on September 18, 2024

//看代码都做了处理为啥还有这个问题 真奇葩 有知道的吗

protected void needParseDeploy(PlanarYUVLuminanceSource source, boolean isNative) {
    if (result != null && result.getText() != null)
        return;
    result = toLaunchParse(source.getHybridBinary());
    if (result != null && result.getText() != null && !"".equals(result.getText())) {
        sendMessage(Config.RT_LOCATION,
                ScanHelper.rotatePoint(result.getResultPoints()));
        sendMessage(Config.SCAN_RESULT, covertResult(result));
    }
}

protected com.ailiwean.core.Result covertResult(Result result) {
    com.ailiwean.core.Result result_ = new com.ailiwean.core.Result();
    result_.setText(result.getText());
    PointF[] pointFS = ScanHelper.rotatePoint(result.getResultPoints());
    result_.setQrPointF(ScanHelper.calCenterPointF(pointFS));
    result_.setQrLeng(ScanHelper.calQrLenghtShow(result.getResultPoints()));
    result_.setFormat(result.getBarcodeFormat());
    result_.setQrRotate(ScanHelper.calQrRotate(pointFS));
    return result_;
}

from nbzxing.

ailiwean avatar ailiwean commented on September 18, 2024

@panruifeng1990 可能是多线程导致的, 你加我群细聊 github老是收不到消息

from nbzxing.

panruifeng1990 avatar panruifeng1990 commented on September 18, 2024

好的 @ailiwean

from nbzxing.

kagurasansan avatar kagurasansan commented on September 18, 2024

@panruifeng1990 问题解决了吗,我们也有出现崩溃

from nbzxing.

ailiwean avatar ailiwean commented on September 18, 2024

@kagurasansan 用新版试试

from nbzxing.

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.