The monitoring of coal flow is a crucial aspect of the intelligent regulation and control of comprehensive mining equipment. In recent years, machine vision technology has become a mainstream method for quickly and efficiently extracting coal flow information. However, the majority of research in this field has focused on belt conveyors, with relatively limited investigation into the use of this technology with scraper conveyors. In order to address the need for monitoring coal flow in scraper conveyors, a monocular visual detection method of coal flow rates based on template matching-background differencing is proposed. First, the region of interet in the images captured using a monocular camera mounted at a specific location is quickly identified using an enhanced template matching method. Second, the image motion region is segmented using interframe and background differencing. Finally, the coal flow rate is calculated on the basis of the number of pixel points in the segmented image. Experimental verification is performed using scraper conveyor test bench and real underground data. The results demonstrate that the proposed coal flow detection method is capable of achieving real-time detection of coal flow in scraper conveyor and provides a theoretical basis for the monitoring of coal flow of the scraper conveyor.