Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

the bugs in objectDetection order to low scores #328

Open
RoAdv opened this issue Jul 12, 2023 · 0 comments
Open

the bugs in objectDetection order to low scores #328

RoAdv opened this issue Jul 12, 2023 · 0 comments

Comments

@RoAdv
Copy link

RoAdv commented Jul 12, 2023

Hello, when we run the demo of ObjectDetection, the detection effect is inconsistent with the effect on the PC. After reading the code, we found that there are two bugs. I would like to discuss with you:

  1. In PrePostProcessor#nonMaxSuppression, the description of sort algorithm is from high to low, but in fact it is from low to hign, which will lead to prioritize get results with low scores.
  2. In ObjectDetectionActivity#analyzeImage, the line matrix.postRotate(90.0f), Why should it be rotated 90 degrees? If the original image is not rotated by 90 degrees during training, but process it during detection, it will lead to incorrect detection and extremely low scores.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant