Apparence-io / CamerAwesome

📸 Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
910 stars 199 forks source link

Incorrect image size #382

Open lahdekorpi opened 11 months ago

lahdekorpi commented 11 months ago

Steps to Reproduce

Take an image with the example project, front camera and 4:3 aspect ratio.

Expected results

Using full sensor size for the image as in the stock camera application.

Actual results

Receive a cropped in image.

Comparison from the exact same spot:

PXL_20230807_070135421 1691391741264

About your device

Brand Model OS
Google Pixel 6a 13

Your flutter version

Run this in your command line

Flutter 3.10.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 84a1e904f4 (3 months ago) • 2023-05-09 07:41:44 -0700
Engine • revision d44b5a94c9
Tools • Dart 3.0.0 • DevTools 2.23.1

lahdekorpi commented 9 months ago

Does anyone have any workaround for this at the moment to get the image using the full sensor?

hoeverma commented 6 months ago

Unfortunately, I have no workaround. I currently test the package for use in a project, and realized this same problem, I think. When using 16:9, it seems to work. Will there be a fix for this?

This is a great package, very impressive, really!

huertin03 commented 5 months ago

16:9 also not working. For bigger sizes phone camera displayed is bigger than 16:9

oleksii-pimenov commented 4 months ago

Any estimates for this issue, it's rly blocker

g-apparence commented 4 months ago

I'm having a fix but I'm not sure it's working on all phones. The CameraX api has a little changed and I think that is the issue.

mvn-quannguyen2-dn commented 2 weeks ago

Hi @g-apparence, I am currently experiencing a similar issue. Can you guide me on how to fix it?