Closed stefanodecillis closed 1 year ago
Our iOS master will get a look 👍
Hi @g-apparence there is any news regarding the problem? I think this problem is related to the iOS data that the plugin is retrieving but I could be wrong
Hello, Sorry was really busy on a project. I'm asking for a fix this week!
Hi @stefanodecillis You need to convert image by using planes
(this is for iOS only). Currently, it's not fully integrated because we need to find how to create a second listener with specific data without touching the Android one...
To be more clear, Android image listener only return Uint8List
data but for iOS we need to return Uint8List
and a list of planes
(needed to convert data into an image).
Our final goal is to handle the image conversion directly inside the library in order to not use plane list.
We are investigating how to do this.
Thanks,
Hi @dim-apparence , thank you! I was surfing on the web and I couldn't find any example related to this. The closest example was using the CameraImage object. Can you provide me with an example to do it? It can be helpful to everyone that it's using the image streaming on iOS! Thank you again for your support!
Hi @stefanodecillis no problem :) you can see how the official camera plugin works in this tutorial.
The official camera plugin return Uint8List
and a list of planes
this is why it's working.
Currently in Camerawesome, planes
are missing :/ I think we need to add them to follow the same tutorial.
You're welcome 👍
Oh okay, that why I couldn't find something related to this. I also looked all over your plugin and at the end, you are working with a specific platform plugin (I imagine that is always yours). If I may, can I ask you if it's something that is coming soon or it is still in the wishlist? The point is that I really like your plugin since it's way more stable than the original one 😭
@stefanodecillis Many thanks for your encouragements! 🥇
We are currently busy on other projects but this issue will be fix asap 👍
Our vision is to create a more "complex" plugin to hide all image data processing directly into the camerawesome plugin instead of the official one (see how long this tutorial is just to retrieve images from stream...). But this is difficult and time consuming...
Hi Stephano. You are right we completely rewrite the platform plugins to be able to create what we want.
Also this is a great way to learn new things, so we took pleasure doing it :).
We are glad you love our plugin. We didn't have any plan on this as we work on it every time we can (between two projects or free time...).
I Will put this as a max priority with the multi-camera feature on Android. 👍
Thank you guys for your support!
Hi @stefanodecillis, after a long long time, this feature was added 👍
Feel free to check it out 👍
ImageStreamBuilder iOS
Hi,
I'm trying to implement a QR code reader with CameraAwesome. On Android, it works just fine. On iOS it doesn't work.
In details:
In imageStreamBuilder, I get the streamSubscription and I start scanner calling the function "onData". In this case I convert the data given by the stream in a File and then I use BarcodeDetector (Google ML kit).
I get the following error:
Since it works smoothly in Android, I think there is a problem with iOS. The problem can be reproduced with the following code:
I don't think it is the way I'm handling the data but probably you know it better. Can you help me with this problem? Thank you in advance!