maxal-studio / flutter-plugin-camera360

360 Camera Flutter plugin
Apache License 2.0
4 stars 6 forks source link

progress is reseting and making the package pretty much impossible to complete capture #7

Open GoxeeVladan opened 1 month ago

GoxeeVladan commented 1 month ago

For me on my physical Android when i start the camera and point it to the dot i starts slowly to go right for 25-30% at most, one time only it showed me 75% and then when dot went right again it showed 0... I'm not sure is it something that you are aware of or am i doing something wrong? Thanks in advance

dajanvulaj commented 1 month ago

The stitching procedure right now works this way: After each image is taken, it tries to stitch it with the previous taken image, and if it fails it goes back (to the left) 10% in degrees. If it fails multiple times then the it restarts the procedure and it starts from 0.

This happens mostly on android devices as the official camera package doesn’t give us access to select the widest camera an android device has.

I’m planing to modify the stitching procedure so that if app fails to stitch 2 images, than it will stitch them using the matching points from the previous successful stitch. (This is not perfect but this way at least the user would be able to capture a full 360 rotation, also the stitching should be 70-80% correct)

I’ve have already been working on this but at the moment I’ve been really busy. So, I’ll be pushing an update on this package as soon as I can, but at the moment I can’t provide a quick fix for this. Sorry!