Instance Segmentation with Object Tracking - Ultralytics YOLOv8 Docs #7112
Replies: 22 comments 55 replies
-
Wow this looks really great! |
Beta Was this translation helpful? Give feedback.
-
Initila track-id is assigned as None |
Beta Was this translation helpful? Give feedback.
-
I am using tracking on my custome_yolo_model train on face dataset, now i want to integrate multiple cameras system, so any direct way by which if one camera detect face and give a track_id then another camera gives same track_id to that person. I don't know how tracking works here, but if possible then give me solutions and i also appreciate if you guide me how i will do this. |
Beta Was this translation helpful? Give feedback.
-
I received below error when running the code above ...AttributeError Traceback (most recent call last) AttributeError: 'NoneType' object has no attribute 'xy' |
Beta Was this translation helpful? Give feedback.
-
How to save the output results as a .mp4 with the boxes and IDs and tracks? |
Beta Was this translation helpful? Give feedback.
-
How to save the output results as a TXT or CSV file containing IDs of track and time of detection or start and end of object detecting? |
Beta Was this translation helpful? Give feedback.
-
hi, i trained my model with yolov8. i want to detect and blur so can i |
Beta Was this translation helpful? Give feedback.
-
Hi! may i know if theres a way to get the tracking ID corresponding to each bounding box? i know that:
detect.boxes.id gives the id of all bounding boxes. Does detect.boxes.id[0] correspond to the corrdinates of detect.boxes.xyxy[0].cpu().numpy()? thanks in advance, have a nice day! |
Beta Was this translation helpful? Give feedback.
-
hi again |
Beta Was this translation helpful? Give feedback.
-
I want to customize the annotated_frame to contain text, or remove the id, how do I do that? |
Beta Was this translation helpful? Give feedback.
-
How to obtain the mask image of the target and obtain its area size |
Beta Was this translation helpful? Give feedback.
-
@RizwanMunawar, How can I get the dict containg the ids with its mapped detection, is there any way by which I can get all the ids with its detected class and frames passed to it? |
Beta Was this translation helpful? Give feedback.
-
Good morning, please tell me how I can get the mask area not in binary display, but also in color (I want to send this area to transform the perspective of the display). |
Beta Was this translation helpful? Give feedback.
-
from collections import defaultdict import cv2 from ultralytics import YOLO Load the YOLOv8 modelmodel = YOLO('yolov8n.pt') Open the video fileOpen the video filevideo_path = "/workspace/Data/sort_clip_test/Video_2min.mp4" Store the track historytrack_history = defaultdict(lambda: []) Loop through the video frameswhile cap.isOpened():
Release the video capture object and close the display windowout.release() I got the error:AttributeError Traceback (most recent call last) AttributeError: 'NoneType' object has no attribute 'int' And my output is until error: 0: 384x640 4 persons, 2.2ms 0: 384x640 4 persons, 2.1ms 0: 384x640 (no detections), 2.1ms Could you tell me how to fix it please? My question2 Best regard |
Beta Was this translation helpful? Give feedback.
-
can i detect text in a video using yolov8 and how? |
Beta Was this translation helpful? Give feedback.
-
For the following code, can there be multiple Results objects within the results list, or is the results list guaranteed to contain only a single Results object? When would the results list be of a size greater than 1?
|
Beta Was this translation helpful? Give feedback.
-
it is possible to perform object tracking using YOLOv8 with a focus on two specific objects out of the 10 that the model detects. The code can be modified to track only those two predefined objects, providing you with the ability to monitor their movements and positions across frames. If you could provide additional details about the two objects you wish to track, I can assist you in adapting the code accordingly. |
Beta Was this translation helpful? Give feedback.
-
how to get the detected label of the frame |
Beta Was this translation helpful? Give feedback.
-
Facing problem with Persisting Tracks Loop: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
Hi.
I have a question. can I ask, please?
…On Mon, 29 Jan 2024 at 14:15, Muhammad Rizwan Munawar < ***@***.***> wrote:
@AdadAlShabab <https://github.com/AdadAlShabab> please upgrade the pip
package using the mentioned command, hopefully, it will resolve the issue.
pip install -U pip
Thanks
Ultralytics Team!
—
Reply to this email directly, view it on GitHub
<#7112 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWV4NVQLRD4CEJTVX44FDRLYQ5LCNAVCNFSM6AAAAABA6L2DRWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENZYGMZDK>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I am processing images with a camera, but it has a very large delay between frames. I want to process in real time with low latency (about 1.2s) or maybe skip a few frames to save time. it always gets the current images. Can you give me some solutions |
Beta Was this translation helpful? Give feedback.
-
@RizwanMunawar Can I run two models simultaneously in one video? I want that two models will works simultaneously with cumulative results? Is it possible? Please let me know. Thanks in advance!! |
Beta Was this translation helpful? Give feedback.
-
Instance Segmentation with Object Tracking - Ultralytics YOLO Docs
Instance Segmentation with Object Tracking using Ultralytics YOLO11, Ultralytics YOLOv8, YOLOv9, YOLOv10
https://docs.ultralytics.com/guides/instance-segmentation-and-tracking/
Beta Was this translation helpful? Give feedback.
All reactions