For better results, keep the full counting area in frame, face the visible ends, use a sharp image, avoid extreme glare or darkness, and review difficult edge or hidden items after detection.
1. Show the ends you want to count
Pipe Counter works from visible image evidence. If an end is completely hidden behind another object, the image cannot provide the same visual information as a clearly exposed pipe end.
2. Avoid a steep side angle
A near end-on view generally keeps openings more consistent in shape and reduces overlap. You do not need a perfectly measured camera position, but avoid an angle where rows collapse into each other.
3. Keep the complete counting area in frame
If a pipe is cut off by the image edge, it becomes a borderline review case. Step back slightly when necessary so the outer perimeter of the bundle is visible.
4. Prioritize focus over zoom
A sharp wider image is usually more useful than a heavily zoomed but blurred image. Check that neighbouring pipe ends remain distinguishable.
5. Control glare and deep shadow
Strong highlights can erase light-coloured edges, while very dark interiors can merge together. Move slightly or change the light when possible rather than relying on exposure correction afterward.
6. Review difficult regions first
After counting, inspect the outside corners, cropped edges, strapped areas, deep shadows, partial occlusions and any location where marker spacing looks unusual. Use manual correction when needed.
Accuracy and review
Image-based counting depends on what is visible in the photograph. Lighting, perspective, crop, occlusion, material appearance and image quality can affect detection. Review the marked result and use manual correction before relying on a count for an operational decision.


