# Detection of Pest Feeding Traces on Industrial Wood Surfaces with 3D Imaging
## 4 Discussion
It remains an open question as to whether to expand the catalogue of defects that can be detected using the proposed configuration. Analysis of the three-dimensional image makes it possible to identify and locate damaged areas and determine critical geometric parameters. Information on the number of defects, their distribution, and the damaged area is sufficient to evaluate the material. This information can be used to evaluate semi-finished wood products and manage ongoing production quality. In highly automated productions, such information is crucial for the resulting production efficiency. The consequences of allowing the production of defective semi-finished products may be downtime, damage to machines, or the need to repair manufactured products made of defective elements. Wood quality control systems allow for increased productivity and stable management while maintaining the required product quality. Using parametric defect assessments enables the definition of an acceptable tolerance for each quality indicator. Depending on the intended use of the wood, these tolerances can be adapted by the operators controlling the quality control system. It allows operators to respond rapidly to changes in material grading requirements, enabling flexible control of the process. The wormhole detection algorithms used belong to classical 3D image analysis methods. The results were satisfactory regarding the possibility of implementation under industrial conditions. AI methods can be investigated and tested as an alternative to classical 3D image analysis methods. No studies related to the use of AI for wormhole detection have been found in the available literature. The use of such techniques and the analysis of their advantages and disadvantages in the dynamic control of quality control process parameters is planned for the following research step. All tests and image recording were performed at a speed of moving wood relative to the camera and did not exceed 1.5 m/s. Imaging at higher speeds requires cameras with the ability to capture more altitude profiles per second. Solutions that allow users to register profiles with a frequency of up to 200 kHz have already appeared on the market. However, it should be remembered that some of the laser energy illuminating the surface of the wood is absorbed and dissipated. Increasing the frequency of altitude profile recording is associated with a decrease in acquisition time and thus a decrease in the energy recorded on the sensor. It may turn out that the surface of the wood is no longer visible with a frequency of 200 kHz in the 3D image. Tests should therefore be carried out to confirm the possibility of imaging wood at such frequencies. This is the direction of further work that can be carried out as part of the ongoing research into controlling defects resulting from pests feeding. Conceptualisation, A.S., B.L. and A.H.; methodology, A.S., B.L. and A.H.; software, A.S., B.L. and A.H.; validation, B.L., A.S., K.N., Y.N., A.H. and K.H. ; formal analysis, B.L., A.S., K.N., Y.N., A.H. and K.H. ; investigation, B.L., A.S., K.N., Y.N., A.H. and K.H. ; resources, B.L. and A.S.; data curation, B.L., A.S., K.N., Y.N. and K.H. ; writing--original draft preparation, A.S. and B.L. ; writing--review and editing, B.L., A.S., K.N., Y.N. and K.H. ; visualisation, B.L., A.S., K.N., Y.N. and K.H. ; visualisation, A.S., K.N., Y.N. and K.H. ; supervision, A.S.; project administration, A.S. and B.L. ; and funding acquisition, A.S. All authors have read and agreed to the published version of the manuscript. This study was financed by the AGH University of Science and Technology in Krakow as part of the IDUB-D11-11155-11167-1178 project. Not applicable. The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy. The authors declare no conflicts of interest.