The invention discloses a
coal mine belt deviation real-time lightweight detection device and a
coal mine belt deviation real-time lightweight detection method based on image sub-pixels, firstly, the device captures video streams of belt operation in real time through an
image acquisition device, analyzes the video streams in real time by means of
edge computing nodes, and monitors the running state of a belt in real time to determine the deviation of the belt; once the belt starts to work, image
distortion caused by a shooting angle or environment is immediately corrected through
perspective transformation. Secondly, automatically selecting a high-contrast reference strip through an image preprocessing method, and accurately extracting a region near the belt edge as a minimum
region of interest, namely a belt
edge region; then, a lightweight sub-pixel
convolutional neural network is used to carry out deep analysis on the areas, and a high-quality super-resolution image is generated, so that the accuracy of
edge detection is further improved. And finally, accurately identifying and positioning the edge position of the belt by introducing a bidirectional
edge tracking method with an abnormal detection function, thereby realizing real-time and accurate detection on the deviation condition of the belt.