winston1214 / Deepsort_yolov5_ros

Deepsort yolov5 in ros melodic
6 stars 2 forks source link

Hello, I am very interested in this project of yours. I would like to ask if you have finished this project? #2

Open wenyishengkingkong opened 3 years ago

winston1214 commented 3 years ago

Yes, I have successfully completed this project, but there are some limitations. Unfortunately, I can't reveal the completed code. I'm sorry. I have submitted a paper on this and will give you a link when the paper is published! And if you have any questions about this, please feel free to ask me and I will answer them sincerely

winston1214 commented 3 years ago

Thank you very much for your interest in my project! 😄

wenyishengkingkong commented 3 years ago

Thank you very much for taking the time to answer my question. I think your work is very meaningful. Can you tell me more about your code restrictions?

wenyishengkingkong commented 3 years ago

When I ran this code(python3 ros_track.py --source ./hd.mov --weights ./yolov5/weights/small_best.pt ), it -Namespace(agnostic_nms=False, augment=False, classes=[0, 1], conf_thres=0.4, config_deepsort='deep_sort_pytorch/configs/deep_sort.yaml', device='', fourcc='mp4v', img_size=640, iou_thres=0.5, output='inference/output', save_txt=False, source='./hd.mov', view_img=False, weights='./yolov5/weights/small_best.pt') was fed back, but it seemed that there was no result or error. I don't know what to do?

winston1214 commented 3 years ago

When I ran this code(python3 ros_track.py --source ./hd.mov --weights ./yolov5/weights/small_best.pt ), it -Namespace(agnostic_nms=False, augment=False, classes=[0, 1], conf_thres=0.4, config_deepsort='deep_sort_pytorch/configs/deep_sort.yaml', device='', fourcc='mp4v', img_size=640, iou_thres=0.5, output='inference/output', save_txt=False, source='./hd.mov', view_img=False, weights='./yolov5/weights/small_best.pt') was fed back, but it seemed that there was no result or error. I don't know what to do?

Is there an existing ROS on it?

This code subscribes the camera topic and proceeds with the algorithm. If you want to proceed with the reference in a video, you can follow the link.

winston1214 commented 3 years ago

Thank you very much for taking the time to answer my question. I think your work is very meaningful. Can you tell me more about your code restrictions?

Once the FPS for the optical flow calculation comes out very low.

In addition, DeepSort does not classify differently by class when proceeding with multi-class classification.

I finally solved these two problems, and the code for the first problem is private and you can refer to this link for the second problem.

This link is an Object Counting project using DeepSort. In this project link, you see deep_sort_pytorch/deepsort/deep_sort.py and track. py, you can solve multi-class classification problem.( I am sorry for my poor English.)

Modify code : a correction part in deepsort.py, correction part in track.py

wenyishengkingkong commented 3 years ago

I have encountered a problem of how to use python3 and pytorch in ros. Can you help me? Thank you in advance! I wish you success in your work, happiness and health!

winston1214 commented 3 years ago

I have encountered a problem of how to use python3 and pytorch in ros. Can you help me? Thank you in advance! I wish you success in your work, happiness and health!

To do python version up (python2 -> python3) : python upgrade

pytorch install : torch install <- You can install it with pip3 according to your environment.

wenyishengkingkong commented 3 years ago

Thank you very much, and hope that you will publish a paper as soon as possible, and then let me apply your code and practice this project!

wenyishengkingkong commented 3 years ago

Hello, if this project is completely open source after you post the paper, can you reply? Thank you in advance!

winston1214 commented 3 years ago

Hello, if this project is completely open source after you post the paper, can you reply? Thank you in advance!

Sorry, this project cannot be released. But you can make it as much as you want and reveal it. To what extent do you want to implement it?

wenyishengkingkong commented 3 years ago

I think your idea is very good, and the code has been realized, I want to study your code idea and code seriously.

bsljsljy commented 1 year ago

我觉得你的想法很好,代码已经实现了,我想认真研究你的代码思路和代码。

大佬,你能教教我吗?你是怎么解决的,我也是这个问题。