Hafiz Mughees Ahmad
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Hafiz Mughees Ahmad has a total of 18 co-authors. Here are the top co-authors by number of shared publications:
- Afshin Rahimi
University of Windsor
6 shared publications - Khizer Hayat
IFIVEO Canada Inc., Windsor, ON N8W 0A6, Canada
3 shared publications - Sajid Ghuffar
Department of Space Science, Institute of Space Technology, Islamabad 44000, Pakistan
2 shared publications - Adeel Yousaf
Artificial Intelligence and Computer Vision (iVision) Lab, Department of Electrical Engineering, Institute of Space Technology, Islamabad, Pakistan
1 shared publication - Adeel Yousaf
Department of Avionics Engineering, Institute of Space Technology, Islamabad 44000, Pakistan
1 shared publication - Christopher Indris
Department of Computer Science, Toronto Metropolitan University, Toronto, ON M5B 2K3, Canada
1 shared publication
Latest Publications
- Open Access
- 27 August 2025
- Published by Elsevier in Pattern Recognition
- Vol. 172
LayerMix: Enhanced Data Augmentation for Robust Deep Learning
- 27 August 2025
- Published by Elsevier in Pattern Recognition
- Vol. 172
Open AccessLayerMix: Enhanced Data Augmentation for Robust Deep Learning
- 16 July 2025
- Published by Springer Nature in SN Computer Science
- Vol. 6 (6) , 1-15
Dynamic Focal Loss for Imbalanced Learning
- 16 July 2025
- Published by Springer Nature in SN Computer Science
- Vol. 6 (6) , 1-15
Dynamic Focal Loss for Imbalanced Learning
- Top Cited PapersOpen Access
- 1 June 2025
- Published by KEAI Publishing in Journal of Safety Science and Resilience
- Vol. 6 (2) , 175-185
SH17: A dataset for human safety and personal protective equipment detection in manufacturing industry
- 1 June 2025
- Published by KEAI Publishing in Journal of Safety Science and Resilience
- Vol. 6 (2) , 175-185
Top Cited PapersOpen AccessSH17: A dataset for human safety and personal protective equipment detection in manufacturing industry
- Open Access
- 10 January 2025
- Published by MDPI AG in Journal of Imaging
- Vol. 11 (1) , 17
Supervised and Self-Supervised Learning for Assembly Line Action Recognition
The safety and efficiency of assembly lines are critical to manufacturing, but human supervisors cannot oversee all activities simultaneously. This study addresses this challenge by performing a comparative study to construct an initial real-time, semi-supervised temporal action recognition setup for monitoring worker actions on assembly lines. Various feature extractors and localization models were benchmarked using a new assembly dataset, with the I3D model achieving an average mAP@IoU=0.1:0.7 of 85% without optical flow or fine-tuning. The comparative study was extended to self-supervised learning via a modified SPOT model, which achieved a mAP@IoU=0.1:0.7 of 65% with just 10% of the data labeled using extractor architectures from the fully-supervised portion. Milestones include high scores for both fully and semi-supervised learning on this dataset and improved SPOT performance on ANet1.3. This study identified the particularities of the problem, which were leveraged and referenced to explain the results observed in semi-supervised scenarios. The findings highlight the potential for developing a scalable solution in the future, providing labour efficiency and safety compliance for manufacturers.
- 10 January 2025
- Published by MDPI AG in Journal of Imaging
- Vol. 11 (1) , 17
Open AccessSupervised and Self-Supervised Learning for Assembly Line Action Recognition
The safety and efficiency of assembly lines are critical to manufacturing, but human supervisors cannot oversee all activities simultaneously. This study addresses this challenge by performing a comparative study to construct an initial real-time, semi-supervised temporal action recognition setup for monitoring worker actions on assembly lines. Various feature extractors and localization models were benchmarked using a new assembly dataset, with the I3D model achieving an average mAP@IoU=0.1:0.7 of 85% without optical flow or fine-tuning. The comparative study was extended to self-supervised learning via a modified SPOT model, which achieved a mAP@IoU=0.1:0.7 of 65% with just 10% of the data labeled using extractor architectures from the fully-supervised portion. Milestones include high scores for both fully and semi-supervised learning on this dataset and improved SPOT performance on ANet1.3. This study identified the particularities of the problem, which were leveraged and referenced to explain the results observed in semi-supervised scenarios. The findings highlight the potential for developing a scalable solution in the future, providing labour efficiency and safety compliance for manufacturers.
- Open Access
- 29 October 2024
- Published by MDPI AG in Automation
- Vol. 5 (4) , 545-563
Capacity Constraint Analysis Using Object Detection for Smart Manufacturing
The increasing adoption of Deep Learning (DL)-based Object Detection (OD) models in smart manufacturing has opened up new avenues for optimizing production processes. Traditional industries facing capacity constraints require noninvasive methods for in-depth operations analysis to optimize processes and increase revenue. In this study, we propose a novel framework for capacity constraint analysis that identifies bottlenecks in production facilities and conducts cycle time studies using an end-to-end pipeline. This pipeline employs a Convolutional Neural Network (CNN)-based OD model to accurately identify potential objects on the production floor, followed by a CNN-based tracker to monitor their lifecycle in each workstation. The extracted metadata are further processed through the proposed framework. Our analysis of a real-world manufacturing facility over six months revealed that the bottleneck station operated at only 73.1% productivity, falling to less than 40% on certain days; additionally, the processing time of each item increased by 53% during certain weeks due to critical labor and materials shortages. These findings highlight significant opportunities for process optimization and efficiency improvements. The proposed pipeline can be extended to other production facilities where manual labor is used to assemble parts, and can be used to analyze and manage labor and materials over time as well as to conduct audits and improve overall yields, potentially transforming capacity management in smart manufacturing environments.
- 29 October 2024
- Published by MDPI AG in Automation
- Vol. 5 (4) , 545-563
Open AccessCapacity Constraint Analysis Using Object Detection for Smart Manufacturing
The increasing adoption of Deep Learning (DL)-based Object Detection (OD) models in smart manufacturing has opened up new avenues for optimizing production processes. Traditional industries facing capacity constraints require noninvasive methods for in-depth operations analysis to optimize processes and increase revenue. In this study, we propose a novel framework for capacity constraint analysis that identifies bottlenecks in production facilities and conducts cycle time studies using an end-to-end pipeline. This pipeline employs a Convolutional Neural Network (CNN)-based OD model to accurately identify potential objects on the production floor, followed by a CNN-based tracker to monitor their lifecycle in each workstation. The extracted metadata are further processed through the proposed framework. Our analysis of a real-world manufacturing facility over six months revealed that the bottleneck station operated at only 73.1% productivity, falling to less than 40% on certain days; additionally, the processing time of each item increased by 53% during certain weeks due to critical labor and materials shortages. These findings highlight significant opportunities for process optimization and efficiency improvements. The proposed pipeline can be extended to other production facilities where manual labor is used to assemble parts, and can be used to analyze and manage labor and materials over time as well as to conduct audits and improve overall yields, potentially transforming capacity management in smart manufacturing environments.
- Open Access
SH17: A Dataset for Human Safety and Personal Protective Equipment Detection in Manufacturing Industry
Workplace accidents continue to pose significant risks for human safety, particularly in industries such as construction and manufacturing, and the necessity for effective Personal Protective Equipment (PPE) compliance has become increasingly paramount. Our research focuses on the development of non-invasive techniques based on the Object Detection (OD) and Convolutional Neural Network (CNN) to detect and verify the proper use of various types of PPE such as helmets, safety glasses, masks, and protective clothing. This study proposes the SH17 Dataset, consisting of 8,099 annotated images containing 75,994 instances of 17 classes collected from diverse industrial environments, to train and validate the OD models. We have trained state-of-the-art OD models for benchmarking, and initial results demonstrate promising accuracy levels with You Only Look Once (YOLO)v9-e model variant exceeding 70.9% in PPE detection. The performance of the model validation on cross-domain datasets suggests that integrating these technologies can significantly improve safety management systems, providing a scalable and efficient solution for industries striving to meet human safety regulations and protect their workforce. The dataset is available at https://github.com/ahmadmughees/sh17dataset.
Open AccessSH17: A Dataset for Human Safety and Personal Protective Equipment Detection in Manufacturing Industry
Workplace accidents continue to pose significant risks for human safety, particularly in industries such as construction and manufacturing, and the necessity for effective Personal Protective Equipment (PPE) compliance has become increasingly paramount. Our research focuses on the development of non-invasive techniques based on the Object Detection (OD) and Convolutional Neural Network (CNN) to detect and verify the proper use of various types of PPE such as helmets, safety glasses, masks, and protective clothing. This study proposes the SH17 Dataset, consisting of 8,099 annotated images containing 75,994 instances of 17 classes collected from diverse industrial environments, to train and validate the OD models. We have trained state-of-the-art OD models for benchmarking, and initial results demonstrate promising accuracy levels with You Only Look Once (YOLO)v9-e model variant exceeding 70.9% in PPE detection. The performance of the model validation on cross-domain datasets suggests that integrating these technologies can significantly improve safety management systems, providing a scalable and efficient solution for industries striving to meet human safety regulations and protect their workforce. The dataset is available at https://github.com/ahmadmughees/sh17dataset.
- Open Access
Capacity Constraint Analysis Using Object Detection for Smart Manufacturing
The increasing popularity of Deep Learning (DL) based Object Detection (OD) methods and their real-world applications have opened new venues in smart manufacturing. Traditional industries struck by capacity constraints after Coronavirus Disease (COVID-19) require non-invasive methods for in-depth operations' analysis to optimize and increase their revenue. In this study, we have initially developed a Convolutional Neural Network (CNN) based OD model to tackle this issue. This model is trained to accurately identify the presence of chairs and individuals on the production floor. The identified objects are then passed to the CNN based tracker, which tracks them throughout their life cycle in the workstation. The extracted meta-data is further processed through a novel framework for the capacity constraint analysis. We identified that the Station C is only 70.6% productive through 6 months. Additionally, the time spent at each station is recorded and aggregated for each object. This data proves helpful in conducting annual audits and effectively managing labor and material over time.
Open AccessCapacity Constraint Analysis Using Object Detection for Smart Manufacturing
The increasing popularity of Deep Learning (DL) based Object Detection (OD) methods and their real-world applications have opened new venues in smart manufacturing. Traditional industries struck by capacity constraints after Coronavirus Disease (COVID-19) require non-invasive methods for in-depth operations' analysis to optimize and increase their revenue. In this study, we have initially developed a Convolutional Neural Network (CNN) based OD model to tackle this issue. This model is trained to accurately identify the presence of chairs and individuals on the production floor. The identified objects are then passed to the CNN based tracker, which tracks them throughout their life cycle in the workstation. The extracted meta-data is further processed through a novel framework for the capacity constraint analysis. We identified that the Station C is only 70.6% productive through 6 months. Additionally, the time spent at each station is recorded and aggregated for each object. This data proves helpful in conducting annual audits and effectively managing labor and material over time.
- 18 October 2020
- Published by Bentham Science Publishers Ltd. in Current Medical Imaging
- Vol. 16 (8) , 946-956
Deep Learning: A Breakthrough in Medical Imaging
Deep learning has attracted great attention in the medical imaging community as a promising solution for automated, fast and accurate medical image analysis, which is mandatory for quality healthcare. Convolutional neural networks and its variants have become the most preferred and widely used deep learning models in medical image analysis. In this paper, concise overviews of the modern deep learning models applied in medical image analysis are provided and the key tasks performed by deep learning models, i.e. classification, segmentation, retrieval, detection, and registration are reviewed in detail. Some recent researches have shown that deep learning models can outperform medical experts in certain tasks. With the significant breakthroughs made by deep learning methods, it is expected that patients will soon be able to safely and conveniently interact with AI-based medical systems and such intelligent systems will actually improve patient healthcare. There are various complexities and challenges involved in deep learning-based medical image analysis, such as limited datasets. But researchers are actively working in this area to mitigate these challenges and further improve health care with AI.
- 18 October 2020
- Published by Bentham Science Publishers Ltd. in Current Medical Imaging
- Vol. 16 (8) , 946-956
Deep Learning: A Breakthrough in Medical Imaging
Deep learning has attracted great attention in the medical imaging community as a promising solution for automated, fast and accurate medical image analysis, which is mandatory for quality healthcare. Convolutional neural networks and its variants have become the most preferred and widely used deep learning models in medical image analysis. In this paper, concise overviews of the modern deep learning models applied in medical image analysis are provided and the key tasks performed by deep learning models, i.e. classification, segmentation, retrieval, detection, and registration are reviewed in detail. Some recent researches have shown that deep learning models can outperform medical experts in certain tasks. With the significant breakthroughs made by deep learning methods, it is expected that patients will soon be able to safely and conveniently interact with AI-based medical systems and such intelligent systems will actually improve patient healthcare. There are various complexities and challenges involved in deep learning-based medical image analysis, such as limited datasets. But researchers are actively working in this area to mitigate these challenges and further improve health care with AI.
- Open Access
- 25 September 2020
- Published by MDPI AG in ISPRS International Journal of Geo-Information
- Vol. 9 (10) , 560
Glacial Lakes Mapping Using Multi Satellite PlanetScope Imagery and Deep Learning
Glacial lakes mapping using satellite remote sensing data are important for studying the effects of climate change as well as for the mitigation and risk assessment of a Glacial Lake Outburst Flood (GLOF). The 3U cubesat constellation of Planet Labs offers the capability of imaging the whole Earth landmass everyday at 3–4 m spatial resolution. The higher spatial, as well as temporal resolution of PlanetScope imagery in comparison with Landsat-8 and Sentinel-2, makes it a valuable data source for monitoring the glacial lakes. Therefore, this paper explores the potential of the PlanetScope imagery for glacial lakes mapping with a focus on the Hindu Kush, Karakoram and Himalaya (HKKH) region. Though the revisit time of the PlanetScope imagery is short, courtesy of 130+ small satellites, this imagery contains only four bands and the imaging sensors in these small satellites exhibit varying spectral responses as well as lower dynamic range. Furthermore, the presence of cast shadows in the mountainous regions and varying spectral signature of the water pixels due to differences in composition, turbidity and depth makes it challenging to automatically and reliably extract surface water in PlanetScope imagery. Keeping in view these challenges, this work uses state of the art deep learning models for pixel-wise classification of PlanetScope imagery into the water and background pixels and compares the results with Random Forest and Support Vector Machine classifiers. The deep learning model is based on the popular U-Net architecture. We evaluate U-Net architecture similar to the original U-Net as well as a U-Net with a pre-trained EfficientNet backbone. In order to train the deep neural network, ground truth data are generated by manual digitization of the surface water in PlanetScope imagery with the aid of Very High Resolution Satellite (VHRS) imagery. The created dataset consists of more than 5000 water bodies having an area of approx. in eight different sites in the HKKH region. The evaluation of the test data show that the U-Net with EfficientNet backbone achieved the highest F1 Score of 0.936. A visual comparison with the existing glacial lake inventories is then performed over the Baltoro glacier in the Karakoram range. The results show that the deep learning model detected significantly more lakes than the existing inventories, which have been derived from Landsat OLI imagery. The trained model is further evaluated on the time series PlanetScope imagery of two glacial lakes, which have resulted in an outburst flood. The output of the U-Net is also compared with the GLakeMap data. The results show that the higher spatial and temporal resolution of PlanetScope imagery is a significant advantage in the context of glacial lakes mapping and monitoring.- 25 September 2020
- Published by MDPI AG in ISPRS International Journal of Geo-Information
- Vol. 9 (10) , 560
Open AccessGlacial Lakes Mapping Using Multi Satellite PlanetScope Imagery and Deep Learning
Glacial lakes mapping using satellite remote sensing data are important for studying the effects of climate change as well as for the mitigation and risk assessment of a Glacial Lake Outburst Flood (GLOF). The 3U cubesat constellation of Planet Labs offers the capability of imaging the whole Earth landmass everyday at 3–4 m spatial resolution. The higher spatial, as well as temporal resolution of PlanetScope imagery in comparison with Landsat-8 and Sentinel-2, makes it a valuable data source for monitoring the glacial lakes. Therefore, this paper explores the potential of the PlanetScope imagery for glacial lakes mapping with a focus on the Hindu Kush, Karakoram and Himalaya (HKKH) region. Though the revisit time of the PlanetScope imagery is short, courtesy of 130+ small satellites, this imagery contains only four bands and the imaging sensors in these small satellites exhibit varying spectral responses as well as lower dynamic range. Furthermore, the presence of cast shadows in the mountainous regions and varying spectral signature of the water pixels due to differences in composition, turbidity and depth makes it challenging to automatically and reliably extract surface water in PlanetScope imagery. Keeping in view these challenges, this work uses state of the art deep learning models for pixel-wise classification of PlanetScope imagery into the water and background pixels and compares the results with Random Forest and Support Vector Machine classifiers. The deep learning model is based on the popular U-Net architecture. We evaluate U-Net architecture similar to the original U-Net as well as a U-Net with a pre-trained EfficientNet backbone. In order to train the deep neural network, ground truth data are generated by manual digitization of the surface water in PlanetScope imagery with the aid of Very High Resolution Satellite (VHRS) imagery. The created dataset consists of more than 5000 water bodies having an area of approx. in eight different sites in the HKKH region. The evaluation of the test data show that the U-Net with EfficientNet backbone achieved the highest F1 Score of 0.936. A visual comparison with the existing glacial lake inventories is then performed over the Baltoro glacier in the Karakoram range. The results show that the deep learning model detected significantly more lakes than the existing inventories, which have been derived from Landsat OLI imagery. The trained model is further evaluated on the time series PlanetScope imagery of two glacial lakes, which have resulted in an outburst flood. The output of the U-Net is also compared with the GLakeMap data. The results show that the higher spatial and temporal resolution of PlanetScope imagery is a significant advantage in the context of glacial lakes mapping and monitoring. - 1 January 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 328-332
Classification of Breast Cancer Histology Images Using Transfer Learning
Breast Cancer is a most common form of cancer among women and life taking disease around the globe. Histopathological imaging is one of the methods for cancer diagnosis where Pathologists examine tissue cells under different microscopic standards but disagree on the final decision. This is a tiresome task and for that reason, Deep Neural Networks are being used for the supervised classification. We have used Breast Histology dataset having 240 training and 20 test images for classification of the histology images among four classes, i.e. Normal, Benign, In-situ carcinoma and Invasive carcinoma. The dataset was preprocessed for proper classification. We have applied transfer learning based on AlexNet, GoogleNet, and ResNet that can classify images at multiple cellular and nuclei configurations. This approach has resulted in 85% accuracy in case of ResNet as the highest among others and further research is being done to increase its efficiency and reduce the human dependency. The proposed design can also be enhanced for automation of other medical imaging methods.
- 1 January 2019
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 328-332
Classification of Breast Cancer Histology Images Using Transfer Learning
Breast Cancer is a most common form of cancer among women and life taking disease around the globe. Histopathological imaging is one of the methods for cancer diagnosis where Pathologists examine tissue cells under different microscopic standards but disagree on the final decision. This is a tiresome task and for that reason, Deep Neural Networks are being used for the supervised classification. We have used Breast Histology dataset having 240 training and 20 test images for classification of the histology images among four classes, i.e. Normal, Benign, In-situ carcinoma and Invasive carcinoma. The dataset was preprocessed for proper classification. We have applied transfer learning based on AlexNet, GoogleNet, and ResNet that can classify images at multiple cellular and nuclei configurations. This approach has resulted in 85% accuracy in case of ResNet as the highest among others and further research is being done to increase its efficiency and reduce the human dependency. The proposed design can also be enhanced for automation of other medical imaging methods.