Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

CameraController -> startByteStream missing Uint8List #4

Open
rai2270 opened this issue Dec 9, 2018 · 2 comments
Open

CameraController -> startByteStream missing Uint8List #4

rai2270 opened this issue Dec 9, 2018 · 2 comments

Comments

@rai2270
Copy link

rai2270 commented Dec 9, 2018

Hi,
I'm trying to find a way to call CameraController -> startByteStream with Uint8List.

In your branch I can find : startByteStream(CameraImage image) , and I saw that you use it like that in the demo. But Firebase changes show FirebaseVisionImage.fromBytes( Uint8List bytes, ... ) receive Uint8List.

I assume Firebase need to stay with byte stream , so we need a way to convert CameraImage to Uint8List.

Can you share the way you make that conversion?

Thanks.

@bparrishMines
Copy link
Owner

bparrishMines commented Dec 11, 2018

Yes, I just updated this demo a little while ago. Once the PRs go through I will also update the firebase_ml_vision example with a live camera view example.

@rai2270
Copy link
Author

rai2270 commented Dec 11, 2018

thanks. working :) great work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants