Design and development of an intelligent neuro-fuzzy system for automated visual inspection