Is there a way to use object detect model DETR to mark different sizes of stones in a image/video?

Hello everyone, I have a question. Is there a way to use the “deter” model to identify and highlight different sizes of aggregates in a gravel image, similar to the different colors in the picture? I work in the construction industry and currently have this requirement. I hope to quickly determine the sizes of aggregates, as only properly sized aggregates can be used for construction purposes. It would be great if we could achieve a result similar to the one shown in the image. And Finally generate a graph report. If “DETER” model can’t do this, any other suggestions?