GithubHelp home page GithubHelp logo

Comments (6)

YoungjaeDev avatar YoungjaeDev commented on June 11, 2024 1

@zhiqwang

https://github.com/zhiqwang/yolov5-rt-stack/blob/b7cb695beacec273ea97cc0e3732797580ef37b5/deployment/tensorrt/main.cpp#L63-L64

In this example, fortunately, you did int casting right away in visualize, so there was no problem.
but I'd like you to point this out.

from yolort.

zhiqwang avatar zhiqwang commented on June 11, 2024

Yes, I think it's possible, it depands on the inference results of YOLOv5 models. We didn't filter out the negative coordinates manually.

from yolort.

YoungjaeDev avatar YoungjaeDev commented on June 11, 2024

Yes, I think it's possible, it depands on the inference results of YOLOv5 models.

In the experiment, the box.x value will have a - value, so there will be no problem if I proceed with clip (n, 0, max), right?

from yolort.

zhiqwang avatar zhiqwang commented on June 11, 2024

Yep, you can filter out the coordinates outside the actual image resolution according to your needs.

from yolort.

YoungjaeDev avatar YoungjaeDev commented on June 11, 2024

@zhiqwang
Thank you for your advice

from yolort.

zhiqwang avatar zhiqwang commented on June 11, 2024

You're welcome and also thank you for your feedback.

In contrast, like some functions in OpenCV, they will automatically do some filtering of the coordinates outside the actual resolution of the image. We may also support similar features in the future.

from yolort.

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.