Open xulihang opened 1 week ago
Again, I'm sorry - there's not a lot I can do with that information.
I don't have any native log output, I don't have a reproduction example, and you didn't try in the example app.
I don't think you actually need the log.
In vision camea v3, it can take a high-res photo with enableHighQualityPhotos={true}
.
But it is removed in v4 and in the docs, there is not a migration guide or mention of how to take a high-res photo. I think the docs and the default behavior of taking a photo on iOS should be improved.
Ah yes, enableHighQualityPhotos
is gone because we don't need it anymore. We always just set the value to the one supplied in format.photoWidth
/format.photoHeight
.
But actually now that I think about this, I think this is only available on iOS 16+...
I'm not sure if I want to add backwards compatible support for iOS 15, or just tell user's to upgrade to iOS 16 😅
My device iPhone SE is old and cannot upgrade to iOS 16.
Compatible support for old iOS versions is often needed by our company's SDK's customers.
I checked your code and it does have isHighResolutionPhotoEnabled
. Trying to figure out why it does not work...
What's happening?
Use
takePhoto
produces a very low quality photo.Reproduceable Code
Relevant log output
Camera Device
Device
iPhone SE 1st iOS 15.1
VisionCamera Version
4.0.1
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information