Melanoma is a common form of skin cancer that dangerously affects many people around the world. Detection of melanoma with the naked eye by dermatologists may be subject to errors. Therefore, the implementation of image processing devices equipped with artificial intelligence can act as a support for the dermatologist in examination and decision making. However, due to the various characteristics of this type of lesions and the presence of noises and artifacts in the images, it is difficult to distinguish melanomas from benign lesions. In this paper, we propose a new type of intelligent system which is based on several neural networks connected on two levels of classification. The first level contains five classifiers (subjective classifiers): the perceptron coupled with color local binary patterns, the perceptron coupled with color histograms of oriented gradients, the generative adversarial network (for segmentation) coupled with ABCD rule, the ResNet, and the AlexNet. They are chosen experimentally and consider the following features of melanomas: texture, shape, color, size, and convolutional pixel connections. At the second level (objective level), one classifier (perceptron-type) decides whether the lesion is a melanoma, based on learning-adjusted weight and the decisions at the first level. The second level is based on back-propagation perceptron that provides the final decision (melanoma or non-melanoma). The subjective and objective levels undergo two separate training phases. This approach allows an easier transition of the system from one database to another. This study shows that the use of the objective classifier brings an accuracy of 97.5% and an F1 score of 97.47%. These results are better than those of the individual classifier and those of the previous literature mentioned in References.