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

the bugs in objectDetection order to low scores #328

@RoAdv

Description

@RoAdv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions