带有Mobile Vision人脸检测的视频录制 [英] Video Recording with Mobile Vision face detection

查看:74
本文介绍了带有Mobile Vision人脸检测的视频录制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个应用程序,其中我使用移动视觉sdk进行面部检测并在面部显示一些覆盖物.但是录制视频时我遇到了问题.有什么解决方案可以录制有相同问题的视频.

I am building a app where i am using mobile vision sdk for face detection and showing some overlay on face. but i am facing problem while record video. Is there any solution to record video with same problem.

谢谢

推荐答案

自Android 5.0起,有一个新的API可用于屏幕录像:MediaProjection.MediaProjection允许捕获屏幕内容,但不能捕获系统音频.此外,它不会捕获安全的屏幕内容.您需要用户权限才能捕获屏幕.请参考此进行屏幕录制.当前活动Android的屏幕录像记录

Since Android 5.0 there is a new API that can be used for screen recording: MediaProjection. The MediaProjection grants the ability to capture screen content, but not system audio. Also it won't capture secure screen content. You need user permission for capturing the screen. Please refer to this for screen recording. Screen Video Record of Current Activity Android

这篇关于带有Mobile Vision人脸检测的视频录制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆