{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreibyvid6talc6gguu3buemixuuyg6v6b4lep4q7kjkcmurhnlrtqqm",
    "uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mnhkb6jj4m62"
  },
  "path": "/t/reinforement-structure-analysis/176541#post_1",
  "publishedAt": "2026-06-04T10:47:26.000Z",
  "site": "https://discuss.huggingface.co",
  "textContent": "I’m working on an AI/ML solution to automatically count the number of **horizontal iron bars** in rebar cage images taken at construction sites.\n\nThe challenge is that a single image contains:\n\n  1. Front-face horizontal bars (the ones that should be counted),\n  2. Rear bars visible through the cage,\n  3. Interior bars and stirrups,\n  4. Heavy occlusion and overlapping steel members.\n\n\n\nFor example, in the attached image, a human inspector would count only the front-facing horizontal iron bar levels.\n\nMy questions are:\n\n  1. What would be the most robust approach to distinguish front-face bars from interior/rear bars in a single RGB image (or multiple if required)?\n  2. Has anyone solved a similar problem involving dense repetitive construction structures and occlusion?\n  3. Would monocular depth estimation (e.g., Depth Anything, MiDaS) be sufficient?\n  4. Are there classical CV techniques that could outperform deep learning for this specific task?\n  5. If you were building a production-grade solution, how would you structure the pipeline?\n\n\n\nAny suggestions, papers, datasets, or practical experiences would be greatly appreciated. It is not necessary that I have to stick to CV classical approach only.\n\nAttached image for reference (example : one green mark means one horizontal bar).",
  "title": "Reinforement Structure Analysis"
}