-
Notifications
You must be signed in to change notification settings - Fork 128
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
Live object detection example, confidence is very low #137
Comments
Can you please provide some screenshots? Maybe look at the |
Hi, I'm using the default label.txt downloaded from the script (so there is like 96 entries). I've the same setup as in the example gif so like a bottle of water / coffee cup / laptop :) the only thing he recognize with a high score of confidence is my table when I put the phone camera face down on it. b7fc3740-224f-4dfa-b1d5-9ec129530837.mp4If I change the confidence under 0.5 (I didn't change anything else in the code), you'll start to see some square detection but not fantastic as the confidence is very low :) The object detection ssd mobile net example works well, if I take a picture of my laptop he recognize it. So I'm not sure if the model is the issue in fact. The phone? Is there a list of compatible phone? |
Maybe its the phone, do you have another phone you can test it with? |
im facing the same issue, on colab everything works fine, did anyone find any solution |
Hi everyone, I believe I have found a bug. Changing ResolutionPreset from "medium" to "low" may improve accuracy. (I have only tested this on my Android device.) |
Well this is shocking but using an older phone the example detect correctly ... a bug with Oppo Reno 7 ? -_- |
I have the same issue. |
I start using flutter_vision which under the hood use tflite and obviously , have the same issue. I've created another issue there with more detail in the hope someone have an idea why it's doing that or guide me through idea :) |
I have a different problem, I created a model using yolov5 and converted it to tflite. when I try my model, the detection process doesn't work, but in colab everything works normally. |
Anyone would have an hint on what could be done to fix that issue? I've tried another implementation (https://github.com/Pawandeep-prog/realtime_object_detection android only) on my Oppo Reno 7Z and that works perfectly, they use under the hood tflite also but it's a bit different from what is done in this project. Unfortunately, it wasn't working on multiples phones so we had to find another solution with a webview but it would be nice to come back to a native solution (for performance reason). |
For those having the same issue, i did the following to fix it:
instead of :
I do
I didn't test on many phone (2) but my phone which wasn't "detecting" anything can now detect without any issue at the speed of light :P thanks a lot to the Pytorch Library which works wonderfully but unfortunately is not performant enough overall. |
I tried to check the processed image using Using the image_util.dart mentioned by @JobiJoba, it is solved. |
Hi,
I'm trying the example given in this repo live_object_detection_ssd_mobilenet but the confidence of what the camera see is very low (less than 0.5).
Is there a way to improve that? What are the variable that make the confidence that low?
I'm using a Oppo Reno 7Z
(I've downloaded the model using the script)
No errors in the debug console
Thanks
The text was updated successfully, but these errors were encountered: