Flutter Camera plugin zoomed in - flutter

I am developing a document scanner app in flutter, however of all the flutter apps I have seen, they are using the camera plugin which has a main issue that I found out here:
https://github.com/flutter/flutter/issues/45906#issuecomment-1124244943
I want to have a full resolution preview(for taking photos) rather than the video preview of the camera(which is also a little zoomed in). Any ideas?

Related

How to draw while screen recording is going on in Flutter using Canvas

I'm doing screen recording in Flutter using the below Plugin
https://pub.dev/packages/ed_screen_recorder
Now I'm trying to draw something over the mobile screen instead of within in the app, using Canvas while screen recording is going on. Can someone suggest some plugin or some working example of using canvas to draw on top of device screen in Flutter.

How to save photo taken by flutter camera app to gallery? NB: I want to use camera app created by flutter

I am a beginner to Flutter, and I managed to create a flutter camera app with lot of reference from many sites. But now I am struggling to save the image to phone gallery. I don't want to use image picker for that purpose and I tried gallery saver package as well. Nothing is working. Please help me with the issue??

Why does the Chewie video player for flutter take up the whole screen size regardless of video dimensions?

I am new to flutter, and am trying to play videos in my app. I followed this tutorial on using Chewie to play videos by copying and pasting the code from its main.dart and chewie_list_item.dart code snippets on the website into a fresh project (the github project provided by the website is too outdated for me to debug, so I did copy pasted instead)
I expected to get something like this, with the player "wrapped" around the video:
However, I get this (on my android virtual device), with the video player taking up the entire size of the screen regardless of the video dimensions. I did try inputting AspectRatio according to the video dimensions, but all that did was to eliminate the stretching of the video, but the main issue remains.
Why does it behave this way, and how do I achieve the result shown in the first image? This is the test project I made: https://github.com/nathantew14/chewie_test Thanks!

How to draw lines from browser on remote mobile AR app?

I am looking for a solution to share the screen from a mobile AR app (ARKit or Unity AR Foundation).
The screen needs to be shared to a browser on the desktop and it should be possible to draw lines on the screen from the browser using the mouse in the AR environment that can be seen on the mobile app which is sharing the screen.
After some investigation there does not seem to be a viable solution to truly share the same AR instance with browser/mobile as you can do with 2 mobile devices.
There should however be some sort of work around possible as it can be done with Vuforia Chalk AR.
Here is a GIF showing how it works:
AR Drawing demo
Sharing a video seems to be possible
Specifically trying to figure out how the line is drawn from the browser and then displayed on the mobile AR app
How can you achieve the same functionality with open source alternatives or Unity and custom code (No Vuforia is possible)?
Looking for a tutorial or some directions to how this can be implemented.

Flutter Camera plugin (auto zoom)

first of all sorry my english
I'm developing a flutter application using the camera flutter plugin, after capturing the images I upload to amazon's S3
everything works fine, but users have begun to complain that the images taken on my app and the camera's native app look very different
in my app the image looks like I've been zoomed in by cropping the sides and top
in the native app the area that the camera captures is much larger
I would like my app to take photos like the native app (same area)
it is possible?
I already searched and found nothing related to it, I already changed the
ResolutionPreset.max
changed the size of my cameraPreview
unsuccessfully
Any help is welcome
thanks
I was able to resolve by updating the plugin version
I was using the camera: ^ 0.5.6
now I'm with
camera: ^ 0.5.7 + 3