Android的 - 显示处理相机preVIEW相机、Android、preVIEW

由网友(滥情意中人)分享简介:我正尝试建立某种形式的AR(增强现实),但我不知道我究竟能获取preVIEW从手机摄像头逐帧,处理每一帧作为位图,比显示它在我的SurfaceView 。我的出发点是相机preVIEW SDK的例子。i´m trying to create some kind of AR (Augmented Reality), b...

我正尝试建立某种形式的AR(增强现实),但我不知道我究竟能获取preVIEW从手机摄像头逐帧,处理每一帧作为位图,比显示它在我的SurfaceView 。我的出发点是相机preVIEW SDK的例子。

i´m trying to create some kind of AR (Augmented Reality), but i don´t know how exactly can I get preview from phone camera frame by frame, process each frame as a bitmap and than show it in my SurfaceView. My starting point is CameraPreview SDK example.

谁能告诉我,如何:

1),得到相机帧/位图(我猜,i'll需要取消从YUV code画幅为RGB喜欢这里:Android - 蒙山问题转换preVIEW帧位图)

1) get frame/bitmap from camera (i guess, i´ll need to decode picture from YUV to RGB like here: Android - Problem whith converting preview frame to bitmap)

2),显示了在SurfaceView位图(加工后)

推荐答案

最后,我找到了我一直在寻找这个帖子:与Android相机 图像处理

Finally, i found what i was looking for in this post: Image processing with android camera

阅读全文

相关推荐

最新文章