android - 从相机获取输入而不显示它

标签 android iphone ios camera

我是新手。我的问题与 IOS 和 Android 都相关。

  1. 假设我想实时分析摄像头看到的内容,是否可以在线获取摄像头的视频流?

  2. 有没有可能当摄像头将数据流式传输到应用程序时,手机显示屏不会显示摄像头看到的内容,而是显示一些与应用程序相关的信息?

最佳答案

Say I want to analyze what camera sees in real time, is it possible to get video stream from camera online?

是的,两个平台都有视频 session 应用,所以这一定是可能的。

Is it possible that when camera is streaming data to application, phone display won't show what camera sees, but rather some application related information?

不知道 iOS,但在 Android 上我认为它应该是可能的。关注 Developer docs for recording video但是省略了预览布局。 注意:我没有尝试过,但从表面上看没有任何理由表明它不起作用。

关于android - 从相机获取输入而不显示它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11057874/

相关文章:

ios - 我的 UI 搜索栏无法工作/向其他网站发送请求

ios - 更改 Cordova iOS 应用程序的版本

ios - 在iCarousel中,图像重叠。

android - apktool 是否创建 R.class?

android - 更新数据库。 Sqlite-asset-helper 库

iphone - 在对象数组中使用数据

ios拖拽库

安卓背景重复-y

java - 使用 OpenCV 代码开发 Android 应用程序

ios - 将 iOS 10.3.3 与 Xcode 版本 8.2.1 一起使用?