-
Notifications
You must be signed in to change notification settings - Fork 185
初步实现车辆跟踪识别模块 #2620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
abc123335
wants to merge
16
commits into
OpenHUTB:main
Choose a base branch
from
abc123335:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
初步实现车辆跟踪识别模块 #2620
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f0368a1
添加道路识别模块说明
abc123335 6eeed7b
Merge branch 'OpenHUTB:main' into main
abc123335 d2e8510
Merge branch 'OpenHUTB:main' into main
abc123335 fffde5a
这是道路识别模块开发说明
abc123335 b752546
Merge branch 'OpenHUTB:main' into main
abc123335 9ffd84f
自动驾驶车道和道路路径识别
abc123335 0d8058a
Merge branch 'main' of https://github.com/abc123335/nn
abc123335 d93f199
Merge branch 'OpenHUTB:main' into main
abc123335 527dfe9
自动驾驶汽车车道和路径检测
abc123335 46e1cf1
Merge branch 'main' of https://github.com/abc123335/nn
abc123335 256b17d
Merge branch 'OpenHUTB:main' into main
abc123335 2beb4c5
Create main.py
abc123335 71494d9
Merge branch 'main' of https://github.com/abc123335/nn
abc123335 694388b
添加多对象跟踪项目功能初步实现的文件夹
abc123335 bc58e73
Merge branch 'OpenHUTB:main' into main
abc123335 633f3c2
Merge branch 'main' of https://github.com/abc123335/nn
abc123335 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Multi Vehicle tracking in carla simulator | ||
|
||
This repo host a comprehensive solution for multi-object tracking in combination with YOLO and DeepSORT in carla simulator . | ||
YOLOV8 model is trained on Carla dataset , which is avaiable in kaggle (https://www.kaggle.com/datasets/alechantson/carladataset) | ||
|
||
 | ||
|
||
Following software are required before installing required packages | ||
|
||
1. Carla simulator : Download Carla simulator and follow the instuction guide - https://carla.readthedocs.io/en/latest/start_quickstart/ | ||
2. CUDA : Download and install CUDA - https://developer.nvidia.com/cuda-downloads | ||
3. CuDnn : Install Cuda DNN - https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html | ||
4. Anacoda : https://www.anaconda.com/download | ||
5. PyMOT : Download / clone this repo for evaluations - https://github.com/Videmo/pymot | ||
6. Create and activate a new virtural conda env | ||
|
||
``` | ||
conda create --name <env-name> python=3.8 | ||
conda activate <env-name> | ||
NOTE : <env-name> should be the name of your virtural env | ||
``` | ||
7. Install required packages | ||
``` | ||
pip install requirements.txt | ||
``` | ||
8. Once the setup is done Run Calra.exe file to launch simulator | ||
9. One commapnd prompt or launch jupyter from conda prompt | ||
10. Run track.ipynb file in jupyter | ||
11. Run gt_deepsort.ipynv file followed by evaluate.ipynb to generate MOTA and MOTP values | ||
NOTE : | ||
|
||
step to check PyTorch compatibility and install an appropriate version based on their CUDA and cuDNN configurations from this link , scroll down and you will see an option to select your system configs and tis will generate PIP INSTALL for CUDnn+torch which is compatable | ||
https://pytorch.org/ | ||
|
||
Eg : pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 | ||
|
||
|
61 changes: 61 additions & 0 deletions
61
src/Carla-YOLO-DeepSort-Multi-Object-Tracking/requirements.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
asttokens==2.2.1 | ||
backcall==0.2.0 | ||
carla==0.9.14 | ||
certifi==2023.7.22 | ||
charset-normalizer==3.2.0 | ||
colorama==0.4.6 | ||
contourpy==1.1.0 | ||
cycler==0.11.0 | ||
decorator==5.1.1 | ||
easydict==1.10 | ||
executing==1.2.0 | ||
filelock==3.12.2 | ||
fonttools==4.42.0 | ||
idna==3.4 | ||
importlib-resources==6.0.1 | ||
ipdb==0.13.13 | ||
ipython==8.12.2 | ||
jedi==0.19.0 | ||
Jinja2==3.1.2 | ||
kiwisolver==1.4.4 | ||
MarkupSafe==2.1.3 | ||
matplotlib==3.7.2 | ||
matplotlib-inline==0.1.6 | ||
mpmath==1.3.0 | ||
munkres==1.1.4 | ||
networkx==3.1 | ||
numpy==1.24.4 | ||
opencv-python==4.8.0.74 | ||
packaging==23.1 | ||
pandas==2.0.3 | ||
parso==0.8.3 | ||
pascal-voc-writer==0.1.4 | ||
pickleshare==0.7.5 | ||
Pillow==10.0.0 | ||
prompt-toolkit==3.0.39 | ||
psutil==5.9.5 | ||
pure-eval==0.2.2 | ||
py-cpuinfo==9.0.0 | ||
Pygments==2.16.1 | ||
pyparsing==3.0.9 | ||
python-dateutil==2.8.2 | ||
pytz==2023.3 | ||
PyYAML==6.0.1 | ||
requests==2.31.0 | ||
scipy==1.10.1 | ||
seaborn==0.12.2 | ||
six==1.16.0 | ||
stack-data==0.6.2 | ||
sympy==1.12 | ||
tomli==2.0.1 | ||
torch==2.0.1 | ||
torchvision==0.15.2 | ||
tqdm==4.65.2 | ||
traitlets==5.9.0 | ||
typing_extensions==4.7.1 | ||
tzdata==2023.3 | ||
ultralytics==8.0.150 | ||
urllib3==2.0.4 | ||
wcwidth==0.2.6 | ||
zipp==3.16.2 | ||
munkres==1.1.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env python | ||
# coding: utf-8 | ||
|
||
# In[ ]: | ||
|
||
|
||
from yolo_deepsort import main | ||
track = main() | ||
track() | ||
|
||
|
||
# In[ ]: | ||
|
||
|
||
|
||
|
||
|
||
# In[ ]: | ||
|
||
|
||
|
||
|
||
|
||
# In[ ]: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这些转换后无效的符号需要删除 |
||
|
||
|
||
|
||
|
||
|
||
# In[ ]: | ||
|
||
|
||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
只有这一个文件,而且这三行代码不能直接运行吧