There is a large amount of drilling core data in the Mackay River oil sands block in Canada, and the accurate identification of facies from the cores is important and necessary for the understanding of the subsurface reservoir. The traditional recognition method of facies from cores is by human work and is very time consuming. Furthermore, the results are different according to different geologists because of the subjective judgment criterion. An efficient and objective method is important to solve the above problem. In this paper, the deep learning image-recognition algorithm is used to automatically and intelligently recognize the facies type from the core image. Through a series of high-reliability preprocessing operations, such as cropping, segmentation, rotation transformation, and noise removal of the original core image, that have been manually identified, the key feature information in the images is extracted based on the ResNet50 convolutional neural network. On the dataset of about 200 core images from 13 facies, an intelligent identification system of facies from core images is constructed, which realizes automatic facies identification from core images. Comparing this method with traditional convolutional neural networks and support vector machines (SVM), the results show that the recognition accuracy of this model is as high as 91.12%, which is higher than the other two models. It is also shown that for a relatively special dataset, such as core images, it is necessary to rely on their global features in order to classify them, and, with a large similarity between some of the categories, it is extremely difficult to classify them. The selection of a suitable neural network model can have a great impact on the accuracy of recognition results. Then, the recognized facies are input as hard data to construct the three-dimensional facies model, which reveals the complex heterogeneity and distribution of the subsurface reservoir for further exploration and development.