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

No "detection" on some phone #36

Open
JobiJoba opened this issue Oct 27, 2023 · 0 comments
Open

No "detection" on some phone #36

JobiJoba opened this issue Oct 27, 2023 · 0 comments

Comments

@JobiJoba
Copy link

Hi, I've some issue to detect on some specific phone and maybe someone here have an idea why, and how to resolve the issue.
I'm doing Live Detection of vehicle with the Camera package + flutter_vision.

Both phone load the GPU delegate correctly (I had to upgrade flutter vision internal package for that - can see here if needed :
https://github.com/JobiJoba/flutter_vision
)

In this case I'm using a Oppo F11 Pro and here are the "debug print" of the detection:

image

As we can see, the width is 480 and the height 640 (From Camera Preview) and he resize to 640,640 and detect correctly.

Now with an Oppo Reno 7Z (newer phone)

image

the base size is 480,720 and he resize it to 640,640.
But here no detection (result at least)

In both case with have a result in model output, but he "can't" translate them into a correct result.

Here is the debug of both model_outputs variable:

image

The F11 pro also had some result on row 14 while Reno 7Z only on 3 first top.


I also tried different libraries:

flutter pytorch: Everything works, but no gpu acceleration so fps quite low ...
flutter_tflite: Same issue as here, can't detect anything with their base model (and they don't have yolov8 support).

If someone see something I don't see or an idea on what to look at :)

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

1 participant