Object detection model suitable for particular use case

The objective is to design a solution which correctly separates standalone bottles from carton-packed bottles(sometimes the bottles are visible and the model is treating as individual bottles) while handling partial carton visibility and dense shelf layouts.