Yolo model and detecting people or objects like cars

Hi all,

You might have gathered from my other posts that I’m learning as I go.

I’d like to detect people and some vehicles. Does this require much additional modelling or customisation?

Am I right in thinking the standard YOLOv11 model is more than sufficient for these simple tasks?

Can the models also produce some form of safety feature to avoid counting the same object multiple times?

For example, if I want to count how many people or cars move within the frame, can this be done without the same object being counted again? Or would we need to create something in our code that assigns each detection an ID so the counter doesn’t include it twice?

The pretrained YOLO11 models can detect people and some classes of vehicles.

The counting isn’t done by the model. It’s an algorithm that you implement that counts based on the detection. To count while avoiding duplicates, you need to using tracking.

Ultralytics provides a built-in counting solution which does all of this.