Created
September 5, 2020 15:08
-
-
Save MCarlomagno/f670b65e8dcfd9e5da8aaea7224c1b4d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_cameraController.startImageStream((img) async { | |
if (available) { | |
available = false; | |
await _tensorflowService.runModel(img); // Tflite.runModelOnFrame(...) code | |
await Future.delayed(Duration(seconds: 1)); | |
available = true; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment