123
123

Reputation: 1

Flutter and TFlite Plugin Real-time Image Classification Image Preprocessing

I created a real-time image classification application that detects objects and produces results in real-time. This is all possible because of the "runModelOnFrame" of the flutter tflite plugin that I used. However, I want to preprocess or resize the images/frames captured by the live camera preview to 224x224 first before the model shows the results on the screen because I trained my dataset images to 224x224, and the live camera preview is in full screen size. I am stuck on how to do this.

Upvotes: 0

Views: 586

Answers (1)

zeAttle
zeAttle

Reputation: 139

tflite flutter plugin provides helper plugin that can do that in sequence. look at the exmaple

Upvotes: 0

Related Questions