A knowledge-based intelligence system for control of dirt recognition process in the smart washing machines