Giter VIP home page Giter VIP logo

Comments (4)

laxmareddyp avatar laxmareddyp commented on September 20, 2024

Hi @3zhang ,

There is no mention of a specific postprocessing function to convert the resized result back to the original image in the TensorFlow object detection tutorial. However, it's likely because the bounding boxes coordinates predicted by the model are based on the resized image. You can simply scale the bounding boxes back to the original image dimensions to get the corresponding bounding boxes in the original image.

As a work around,Calculate the scaling factor between the original image size and the resized image size.
Multiply the predicted bounding box coordinates (xmin, ymin, xmax, ymax) by the scaling factor to get the coordinates in the original image.

Meanwhile we will try modify the above visualization function with few parameters changes and check the results on original image input directly instead of resized image.

Thanks.

from models.

github-actions avatar github-actions commented on September 20, 2024

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

from models.

github-actions avatar github-actions commented on September 20, 2024

This issue was closed due to lack of activity after being marked stale for past 7 days.

from models.

google-ml-butler avatar google-ml-butler commented on September 20, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from models.

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.