This paper presents an algorithm for detecting straight and slant wood fibers based on the slope angle using image processing techniques. The algorithm utilizes two features: the mean and maximum angle of the fibers, achieving an accuracy of 79.2% through a classification method involving thresholding. The study highlights the effectiveness of using different camera types and optimizing parameters to enhance detection performance.