This document describes a study focused on identifying the position of insect pathways within Quercus mongolica seeds utilizing image processing techniques. The research employs Canny and Hough algorithms for edge detection and a pixel screening algorithm based on RGB principles to construct a three-dimensional model of the insect tracks. The findings indicate optimized methods for detecting insect damage, providing a framework for future pest management strategies in forestry.