GithubHelp home page GithubHelp logo

Comments (3)

Kirayue avatar Kirayue commented on August 23, 2024 1

Hi, @rafaelpadilla, I think I have a similar question.
I am trying to combine lib to my own project to calculate mAP. I followed Sample 2, and try to add bbox to BoundingBoxes, what if there is an image with no ground truth (e,g, only background), but the model has predictions on it. There is no doubt that we add a detection bbox to BoundingBoxes instance, but how about the ground_truth? Should I create a bbox instance with xywh all equal to 0 and add to BoundingBoxes instance, or just ignore it because no ground truth on it (i.e. there is a filename only has detection bbox but no ground truth bbox in BoundingBoxes)

from object-detection-metrics.

rafaelpadilla avatar rafaelpadilla commented on August 23, 2024

Dear @JamesHames,

Let me see if I understood your doubt: You have images that have no detections and/or no ground truth bounding boxes? If this is your question, you should leave the files empty, simple as that.

Regards,
Rafael

from object-detection-metrics.

HamsterHuey avatar HamsterHuey commented on August 23, 2024

@Kirayue - From looking at the code, I believe you do not need to insert any BoundingBox object for the ground-truth if the image is a background only image with no actual ground-truth objects in them. The way the code is structured, any detection for such a "background" image will not be matched to a corresponding ground-truth, and as a result, will correctly be assigned as a false positive.

from object-detection-metrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.