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

是否可以支持一下缩放 #529

Open
darrennight opened this issue Jun 21, 2024 · 5 comments
Open

是否可以支持一下缩放 #529

darrennight opened this issue Jun 21, 2024 · 5 comments

Comments

@darrennight
Copy link

是否可以支持一下摄像头放大缩小

@wysaid
Copy link
Owner

wysaid commented Jun 22, 2024

可以自行添加一下哈~~

@darrennight
Copy link
Author

可以自行添加一下哈~~

能提供一下思路吗,我没有找到设置相关缩放的方式。

@wysaid
Copy link
Owner

wysaid commented Jun 26, 2024

你的描述比较宽泛, 这里的「缩放」能举个具体一点的例子吗, 你想做什么?

@darrennight
Copy link
Author

darrennight commented Jun 26, 2024

你的描述比较宽泛, 这里的「缩放」能举个具体一点的例子吗, 你想做什么?

就是摄像头拍摄 可以放大2倍 5倍 10倍 20倍那种,放大后能拍摄更远处,类似camerax里面的ZoomRatio

@wysaid
Copy link
Owner

wysaid commented Aug 19, 2024

你的描述比较宽泛, 这里的「缩放」能举个具体一点的例子吗, 你想做什么?

就是摄像头拍摄 可以放大2倍 5倍 10倍 20倍那种,放大后能拍摄更远处,类似camerax里面的ZoomRatio

了解, 这个设置通过给 cameraInstance 增加接口应该可以搞定, 你看看能否直接改一下? 找找接口文档就有

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