简体   繁体   English

录制来自Project Tango的RAW视频

[英]Record RAW video from Project Tango

Anyone can help me to record RAW video from Project Tango? 有人可以帮助我录制Project Tango的RAW视频吗? I find the function called TangoImageBuffer to get Image data buffer but don't know clearly how to create an app to record the video( or set of Raw image sequence) 我找到了称为TangoImageBuffer的函数来获取图像数据缓冲区,但不清楚如何创建一个用于录制视频的应用程序(或一组Raw图像序列)

Tango device occupies the control of camera. Tango设备占据了摄像机的控制权。 When Tango is connected, the only data you will received regarding color camera would be the callback for onImageAvailable. 连接Tango后,您将收到的有关彩色相机的唯一数据将是onImageAvailable的回调。 It returns data in YUV format, and you have to do the conversion to make it into RAW format. 它以YUV格式返回数据,您必须进行转换才能将其转换为RAW格式。

Here is a sample code of how to convert YUV into RGB on Tango. 是如何在Tango上将YUV转换为RGB的示例代码。

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

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