This is the code of texture attention module (TAM), texture enhancement module (TEM) matching with the paper "Multi-target recognition of peanut defects based on multispectral imaging system and improved Faster RCNN". based on: Python 3.6, Keras 2.2.4
Wang, Yang, Zhao Ding, Jiayong Song, Zhizhu Ge, Ziqing Deng, Zijie Liu, Jihong Wang, Lifeng Bian, and Chen Yang. 2023. "Peanut Defect Identification Based on Multispectral Image and Deep Learning" Agronomy 13, no. 4: 1158. https://doi.org/10.3390/agronomy13041158
If you need the corresponding peanut defect dataset, you can obtain it by following this link:https://pan.baidu.com/s/1peVUZnz7NTQHsxrRyUVq2w Password:6mdb
If you require access to the code or any additional information, please do not hesitate to contact us at eliot.c.yang@163.com. We are happy to assist you in any way we can.