简体   繁体   English

如何从相机获取当前帧作为图像?

[英]How to get current frames as image from camera?

Hello im trying to make my own special custom code scanner. 您好,我正在尝试制作自己的特殊自定义代码扫描程序。 My app's render a special custom barcode and I need to make a very simple scanner that will take whats currently being seen with the camera and quickly process it to decode the barcode. 我的应用程序渲染了特殊的自定义条形码,我需要制作一个非常简单的扫描仪,它将读取相机当前所看到的内容,并快速对其进行处理以解码条形码。 So how can I grab the frames from the camera and use them as images without pressing the "take" button. 因此,如何在不按下“拍摄”按钮的情况下从相机中抓取帧并将其用作图像。

check the open source project. 检查开源项目。 It give bar-code without click take photo button. 它无需点击拍照按钮即可提供条形码。

Link 链接

Thanks 谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM