Real-Time Object Tracking using YOLOv8 and DeepSORT | Vehicles Counting (Vehicles Entering& Leaving)

preview_player
Показать описание
#pyresearch

#yolo #yolov8 #objectdetection #objectracking #opencvpython #opencv #computervision #machinelearning #artificialintelligence #deepsort #multiobjecttracking#deeplearning

YOLOv8 and DeepSORT: A Powerful Combination for Object Tracking

Implement multiple object tracking in Python with YOLO v8 and DeepSORT tracking algorithm.

Please let me know your valuable feedback on the video by means of comments. Please like and share the video. Do not forget to subscribe to my channel for more educational videos.

Any type of problem you can comment down.

Want more education? Connect with me here:

#opencv #yolo #artificialintelligence
#yolo #yolov8 #objectdetection #objectracking #opencvpython #opencv #computervision #machinelearning #artificialintelligence #deepsort #multiobjecttracking #deeplearning
Рекомендации по теме
Комментарии
Автор

This is the issue we are facing while running you code.
FileNotFoundError: [Errno 2] No such file or directory:

Himanshu.Kukreja
Автор

FileNotFoundError: [Errno 2] No such file or directory:

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.


This error is showing what to do

achintyachaudhari
Автор

How can I count cars with two diagonal lines not horizontal lines?? please teach my how to do this

SunEside
Автор

AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

transporterw.wachira
Автор

How to fix this error? Help me.
line 12, in <module>
from ultralytics.yolo.utils import DEFAULT_CONFIG, ROOT, ops
ImportError: cannot import name 'DEFAULT_CONFIG' from 'ultralytics.yolo.utils'.

hoquochai
Автор

i got this error, how to solve this error ? im stack on my project :(

[2023-07-14 06:53:45, 657][root.tracker][INFO] - Loading weights from Done!
2023-07-14 06:53:46.226611: I This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-07-14 06:53:47.387889: W TF-TRT Warning: Could not find TensorRT
Ultralytics YOLOv8.0.0 🚀 Python-3.10.12 torch-2.0.1+cu118 CPU
Error executing job with overrides: ['model=best.pt', 'source=test.mp4', 'show=True']
Traceback (most recent call last):
File "/content/drive/MyDrive/count2/YOLOv8-Object-Detection-with-DeepSORT-Tracking/yolo/v8/detect/tracking_vehicle_counting.py", line 315, in predict
predictor()
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 152, in __call__
model = self.model if self.done_setup else self.setup(source, model)
File "/usr/local/lib/python3.10/dist-packages/ultralytics/yolo/engine/predictor.py", line 123, in setup
model = AutoBackend(model, device=device, dnn=self.args.dnn, fp16=self.args.half)
File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/autobackend.py", line 73, in __init__
model = attempt_load_weights(weights if isinstance(weights, list) else w,
File "/usr/local/lib/python3.10/dist-packages/ultralytics/nn/tasks.py", line 303, in attempt_load_weights
ckpt = torch.load(attempt_download(w), map_location='cpu') # load
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 809, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1172, in _load
result = unpickler.load()
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1165, in find_class
return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'ultralytics.nn.modules' is not a package

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

agengprayoga