hetian9288 / flutter_qr_reader

QR code (scan / picture) recognition (AndroidView / UiKitView)
MIT License
112 stars 161 forks source link

HINTS中DecodeHintType.TRY_HARDER参数设置错误 #59

Open zjywill opened 3 years ago

zjywill commented 3 years ago

https://zxing.github.io/zxing/apidocs/com/google/zxing/DecodeHintType.html#TRY_HARDER

        HINTS.put(DecodeHintType.TRY_HARDER, BarcodeFormat.QR_CODE);
        HINTS.put(DecodeHintType.POSSIBLE_FORMATS, allFormats);
        HINTS.put(DecodeHintType.CHARACTER_SET, "utf-8");
    TRY_HARDER
    public static final DecodeHintType TRY_HARDER
    Spend more time to try to find a barcode; optimize for accuracy, not speed. Doesn't matter what it maps to; use Boolean.TRUE.