Comments (6)
from yxing.
二维码图片发一下看看
from yxing.
from yxing.
应该是反转二维码,可以参考这个处理https://cloud.tencent.com/developer/article/1199973
我是在catch里面又把资源反转了一下处理的
BinaryBitmap binaryBitmap = new BinaryBitmap(new HybridBinarizer(source));
try {
result = formatReader.decode(binaryBitmap);
} catch (Exception e) {
try {
binaryBitmap = new BinaryBitmap(new HybridBinarizer(source.invert()));
result = formatReader.decode(binaryBitmap);
} catch (Exception e1) {
e1.printStackTrace();
}
e.printStackTrace();
}
from yxing.
另外还有个问题,AudioUtil中的activity有内存泄漏哦
from yxing.
from yxing.
Related Issues (20)
- 提个小建议,scansize,提供高宽设置,像我现在项目需要设计一个长方形的条码框,现在不改源码好像实现不了 HOT 1
- leakcanary 检测到内存泄露 HOT 1
- 为什么我设置setLimitRect(true)之后会崩溃 HOT 1
- 不停的报错 HOT 1
- 我报这个 HOT 1
- 请问,能出一个连续扫描吗? HOT 2
- 您好,可以增加扫描返回值吗?现在之返回扫码结果,是否可以返回一下是二维码,一维码?
- 大佬,帮忙看下闪退问题,多发生于低端机型上,分辨率为720*1600/720*xxxx HOT 3
- 有哪位大佬能帮忙看一下,OPPOA32,分辨率为1600*720的手机扫描二维码一直扫不出来 HOT 7
- 请问可以加一个跳转到自定义界面的多种方法吗 HOT 2
- 比较难扫码成功是什么原因?
- 扫码失败能停留在扫码页面吗?
- 扫码的时候 声音会响很多次 HOT 2
- 鸿蒙手机退出应用再进入扫码界面黑屏 HOT 1
- 怎么连扫
- 最新版本v2.0.1扫码之后拿不到返回结果 HOT 1
- 华为Nova9 鸿蒙3.0, 扫描不出或扫出随机错码
- 圖像規格支援 HOT 1
- IndexOutOfBoundsException off=777600, len=1920 out of bounds (size=777600)
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 yxing.