Open Mirshal opened 1 month ago
@Mirshal Hello.
You can modify this line. For example, to detect person and car you can do this:
res = model.predict(image, conf=conf, classes=[0, 2])
For other classes you can check COCO dataset config file.
Is it possible if I add the SAHI feature for tracking detected objects and calculating the time?
can you help me in finding a way how the model only detects one object class, namely person. I am very grateful if you can provide instructions