Machine learning is a relatively new field. With the deepening of people's research in this field, the application of machine learning is increasingly extensive. On the other hand, with the development of science and technology, image has become an indispensable medium of information transmission, and image processing technology is also booming. This paper introduces machine learning into image processing, and studies the image processing technology based on machine learning. This paper summarizes the current popular image processing technology, compares various image technology in detail, and explains the limitations of each image processing method. In addition, on the basis of image processing, this paper introduces machine learning algorithm, applies convolution neural network to feature extraction of image processing, and carries out simulation test. In the test, we select voc2007 dataset for image segmentation, Imagenet dataset for target detection, cifar100 dataset for image classification, and ROC curve for performance evaluation. The results show that the algorithm based on deep learning can achieve high accuracy in image segmentation, classification and target detection. The accuracy of image segmentation is 0.984, the accuracy of image classification is 0.987, and the accuracy of target detection is 0.986. Image processing based on machine learning has great advantages.