android-demo-app icon indicating copy to clipboard operation
android-demo-app copied to clipboard

Getting bounding boxes mismatch for D2Go in Live mode

Open tuttelikz opened this issue 4 years ago • 7 comments

Running a D2Go example on Android Galaxy Note9.

Getting mismatch in bounding box for D2Go in live mode (demo video also has this issue). What could be the source? (More like d2go.pt model or rendering on actual device). Maybe I could try to contribute solving this issue if got some more guidance.

Here is the screenshot:

drawing

tuttelikz avatar Jun 21 '21 08:06 tuttelikz

@tuttelikz did you find a solution ? thanks in advance

AhmedHessuin avatar Sep 07 '21 15:09 AhmedHessuin

@AhmedHessuin, nope i did not. Shifted to ObjectDetection example, that seems to work better.

tuttelikz avatar Sep 07 '21 22:09 tuttelikz

@tuttelikz
i solved the issue by making the scale x =1 and scale y = 1 in object detection file

AhmedHessuin avatar Sep 09 '21 01:09 AhmedHessuin

image @tuttelikz

AhmedHessuin avatar Sep 09 '21 01:09 AhmedHessuin

oh great, @AhmedHessuin 👍. hope to check out some time this week!

tuttelikz avatar Sep 09 '21 02:09 tuttelikz

how about sending pull request upon this, @AhmedHessuin? 😃 but it is probably better to ask opinion from @jeffxtang or @IvanKobzarev on this matter, since there could be more tests to run..

tuttelikz avatar Sep 09 '21 02:09 tuttelikz

Can confirm that @AhmedHessuin 's solution works for me. I have absolutely no idea why the scaling is causing such an issue (I don't really understand the bitmap parts), but setting these scales to 1 made bounding boxes work perfectly.

jwwinship avatar Apr 18 '22 15:04 jwwinship