react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

❓ Digital Zoom

Open hocaltar opened this issue 3 years ago • 4 comments

Question

First, great job with this project.

Problem: I can't get my zoom to go more than the max optical zoom of the device... I am using a Samsung Galaxy S22 Ultra and device is 100% utilizing the telephoto lens. I want to be able to digitally zoom to 20 power, or double that of the device's optical zoom.

What I tried

For instance: I zoom in with my pinch gesture (minZoom = 10; maxZoom = 20;) 20 is 10 more than the device's optical maxZoom in the devices' format. It does nothing... The optical maxZoom seems to be hard-coded...

Any ideas or help is much appreciated!

VisionCamera Version

V3

Additional information

hocaltar avatar Jan 08 '23 16:01 hocaltar

Still struggling with this, I’m thinking it’s a Samsung issue… Can anyone confirm that they can zoom more than the optical maxZoom of their device?

hocaltar avatar Jan 10 '23 15:01 hocaltar

Try this https://www.youtube.com/playlist?list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i

myselfuser1 avatar Jun 12 '23 03:06 myselfuser1

Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.

If your issue has been fixed, consider sponsoring me on GitHub to say thanks 💖

mrousavy avatar Sep 30 '23 09:09 mrousavy

It's probably a Samsung issue tbh 😓

mrousavy avatar Sep 30 '23 09:09 mrousavy