Abstract: In the coffee industry, the quality of coffee beans directly affects market value and consumer acceptance. This study addresses the challenge of defect detection in coffee beans, which is ...