This paper is the result of the research work on the application of an artificial neural network algorithm applied in decision making in the process of AIO (Automatic Optical Inspection) for quality control from an electronic prototyping company, generating models for the assurance of Quality in the PCB (Printed Circuit Board) product, covering the fields of decision making, quality management, production processes, neural computer systems and artificial vision among others. It is intended to develop an algorithm of artificial neural networks that provides an approach to human recognition and perception when performing a quality inspection of the final product, based on image analysis and recognition. It is presented the theoretical concepts explored and the results obtained. Initially a problem definition was made to model, then the data processing was performed, the artificial neural network model was selected to be applied, then the relevant adjustments made to the model to finally obtain a simulation and validation of the same