flutter_tflite icon indicating copy to clipboard operation
flutter_tflite copied to clipboard

I wanted to add mask detection, but the App crashed after opening the camera, and no error was reported

Open GanZhiXiong opened this issue 4 years ago • 1 comments

I found the model of mask detection here https://github.com/AIZOOTech/FaceMaskDetection

face_mask_detection.tflite.zip

Tflite.loadModel have two arguments, but labels corresponds to what's in the text and I don't know what to write.

labels.txt I tried to write everything possible, but after the App opened the camera, it crashed. crash in Tflite.runModelOnFrame

Looking forward to your reply. Thank you

GanZhiXiong avatar Apr 13 '20 15:04 GanZhiXiong

U can try this https://github.com/XinyueZ/flutter_face_mask_detecting

XinyueZ avatar Dec 06 '20 21:12 XinyueZ