Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output object shape mismatch, inputShape = [1, 640, 640, 3] and outputShape = [1, 25200, 6] #269

Open
nouser000 opened this issue Dec 24, 2024 · 1 comment

Comments

@nouser000
Copy link

After many attempts I was finally able to train and export my own tflite model (yolov5).

I want to make an application that detects in real time from the camera stream with camera plugin
I tried several tflite plugins for flutter, i only make run it with flutter vision but when i make apk release, it generates a file of 800MB - 900MB (related issue).

Previously tflite_flutter could work with the plugin tflite_flutter_helper is now discontinued...

What is a simple example of direct conversion from camera stream to tflite_flutter?

Something like this:

cameraController.startImageStream((cameraImage) async {
     //cameraImage to input tensor
     //interpreter.run(?,?);
     //print(output); //detection objects coords
});

@kevinvenclovas
Copy link

Same issue :/ Do you found a solution?

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

No branches or pull requests

2 participants