com.google.zxing.Binarizer Java Examples
The following examples show how to use
com.google.zxing.Binarizer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: QrCodeUtil.java From util4j with Apache License 2.0 | 5 votes |
public static String decode(InputStream in) throws Exception { BufferedImage image = ImageIO.read(in); LuminanceSource source = new BufferedImageLuminanceSource(image); Binarizer binarizer = new HybridBinarizer(source); BinaryBitmap binaryBitmap = new BinaryBitmap(binarizer); Map<DecodeHintType, Object> hints = new HashMap<DecodeHintType, Object>(); hints.put(DecodeHintType.CHARACTER_SET, "UTF-8"); Result result = new MultiFormatReader().decode(binaryBitmap, hints);// 对图像进行解码 return result.getText(); }
Example #2
Source File: HybridBinarizer.java From weex with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #3
Source File: HybridBinarizer.java From Telegram with GNU General Public License v2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #4
Source File: GlobalHistogramBinarizer.java From Telegram with GNU General Public License v2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #5
Source File: HybridBinarizer.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #6
Source File: GlobalHistogramBinarizer.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #7
Source File: HybridBinarizer.java From RipplePower with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #8
Source File: GlobalHistogramBinarizer.java From RipplePower with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #9
Source File: HybridBinarizer.java From MiBandDecompiled with Apache License 2.0 | 4 votes |
public Binarizer createBinarizer(LuminanceSource luminancesource) { return new HybridBinarizer(luminancesource); }
Example #10
Source File: GlobalHistogramBinarizer.java From MiBandDecompiled with Apache License 2.0 | 4 votes |
public Binarizer createBinarizer(LuminanceSource luminancesource) { return new GlobalHistogramBinarizer(luminancesource); }
Example #11
Source File: HybridBinarizer.java From reacteu-app with MIT License | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #12
Source File: GlobalHistogramBinarizer.java From reacteu-app with MIT License | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #13
Source File: HybridBinarizer.java From barcodescanner-lib-aar with MIT License | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #14
Source File: GlobalHistogramBinarizer.java From barcodescanner-lib-aar with MIT License | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #15
Source File: GlobalHistogramBinarizer.java From ScreenCapture with MIT License | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #16
Source File: GlobalHistogramBinarizer.java From weex with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #17
Source File: HybridBinarizer.java From analyzer-of-android-for-Apache-Weex with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #18
Source File: GlobalHistogramBinarizer.java From analyzer-of-android-for-Apache-Weex with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #19
Source File: HybridBinarizer.java From ZXing-Orient with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #20
Source File: GlobalHistogramBinarizer.java From ZXing-Orient with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #21
Source File: HybridBinarizer.java From QrCodeScanner with GNU General Public License v3.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #22
Source File: GlobalHistogramBinarizer.java From QrCodeScanner with GNU General Public License v3.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #23
Source File: HybridBinarizer.java From Tesseract-OCR-Scanner with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }
Example #24
Source File: GlobalHistogramBinarizer.java From Tesseract-OCR-Scanner with Apache License 2.0 | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new GlobalHistogramBinarizer(source); }
Example #25
Source File: HybridBinarizer.java From ScreenCapture with MIT License | 4 votes |
@Override public Binarizer createBinarizer(LuminanceSource source) { return new HybridBinarizer(source); }