Illegal logging threatens biodiversity, carbon storage and ecological stability, yet ranger patrols and camera networks are costly, spatially limited and rarely provide timely alerts. This paper presents ForestEar, a proof-of-concept framework that classifies 2-second audio clips as Safe, Illegal Activity or Environmental Risk using a two-dimensional convolutional neural network (CNN) applied to log-mel spectrograms. In the absence of a labelled forest-threat corpus, classes from the public ESC-50 and UrbanSound8K datasets were remapped as proxy labels, and stochastic augmentation was applied to minority classes. On a held-out test partition, a binary Safe-versus-Illegal-Activity evaluation (n = 338) reached 92.9% accuracy, with recall of 0.95 (Safe) and 0.90 (Illegal Activity). A three-class configuration that adds the Environmental Risk class is demonstrated in a preliminary evaluation, which identified Environmental Risk as the most difficult class. Per-clip inference took approximately 250 ms on a laptop CPU. Because the results derive from proxy benchmark data, a single data split that was not grouped by source recording, and single training runs, they demonstrate feasibility under benchmark conditions rather than field performance. Validation on forest recordings and on embedded hardware remains future work.

We thank our VIT management and faculty members who helped and guided us throughout our research. We are especially grateful to our peers, colleagues and family members for their encouragement and valuable support. The ESC-50 dataset was created by Piczak3 and the UrbanSound8K dataset by Salamon et al.4; both are used under Creative Commons Attribution Non-Commercial licenses.

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions