在Android Vision API中切换到Camera2

在Android Vision API中切换到Camera2,第1张

概述我看到在 android视觉api(示例在这里: https://github.com/googlesamples/android-vision)相机(camera1)现在已经不推荐,建议使用camera2. 你有什么想法如何重写CameraSource在android视觉上使用camera2? 提前致谢, 请看一看 camera2 with mobile vision? #65 好的,我发现了这 我看到在 android视觉API(示例在这里: https://github.com/googlesamples/android-vision)相机(camera1)现在已经不推荐,建议使用camera2.

你有什么想法如何重写CameraSource在androID视觉上使用camera2?

提前致谢,

解决方法 请看一看

camera2 with mobile vision? #65

好的,我发现了这一点

There are no near term plans for a camera2 version of the CameraSource class in the official API. However,given how the API is structured,an alternate version of CameraSource Could be written by the developer community that uses camera2. All of the existing APIs for working with frames and detectors are sufficIEnt to support a camera2 implementation as well.

总结

以上是内存溢出为你收集整理的在Android Vision API中切换到Camera2全部内容,希望文章能够帮你解决在Android Vision API中切换到Camera2所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1131601.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存