yasirkula / UnityNativeCamera

A native Unity plugin to take pictures/record videos with device camera on Android & iOS
MIT License
615 stars 71 forks source link

Image resolution is very bad #112

Open UsmanHexaExperts opened 1 year ago

UsmanHexaExperts commented 1 year ago

I've identified another issue. When I launch the app, it directly opens the camera using the Camera button. However, I'm uncertain which camera it's utilizing—whether it's the iPhone's primary camera, ultrawide, or telescopic lens. The quality displayed through the app's camera seems subpar; the image appears blurry. Conversely, when I open my iPhone's native camera, the image is sharp and clear.

yasirkula commented 1 year ago

If you're using RecordVideo, does the quality parameter have any effect on the outcome?

UsmanHexaExperts commented 1 year ago

I'm currently developing an AR application using ARCore. While the AR camera performance is excellent, I've encountered some issues when trying to upload images using a native camera plugin. The image quality from the native camera doesn't quite meet our expectations.

yasirkula commented 1 year ago

I meant RecordVideo function's 'quality' parameter but if I understand correctly, you're using TakePicture. In that case, I couldn't find any parameters to change the quality of UIImagePickerController unfortuanely. So this can't be fixed with NativeCamera.