YOLOv8 native tracking | Step-by-step tutorial | Tracking with Live Webcam Stream

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น • 170

  • @fifthperson9777
    @fifthperson9777 ปีที่แล้ว +7

    Thanks for keeping us update on new changes

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      I’m doing my best! 👍

  • @aburriyo
    @aburriyo ปีที่แล้ว +4

    Thanks you so much for the tutorial, this new feature is so nice!

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      I’m glad you like the tutorial! As for the feature, yup… it is great! 🔥 works out of the box, and doesn’t require a lot of changes in your code. It is pretty cool that you can build such a complicated app in just 30 lines of code!

  • @AllekseyVB
    @AllekseyVB ปีที่แล้ว +3

    Thanks you so much for the tutorial!!! Very cool review ! And THANKS again!

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Thanks so much for the kind word ;)

  • @mertdemirci6866
    @mertdemirci6866 ปีที่แล้ว +1

    Such a great video not only that it is very easy to understand also very usefull for projects. I hope you will continue to make videos like this, thank you!

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      Doing my best :) we already have few ideas in the pipeline.

  • @sansonnsansonn1581
    @sansonnsansonn1581 7 หลายเดือนก่อน +2

    no entiendo porque esto me da error : labels = [
    f"{model.model.names[class_id]} {confidence=0.2f}"
    for _, confidence, class_id, _
    in detections
    ]

  • @rafaelramos4478
    @rafaelramos4478 ปีที่แล้ว +1

    I needed so much to develop a photo analysis system, but I'm trying a professional and it's very difficult, in fact I've been trying for months.
    Seeing you developing things, you could do what I need in one day, it's hard to do.
    Hugs, congratulations for the work.

    • @Roboflow
      @Roboflow  ปีที่แล้ว +2

      Oh, you shouldn't feel this way. What you see in that video is just me showing a project that I already have figured out. If you want to see the process of me learning how stuff works take a look here: th-cam.com/video/X9z6XaHMLZI/w-d-xo.html I spend over 2h putting that small script together.

  • @tomaszbazelczuk4987
    @tomaszbazelczuk4987 ปีที่แล้ว +1

    Great job, thanks Piotr👏

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      As usual, thanks a lot for the support! 🙌

  • @guliyevshahriyar
    @guliyevshahriyar ปีที่แล้ว +1

    Thank you very much!

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Thanks for watching?

  • @ratnasambhav5066
    @ratnasambhav5066 ปีที่แล้ว

    Thanks a lot lot lot. You r the best !!!

  • @rajaaimannukmanrajazaharih8960
    @rajaaimannukmanrajazaharih8960 ปีที่แล้ว +1

    hello sir! thank you for the tutorial, do you have a video on how we can extract the coordinates of the bounding box? i am trying to determine the centroid of the bounding box

  • @nhattuyen1123
    @nhattuyen1123 ปีที่แล้ว

    thank you so much for a great video. 👍🏻x1000000000

  • @mikearney01
    @mikearney01 ปีที่แล้ว

    As a more general discussion around the state of the state. What do you think is next for the task of re-identification? Which platforms are making progress in this regard? It's so important to re-identify people and objects and occlusion is a constant..

  • @adelinacobuz2545
    @adelinacobuz2545 2 หลายเดือนก่อน

    Is it possible to add also 3D bounding box to the objects which are detected?

  • @vishnusudheer6049
    @vishnusudheer6049 ปีที่แล้ว

    Can you please help me in preparing a drone detection and tracking using webcam setup using your already existing models. Could you tell me how I can do it.i nees to do it using python so that i can later use it to control the pan and tilt of the camera mounted on a stand

  • @michaellaning5563
    @michaellaning5563 11 หลายเดือนก่อน

    How are you processing frames at 4ms? Would a NVIDIA Quadro P620 be powerful enough?

  • @nhanduong5917
    @nhanduong5917 ปีที่แล้ว

    I wonder why I always see the issue " type object Detections has no attribute 'from_yolov8' " appear in every program I run :) Could you please help me?

  • @manjotsingh4376
    @manjotsingh4376 ปีที่แล้ว

    I'm usinf the same git repository but instead I'm using it for person only. My in out counters remains 0 and they do not get updated

  • @mauricioramirezsalamanca8620
    @mauricioramirezsalamanca8620 ปีที่แล้ว

    Hello, how could I correct the code so that the file reads an input video and it exports an output video?

  • @pasha_rr_
    @pasha_rr_ ปีที่แล้ว

    Hi!
    Maybe I'll ask a stupid question... But my webcam is hidden, it's installed in a button.
    when I want to turn on the camera, I have to press a button and at that moment the code crashes.
    Help solve the problem. i think it has to do with setting cv2.imshow("yolov8", frame) or c2.waitKey(30)==(27)

  • @mylesoffgrid
    @mylesoffgrid ปีที่แล้ว

    I followed the tutorial, it is great for the as is use case, but how do I import my own trained model from roboflow and use my own video, is there a documented process? Everything I try doesn't appear to be working

  • @carbonto
    @carbonto ปีที่แล้ว +1

    On labels i have this error ValueError: too many values to unpack (expected 4)
    i dont know to fix it and i only copy pasted the code

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      You are using a version of the supervision package that is too new. You need to downgrade your supervision to 0.3.0.

  • @nix7705
    @nix7705 ปีที่แล้ว

    Hello, is it possible to recognise objects if they will appear in frame again, with same id? Like person, what if cloth will change?

  • @coderoom805
    @coderoom805 ปีที่แล้ว +1

    Great video. Just a question, how can i print/get the count in the code so that i can store in the database ?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      You can access in_count and out_count values. Take a look here: supervision.roboflow.com/detection/tools/line_zone/

  • @quangleehong
    @quangleehong ปีที่แล้ว

    hello , i have an issue when run the sript on Apple mac mini M1 chip, it takes around 300ms and about 3 frames per second and so laggy, so how can we add the device reconigsion so that the yoloV8 can leverage the apple silicon chip ?
    Thank you

  • @gbo10001
    @gbo10001 ปีที่แล้ว +1

    is there something like box annotator for instance segmentation?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Not yet unfortunately. We Hase that on our TODO list. But I don’t have any specific date yet. I encourage you to create feature request here: github.com/roboflow/supervision/issues we will try to keep you updated.

  • @Regittos
    @Regittos ปีที่แล้ว +1

    Can you provide me what your setup is, please. I tested in several places (linux and windows) and always hangs in the part of yolo track.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Hi :) Did you used this repo: github.com/SkalskiP/yolov8-native-tracking ?

  • @suphotnarapong355
    @suphotnarapong355 ปีที่แล้ว

    Thank you

  • @justus1995
    @justus1995 ปีที่แล้ว

    i really need your help and hope you have run into this issue before. i am building a detection system on top of an existing (super old) security system for a farm. The screen i want to monitor shows 4 different security cameras at the same time, so i thought i could easily launch an OBS virtual cam of the whole screen and feed it into YOLOv8. No matter what i try, i can't get this virtual camera be read properly, it's always a blank grey screen. Inference from pictures or videos works brilliantly, virtual webcam not at all... i have scoured Github/StackOverflow etc for the past 3 days and i'm slowly loosing my mind. Do you have any experience with this? It seems to be a constant issue with multiple version of Yolo and OBS.
    My alternative idea is to take screenshots via dxcam, mss or pyautogui, put i can't figure out how to feed them into yolo/ultralytics

  • @r.vazamantazakka5908
    @r.vazamantazakka5908 ปีที่แล้ว +1

    How do i store the output as a video instead of showing it directly in the window?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      You can use supervision.roboflow.com/utils/video/#supervision.utils.video.VideoSink. Here is an example where I do it: github.com/roboflow/supervision/blob/develop/examples/traffic_analysis/script.py

  • @sathishk3494
    @sathishk3494 ปีที่แล้ว +1

    I love your work and @Roboflow especially, I was trying to count multiple object at once, like if apple crosses the line, need to increase the count of apple likewise for all classes in video. output will be like apple 20, orange 11, banana 17 like this. need to get the count for all classes that we trained in custom model when it crosses the line, if possible please make a video or write an article that will be more helpful. thank you.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Hi 👋🏻 so per class line counting?

    • @sathishk3494
      @sathishk3494 ปีที่แล้ว +1

      @@Roboflow let's say, the apple, orange and banana cross the line at same time, count of apple, orange and banana has to be incremented by 1, from apple 0 to apple 1, orange 0 to orange 1, banana 0 to banana 1, hope this makes my query more clear.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@sathishk3494 understood. That feature request is something we get quite often in the comments on TH-cam. However no one yet created a feature request issue on GitHub. Would be great if you could do that: github.com/roboflow/supervision/issues

    • @sathishk3494
      @sathishk3494 ปีที่แล้ว +1

      @@Roboflow hope i will do that, i was trying to do that, thanks for your fast reply, love your work, cheers!!!

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      @@sathishk3494 no worries! I try to do my best.

  • @alwishihab9845
    @alwishihab9845 ปีที่แล้ว +1

    hi man, i failed to install 'lap modul' when i tried. i need solution. thank you

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      pip install lap does not solve your problem?

    • @alwishihab9845
      @alwishihab9845 ปีที่แล้ว

      @@Roboflow this not solve my problem, when i do 'pip install lap', instead happened "Failed to build lap
      ERROR: Could not build wheels for lap, which is required to install pyproject.toml-based projects"
      do you have any solution?

    • @alwishihab9845
      @alwishihab9845 ปีที่แล้ว

      @@Roboflow how much pip version?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@alwishihab9845 I'd go for latest as possible

    • @alwishihab9845
      @alwishihab9845 ปีที่แล้ว

      @@Roboflow when i run program, it tell me that lap not integrated to python and numpy update version now
      thank you

  • @julioperes3139
    @julioperes3139 ปีที่แล้ว

    No module named 'lap', I can't figure it out, does anyone got this error message?

  • @blj9793
    @blj9793 ปีที่แล้ว +2

    This is basically just a channel for advertising ultralytics now.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Don’t worry! We are working on next video right now. It will have nothing to do with YOLOv5 or v8.

  • @alaaaladnani9693
    @alaaaladnani9693 ปีที่แล้ว +2

    Great Video. I am running the code on my Windows 11 laptop using the built in web camera and the code is working perfectly but the video feed is stuttering and there a big delay in the feed (almost 2 seconds). I am using and i7 processor 11th Gen and have 16 GB of RAM and I have a nvidia geforce mx450 display card. Any suggestions on how to fix this?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Do you have cpu or gpu version of PyTorch installed?

    • @alaaaladnani9693
      @alaaaladnani9693 ปีที่แล้ว

      @@Roboflow It was running on the CPU. I used the n version of the yolo model and it became better. Thanks

  • @muhammadalwansyahmardika5241
    @muhammadalwansyahmardika5241 ปีที่แล้ว +1

    when I try to run the real time program code the camera doesn't show up? please help me 🙏

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Hi 👋! Please give me more details. Do you see any errors in the console? What is your version of Python? What is the OS you use? What are the versions of pip packages that you have installed? Do you run it in docker?

    • @muhammadalwansyahmardika5241
      @muhammadalwansyahmardika5241 ปีที่แล้ว

      @@Roboflow i use python version 3.9.16, OS windows 11, pip version 23.0.1, and so many pip packages in my env, and already installed supervision, ultralytics

  • @tarentio5592
    @tarentio5592 ปีที่แล้ว +1

    Thanks for video, it's possible doing tracking from multi camera ?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      You mean to track object across multiple cameras. It is but it would require much more complicated script to do that. It also can be much easier if camera views overlap each other.

  • @aleixlk
    @aleixlk ปีที่แล้ว

    Great video! How can i extract the detections from the line to use it for example in a GUI, do some calcs, etc.? Thanks in advance!

  • @ElsaNH
    @ElsaNH ปีที่แล้ว

    hi, is it possible to just use the tracker without the line counter?

  • @jaimevilla1496
    @jaimevilla1496 ปีที่แล้ว +1

    Is there a native way to access last frame bounding boxes for a given track_id?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      I don’t think so… you would need to build custom logic for that

  • @BabasahebMane-d9v
    @BabasahebMane-d9v ปีที่แล้ว

    How to set frame resolution to 720 to 1280 in this? l

  • @roobeshbalaji9282
    @roobeshbalaji9282 ปีที่แล้ว +1

    Hello, I'm having this issue with the lap module not being installed properly. You also seem to have this issue but it gets resolved in the "building wheel for collected packages". It's not getting solved for me and end up with the error "no module named 'lap'. Is there any solution for this?

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      Could you create a new issue here: github.com/roboflow/notebooks/issues ? Please make sure to provide as much detail as possible. I'll try to help you.

    • @roobeshbalaji9282
      @roobeshbalaji9282 ปีที่แล้ว +1

      @@Roboflow that would be amazing thank you.

  • @baotrangia3837
    @baotrangia3837 11 หลายเดือนก่อน

    so the realtime is based on the gpu we use right? I mean the speed of inference the yolov8 model, and I think also the FPS of the camera, so which gpu you are using and the webcam FPS?

    • @Roboflow
      @Roboflow  11 หลายเดือนก่อน

      I mean if you produce 30 fps stream, you want be able to run more than 30 fps sure. But usually you are primarily limited by model not camera.

  • @jarjar621
    @jarjar621 ปีที่แล้ว

    nvm. everything i did somehow didnt change the result. the code works but nothing has changed compared to when i casually use model.track without anything involved. its just weird.

  • @roobeshbalaji9282
    @roobeshbalaji9282 ปีที่แล้ว +1

    Is it possible to make the line into a circle zone? So an object is inside or outside a circular zone it gets counted based on that. Your videos are incredibly helpful. Thank you for the amazing content.

  • @ajaysingh-kd4nt
    @ajaysingh-kd4nt ปีที่แล้ว

    how do i track specfic object i know the index of it from coco dataset

  • @willemweertman1178
    @willemweertman1178 ปีที่แล้ว +1

    Great! Can you replace a webcam source with a video path? Is there a standard format for storing the annotations?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      I’m happy you liked it! You mean dataset format to store tracking data?

    • @willemweertman1178
      @willemweertman1178 ปีที่แล้ว +1

      @@Roboflow thanks for the response! Yes, for the tracking annotations. Using them is the next step once you can do tracking. I’m wondering if there is a common format for that type of data. The time series aspect of the annotations makes it so there could be many different ways to store it. But probably some are more efficient than others.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@willemweertman1178 hi 👋🏻 this is the most commonly used dataset format for tracking I know: motchallenge.net/instructions/

  • @elmerespino9
    @elmerespino9 11 หลายเดือนก่อน

    I want to know if you can develop crack detection in a masonry construction wall

    • @Roboflow
      @Roboflow  11 หลายเดือนก่อน

      I think you can. We have done crack detection on concrete wall some time ago.

  • @ChirawatNg
    @ChirawatNg ปีที่แล้ว +1

    Thank you…

  • @flyingnerds654
    @flyingnerds654 ปีที่แล้ว +1

    Hi. Great content. I have been working on developing the detection and tracking algorith and just upgraded to YoloV8. The problem is that YoloV8 does not use Cuda for my graphics card. i am using 3060 but only getting around 10 fps. Can you please help with that?

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      Did you installed gpu version of PyTorch?

    • @flyingnerds654
      @flyingnerds654 ปีที่แล้ว

      @@Roboflow that must be the problem. thankyou so much. will try to install that.

    • @michaellaning5563
      @michaellaning5563 10 หลายเดือนก่อน

      @flyingnerds654 Would you have any idea what kind of graphics card I would need? Looking for something affordable like a NVIDIA Quadro P620.

  • @wellyngtonalberti2002
    @wellyngtonalberti2002 ปีที่แล้ว +1

    Thanks for sharing. I´m having an issue executing this script. > requirements: Command 'pip install "lap" ' returned non-zero exit status 1. Any tips for how can I solve this?

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      Oh. Didn’t expected something like that to happen. What OS are you on?

    • @wellyngtonalberti2002
      @wellyngtonalberti2002 ปีที่แล้ว +1

      @@Roboflow Windows 11

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@wellyngtonalberti2002 looks like they support Windows 11. Did you tried to just do “pip install lap” before you do “pip install ultralytics”?

    • @darrenrobinson7595
      @darrenrobinson7595 ปีที่แล้ว

      @@Roboflow I'm using Python 3.9.13 and am having the same issue. It looks like the current version of lap is using a deprecated install function. It says `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself.

    • @Dusandzin
      @Dusandzin ปีที่แล้ว +1

      Same issue

  • @zaskilovan
    @zaskilovan ปีที่แล้ว +1

    Thanks for the video, but can I somehow send videoCapture already?

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      This is really good question. I was wondering about the same thing. And to my knowledge you can’t. We have other tutorials where we use regular cv2 capture instead of the YOLOv8 video processing. So you can still do all those things. Just not with YOLOv8 tracking.

  • @hajerbettayeb8761
    @hajerbettayeb8761 ปีที่แล้ว +1

    such a great video ,i have a question is this project deployed on jetson nano?

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      Hi 👋! Thank you! No, it is not. I was running it on my GPU. But it should work on Nano just fine :)

  • @gbo10001
    @gbo10001 ปีที่แล้ว +1

    is there possible to make a video of using torchreid with custom dataset?

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      Oh I actually haven’t used that project before. I’m not sure we will create tutorial for it. We usually try to stay away from projects that allow individual person recognition.

    • @gbo10001
      @gbo10001 ปีที่แล้ว +1

      @@Roboflow it could be animals:) i am sure that Roboflow will one day have tools for working with more sophisticated tracking

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@gbo10001 I'm not saying no :) let me pass that through rest of the team

  • @suaie
    @suaie ปีที่แล้ว +1

    Why can I do object detection with my CPU, but as soon as I select my GPU it gives me errors in regards to the model? Do you have any tutorials on how to get GPU to work with YOLOv8

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      What GPU do you have?

    • @suaie
      @suaie ปีที่แล้ว

      @@Roboflow I have a 2080ti that is compatible with CUDA

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@suaie interesting. What is the error you see?

  • @jarjar621
    @jarjar621 ปีที่แล้ว

    dont know why if i use stream=true, it will show a paused version of the video.

  • @alaaaladnani9693
    @alaaaladnani9693 ปีที่แล้ว

    I am trying to apply the same concept in a production line with boxes passing through the detection line. The box has different prints on each side. So I need to track both sides of the box (2 cameras). I want to teach the model on one of the prints and if that object is detected it would count it. Is there a way to have multiple camera sources in the model.track or do I have to run the function two separate times or do you have any other recommendations? Thanks in advance

    • @alaaaladnani9693
      @alaaaladnani9693 ปีที่แล้ว +1

      Just to clarify. The box passes through an opening and there is no control during production which orientation the box will be placed on the conveyor belt so the desired print to be detected could be on either side of the box.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@alaaaladnani9693 sorry for late reply! I have a lot of work lately. So if I understand correctly you want to track those prints only not the whole boxes? And at the end you want to get count? Or what is the desired result?

    • @alaaaladnani9693
      @alaaaladnani9693 ปีที่แล้ว +1

      @@Roboflow we have around 10 models (products) all boxes. We identify the product according to the print on one of the sides. The other side is a generic print that is available on all the boxes. So we trained our model according to the unique print. We also trained our model to identify this generic print.The unique print could be on either side of the box depending on the orientation of the box which we have no control over since it is done by humans working on the line. So we need cameras on both sides of the line to be able to identify the product. Currently we are running two simultanious instances of the tracker code one for each side using multiprocessing and it is working. My question is can we track both camera feeds on the same instace? Do you have any other suggestions?

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      @@alaaaladnani9693 now I understand! I think what you have is the optimal solution. Single tracker won't work. At least any of the trackers I know won't work if it gets coordinates from different cameras at once. I think if you try to merge it you will end up with more problems than benefits.

  • @littleBug75
    @littleBug75 ปีที่แล้ว

    Can you show how to use this in the colab environment? I need to change the code and get rid of bytrtrack, Thanks

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      The code itself should work. The difference is that you wont be able to use webcam. So you need to load some static video file.

  • @WhattheAI
    @WhattheAI ปีที่แล้ว +1

    how to use this with gpu ? with cuda

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      The only thing you need to do is make sure your PyTorch has GPU acceleration. YOLOv8 is as fast as your PyTorch is.

  • @arpitapujapanda8415
    @arpitapujapanda8415 6 หลายเดือนก่อน

    Can you make a video on person re identification.

  • @carbonto
    @carbonto ปีที่แล้ว +1

    How do you get the number of people in and out

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Do you want to access the values that are displayed on the frame?

  • @PabloGuillen1984
    @PabloGuillen1984 ปีที่แล้ว +1

    "I congratulate you on a great video you made, but I need to see if I can go further with a project I'm working on. I see that you've drawn the object counting line, could we use line_counter.trigger(detections=detections) to record a detection data, such as xyxy=results[0].boxes.xyxy.cpu().numpy(), every time it passes through the line?"

    • @Roboflow
      @Roboflow  ปีที่แล้ว +1

      Ski you would like to increase the counter every time that object passes the line? But you are still I tweezed in single counter or you would like to have separate counter for every tracker id?

    • @PabloGuillen1984
      @PabloGuillen1984 ปีที่แล้ว +1

      @@Roboflow My model is yolov8_segmentation, with xywh I can calculate the size of the object I detect and save it in a variable that I then pass to box_annotator-labels as you do in the video, so far so good. What I want to try is that every time the detection counting line is passed, it saves those values that the labels had at that time, for example, to later send it to a database or present it in a pop-up window. And I was wondering if that can be done with the line_counter.trigger?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@PabloGuillen1984 now I understand… unfortunately not. And I’ll be fully honest with you I doubt we will ever have that functionality. Looks like something really custom and specific. We try to facilitate reusable components.

  • @g.s.3389
    @g.s.3389 ปีที่แล้ว +1

    can you make a video with segmentation (ad example for changing background)

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      I absolutely love the idea. So kind of what Google Meet or Teams or Zoom are doing? Real time segmentation + background swap?

    • @g.s.3389
      @g.s.3389 ปีที่แล้ว +1

      @@Roboflow Real time segmentation + background swap would be great, then if you use pyvirtualcam you can make it work for any external videoconf app. I did it wiith mediapipe, but it would be nice to do the same with yolo.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@g.s.3389 this absolutely awesome idea! I’d love to try it out. We have few other things planned but I’ll keep that idea in mind. Thanks a lot!

  • @christopherwu6246
    @christopherwu6246 ปีที่แล้ว

    How can I get the original image captured from camera? I tried deepcopying and showing images from result.orig_img in the inference loop, but they seem to be annotated images.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Did you used numpy.copy?

    • @christopherwu6246
      @christopherwu6246 ปีที่แล้ว +1

      @@Roboflow Issue solved, much obliged! I was actually implementing this project using Pyside, it turns out it's not the problem with the copied image array but the image signal emitters in Pyside, they were too fast when sending both predicted image signals and original image signals so they sort of displayed the mixed frames of annotated images and original images on the Pyside panel😂, but I got it fixed with time.sleep

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@christopherwu6246 I'm a bit worried when you say " got it fixed with time.sleep" but the most important thing is you managed to solve your problem.

  • @givaldodeoliveira9543
    @givaldodeoliveira9543 ปีที่แล้ว

    Which version of python you're using for the application? I use 3.10 and lap module can't be installed.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Hi :) 3.9

    • @darrenrobinson7595
      @darrenrobinson7595 ปีที่แล้ว

      @@Roboflow I'm using 3.9.13 and am having the same issue as Givaldo - the lap module doesn't install.

  • @gbo10001
    @gbo10001 ปีที่แล้ว +1

    how can i save this annotaion box to a target video?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      do you want to save the result video?

    • @gbo10001
      @gbo10001 ปีที่แล้ว +1

      @@Roboflow yes. With the box annotations.

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@gbo10001 did you tried using VideoSink: github.com/roboflow/supervision/blob/main/supervision/video.py

    • @gbo10001
      @gbo10001 ปีที่แล้ว

      @@Roboflow i saw that you have it. But i am not sure how to use it:
      Frame=....
      What suppose to be inside?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@gbo10001 numpy array with annotated frame of video

  • @mikearney01
    @mikearney01 ปีที่แล้ว

    Will you be making a Colab notebook for this tutorial?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      You think I should? There is a open source repository that you can use. Link is in the description bellow.

  • @rolandojrhernandez4905
    @rolandojrhernandez4905 ปีที่แล้ว

    Plsss provide object detection and counting deployment model in web framework as a guide using bytetrack and supervision not only in terminal

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Hi :) What do you mean by web framework? Could you be a bit more specific?

  • @MuhammadAzeemKhan-q4h
    @MuhammadAzeemKhan-q4h ปีที่แล้ว +1

    Amazing stuff, that means no more Deep-SORT eh

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      If you use YOLOv8 you can run other trackers really easily! Awesome!

  • @LordWildbeast
    @LordWildbeast ปีที่แล้ว +1

    Can yolo v8 run in amd gpu?

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      This is a great question. I’m Reality it is not about YOLOv8 but PyTorch which is used under the hood. And since 1.8 they support ROCm that is AMD’s version of CUDA. In short I feel quite confident it will work.

    • @LordWildbeast
      @LordWildbeast ปีที่แล้ว

      @@Roboflow I read earlier from the official PyTorch website and the ROCm documentation, where it says it only uses Linux OS

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@LordWildbeast oh wow… I’m not the expert on AMD GPUs. And every time that I dive into this conversation I learn something new. Yes looks like it only runs on Linux.

  • @tonysiu8562
    @tonysiu8562 ปีที่แล้ว

    haha I thought the battery in my wired mouse is going to be used up soon

  • @TuanAnhNguyen-dg2yp
    @TuanAnhNguyen-dg2yp ปีที่แล้ว

    Thank for your helpful video! please give me source code count vehicle crossing the line. Thank you very much!

  • @moahaimen
    @moahaimen ปีที่แล้ว

    i tried to make it on youtube video or video in the project path many errors appeared
    can you help me

  • @muhammadalwansyahmardika5241
    @muhammadalwansyahmardika5241 ปีที่แล้ว

    why when run this program not count objek? still zero when i move objek

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      Could you give me a bit more info?

  • @NajwaBelarbi-s9c
    @NajwaBelarbi-s9c ปีที่แล้ว

    how can we save the output as a file video?

    • @NajwaBelarbi-s9c
      @NajwaBelarbi-s9c ปีที่แล้ว +1

      Thank you by the way for the update!

    • @Roboflow
      @Roboflow  ปีที่แล้ว

      @@NajwaBelarbi-s9c no worries. You can use supervision to do that :)