Code: github.com/computervisioneng/... 🌍 Community 👥 Join our Discord server: / discord Support me on Patreon: / computervisionengineer #python #computervision #yolov8 #objectdetection #objecttracking
Пікірлер: 127
@ComputerVisionEngineer9 ай бұрын
Dive into a world of exclusive computer vision content on my Patreon: www.patreon.com/ComputerVisionEngineer
@aoeu2562 ай бұрын
Is there a better library with lots of objects like in the thousands or tens of thousands, and it will also recursively tell you the features within objects. I want to use this to build an immersion environment for learning Chinese, I want to use it on live streams of people playing video games, and movies.
@sluggy60749 ай бұрын
Ive never heard someone narrarate like this but it actually makes it way easier for to retain information. The exaggerations on the important things help it stick. Some tutorials people are monotone and talk so much about unrelated things that its hard to know whats critical and whats not cause its just peppered inbetween a bunch of droning. I can listen to this guy at work and know whats key by his tone of voice and dont have to dedicate myself to following a video down to the T cause i dont know what tiny detail will cause the whole thing to not work.
@ComputerVisionEngineer9 ай бұрын
Agreed. Exaggerations are a very useful teaching resource. Glad you enjoyed it! 😃🙌
@vm59543 ай бұрын
Borat style
@andrevanstom2 ай бұрын
Nobody f$&@S with the Jesus
@dylanskinner68152 ай бұрын
Your tutorials are go great. I was able to complete my first computer vision project because of you. Thank you!
@rohanshah81299 ай бұрын
This long project in such less duration and that too so easy to follow and engaging at the same time. Hats off! 💯
@ComputerVisionEngineer9 ай бұрын
Thank you once again! 😃
@reemfikry86796 ай бұрын
This is exactly what I needed!!! First test that perfectly worked with my own custom model and dataset. Thank you for the brilliant work!
@ComputerVisionEngineer6 ай бұрын
You are welcome! Glad the video was helpful! 😃🙌
@davidvc45608 ай бұрын
Just want to say that your tutorial and the files provided are very helpful and convenient. Big thanks to you!
@ComputerVisionEngineer8 ай бұрын
Thank you! Glad you enjoyed it! 😃🙌
@hamzaboughfir3361Ай бұрын
can I ask u what was your dataset pleaze
@KirillFrolov77Ай бұрын
Very useful, I was able to repeat the steps and it worked just fine!
@lanreuzamere49949 ай бұрын
I see you have now started showing how you created the project in PyCharm as I asked for; You are really a Blessing and Heaven-sent!!! GOD Bless you richly!
@ComputerVisionEngineer9 ай бұрын
Absolutely! 😊 Thank you for your good wishes! 😃🙌
@CodeX-hv1sf4 ай бұрын
Ahhh after mindless searching finally this is the code been looking for ❤
@SedaSchАй бұрын
Thank you for the amazing video!
@thewisearchitect2 ай бұрын
Simple and Excellent tutorial. Thanks.
@rohanshah81299 ай бұрын
You are insane!!! 💯 Amazing explanation 👉👈
@ComputerVisionEngineer9 ай бұрын
😃 Thank you!! Glad you enjoyed it! 💪💪
@darknessreaper72829 ай бұрын
Please help! I have multiple classes of object detection model, but I don't know how to use the detection results to control an arduino board. I've stuck with it for a week.
@nirangalakshan38779 ай бұрын
Im a beginner. your explanation is superb😍
@ComputerVisionEngineer9 ай бұрын
Thank you!! Glad you enjoyed it! 😃
@WangYichuan-wb9he2 ай бұрын
Well done and easy to learn
@fatmanursefer14822 ай бұрын
Hi, I collected data with video to use in my project. Can I use this video to train my model or do I need to train the model using only photos? If I can use it, how should I label the data in this video? I would appreciate it very much if you could help me on this issue.
@davidvc45608 ай бұрын
how do I export a file that contain information of detected polygon coordinates and the frame index at which they are detected?
@Zafarkhan-jg3lr9 ай бұрын
Really like your style and explanation. Kindly upload full detailed videos. Thank you
@ComputerVisionEngineer9 ай бұрын
Thank you! Glad you enjoyed it! 😃 I will make full detailed videos! 💪
@SubramanyanagasaiyashasweaVenk2 ай бұрын
Hi. After giving persist=True, till how many frames or how long does it persist
@dgadstv38763 ай бұрын
thanks alot, my job is going somewhere now.
@abhisheksrivastava25587 ай бұрын
does it work with occlusion for long range tracking ?
Is it possible to detect a single particular object on the screen by selecting that particular bounding box (or creating a bounding box around the object using mouse)? And then it can track only that particular selected object. I am trying to create a model for single object tracking using drone. Please let me know if anyone has any idea?
@code___f19 ай бұрын
Great work as always, mate! Saving this to watch later! Quick question-can you track the coordinates of the bounding boxes?
@AlainPilon9 ай бұрын
yes. You can then use the center of the rectangle to draw a line between frames to show trajectory.
@ComputerVisionEngineer9 ай бұрын
Thank you! 😃Tracking the coordinates do you mean drawing a trajectory as @AlainPilon said?
@code___f19 ай бұрын
@@ComputerVisionEngineer That was exactly my question :) Thank you both!
@atheeral313 күн бұрын
How can I find a ready-made template so I can count the number of people for my project?
@RusPeople217 ай бұрын
Hi! How we can use it to track the keypoints of objects? Is it possible?
@RossDCurrie7 ай бұрын
This is like getting a programming lesson from Frenchy from The Boys. I love it. Also.. super helpful... and fml, had python 3.12 and couldn't get yolo to install because pytorch won't run on anything higher than 3.11 at time of me writing this.
@ComputerVisionEngineer7 ай бұрын
Frenchy from The Boys 😂😂 Cool, thank you for your contribution regarding the Python version! 🙌
@testhossam13 ай бұрын
Thank you for your video, its better if you show which properties in "result" variable covers tracking parameters like ID, Class, Box.
@1hpxalphaop7412 ай бұрын
hey felipe, i wanted to ask whether python 3.12 is required for yolov8 ? because i am getting error by using python 3.8
@ComputerVisionEngineer2 ай бұрын
I have used Python 3.8 with no problem. What error are you getting?
@saimanayyar76672 ай бұрын
your video is good, i ran it working fine for first frame, but for next frame it exits and kernel dies out. Can someone pls help me
@vipulec22353 ай бұрын
Some time track I'd is changed for same object. Any solution?
@-Gangsterr-bl3bs2 ай бұрын
please i need the repo of deep sort that is compatible with the last version of python
@ditya.aditya168 ай бұрын
Nice video sir ❤
@ComputerVisionEngineer8 ай бұрын
Glad you enjoyed it! 😄🙌
@suphotnarapong3559 ай бұрын
Thank you for share knowledge. It's very useful. It simple but powerful code.
@ComputerVisionEngineer9 ай бұрын
Agreed. Simple but powerful code! 💪💪
@charlotepencier818Ай бұрын
If I want to track only the person class, then what is the default variable name for predictions? like class_id or pred?
Thank you so much for your guides! Would be nice if you show how after this steps get exact objects, fe only persons or only dogs, also take coords of objects :)
@ComputerVisionEngineer8 ай бұрын
You are welcome! Sure! I will keep it in mind in future videos! 😃🙌
@ri.n88077 ай бұрын
Thanks for the Brilliant video! Do you know of any ways that the plotting time could be sped up so as it calculates the video at near to real time?
@ComputerVisionEngineer7 ай бұрын
🤔 Using a gpu would speed up the inference. About speeding up the drawing, perhaps using c++ instead of Python. You could also do the object detection + tracking on 1 every 5 frames, and interpolate the bounding boxes for the other frames. 🙌
@ri.n88077 ай бұрын
@@ComputerVisionEngineer Thanks so much. Your really the best AI coding channel on KZbin.
@mcamilla773 ай бұрын
Hi!! i love your videos they are very very helpful!!!! - quick question: this method outperform traditional tracking (SORT -DEEPSORT)? Thank you! greetings from Chile!
@ComputerVisionEngineer3 ай бұрын
Thank you for your support! No, I don't think it outperforms other object tracking methods.
@nigzz91175 ай бұрын
Thank you for this amazing guide. I'd to ask, please how do you set ultralytics on Vscode? I usually run into an error when I use pip install ultralytics
@ComputerVisionEngineer5 ай бұрын
You are welcome! Not sure if I would be able to guide you on how to install it in vscode, I use pycharm. 🙌
@nigzz91175 ай бұрын
@@ComputerVisionEngineer I used pycharm and it ran, but I'm getting no output
@jearimjarden8386 ай бұрын
thank you for the tutorial🙏 i have a question, is it faster to use yolov8 native object tracking or deepsort?
@ComputerVisionEngineer6 ай бұрын
🤔 I think yolov8 native tracking is faster
@Noname-tm6sy7 ай бұрын
Cool👍👍👍👍👍👍
@abireltouaiti377129 күн бұрын
Hi! Your videos are really helpful, so thank you so much i have a quesion how can i detect, track and count at the same time
@aissagasmi41449 ай бұрын
100000000000000000 likes excellent explanation
@ComputerVisionEngineer9 ай бұрын
Thank you so much for your support!! 😊 So glad you enjoyed it! 💪
@shriharshbankapur96669 ай бұрын
this is cool
@omegaoneai9 ай бұрын
Hi, how is this version different from the video which you used deep sort?
@ComputerVisionEngineer9 ай бұрын
Hi, in this video we are using yolov8 only to do both detection and tracking. In my previous video on object detection + tracking using deep sort we used an external library (deep sort). 🙌
@aleksandrakrajna92408 ай бұрын
hey, great work as always, Quick question: I am using this method to track skin lesions on my face, I wonder if I am able to get the exact coordinates of these tracked points? :D
@ComputerVisionEngineer8 ай бұрын
Hey, do you mean the exact coordinates of the bounding box you are tracking through the video?
@aleksandrakrajna92408 ай бұрын
@@ComputerVisionEngineer yess, exactly ;D
@Diego-lz5ki7 ай бұрын
Hola buenas, ya que supongo que hablas en español te hablo en español jaja, una consulta, si en ves de un video tengo todos los frames de ese video, que debería cambiar en relación al código del video? Saludos desde Chile.
@ComputerVisionEngineer7 ай бұрын
Hola, si tienes todos los frames guardados en un directorio por ejemplo? for image_path in os.listdir(frames_dir): frame = cv2.imread(os.path.join(frames_dir, image_path)) ....
@Mr3Run4Fun9 ай бұрын
How can I contact you for private consultation?
@mnm__studios4 ай бұрын
How can I create the model to just detect the humans and not other things?
@ComputerVisionEngineer4 ай бұрын
Take a look at the ultralytics documentation, you can specify what are the classes you want to detect.
@codersohum82573 ай бұрын
AttributeError: 'YOLO' object has no attribute 'track'. Did you mean: 'task'?
@user-ox6ie8pi4x9 ай бұрын
You are a World referent in IA, thanks
@ComputerVisionEngineer9 ай бұрын
Thank you so much for your kind words! 😊🙌
@sandroormeno7 ай бұрын
did you detect and track in only One sentence, That's amazing, i don't know how did you do that.
@ComputerVisionEngineer7 ай бұрын
Yes, agreed, yolov8 is amazing! 😃🙌
@tarekt85719 ай бұрын
hi sir , in parking space detection video , how can i numbering the parking spots like that 1 2 3 next to each parking spot. thank you for works
@ComputerVisionEngineer9 ай бұрын
Hey, you can write the numbers with cv2.putText, and should be able to get the id for each parking spot from the 'connected_components' object. Take a look at the line 31 from util.py file. 🙌
@kurtdecena86812 ай бұрын
in ultralytics package i can already use my cuda gpu? not cpu?
@ComputerVisionEngineer2 ай бұрын
yes, you can use your gpu
@Cam0222 ай бұрын
you may have to uninstall the preinstalled torch version and update it using a torch update compatible with your system + CUDA version
@me111ok8 ай бұрын
Thanks for tutorial. it is great, but I keep getting "source is missing" error
@abeerilyas83379 ай бұрын
Is there any tutorial to track and show bounding box of a object with specific ID?
@bilalmalik16472 ай бұрын
Person Identification and re-identification is still a research area. there are many research papers regarding, but no much resourceful implementation
@bilalmalik16472 ай бұрын
If you have any resource, lemme know too
@YigalBZ9 ай бұрын
I might have missed: where can I download the video? I would like to follow your exact foot steps
@ComputerVisionEngineer9 ай бұрын
I have added a link to the video in the readme file of this tutorial's github repository. 🙌
@atacanteknik90854 ай бұрын
i wanna dedect car make model car how i can do
@weistrass5 ай бұрын
Why don't you use "SORT" algortithm for tracking as in other videos?
@ComputerVisionEngineer5 ай бұрын
No reason. It is always healthy to get familiar with different technologies in order to solve a problem. Yolov8 built in object tracking is very easy to use and a very interesting tool in order to do object tracking. 🙌
@arunmathur16685 ай бұрын
Just wanted to know If I want to detect only a person from this video, how can we this?
@ComputerVisionEngineer5 ай бұрын
Do you mean if you only want to detect the class 'person'? You can specify what are the categories you want to detect when making inferences. 🙌
@nattapongrattanapitax34458 ай бұрын
Thank you very much , i try to test object tracking but error , i found ans from your vedio
@aissagasmi41449 ай бұрын
i want to make a software of face attendance for my company with professionell GUI can u do project like this
@ComputerVisionEngineer9 ай бұрын
I will try to. 🙌
@michael86806 ай бұрын
how to save the data that you display to one whole video ?
@ComputerVisionEngineer6 ай бұрын
Do you mean how to save a video to disk with the bounding boxes on top instead of showing the frames one at the time? Tale a look at this script github.com/computervisioneng/train-yolov8-custom-dataset-step-by-step-guide/blob/master/local_env/predict_video.py 🙌
@evanshlom19 ай бұрын
Do it with counting how many objects cross a line in the frame
@ComputerVisionEngineer9 ай бұрын
I will try to. 🙌
@TKanal35 ай бұрын
Great tutorial. For some reason its not compiling for me. I think im making a mistake with the path. New to python and not a great programmer lol
@ComputerVisionEngineer5 ай бұрын
Thank you! Maybe someone in our community can help you. Try asking in our discord.
@TKanal35 ай бұрын
@@ComputerVisionEngineer i figured it out on my own now lol
@aissagasmi41449 ай бұрын
i like ur accent hhhh understandable more then native one
@ComputerVisionEngineer9 ай бұрын
Thank you! Every new video I try to sound a little more understandable, I also upload subtitles just in case. 😃🙌
@aoeu2562 ай бұрын
I want to build a system of robots by connecting wheels to my phone/tablets, and they will then take pictures of everything in the house and tell me where things are... I wish the robot can charge itself haha.
@ComputerVisionEngineer2 ай бұрын
Sounds like a cool project!
@blackycode5555Ай бұрын
chilean?
@ComputerVisionEngineerАй бұрын
Uruguayan 🇺🇾
@jl26962 ай бұрын
Hey Felipe when I tried to run your code, I got an error at results = model.track(persists=True). The issue was lap >= 0.4 not found and the update was skipped. Do you have any idea how to fix this error?
@chiyembekezophiri807627 күн бұрын
Hi I have the same problem😢 How did you solv yours??
@kainoah55637 ай бұрын
short video, less explanation, lot of abstractions (what is this what is that?). Not recommended for beginners. Go find another youtube tutorial.
@hassaantariq34483 ай бұрын
Muh se Supari nikal kr baat kr ray baba ....
@vasilisvasileiou84067 күн бұрын
Good Morning, I try to use the same code but instead of 10 frames I use the whole video, The code runs ok for multiple of video frames and after some time I get this particular error: Traceback (most recent call last): File "c:\Users\user\Desktop\detect1\main.py", line 38, in track_ids = cont_tracker.update(np.asarray(detections_)) # contains boudning boxes and tracking related information ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\user\Desktop\detect1\sort\sort.py", line 232, in update matched, unmatched_dets, unmatched_trks = associate_detections_to_trackers(dets,trks, self.iou_threshold) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\user\Desktop\detect1\sort\sort.py", line 163, in associate_detections_to_trackers iou_matrix = iou_batch(detections, trackers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\user\Desktop\detect1\sort\sort.py", line 55, in iou_batch yy1 = np.maximum(bb_test[..., 1], bb_gt[..., 1]) ~~~~~~~^^^^^^^^ IndexError: index 1 is out of bounds for axis 1 with size 1 I would be grateful if you could help me resolve this