通过相机扫描图像和从相机捕获图像之间有什么区别吗? [英] Are there any different between Scan image through camera and capturing image from camera?

查看:125
本文介绍了通过相机扫描图像和从相机捕获图像之间有什么区别吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道从相机扫描和拍照之间的区别.例如,我们通常使用SCAN QR码,条形码,android手机之类的东西.它们也是图像.我们可以从相机拍摄照片.它也形象.

I need to know that different between scanning and taking photo from camera . As example we normally , SCAN QR code , bar code , like thing using android phone.They are also image. we can take photo from camera. it also image.

那么,它是扫描QR码,是指拍摄图像并对其进行处理,还是有什么特别的事情要从像素值中获取图像?

So ,is it Scanning QR code , mean take image and processing it or are there have any special thing take image from pixel values ?

推荐答案

最大的不同是,当您捕获图像时,当您扫描时,将得到一个已处理的jpg文件. strong>您正在使用原始的YUV字节数组.

Biggest difference is that when you capture an image you get a processed jpg file, when you're scanning you're working with raw YUV byte array.

在谈论图片时,您通常需要担心质量,闪光灯,光圈,快门速度,iso,白平衡以及许多其他因素,这些都会使它成为一幅好图像并很适合可以看到的人,而当您使用扫描进行操作时,您通常并不关心这些事情,只需要从图像中获取信息即可.

When talking about a picture you usually need to worry about quality, flash, aperture, shutter speed, iso, white balance and a lot of other things that will make it a good picture and nice for people to see, and when you're working with a scan you usually don't care much about any of these things, you just need to get information from the image.

另一个很大的不同是,您可以非常快地捕获很多YUV字节,而拍照则需要时间.

Another big difference is that you can capture a lot of YUV bytes very fast, while taking a picture takes time.

这涵盖了基本差异,但是在谈论照片和扫描时有很多信息,而在输入特定主题时则有更多信息.我建议您阅读有关相机

That covers the basic differences, but there's a lot of info when talking about photo and scanning, and more when you enter a specific subject. I suggest you to read about Camera and Camera preview.

这篇关于通过相机扫描图像和从相机捕获图像之间有什么区别吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆