FYI I had to change file yolo_segmentation.py line 18 from "result.masks.segments" to "result.masks.xyn" to make it work. Seems like there are some different names depending on which ultralytics package you have installed. Hope that helps.
Hi, thank you for sharing the video! How to put color inside the ball instead of the borderline, as shown in the video? In case I don't want to show people about the type of it. Thanks!
it is very useful for me. and i also trained yolov8 with my own data, all some round droplets, but after I segment it, its polygon had a lot of very obvious straight lines and not a circle. can yolo fix this problem?
Excellent tutorial. I'm trying to create an automatic detection of several species of fish in a static image (a box with several fish). The final idea is to automatically detect different species, classify them and also do an automatically measure of the fish. What videos do you recommend to try to create something similar? Thanks!
Hi, thank you for taking the time to do this video! I'm constantly amazed at how "simple" things are getting in terms of image processing. I was wondering if YOLO* could be used to identify unknown objects. As you well know YOLO has a defined list of objects that the model was trained for. Could YOLO be adapted/trained for non-modeled objects? I'm working on a robot platform with a forward facing cam pointed downward at a 30 degree angle. There's no fixed list of objects the robot will encounter blocking its way, so I can't train for everything... My goal is "simple" I'm going to move the robot forward and try to navigate around objects that are in the robot's path. YOLO may be overkill here, but I'm trying to learn OpenCV it seemed like a good start. Any alternative suggestions/examples would be more than appreciated! Thank you again for making a complex topic easy to understand.
Start with an easier project, or google the error. It's something basic, read the error, it gives info on whats wrong. Probably something with wrong/missing/wrong version of package (module)
This code is giving below error : bboxes, classes, segmentations, scores = ys.detect(img) ^^^^^^^^^^^^^^ File "C:\personal\AI ML\ImageSeg001\yolo_segmentation.py", line 18, in detect for seg in result.masks.segments: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'segments' 0: 448x640 1 sports ball, 494.7ms Speed: 3.0ms preprocess, 494.7ms inference, 1.0ms postprocess per image at shape (1, 3, 448, 640) Process finished with exit code 1
FYI I had to change file yolo_segmentation.py line 18 from "result.masks.segments" to "result.masks.xyn" to make it work. Seems like there are some different names depending on which ultralytics package you have installed. Hope that helps.
You should change "result.masks.segments" to "result.masks.data" to make it correctly work.
@@hoanglong1323 cho em hỏi thây cái đó sao vẫn ko hoạt động vây ạ
Your tutorial are so easy to understand. Thanks for such tutorials. Thank you Sergio Canu🤗
I have few questions, can we create our own class ? and can you upload it for the segmentation in videos also
True
Another great one!
Amazing!
thank you for this video. we are also working on depth mapping with yolo v8 and Open CV.
Nice ! Thanks
How can you measure the area of the ball based on the segmentation provided?
Awesome, thanks
Thank you very much for this video, it’s really helpful! Could you maybe do a tutorial on how to train yolov8 with custom data?
we will have one soon on our channel.
thank you so much
Hi, thank you for sharing the video! How to put color inside the ball instead of the borderline, as shown in the video? In case I don't want to show people about the type of it. Thanks!
it is very useful for me. and i also trained yolov8 with my own data, all some round droplets, but after I segment it, its polygon had a lot of very obvious straight lines and not a circle. can yolo fix this problem?
Thank you for your video, it is very helpful. Could you make about how can only get masks in the image?
What is the best model to identify and find the area of defects of leather?
Can you do a tutorial on how to train the YoloV8 algorithm?
Your tutorials are very nice. Could you make a video for an object tracking with andriod camera if it is possible?
Excellent tutorial. I'm trying to create an automatic detection of several species of fish in a static image (a box with several fish). The final idea is to automatically detect different species, classify them and also do an automatically measure of the fish. What videos do you recommend to try to create something similar? Thanks!
Hi, thank you for taking the time to do this video! I'm constantly amazed at how "simple" things are getting in terms of image processing.
I was wondering if YOLO* could be used to identify unknown objects. As you well know YOLO has a defined list of objects that the model was trained for. Could YOLO be adapted/trained for non-modeled objects? I'm working on a robot platform with a forward facing cam pointed downward at a 30 degree angle. There's no fixed list of objects the robot will encounter blocking its way, so I can't train for everything... My goal is "simple" I'm going to move the robot forward and try to navigate around objects that are in the robot's path. YOLO may be overkill here, but I'm trying to learn OpenCV it seemed like a good start. Any alternative suggestions/examples would be more than appreciated! Thank you again for making a complex topic easy to understand.
How can i train custom dataset based segmentation model on yolov8. Please add a tutorial on colab.
Can you crop the ball based on polygon?
Awesome work, Thank you.
I would like to create object masks after the segmentation. Is it possible?
can someone help me out i want use yolo v8 seg for lane detection and i don't know how to get the center polyline between the two polylines
Where can I find the yolo_segmentation.py file?
Hi, where is the link to download the yolo_segmentation file?
How about an interface so other people can see the results.Is that possible?
How can i configure my GPU to run this code. I have GTX 1650.
What version of python are you using? I had trouble with 3.11. I think pytorch doenst work on it
I used python 3.9
@@pysource-com thank you. I am installing this version to try again. :)
Does this work in Yolov5 model?
i got an issue it said bus error(core dumped) after i had run the python file. Can someone help me please.
Start with an easier project, or google the error. It's something basic, read the error, it gives info on whats wrong. Probably something with wrong/missing/wrong version of package (module)
If I use YoloV8 do I need to pay money ?
This code gives error and not finding solution. Does anyone faced similar issue before ?
This code is giving below error :
bboxes, classes, segmentations, scores = ys.detect(img)
^^^^^^^^^^^^^^
File "C:\personal\AI ML\ImageSeg001\yolo_segmentation.py", line 18, in detect
for seg in result.masks.segments:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'segments'
0: 448x640 1 sports ball, 494.7ms
Speed: 3.0ms preprocess, 494.7ms inference, 1.0ms postprocess per image at shape (1, 3, 448, 640)
Process finished with exit code 1
Thanks for replying, now error is Error. nthreads cannot be larger than environment variable "NUMEXPR_MAX_THREADS" (8)
0: 448x640 1 frisbee, 370.0ms
Speed: 3.0ms preprocess, 370.0ms inference, 3.0ms postprocess per image at shape (1, 3, 448, 640)
@@Asat48
Try changing "result.masks.segments" to "result.masks.xyn". Does that help?
Do you freelance work? Can I talk to you about some work with yolo and image processing? EDIT: I Emailed you.