Giter Club home page Giter Club logo

Comments (2)

positive666 avatar positive666 commented on June 2, 2024

❔Question

作者你好 我做了一個裂縫檢測,想請問有辦法把bbox外框取消嗎,只顯示分割的內容(裂縫) 目前bbox跟分割物件,會同時顯示,覺得畫面有點雜,因此想詢問如何取消

另外想詢問,有辦法計算出分割物體的面積嗎,我知道bbox有w、h,可以計算出面積 但分割的部分,是屬於不規則的polygon,不曉得有無辦法解決,謝謝你

1.将predict.py里178行的annotator.box_label(xyxy, label, color=colors(c, True)) 注释掉就没有BOX了
2.在BOX里可以使用基本的opencv图像处理操作,比如形态学、你可以根据BOX裁剪出来,二值化后,用cv2.findContours取检测轮廓,然后用area的AIP计算面积 。你可以参考下大概是这个流程

from yolo_research.

github-actions avatar github-actions commented on June 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from yolo_research.

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.