Giter Club home page Giter Club logo

Comments (7)

kcg2015 avatar kcg2015 commented on June 18, 2024

Sorry for the late reply, you can modify the following function in the helper.py:
draw_box_label(img, bbox_cv2, box_color=(0, 255, 255), show_label=True).
Hope this helps.

from vehicle-detection-and-tracking.

younghuvee avatar younghuvee commented on June 18, 2024

Hello,I mean that can I give the car an ID number to track it in the output video?

from vehicle-detection-and-tracking.

kcg2015 avatar kcg2015 commented on June 18, 2024

Yes. Please see L148: tmp_trk.id = track_id_list.popleft() # assign an ID for the tracker.

from vehicle-detection-and-tracking.

younghuvee avatar younghuvee commented on June 18, 2024

Thank you, can i put 'ID' text on the detect rectangle just like this

text_x= 'x='+str((left+right)/2)
cv2.putText(img,text_x,(left,top-25), font, font_size, font_color, 1, cv2.LINE_AA)
text_y= 'y='+str((top+bottom)/2)
cv2.putText(img,text_y,(left,top-5), font, font_size, font_color, 1, cv2.LINE_AA)

from vehicle-detection-and-tracking.

younghuvee avatar younghuvee commented on June 18, 2024

@HWYangege this my twitter address , looking forward your reply^_^

from vehicle-detection-and-tracking.

kcg2015 avatar kcg2015 commented on June 18, 2024

Of course. Feel free to make any changes as you see fit.

from vehicle-detection-and-tracking.

kcg2015 avatar kcg2015 commented on June 18, 2024

@younghuvee, let me close this issue for now.

from vehicle-detection-and-tracking.

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.