使用视频文件代替 iPhone 相机

发布于 2024-09-12 06:31:07 字数 303 浏览 0 评论 0原文

昨天我提出了为什么 iPhone 摄像头的 Apple WWDC 2010 示例在 iPhone 模拟器中不起作用的问题,为什么WWDC 2010 视频捕获示例不能在模拟器中运行吗? 这个问题很快就得到了回答。

然而,作为后续问题,我想知道如何使用我放入捆绑包中的视频文件中的视频帧,以便我可以“模拟”算法的输入,同时仍在模拟器上进行测试。

有什么想法吗?有人找到可以做到这一点的代码吗?

Yesterday I posed the question of why the Apple WWDC 2010 samples for the iPhone camera dont work in the iphone simulator, Why don't the WWDC 2010 video capture samples work in the Simulator?
That question was answered promptly.

However as a follow up question I would like to know how to use video frames from a video file that I put in my bundle so I can "simulate" the input to an algorithm while still testing on the simulator.

Any ideas? Anyone found code that can do that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终止放荡 2024-09-19 06:31:07

看看这个问题就知道了如何将视频放入模拟器中。然后您可以使用该视频来测试您想要的任何算法

Look at this question to know how you can put a video into your simulator. Then you can use that video to test any algorithm you want

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文