Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LivenessCustomDetectionActivity 摄像头预览变形 #70

Open
dcboy opened this issue Jan 7, 2021 · 2 comments
Open

LivenessCustomDetectionActivity 摄像头预览变形 #70

dcboy opened this issue Jan 7, 2021 · 2 comments

Comments

@dcboy
Copy link

dcboy commented Jan 7, 2021

竖屏设备摄像头旋转后预览的SurfaceView变形, 建议SurfaceView实例通过外部初始化传入

@Mike-mei
Copy link
Contributor

Mike-mei commented Jan 7, 2021

目前surfaceview只支持竖屏,不支持横屏。可以提供下具体的使用场景,把问题描述的更详细一些吗?方便我们进行问题定位

@dcboy
Copy link
Author

dcboy commented Jan 10, 2021

我们使用的场景有竖屏也有横屏,我们可以通过修改surface来做兼容,希望能通过外部传入实例完成

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants