# Deep atrous context convolution generative adversarial network with corner key point extracted feature for nuts classification

**Authors:** M. Shyamala Devi, M. Jaiganesh, S. Priya, E. Elakkiya

PMC · DOI: 10.1038/s41598-026-36238-2 · Scientific Reports · 2026-01-27

## TL;DR

This paper introduces a new deep learning model for classifying different types of nuts using synthetic image generation and advanced feature extraction techniques.

## Contribution

The novel DAC-GAN model combines DCGANs with atrous convolution and corner key point features to improve nut classification accuracy.

## Key findings

- DAC-GAN achieved 99.83% accuracy in classifying 8 types of nuts.
- The model outperformed traditional CNN and data augmentation methods in classification performance.
- Atrous convolution and corner key point features effectively captured intricate spatial details in nut images.

## Abstract

Deep learning-based nut classification has emerged as a viable way to automate the detection and categorization of different nut varieties in the food processing and agriculture sectors. Conventional techniques for classifying nuts mostly rely on manually created characteristics like texture, color, shape, or edges. These characteristics frequently fall short of capturing the image’s complete complexity, particularly when nuts show tiny visual variances. This research proposes Deep Atrous Context Convolution Generative Adversarial Network (DAC-GAN) model that categorize the 8 classes of nuts like brazil nuts, cashew, peanut, pecan nut, pistachio, chest nut, macadamia and Walnut. This research uses Common Nut KAGGLE dataset with 4,000 nuts images of 8 nuts classes. The DAC-GAN approach overcomes the difficulties of having limited labelled data for nut classification tasks by employing DCGANs’ ability to produce high-quality, synthetic nut images to supplement the dataset. The DCGAN comprises of a discriminator and a generator block. The discriminator block develops the ability to differentiate between synthetic and real images, while the generator block generates realistic nut images from random noise. The real images along with the DCGAN generated images are processed with feature filtering methods to extract the Corner Key Points Featured (CKPF) nuts images. To further enhance the feature selection, the CKPF edges are extracted from the image that provides unique, geometrically distinctive critical corners to further process for representative learning. To proceed with the effective feature extraction and model learning, the CKPF nuts images are processed with atrous convolution that capture the intricate details by expanding the receptive field without losing resolution. The novelty of this work exists by appending the filtration and atrous convolution that acquire the spatial data features from the nut’s images at various resolutions. Atrous convolution was refined by appending the pre-context and post-context block that add the image level information to the features. The effectiveness of the DAC-GAN model was validated with the traditional augmented dataset with all existing filtering images and CNN models. Implementation outcome shows that DAC-GAN found to exhibit high accuracy of 99.83% towards the nuts type classification. The superiority of the DAC-GAN method over traditional approaches is demonstrated by extensive experiments on augmented and DCGAN generated datasets, which achieve higher classification accuracy and generalization across a variety of nut type categorization. The outcome demonstrates that the DCGAN together with atrous convolution have the potential to be an effective tool for automating nut sorting in food industry.

## Full-text entities

- **Species:** Arachis hypogaea (goober, species) [taxon 3818], Bertholletia excelsa (Brazil nut, species) [taxon 3645]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12909885/full.md

## Figures

19 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12909885/full.md

## References

3 references — full list in the complete paper: https://tomesphere.com/paper/PMC12909885/full.md

---
Source: https://tomesphere.com/paper/PMC12909885