- 升级lib库
- 升级zxing库到3.3.2
- 生成彩色二维码
usb摄像头识别二维码,涉及安卓技术:
- TextureView 使用
- 进程间通信,aidl
- Service使用
- 二维码/条码识别,支持选择图片识别
- USB连接
- 运行项目,连接USB摄像头,即可自动识别二维码
扫描二维码 | 识别结果 | 选择相册 |
---|---|---|
同样也可识别条码,详细使用请参考我的博客: USB摄像头预览识别二维码
参考:
USB串口摄像头识别二维码
License: Apache License 2.0
usb摄像头识别二维码,涉及安卓技术:
扫描二维码 | 识别结果 | 选择相册 |
---|---|---|
同样也可识别条码,详细使用请参考我的博客: USB摄像头预览识别二维码
参考:
我硬件上有三个摄像头 从相机列表中能读取到三个 但是有两个可以显示扫码 另一个显示黑屏 您知道什么原因么 没有任何报错 也没有空指针
考虑自定义TextureView,显示预览时不能再draw.
准备在考虑帧布局写死,
最终达到微信二维码扫描效果
😄
你好,我想使用你的demo里面uvc camera来将我的摄像机上面的内容 推流到阿里云直播上面(https://help.aliyun.com/document_detail/45265.html?spm=a2c4g.11186623.6.736.1j69cd),请问能否提供下思路,代码不是很容易啃动,两天了没有找到突破点。。。如能提供思路或帮助,万谢!您可以加我qq 875075511 ,我会随时留意这条问题动态
请问下,为什么我把代码移动到我的工程里面,UCVService服务就不启动了,USB摄像头也就检测不到了
UVCCamera也是黑的,不知道如何解决,错误是[15714*UVCCamera.cpp:172:connect]:could not open camera:err=-1
11-20 15:52:38.528 2088-2088/com.serenegiant.usbcameratest4 W/System.err: com.google.zxing.NotFoundException
11-20 15:52:38.528 2088-2088/com.serenegiant.usbcameratest4 W/CameraFragment: 二维码有误
11-20 15:52:39.196 2088-2088/com.serenegiant.usbcameratest4 W/System.err: com.google.zxing.NotFoundException
11-20 15:52:39.196 2088-2088/com.serenegiant.usbcameratest4 W/CameraFragment: 二维码有误
11-20 15:52:39.870 2088-2088/com.serenegiant.usbcameratest4 W/System.err: com.google.zxing.NotFoundException
11-20 15:52:39.870 2088-2088/com.serenegiant.usbcameratest4 W/CameraFragment: 二维码有误
11-20 15:52:40.544 2088-2088/com.serenegiant.usbcameratest4 W/System.err: com.google.zxing.NotFoundException
11-20 15:52:40.544 2088-2088/com.serenegiant.usbcameratest4 W/CameraFragment: 二维码有误
11-20 15:52:41.221 2088-2088/com.serenegiant.usbcameratest4 W/System.err: com.google.zxing.NotFoundException
你这个插上后无法预览怎么回事呢,后面我用UVCcamera test4这个源码包,需要点一次关闭服务,再点开户服务,才可以预览
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.