Hassan Imam
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Hassan Imam has a total of 10 co-authors. Here are the top co-authors by number of shared publications:
- Adil Ahmad
National Center of Artificial Intelligence, National University of Sciences and Technology, Islamabad 44000, Pakistan
1 shared publication - Amer Aljaedi
College of Computing and Information Technology, University of Tabuk, Tabuk, Saudi Arabia
1 shared publication - Javaid Iqbal
School of Mechanical and Manufacturing Engineering, National University of Sciences and Technology, Islamabad 44000, Pakistan
1 shared publication Kashif Hesham Khan
School of Computing Technologies, RMIT University, Melbourne, VIC, Australia
1 shared publication- Laraib Umer
School of Mechanical and Manufacturing Engineering, National University of Sciences and Technology, Islamabad 44000, Pakistan
1 shared publication - Muhammad Shakeel Ishtiaq
Department of Biomedical Engineering, Riphah International University, Islamabad, Pakistan
1 shared publication
Latest Publications
- Open Access
- 12 November 2025
- Published by MDPI AG in Diagnostics
- Vol. 15 (22) , 2871
StressSpeak: A Speech-Driven Framework for Real-Time Personalized Stress Detection and Adaptive Psychological Support
Background: Stress is a critical determinant of mental health, yet conventional monitoring approaches often rely on subjective self-reports or physiological signals that lack real-time responsiveness. Recent advances in large language models (LLMs) offer opportunities for speech-driven, adaptive stress detection, but existing systems are limited to retrospective text analysis, monolingual settings, or detection-only outputs. Methods: We developed a real-time, speech-driven stress detection framework that integrates audio recording, speech-to-text conversion, and linguistic analysis using transformer-based LLMs. The system provides multimodal outputs, delivering recommendations in both text and synthesized speech. Nine LLM variants were evaluated on five benchmark datasets under zero-shot and few-shot learning conditions. Performance was assessed using accuracy, precision, recall, F1-score, and misclassification trends (false-negatives and false-positives). Real-time feasibility was analyzed through latency modeling, and user-centered validation was conducted across cross-domains. Results: Few-shot fine-tuning improved model performance across all datasets, with Large Language Model Meta AI (LLaMA) and Robustly Optimized BERT Pretraining Approach (RoBERTa) achieving the highest F1-scores and reduced false-negatives, particularly for suicide risk detection. Latency analysis revealed a trade-off between responsiveness and accuracy, with delays ranging from ~2 s for smaller models to ~7.6 s for LLaMA-7B on 30 s audio inputs. Multilingual input support and multimodal output enhanced inclusivity. User feedback confirmed strong usability, accessibility, and adoption potential in real-world settings. Conclusions: This study demonstrates that real-time, LLM-powered stress detection is both technically robust and practically feasible. By combining speech-based input, multimodal feedback, and user-centered validation, the framework advances beyond traditional detection only models toward scalable, inclusive, and deployment-ready digital mental health solutions.
- 12 November 2025
- Published by MDPI AG in Diagnostics
- Vol. 15 (22) , 2871
Open AccessStressSpeak: A Speech-Driven Framework for Real-Time Personalized Stress Detection and Adaptive Psychological Support
Background: Stress is a critical determinant of mental health, yet conventional monitoring approaches often rely on subjective self-reports or physiological signals that lack real-time responsiveness. Recent advances in large language models (LLMs) offer opportunities for speech-driven, adaptive stress detection, but existing systems are limited to retrospective text analysis, monolingual settings, or detection-only outputs. Methods: We developed a real-time, speech-driven stress detection framework that integrates audio recording, speech-to-text conversion, and linguistic analysis using transformer-based LLMs. The system provides multimodal outputs, delivering recommendations in both text and synthesized speech. Nine LLM variants were evaluated on five benchmark datasets under zero-shot and few-shot learning conditions. Performance was assessed using accuracy, precision, recall, F1-score, and misclassification trends (false-negatives and false-positives). Real-time feasibility was analyzed through latency modeling, and user-centered validation was conducted across cross-domains. Results: Few-shot fine-tuning improved model performance across all datasets, with Large Language Model Meta AI (LLaMA) and Robustly Optimized BERT Pretraining Approach (RoBERTa) achieving the highest F1-scores and reduced false-negatives, particularly for suicide risk detection. Latency analysis revealed a trade-off between responsiveness and accuracy, with delays ranging from ~2 s for smaller models to ~7.6 s for LLaMA-7B on 30 s audio inputs. Multilingual input support and multimodal output enhanced inclusivity. User feedback confirmed strong usability, accessibility, and adoption potential in real-world settings. Conclusions: This study demonstrates that real-time, LLM-powered stress detection is both technically robust and practically feasible. By combining speech-based input, multimodal feedback, and user-centered validation, the framework advances beyond traditional detection only models toward scalable, inclusive, and deployment-ready digital mental health solutions.
- Open Access
- 18 July 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 139505-139523
Disease Detection in Grape Cultivation Using Strategically Placed Cameras and Machine Learning Algorithms With a Focus on Powdery Mildew and Blotches
Grape cultivation faces various challenges, such as pests, management, fertilizer quality, and diseases caused by bacteria, fungi, and viruses. Notably, powdery mildew and blotches are significant diseases with different features, necessitating an accurate detection system to minimize crop losses. While traditional methods involve capturing images of diseased leaves, this research proposes a smart approach using deep learning and machine learning algorithms to analyze images taken by strategically placed cameras on farms. The research aims to design a system capable of detecting diseases that can provide information relevant to decisions, alert farmers, and allow authorized actions. Employing artificial intelligence algorithms such as support vector machines (SVM), convolutional neural networks (CNN), decision trees (DT), Naive Bayes (NB), and random forest (RF), the proposed model classifies datasets of powdery mildew, blotches, and healthy leaves when using augmented and histogram-oriented gradient (HOG) preprocessing. Following the classification of affected and healthy leaves, a stacking algorithm is used to select the optimal algorithm that provides the highest level of accuracy. The experimental results and analysis reveal that the CNN classifier outperforms others, achieving an accuracy of 96.1%. When transfer learning and fine tuning are applied to the CNN-based model, the accuracy of the model increases by 1.4% and 3.1%, respectively. SVM classification also provides a suitable level of accuracy of 96.0% for HOG augmented data.
- 18 July 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 139505-139523
Open AccessDisease Detection in Grape Cultivation Using Strategically Placed Cameras and Machine Learning Algorithms With a Focus on Powdery Mildew and Blotches
Grape cultivation faces various challenges, such as pests, management, fertilizer quality, and diseases caused by bacteria, fungi, and viruses. Notably, powdery mildew and blotches are significant diseases with different features, necessitating an accurate detection system to minimize crop losses. While traditional methods involve capturing images of diseased leaves, this research proposes a smart approach using deep learning and machine learning algorithms to analyze images taken by strategically placed cameras on farms. The research aims to design a system capable of detecting diseases that can provide information relevant to decisions, alert farmers, and allow authorized actions. Employing artificial intelligence algorithms such as support vector machines (SVM), convolutional neural networks (CNN), decision trees (DT), Naive Bayes (NB), and random forest (RF), the proposed model classifies datasets of powdery mildew, blotches, and healthy leaves when using augmented and histogram-oriented gradient (HOG) preprocessing. Following the classification of affected and healthy leaves, a stacking algorithm is used to select the optimal algorithm that provides the highest level of accuracy. The experimental results and analysis reveal that the CNN classifier outperforms others, achieving an accuracy of 96.1%. When transfer learning and fine tuning are applied to the CNN-based model, the accuracy of the model increases by 1.4% and 3.1%, respectively. SVM classification also provides a suitable level of accuracy of 96.0% for HOG augmented data.