As an interdisciplinary course, Machine Vision combines AI and digital image processing methods. This paper develops a comprehensive machine vision experiment on forest wildfire detection that organically integrates digital image processing, machine learning and deep learning technologies. Although the research on wildfire detection has made great progress, many experiments are not suitable for students to operate. Also, the detection with high accuracy is still a big challenge. In this paper, we divide the task of forest wildfire detection into two modules, which are wildfire image classification and wildfire region detection. We propose a novel wildfire image classification algorithm based on Reduce-VGGnet, and a wildfire region detection algorithm based on the optimized CNN with the combination of spatial and temporal features. The experimental results show that the proposed Reduce-VGGNet model can reach 91.20% in accuracy, and the optimized CNN model with the combination of spatial and temporal features can reach 97.35% in accuracy. Our framework is a novel way to combine research and teaching. It can achieve good detection performance and can be used as a comprehensive experiment for Machine Vision course, which can provide the support for talent cultivation in machine vision area.