RKRidip Khanal

Ridip Khanal

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Ridip Khanal has a total of 5 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    A Frequency-Structured Dilated Conformer Architecture for Full-Kit Automatic Drum Transcription

    by Ridip Khanal, Joonwhoan Lee

    Automatic Drum Transcription (ADT) remains challenging due to overlapping spectral content among drum instruments, dense transient activity, and the increased difficulty associated with fine-grained full-kit transcription. This study investigates whether combining explicit spectral structuring with temporally extended modeling improves ADT performance under a controlled evaluation protocol. A frequency-structured architecture is proposed that integrates a convolutional front end, a Frequency-Structured Soft-Gated Module (FSSM) for coarse frequency-aware processing, and a Dilated Conformer encoder for multi-scale temporal context modeling while preserving frame-level output alignment. Experiments are conducted on the ENST Drums dataset using both 3-class and consolidated 8-class transcription settings. Under a fixed ±50 ms event-level evaluation protocol, the proposed model achieved mean Micro-F1 scores of 0.920 ± 0.001 and 0.872 ± 0.002 in the 3-class and 8-class settings, respectively, outperforming a reproduced CRNN baseline trained and evaluated under identical preprocessing, training, and evaluation protocols. Ablation studies indicate that FSSM contributes the largest performance improvement among the evaluated architectural components, while class-wise analyses show improvements across all instrument categories in the 8-class setting. Zero-shot evaluation on external datasets further demonstrates that the proposed architecture maintains higher performance than the baseline under distribution shift, although substantial degradation remains relative to in-domain evaluation. These findings suggest that combining explicit spectral structuring and temporally extended modeling can improve full-kit drum transcription performance under the evaluated conditions while highlighting the continuing challenges of cross-dataset generalization.

  • Open Access

    Automated Dead Chicken Detection in Poultry Farms Using Knowledge Distillation and Vision Transformers

    by Ridip Khanal, Wenqin Wu, Joonwhoan Lee

    Detecting dead chickens in broiler farms is critical for maintaining animal welfare and preventing disease outbreaks. This study presents an automated system that leverages CCTV footage to detect dead chickens, utilizing a two-step approach to improve detection accuracy and efficiency. First, stationary regions in the footage—likely representing dead chickens—are identified. Then, a deep learning classifier, enhanced through knowledge distillation, confirms whether the detected stationary object is indeed a chicken. EfficientNet-B0 is employed as the teacher model, while DeiT-Tiny functions as the student model, balancing high accuracy and computational efficiency. A dynamic frame selection strategy optimizes resource usage by adjusting monitoring intervals based on the chickens’ age, ensuring real-time performance in resource-constrained environments. This method addresses key challenges such as the lack of explicit annotations for dead chickens, along with common farm issues like lighting variations, occlusions, cluttered backgrounds, chicken growth, and camera distortions. The experimental results demonstrate validation accuracies of 99.3% for the teacher model and 98.7% for the student model, with significant reductions in computational demands. The system’s robustness and scalability make it suitable for large-scale farm deployment, minimizing the need for labor-intensive manual inspections. Future work will explore integrating deep learning methods that incorporate temporal attention mechanisms and automated removal processes.


  • Open Access

    Pine Wilt Disease Segmentation with Deep Metric Learning Species Classification for Early-Stage Disease and Potential False Positive Identification

    by Nikhil Thapa, Ridip Khanal, Bhuwan Bhattarai, Joonwhoan Lee

    Pine Wilt Disease poses a significant global threat to forests, necessitating swift detection methods. Conventional approaches are resource-intensive but utilizing deep learning on ortho-mapped images obtained from Unmanned Aerial Vehicles offers cost-effective and scalable solutions. This study presents a novel method for Pine Wilt Disease detection and classification using YOLOv8 for segmenting diseased areas, followed by cropping the diseased regions from the original image and applying Deep Metric Learning for classification. We trained a ResNet50 model using semi-hard triplet loss to obtain embeddings, and subsequently trained a Random Forest classifier tasked with identifying tree species and distinguishing false positives. Segmentation was favored over object detection due to its ability to provide pixel-level information, enabling the flexible extension of subsequent bounding boxes. Deep Metric Learning-based classification after segmentation was chosen for its effectiveness in handling visually similar images. The results indicate a mean Intersection over Union of 83.12% for segmentation, with classification accuracies of 98.7% and 90.7% on the validation and test sets, respectively.


  • Open Access

    Transforming Poultry Farming: A Pyramid Vision Transformer Approach for Accurate Chicken Counting in Smart Farm Environments

    by Ridip Khanal, Yoochan Choi, Joonwhoan Lee

    Smart farm environments, equipped with cutting-edge technology, require proficient techniques for managing poultry. This research investigates automated chicken counting, an essential part of optimizing livestock conditions. By integrating artificial intelligence and computer vision, it introduces a transformer-based chicken-counting model to overcome challenges to precise counting, such as lighting changes, occlusions, cluttered backgrounds, continual chicken growth, and camera distortions. The model includes a pyramid vision transformer backbone and a multi-scale regression head to predict precise density maps of the crowded chicken enclosure. The customized loss function incorporates curriculum loss, allowing the model to learn progressively, and adapts to diverse challenges posed by varying densities, scales, and appearances. The proposed annotated dataset includes data on various lighting conditions, chicken sizes, densities, and placements. Augmentation strategies enhanced the dataset with brightness, contrast, shadow, blur, occlusion, cropping, and scaling variations. Evaluating the model on the proposed dataset indicated its robustness, with a validation mean absolute error of 27.8, a root mean squared error of 40.9, and a test average accuracy of 96.9%. A comparison with the few-shot object counting model SAFECount demonstrated the model’s superior accuracy and resilience. The transformer-based approach was 7.7% more accurate than SAFECount. It demonstrated robustness in response to different challenges that may affect counting and offered a comprehensive and effective solution for automated chicken counting in smart farm environments.