I am developing a machine-learning model to make accurate and fast counting of metal pipe with difference cross-sectional shapes. Well-define rectangular, triangular and circular shapes are quite ok to do, but the C shape metal is really complicated especially when they overlap one another as shown in the attached photo. Anyone has any suggestion of a model that can count overlapping object? Thanks in advance.

Similar questions and discussions