A textile detection module , suitable for detecting a test specimen , the textile detection module comprising: an excitation light source , providing an excitation light beam (L1); and an optical detector , disposed on a transmission path of the excitation light beam (L1) and suitable for receiving the excitation light beam (L1) and emitting the excitation light beam (L1) along an optical axis and receiving a detection light beam (L3) to generate a detection result; the textile detection module being characterized in further comprising: a height sensor , suitable for measuring a height of the test specimen to generate a height signal (S1); and a focuser , disposed on the transmission path of the excitation light beam (L1) emitted by the optical detector , wherein the focuser comprises a focus lens suitable for converting the excitation light beam (L1) into a focused excitation light beam (L2), and the focused excitation light beam (L2) is transmitted from the focuser to the test specimen to generate the detection light beam (L3), wherein the focuser adjusts a position of the focus lens according to the height signal (S1), the height sensor measures the height of the test specimen at a first position (P1) of a conveying path (A), the optical detector performs optical detection on the test specimen at a second position (P2) of the conveying path (A), and the test specimen moves from the first position (P1) to the second position (P2) along the conveying path (A). an excitation light source , providing an excitation light beam (L1); and an optical detector , disposed on a transmission path of the excitation light beam (L1) and suitable for receiving the excitation light beam (L1) and emitting the excitation light beam (L1) along an optical axis and receiving a detection light beam (L3) to generate a detection result; the textile detection module being characterized in further comprising: a height sensor , suitable for measuring a height of the test specimen to generate a height signal (S1); and a focuser , disposed on the transmission path of the excitation light beam (L1) emitted by the optical detector , wherein the focuser comprises a focus lens suitable for converting the excitation light beam (L1) into a focused excitation light beam (L2), and the focused excitation light beam (L2) is transmitted from the focuser to the test specimen to generate the detection light beam (L3), wherein the focuser adjusts a position of the focus lens according to the height signal (S1), the height sensor measures the height of the test specimen at a first position (P1) of a conveying path (A), the optical detector performs optical detection on the test specimen at a second position (P2) of the conveying path (A), and the test specimen moves from the first position (P1) to the second position (P2) along the conveying path (A). a height sensor , suitable for measuring a height of the test specimen to generate a height signal (S1); and a focuser , disposed on the transmission path of the excitation light beam (L1) emitted by the optical detector , wherein the focuser comprises a focus lens suitable for converting the excitation light beam (L1) into a focused excitation light beam (L2), and the focused excitation light beam (L2) is transmitted from the focuser to the test specimen to generate the detection light beam (L3), wherein the focuser adjusts a position of the focus lens according to the height signal (S1), the height sensor measures the height of the test specimen at a first position (P1) of a conveying path (A), the optical detector performs optical detection on the test specimen at a second position (P2) of the conveying path (A), and the test specimen moves from the first position (P1) to the second position (P2) along the conveying path (A). <EOS>