rushio-consulting / flutter_camera_ml_vision

A flutter widget that show the camera stream and allow ML vision recognition on it, it allow you to detect barcodes, labels, text, faces...
MIT License
278 stars 107 forks source link

Unable to stop image straming without taking a picture #107

Open vasilich6107 opened 4 years ago

vasilich6107 commented 4 years ago

The toggle or stop methods does not allow to _cameraController.stopImageStream() without taking a picture. I'm working on live detection of barcodes. On successful detection I show a popup(until user takes any action) and would like to stop the streaming for saving resources.

pratamatama commented 4 years ago

Did you managed to solve this issue? I have the same issue but it happen when I press the back button.

It consumes a lot of resource everytime I open-reopen the camera page.

vasilich6107 commented 4 years ago

Nope

nirbar89 commented 3 years ago

hey @pratamatama and @vasilich6107 i'm dealing with the same issue maybe one of you have a solution?