Questions tagged [yolov8]

You Only Look Once (YOLO) is a real-time object detection system written in C. Use this tag for questions about YOLO version 8.

You Only Look Once (YOLO) is a real-time object detection system developed for high speed object detection within images.

165 questions
0
votes
2 answers

YOLOv8 with FASTAPI error could not find a writer for the specified extension in function 'imwrite_'

I have code to run yolo in fastapi : from fastapi import FastAPI, UploadFile, File from ultralytics import YOLO from PIL import Image import io app = FastAPI() model = YOLO('yolov8n.yaml') model =…
Pamungkas Jayuda
  • 1,194
  • 2
  • 13
  • 31
0
votes
0 answers

Object detection in Sequence

I have custom model which is detecting menu item from images. But not in correct order, it picks random not in correct order like in below images. For example, it will detect option 3 first then option 4 and so on, not like option 1 first, then 2,…
saurav
  • 1
  • 1
0
votes
1 answer

yolov5 model , adding metadata to the input images

I have images , and I have the metadata of the camera of the drone that take the images , I want to add this data to the input of the yolo model(yolov5,yolov8).can i add it to the input txt file? or give me some ideas ... i search alot but this the…
0
votes
0 answers

dust particle detection on a glass plate sample with yolo v8

I am trying to detect some particles on a sample that is small, my sample size is 5000X3000 pixels and my particle size is only 80X80 pixels. Should I divide the input image into smaller images and then annotate or directly proceed with bigger image…
0
votes
0 answers

Yolo V8 Not taking training data

I am using YOLOV8n model to train from scratch. Here I have dataset containing train , valid, test folders . Its access for model is given through data.yaml file but the issue is that model is not training on the dataset/train because in train…
0
votes
0 answers

what will be the output and how to get only object name in output

results = model.predict(source= path , show = True) only detected name should display in terminal, instead of all atributes of results. from ultralytics import YOLO model = YOLO("runs/detect/train2/weights/best.pt") path = 'row_photos' results =…
0
votes
0 answers

error: Caught error in DataLoader worker process 0 while working with yolov8 in colab

I have a problem with the implementation of Yolov8 in colab. I downloaded the model using, from ultralytics import YOLO model = YOLO("yolov8n-cls.pt") data directory, data_dir='/content/gdrive/MyDrive/yolo' I have two folders inside it- train and…
0
votes
0 answers

YOLO v8 : WARNING ⚠️ no model scale passed. Assuming scale='n'

Getting the following warning while training custom dataset : "WARNING ⚠️ no model scale passed. Assuming scale='n'." I don't see any scale argument. Following is the training arguments CLI: yolo detect train data=visionDemo.yaml model=YOLOv8x.yaml…
Sanjib
  • 1
0
votes
0 answers

YOLO v8 automatic augmentation in the fly

i cant find correct information in the internet. I 'd like to know if Yolo v8 automaticy augments training set and how can i menage this process. Can i somehow see how much there is newly created images(durging augmentation) and see the preview of…
Krystian
  • 1
  • 1
0
votes
0 answers

how to get the predictions values for test images using YOLO

I'm newbie to object detection models , I trained the YOLO model with image size of 600 then I struck with getting the test prediction values best.pt file after that I have . Here My code: from ultralytics import…
0
votes
0 answers

Unable to export the output of yolov8

I trained a yolov8 model on my dataset for a face recognition project, the model is running fine and the prediction of the model is good, but I am unable to export the output of the predicted image. I have mentioned the code below: # Importing…
0
votes
1 answer

How to convert a binary mask (segmentation) to YOLO Segmentation text file?

I have found a solution but the problem is I have way too many points and I want to reduce them. Which is not a major issue, but still I would like to have fewer points. I have searched for other answers here but I have found nothing pertaining to…
0
votes
2 answers

How to train Yolo model with GPU of 'NVIDIA GeForce RTX 3050 Laptop GPU

I'm newbie to object detection model, I'm trying to train yolo model in my device('NVIDIA GeForce RTX 3050 Laptop GPU), I am getting errors, I have image size of (1365, 1024, 3) , I tried with image size(1365, 1024, 3) then my system struck. then I…
0
votes
0 answers

YOLOv8 Matrix confusion

I have question about results of YOLOv8 model , after the training of the model it results in a 3-dimensional confusion matrix taking the background as a class knowing that I have a binary classification my project is classification of preforms…
0
votes
1 answer

Get bounding box, the confidence score, and class labels from YOLOv8 onnx model using OpenCV DNN module

I am working on an Android app where I am already using OpenCV, I got a model which is in onnx format from YOLOv8 after conversion. Here is the output metadata of it. name - output0 type - float32[1,5,8400] So far I am successfully running the…
kallis
  • 83
  • 3
  • 18