hi, im trying to detect objects on my screen. Everything works ok but i dont want these rectangles on my image. I just want to have x1, y1, x2, y2 coordinates. How can i get these data?
import torch import cv2 as cv import numpy as np from ss import ss model = torch.hub.load('ultralytics/yolov5', 'custom', path = 'best.pt', force_reload=True) model.conf = 0.2 screen = ss() screen = model(screen) screen.render()