Comments (7)
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.
Hello,I mean that can I give the car an ID number to track it in the output video?
from vehicle-detection-and-tracking.
Yes. Please see L148: tmp_trk.id = track_id_list.popleft() # assign an ID for the tracker.
from vehicle-detection-and-tracking.
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.
@HWYangege this my twitter address , looking forward your reply^_^
from vehicle-detection-and-tracking.
Of course. Feel free to make any changes as you see fit.
from vehicle-detection-and-tracking.
@younghuvee, let me close this issue for now.
from vehicle-detection-and-tracking.
Related Issues (20)
- using infrared camera HOT 4
- Drawing the tracking of the cars HOT 4
- detecting of persons not working HOT 6
- tracking is lost
- about matching detections and trackers HOT 8
- NameError: name 'Tracker' is not defined HOT 2
- moviepy.editor.VideoClip not working
- module 'helpers' has no attribute 'draw_box_label' HOT 1
- Using this for person tracking on different videos HOT 7
- Tracker without constant velocity HOT 2
- About state, process, measurement covariance HOT 1
- no module movie.py HOT 1
- Assign Id to the tracked object HOT 3
- License? HOT 2
- Tracking and counting
- TypeError in main.py HOT 5
- how do you initialize the tracker? I have problems when I run main.py as shown below. HOT 1
- requirements.txt file HOT 1
- No folder named models HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vehicle-detection-and-tracking.