Skip to Content
AIAI
  • Article
  • Open Access

3 April 2025

21 Pages

Discriminative Deformable Part Model for Pedestrian Detection with Occlusion Handling

,
and
Department of Electronic Engineering, NED University of Engineering and Technology, Karachi 75270, Pakistan
*
Author to whom correspondence should be addressed.

Abstract

Efficient pedestrian detection plays an important role in many practical daily life applications, such as autonomous cars, video surveillance, and intelligent driving assistance systems. The main goal of pedestrian detection systems, especially in vehicles, is to prevent accidents. By recognizing pedestrians in real time, these systems can alert drivers or even autonomously apply brakes, minimizing the possibility of collisions. However, occlusion is a major obstacle to pedestrian detection. Pedestrians are typically occluded by trees, street poles, cars, and other pedestrians. State-of-the-art detection methods are based on fully visible or little-occluded pedestrians; hence, their performance declines with increasing occlusion level. To meet this challenge, a pedestrian detector capable of handling occlusion is preferred. To increase the detection accuracy for occluded pedestrians, we propose a new method called the Discriminative Deformable Part Model (DDPM), which uses the concept of breaking human image into deformable parts via machine learning. In existing works, human image breaking into deformable parts has been performed by human intuition. In our novel approach, machine learning is used for deformable objects such as humans, combining the benefits and removing the drawbacks of the previous works. We also propose a new pedestrian dataset based on Eastern clothes to accommodate the detector’s evaluation under different intra-class variations of pedestrians. The proposed method achieves a higher detection accuracy on Pascal VOC and VisDrone Detection datasets when compared with other popular detection methods.

1. Introduction

Pedestrian detection has recently attracted a considerable amount of investigation owing to its importance in numerous practical applications such as automatic driving systems, video surveillance, and robotic automation, where efficient and accurate pedestrian detection is critical. Improved detection significantly strengthens road security by helping cars and other vehicles efficiently recognize pedestrians, thereby minimizing the possibility of road accidents. However, occlusion is still a major obstacle for achieving satisfactory detection results. Occlusion occurs when a pedestrian is obscured or blocked from view by other objects in the scene like cars, trees, street poles, or some other pedestrians.
Traditional detection methods assume that pedestrians are fully visible or little occluded; hence, the detection performance of the models falls significantly as the occlusion level of the pedestrian increases. Hence, a more reliable pedestrian detector is needed that can efficiently handle the occlusion issue to obtain more accurate detection results. We develop a mathematical model to increase the detection accuracy for occluded deformable objects, such as humans, in an image.
To better understand the novelty, it is helpful to contrast the proposed method with previous deformable object detection techniques.
  • Felzenszwalb et al. [1]: In their work, they introduced a deformable part-based model for human detection that involved manually selecting parts of the human body (e.g., head, torso, arms, etc.). The selection was based on human intuition and each part was treated as a rigid component of the human figure. However, this method lacked optimization of the part selection, as it was reliant on predefined parts, which made it less adaptable to varying human poses and occlusions.
  • Machine learning-based optimization in traffic sign detection [2]: In contrast to Felzenszwalb et al.’s approach [1], some methods for traffic sign detection used machine learning to optimize the selection of object parts, as seen in [2] for traffic sign detection. Here, the part selection process was automated through learning from data, removing the reliance on human intuition. However, these methods were mainly designed for rigid objects like traffic signs, where the parts did not exhibit significant deformation.
  • Proposed Approach: The proposed work integrates the best of both works by using machine learning to automatically select deformable parts of the human body, overcoming the limitations of prior methods. The key difference is that it dynamically optimizes part selection based on the actual deformations present in the human body, rather than relying on static, pre-defined rigid parts. This method is more adaptable to the variability in human poses and occlusions.
The novelty of the proposed work lies in its innovative approach to human image detection by utilizing machine learning for selecting deformable parts of a human body. In contrast to previous methods that relied on human intuition for part selection (such as in Felzenszwalb et al. [1] for deformable part models), this method eliminates the need for manual intervention and instead uses machine learning to optimize part selection dynamically.
One of the main distinctive features of pedestrians is that they exhibit a high intra-class variance, which makes the task of detecting them highly challenging.
High intra-class variance refers to the significant variability within the same object class, such as variations in appearance, shape, and pose. Humans specifically wear clothes that may vary geographically from region to region. This affects the basic distinctive features of a human, i.e., contours and edges. Figure 1 shows this effect of intra-class variance in pedestrians. In Figure 1a, the discriminative body parts of the pedestrians are clearly visible and can easily be recognized by the detector, whereas in Figure 1b, the costumes of the pedestrians, which are common in Eastern Muslim culture, are such that their discriminative body features are not clearly visible and hence may cause a detection error.
Figure 1. Effect of intra-class variance in pedestrians. (a) Pedestrians with distinct discriminative body parts. The head, legs, arms, and torso are easily identifiable. (b) Pedestrians with Eastern clothing in which discriminative body parts (head, legs, arms, and torso) are hidden and difficult to recognize.
A detector trained on a dataset containing Western cultural details may fail to recognize humans in Eastern culture. We propose a dataset recorded on Pakistan roads for different apparel to address intra-class variance in pedestrians by capturing the human data with the national costume of eastern culture. Our main contributions are as follows:
  • We develop a mathematical model to increase the detection accuracy for occluded deformable objects, such as pedestrians, in an image. In order to accomplish this task, we develop a Discriminative Deformable Part Model (DDPM) by using the concept of breaking a human image into some specified deformable parts.
  • We propose a Discriminative Deformable Part Model (DDPM), which uses machine learning to automatically learn the part selection instead of human intuition and incorporates the deformable equations to handle deformable objects such as pedestrians instead of rigid objects, thus yielding a significant increase in detection accuracy for occluded pedestrians. We design a framework for occlusion handling in pedestrians by considering human samples from existing benchmark datasets. Deformable patches from those samples have been automatically selected via machine learning. We develop a set of deformation equations to perform the analysis to relate the deformable body parts of pedestrians.
  • To handle contour/edge variation, we propose a dataset recorded on Pakistan roads for different apparel. We capture pedestrian data with the national costume of Pakistani culture (for both male and female costumes), and these data, along with the Western dataset, are used to check and evaluate the proposed technique, and the results of both datasets are analyzed.

3. Materials and Methods

We designed a framework for occlusion handling in humans in which human samples from existing benchmark datasets are considered. Deformable patches from those samples are selected automatically through machine learning. We used deformation equations to correlate the deformable body parts of the human. These deformation equations are used to handle off-positions of the human body parts and decide how much more/less the body parts can deform. We used the proposed equations to detect deformable patches inside a human image, and score distribution analysis is performed to make the final call. We evaluated the performance of the model using a precision–recall curve, analyzing area under the curve (AUC), and the evaluation metrics of mean average precision 50 (mAP50).

3.1. Need for a Dedicated Occlusion Handling Model

Occluded objects offer a great challenge in the reliability of modern object detection systems. This necessitates the use of occlusion handling frameworks within a modern object detection system to obtain good system reliability. Most state-of-the-art methods use techniques like crops and mosaic augmentation and the You Only Look Once (YOLO) framework to handle occlusion.
In these methods, the object size is larger and similar in size to the image dimensions. However, objects that are relatively smaller than the image size offer a great challenge in predicting the object type. The problem could be handled by increasing the number of grid cells within the image, but this solution is accompanied by a complex computing analysis.
Accordingly, image tiling [47] has come out as a practical technique for the efficient detection of smaller objects as shown in Figure 3. In this technique, the input images are divided into overlapping tiles as shown in Figure 3a. The images are divided into smaller images with the help of overlapping tiles, where the tile sizes are chosen according to the image sizes used in the training system as shown in Figure 3b. Although this technique provides better results, there is a probability of detection of false positive images, especially when only a smaller part of an object is visible in a specific tile. This problem could be handled by using multiple bounding boxes in the final output image with the help of Non-Maximum Suppression (NMS) [48], but this does not guarantee a complete solution to the problem because of the estimation of bounding boxes of different sizes on the object of the final output image.
Figure 3. Image tiling. (a) Division of an input image into overlapping tiles. (b) Extraction of input tiles from the input image.
In order to meet these challenges, a customized occlusion handling framework is needed for the precise detection of pedestrians, which can be used in daily life applications. The use of such frameworks is also needed to cater to dynamic scenes where objects may be partially or occasionally occluded. This scenario requires highly advanced algorithms to precisely detect true objects from occluded segments. We propose a customized structure of an occlusion handling framework in practical systems that uses YOLO for object detection.

3.2. Proposed Occlusion Handling Network

We propose a novel occlusion handling framework that is designed to handle occlusion within objects that express high intra-class feature variations due to motion and other intrinsic characteristics. The main idea of our technique is to combine part localization with deformation-aware scoring via ML-learned regions. This is achieved by the identification and then classification of discriminative regions within the object using a discriminative deformable part model. For the identification of the discriminative regions, this model makes use of mathematical equations to isolate part models in correspondence to a central model, prohibiting any variation from this central location in order to preserve coherence between different discriminative parts.
The proposed framework consists of two main phases, i.e., identification phase and validation phase, as shown in Figure 4. The first block of our framework consists of the recognition of discriminative regions of the object. These regions are used to train a classifier on various parts of the object. This classifier, which is established as our discriminative deformable part model, incorporates mathematical equations to make sure that every single part model is strictly in coordination with a central model, thus strengthening the capability of the model to cater to intra-class feature variations due to motion and other inherent characteristics.
Figure 4. Proposed occlusion detection framework.
In order to detect the object inside an image, our framework chooses the most effective discriminative deep part model among a set of different deep mining models. Once the object is selected, the leftover discriminative part models are analyzed with the help of score distributions developed by the mathematical equations. These score distributions are then used to check the closeness of association of each part model with the detected object, thus enabling efficient recognition and classification.
A voting technique is then used to finally check the validity of the detected object with the help of mathematical equations and score distribution analysis. If a larger proportion of the part model matches sharply with the detected object, the equation assigns it a relatively higher weight, and the object is categorized as a true positive; otherwise, it is categorized as a true negative. In this way, the use of our proposed discriminative deformable part model enables us to strengthen the accuracy and credibility of the object detection. The pseudocode for the presented algorithm is provided in Algorithm 1.
Algorithm 1 Algorithm to find the discriminative regions
Following is the description of variables:
D: Set of all positive square patches
A1, A2: Train set split
P: Original window
T a c c : Initial classification accuracy threshold
Δ i n c : Accuracy threshold increment
O v e r l a p m a x : Maximum allowed patch overlap
  1:
A 1 ← 80 % training set, A 2 ← 20 % validation set
  2:
X ← ∅ (Empty set of selected d-regions)
where X ← Set of d - regions
  3:
D = { d ∣ d ⊂ A 1 , d is square }
  4:
∀ d ∈ D , side(d) = 1 2 x size(P)
  5:
O v e r l a p < O v e r l a p m a x
  6:
∀ d ∈ D , Train classifier C d
where Pos samples = patches from d
and Neg samples = patches from other regions
  7:
A c c ( C d ) = ∑ i ∈ A 2 1 ( C d ( F i ) = y i ) A 2
where, 1 (.) is indicator function
      1 ( . ) ← 1 if y i is predicted correctly 0 otherwise
  8:
Patch selection: X = X U {d} if A c c ( C d ) ≥ T a c c
      T a c c ← T a c c + Δ i n c
  9:
Otherwise: discard C d
  10:
Iterative mining: D n e w = D ∖ X
  11:
Termination criterion: if ( | A c c i t e r − A c c i t e r − 1 | ≤ 3 % for 10 iterations )
or ( A c c ≥ 95 % )
or ( D n e w = 0 )
Apart from this, our proposed approach also takes into account those cases that are located on the borders of the tiling, causing remarkable refinement in detection accuracy on well-known benchmark datasets. Hence, by incorporating discriminative deep part models and using analytical equations to preserve dimensional coherence, our proposed framework demonstrates a greater strength in handling the detection of occluded objects within an image.

3.3. Discriminative Deep Part Models

The discriminative deep part model (DDPM) framework uses the technique of recognizing the discriminative regions of the object, thus strengthening the detection accuracy of the model and reducing the effects due to occlusion or deformity. This method involves specifically concentrating on discriminative regions during the testing phase by identifying the most informative regions within the object, thus enhancing the system’s accuracy under formidable conditions where traditional detection techniques might become restricted.
To realize DDPM, for a 64 × 128 pedestrian (parent) image window, it is required to mine ‘n’ regions from all possible locations as shown in Figure 5. Among them, only the square regions are assessed in order to avoid the complexities in the problem as shown in Figure 5a. During the training phase, the positive training dataset of the Microsoft Common Objects in Context (MSCOCO) pedestrian class is divided into two subgroups: A1 (80%) and A2 (20%). From the A1 subgroup, square regions are selected at random from the assigned location pool. The size of these square regions is chosen accordingly as half of the area of the parent image window in order to balance the useful information and occlusion contents. The extraction activity is controlled to preserve unique discriminative features in evenly distributed regions. The maximum overlap between the distributed regions is restricted to 30% so that the variance in the training dataset is secured.
Figure 5. Extraction of the discriminative regions. (a) Candidate regions depicted inside the parent window. (b) Top discriminative regions identified inside the parent window.
After the activity of region selection, discriminative features are extracted from these regions with the help of the Darknet framework, which uses a one-vs-all strategy for the training phase. Figure 5b illustrates the recognition of top discriminative regions using this framework inside the MSCOCO pedestrian class, featuring the model’s ability to handle occlusion in practical applications of object detection. In this strategy, the samples of the target region group are taken as positive samples, while the remaining regions are taken as negative samples. The classifiers after training approach the A2 subgroup, and those classifiers with an accuracy greater than 50% are reviewed for extended improvement. If in this case none of the classifiers achieve these criteria, the whole operation is repeated by extracting regions anew and modifying the criteria in accordance with the performance metrics.
This process is repeated in a cyclic manner, until the classification accuracy becomes steady within predetermined deviation limits or surpasses the defined threshold criteria. The final output consists of a set of filtered classifiers labeled as discriminative deep part models. These classified models exhibit discriminative regions efficiently and contain distinguished properties related to the adjacent areas.
In order to practically implement this framework, immense computational methods were employed. It took around 200 h to undertake and extract the discriminative regions utilizing our CPU frequency of 2.5 GHz, PC RAM of 32 GB, and GPU GeForce RTX 3050, 8 GB, NVIDIA Corporation, Santa Clara, United States. For training, the batch size was set to 16. The initial learning rate was set to 0.001, and the momentum factor to 0.9. The total training duration comprised 8–15 epochs.

3.3.1. Deformable Equation and Score Distribution Analysis

In order to evaluate the decision weight W k for discriminative deep part models, the following deformation equation is applied, which also serves to handle off positions of the deformable human body parts on the basis of which the model concludes how much more or less the body parts can deform.
W k = ∑ i = 1 n S i e − ( 2 d i 2 n 2 )
Here, S i indicates the confidence score corresponding to the ith discriminative deep part model, d i indicates the Euclidean distance of the ith model from the reference model, and n indicates the total number of discriminative deep part models. The decision weight given by Equation (1) determines whether to include a deep part model in the object detection mechanism or not, especially when handling deformable body parts.
We perform score distribution analysis using Equation (1) to control dimensional variations or deformations in discriminative deep part models corresponding to the reference model. The exponential term in Equation (1) serves as a factor that minimizes the effect of deep part models situated far away from the reference model, thus taking into account the deformations of the object. The factor of 2 n 2 in the power of the exponent in Equation (1) manages the decline rate on the basis of Euclidean distance d i so that the models situated close to the reference model have a higher impact on W k compared to the far-away models.
This technique effectively controls the decision weight on the basis of dimensional variations in discriminative deep part models corresponding to the reference model, thus entitling an efficient handling of deformable objects and their off positions.

3.3.2. Bounding Box Estimation

Bounding boxes surrounding the objects are approximated by considering all the bounding boxes of the discriminative deep part models. The minimum and maximum values obtained from the part model detections are used to determine more efficiently the borders of detected objects. This technique customizes the Learning Cost Function (LCF) of YOLO frameworks, which performs a significant role in upgrading the accuracy of these approximations, resulting in exceptionally precise and valid estimates of pedestrian bounding boxes in occluded scenarios.

3.4. Our Proposed Dataset with Local Attire

Our proposed dataset focuses on the demanding situation of detecting pedestrians with Eastern attire, where humans normally wear clothes that cover the whole body, hindering the detector from recognizing the body parts. This dataset helps in improving the detector performance under various intra-class variations of the pedestrians. Bounding box distribution of pedestrians as recorded by the camera inside the car with local attire is shown in Figure 6.
Figure 6. Bounding box distribution of pedestrians for the proposed dataset.
The proposed dataset has a total of 5609 images with a 1920 × 1080 image size, captured in an urban setting by mounting the camera on the front windshield of the car. A sample is considered occluded if 20% or more of it is obstructed; otherwise, it is classified as non-occluded. There were 2883 images in which pedestrians were captured. The data were annotated using the open-source Roboflow and all its standard tools. A total of 7091 annotations were performed, with an average of 2.459 annotations per pedestrian image. The images were processed at a speed of 12 frames per second, i.e., 83.33 ms were spent processing one image. The image distribution detail of the proposed dataset is presented in Table 1.
Table 1. Image distribution detail of the proposed dataset.
The dataset was split into three subsets, consisting of 4943 annotations in the training set (70% of the total annotations), 1470 annotations in the validation set (20% of the total annotations), and 678 annotations in the testing set (10% of the total annotations). This distribution is presented in Table 2.
Table 2. Annotation details of the proposed dataset in training, validation, and test sets.
Our proposed dataset contains images of pedestrians covering a wide range of Eastern clothing intra-class variations. Figure 7 shows some sample images from our dataset of the pedestrians wearing common female Eastern attire, which almost covers the whole human body, making it very difficult for the detector to recognize the main discriminative body parts such as the head, legs, arms, and torso. Any dataset based on Western clothes certainly fails to detect in such an environment, drastically affecting its accuracy and performance.
Figure 7. Sample images of the pedestrians from our proposed dataset with Eastern attire.
This dataset will play an important role in validating the performance of the detectors in the local settings and attire. This is achieved by using Transfer Learning, which can readily adapt to the local attire of the pedestrians.

Evaluation Metrics

The proposed dataset is evaluated on the Pascal VOC 2012 benchmark and the VisDrone 2019 detection test dataset using the precision–recall curve and evaluating area under the curve (AUC) using mAP50 evaluation metrics. The Mean Average Precision (mAP) is calculated by finding the average precision (AP) for each class and then averaging over several classes. If N is the total number of classes, the mAP is calculated using Equation (2).
m A P = 1 N ∑ i = 1 N A P i
The mAP50 evaluation metric is calculated at an intersection-over-union (IoU) threshold of 0.5. The detections are matched by the ground truth until the overlap between both boxes is equal to or greater than 50% of the overlap area. The confidence threshold is changed from lowest to highest value in the confidence score vector. For each change in the confidence score, true positive (TP), false positive (FP), true negative (TN), and false negative (FN) are calculated. Once these values are calculated, they are used to evaluate the precision (PR) using Equation (3) and recall (RC) using Equation (4).
P R = T P T P + F P
R C = T P T P + F N
For each change in the confidence score threshold, one precision and one recall value are generated. All these values are then plotted on the precision–recall graph, and area under the curve (AUC) is calculated. If k is the number of points in the PR curve, the AUC is calculated using Equation (5).
A U C = ∑ i = 1 k − 1 ( R C i + 1 − R C i ) ( P R i + 1 + P R i 2 )
The detector model that possesses the highest AUC is stronger than the other methods.

4. Experimental Results and Discussion

In this section, we show the detection performance of different algorithms using the datasets of Pascal VOC 2012 and VisDrone 2019 and compare our proposed network with the existing networks. We evaluate the proposed method using each dataset with the help of a precision–recall curve using mAP50 evaluation metrics. These metrics are used to estimate the accuracy of object detection models by calculating the precision and recall of the predicted bounding boxes compared to the ground truth.

4.1. Experiments with Pascal VOC 2012

The PASCAL Visual Object Class (VOC) 2012 dataset is a publicly available dataset. Pascal VOC 2012 is split into three subsets: 1464 images for training, 1449 images for validation, and a private testing set. Each image in this dataset has pixel-wise segmentation annotations, bounding box annotations, and object class annotations. Some sample images of the dataset are shown in Figure 8.
Figure 8. Sample images from Pascal VOC 2012 dataset.
On the Pascal VOC 2012 dataset, we compare our proposed method with You Only Look Once v11 (YOLOv11) [49], HF-YOLO [50], EFF-YOLO [51], and MSCD-YOLO [52] by calculating mAP50 values for the object category of person, and the detection results are summarized in Table 3, which shows that our proposed method achieves higher mAP scores compared to the other techniques. Details on the accuracy advances in the person class on Pascal voc 2012 dataset can be found in [53].
Table 3. The mAP50 scores on PASCAL VOC 2012 testing dataset for object category of person.

4.2. Experiments with VISDRONE-DET2019

VisDrone-2019 is a publicly available benchmark dataset that consists of 288 video clips, formed by 261,908 frames and 10,209 static images, captured by drone-mounted cameras in different places at different heights as shown in Figure 9.
Figure 9. Sample images from VisDrone 2019 dataset.
The VisDrone-2019 dataset mainly focuses on humans and vehicles in our daily life and detects ten object categories of interest including pedestrian, person, car, van, bus, truck, motor, bicycle, awning-tricycle, and tricycle.
The dataset is divided into training, validation, and testing subsets (6471 for training, 548 for validation, 1580 for testing), which are collected from different locations but similar environments. One main feature of this dataset is that the object categories in the VisDrone data are highly unbalanced as shown in Table 4. For example, DPNet-ensemble produces 51.53% and 32.31% APs on the car and pedestrian classes while it only produces 18.41% and 12.86% APs on the awning-tricycle and bicycle classes.
Table 4. The AP scores on the VisDrone-DET2019 testing set of each object category [54]. The top three results are highlighted in red, green, and blue fonts for the person category.
On the VisDrone 2019 dataset, we compare our proposed method with ACM-OD [54], DPNet-ensemble [54], and Better FPN [54], as these methods achieved the best three detection results for the person category, as shown highlighted in Table 4. DPNet-ensemble achieves a mAP of 15.97%, which is the highest among the listed methods in the table after BetterFPN. ACM-OD achieves a mAP of 15.50%, which is slightly lower than DPNet-Ensemble and Better FPN. This result indicates that ACM-OD is performing well but is slightly behind the other two models in terms of precision across the detection tasks in the VisDrone-DET2019 dataset. BetterFPN achieves the highest mAP value of 16.45% in this table, indicating the best overall performance in terms of detection accuracy. Table 5 shows a comparison of our proposed method with these three methods. The detection results show that our proposed method achieved a 7.85% higher mAP score compared to the next best model of BetterFPN.
Table 5. The mAP50 scores on VisDrone19 detection testing dataset for object category of person.

4.3. Experiments with Our Proposed Dataset

To evaluate our proposed dataset, the images are collected from an urban environment. The most important thing is that it contains a large number of pedestrian samples with varying degree of occlusion and intra-class variations as shown in Figure 10.
Figure 10. Sample images from our proposed dataset, captured from an urban environment, showing a variety of intra-class variations in the pedestrians.
We first test the default data on our proposed dataset. These default data are based on Western attire. The precision–recall curve is plotted and is compared with that of YOLO v3 and YOLO v5. The comparison of the detection results is shown in Figure 11. Figure 11a shows a comparison between the AUC scores of our proposed model with those of YOLO v3 [55] and YOLO v5 [56], using the default data based on Western attire. The results show that our method achieves a higher performance score when trained on the dataset based on Western clothes.
Figure 11. Detector evaluation on our proposed dataset by evaluating AUC. (a) Performance of YOLOv3, YOLOv5, and DDPM (ours) using default data. (b) Performance of YOLOv3, YOLOv5, and DDPM (ours) after transfer learning on local attire feature.

Transfer Learning

The data from the proposed dataset are Transfer Learned (TL) on the local attire features by employing the domain adaptation technique of fine-tuning in which pre-trained models can be fine-tuned on a small set of labeled target data to adapt to the target domain. The idea is to strengthen the knowledge that the model has learned during its training on the large dataset. Fine-tuning the model involves unfreezing some of the higher layers of the pre-trained model and training them with the new data. The initial layers of the pre-trained model are kept fixed, while the weights of the final layers are adjusted to adapt to local clothing variations.
The modified model, with frozen early layers and retrained final layers, is then trained on the new dataset during which the model learns to adjust the weights of the new layers while keeping the pre-trained weights in place. After fine-tuning, the model is evaluated on a test set for the new task. Figure 11b shows the comparison when the data from the proposed dataset have been Transfer Learned (TL) on the local attire features. The graph shows that our method again outperforms YOLO v3 and YOLO v5.
Figure 12 shows a comparison between sample images from the Pascal VOC benchmark dataset, the VisDrone19-Detection dataset, and our proposed dataset. Figure 12a shows images from the Pascal VOC dataset, Figure 12b from the VisDrone19 dataset, and Figure 12c from our proposed dataset.
Figure 12. Comparison of Pascal VOC benchmark and VisDrone dataset sample images vs our method. (a) Sample images from Pascal VOC dataset. (b) Sample images from VisDrone dataset. (c) Sample images from our proposed dataset.

5. Conclusions

In this paper, we propose a new efficient occlusion handling technique for pedestrian detection that makes use of breaking a human body image into deformable parts through machine learning. The model automatically selects the discriminative deep patches to train the classifier on various parts of the body. We also proposed a new dataset recorded in urban Eastern culture environment to incorporate the intra-class variations in pedestrians which are very common in Eastern localizations. Using the default data, by finding area under the curve (AUC), our proposed algorithm with a detection accuracy of 71.6% outperforms YOLO v3 with 65.7% accuracy and YOLO v5 with 69.5% accuracy on the Pascal VOC benchmark dataset. After transferring learning, the algorithm on Eastern attire features, our proposed method achieves a detection accuracy of 75.9% compared to YOLO v3 with 65.8% accuracy and YOLO v5 with 69.9% accuracy. These experimental results indicate that the proposed approach is efficient and capable of outperforming other state-of-the-art methods for detecting occluded pedestrians. However, the main limitation of the study is that it does not account for variations in weather, lighting, or other environmental conditions that can significantly affect pedestrian detection performance. Extreme weather conditions, such as heavy rain, fog, or low light, might degrade the model’s accuracy in outdoor settings. Future research should also consider the application of this study in the recent development of multi-modal learning, which is gaining more importance among researchers in areas such as electricity price prediction, prediction for intelligent connected vehicles in smart cites, and mobile traffic prediction in consumer applications.

Author Contributions

Conceptualization, S.S. and Y.R.; methodology, S.S.; validation, S.S., M.F.S. and Y.R.; formal analysis, S.S.; investigation, S.S. and Y.R.; data curation, S.S.; writing—original draft preparation, S.S.; writing—review and editing, S.S., M.F.S. and Y.R.; visualization, S.S. and M.F.S.; supervision, Y.R.; project administration, Y.R.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Datasets used in this research are publicly accessible at the following links: Pascal VOC 2012 dataset at https://paperswithcode.com/dataset/pascal-voc-2012-test (accessed on 20 January 2025); VisDrone-DET2019 dataset at https://github.com/VisDrone/VisDrone-Dataset (accessed on 20 January 2025); YOLOv5 available online at https://github.com/ultralytics/yolov5 (accessed on 20 January 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Felzenszwalb, P.F.; Girshick, R.B.; McAllester, D.; Ramanan, D. Object detection with discriminatively trained part-based models. IEEE Trans. Pattern Anal. Mach. Intell. 2009, 32, 1627–1645. [Google Scholar]
  2. Rehman, Y.; Ahmed Khan, J.; Shin, H. Efficient coarser-to-fine holistic traffic sign detection for occlusion handling. IET Image Process. 2018, 12, 2229–2237. [Google Scholar]
  3. Dollar, P.; Wojek, C.; Schiele, B.; Perona, P. Pedestrian detection: An evaluation of the state of the art. IEEE Trans. Pattern Anal. Mach. Intell. 2011, 34, 743–761. [Google Scholar]
  4. Dollár, P.; Appel, R.; Kienzle, W. Crosstalk cascades for frame-rate pedestrian detection. In Proceedings of the 12th European Conference on Computer Vision, Florence, Italy, 7–13 October 2012; pp. 645–659. [Google Scholar]
  5. Chen, N.; Li, M.; Yuan, H.; Su, X.; Li, Y. Survey of pedestrian detection with occlusion. Complex Intell. Syst. 2021, 7, 577–587. [Google Scholar]
  6. Mohan, A.; Papageorgiou, C.; Poggio, T. Example-based object detection in images by components. IEEE Trans. Pattern Anal. Machine Intell. 2001, 23, 349–361. [Google Scholar]
  7. Wu, B.; Nevatia, R. Detection of multiple, partially occluded humans in a single image by bayesian combination of edgelet part detectors. In Proceedings of the Tenth IEEE International Conference on Computer Vision (ICCV’05) Volume 1, Beijing, China, 17–21 October 2005; Volume 1, pp. 90–97. [Google Scholar]
  8. Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA, 20–25 June 2005; Volume 1, pp. 886–893. [Google Scholar]
  9. Wang, X.; Han, T.X.; Yan, S. An HOG-LBP human detector with partial occlusion handling. In Proceedings of the 2009 12th International Conference on Computer Vision, Kyoto, Japan, 29 September–2 October 2009; pp. 32–39. [Google Scholar]
  10. Enzweiler, M.; Eigenstetter, A.; Schiele, B.; Gavrila, D.M. Multi-cue pedestrian classification with partial occlusion handling. In Proceedings of the 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, San Francisco, CA, USA, 13–18 June 2010; pp. 990–997. [Google Scholar]
  11. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. Imagenet classification with deep convolutional neural networks. Adv. Neural Inf. Process. Syst. 2012, 25, 1097–1105. [Google Scholar]
  12. Mathias, M.; Benenson, R.; Timofte, R.; Van Gool, L. Handling occlusions with franken-classifiers. In Proceedings of the IEEE International Conference on Computer Vision, Sydney, NSW, Australia, 1–8 December 2013; pp. 1505–1512. [Google Scholar]
  13. Girshick, R.; Donahue, J.; Darrell, T.; Malik, J. Region-based convolutional networks for accurate object detection and segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 38, 142–158. [Google Scholar]
  14. Tian, Y.; Luo, P.; Wang, X.; Tang, X. Deep learning strong parts for pedestrian detection. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 1904–1912. [Google Scholar]
  15. Girshick, R. Fast r-cnn. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Santiago, Chile, 7–13 December 2015; pp. 1440–1448. [Google Scholar]
  16. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster r-cnn: Towards real-time object detection with region proposal networks. Adv. Neural Inf. Process. Syst. 2015, 28, 91–99. [Google Scholar]
  17. Wang, X.; Xiao, T.; Jiang, Y.; Shao, S.; Sun, J.; Shen, C. Repulsion loss: Detecting pedestrians in a crowd. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7774–7783. [Google Scholar]
  18. Zhang, S.; Wen, L.; Bian, X.; Lei, Z.; Li, S.Z. Occlusion-aware R-CNN: Detecting pedestrians in a crowd. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 637–653. [Google Scholar]
  19. Zhou, C.; Yuan, J. Multi-label learning of part detectors for occluded pedestrian detection. Pattern Recognit. 2019, 86, 99–111. [Google Scholar]
  20. Sumi, A.; Santha, T. An Innovative Prediction Technique to Detect Pedestrian Crossing Using ARELM Technique. In Human Behaviour Analysis Using Intelligent Systems; Springer: Cham, Switzerland, 2020; pp. 119–140. [Google Scholar]
  21. He, Y.; Zhu, C.; Yin, X.C. Mutual-supervised feature modulation network for occluded pedestrian detection. In Proceedings of the 2020 25th International Conference on Pattern Recognition (ICPR), Milan, Italy, 10–15 January 2021; pp. 8453–8460. [Google Scholar]
  22. Song, X.; Chen, B.; Li, P.; Wang, B.; Zhang, H. Prnet++: Learning towards generalized occluded pedestrian detection via progressive refinement network. Neurocomputing 2022, 482, 98–115. [Google Scholar]
  23. Gilroy, S.; Glavin, M.; Jones, E.; Mullins, D. An objective method for pedestrian occlusion level classification. Pattern Recognit. Letters. 2022, 164, 96–103. [Google Scholar]
  24. Huan, R.; Zhang, J.; Xie, C.; Liang, R.; Chen, P. MLFFCSP: A new anti-occlusion pedestrian detection network with multi-level feature fusion for small targets. Multimed. Tools Appl. 2023, 82, 29405–29430. [Google Scholar]
  25. Thu, M.; Suvonvorn, N. TCNN Architecture for Partial Occlusion Handling in Pedestrian Classification. Int. J. Pattern Recognit. Artif. Intell. 2023, 37, 2350025. [Google Scholar]
  26. Li, G.; Li, X.; Zhang, S.; Yang, J. Towards more reliable evaluation in pedestrian detection by rethinking “ignore regions”. Vis. Intell. 2024, 2, 4. [Google Scholar]
  27. Ouyang, W.; Zhou, H.; Li, H.; Li, Q.; Yan, J.; Wang, X. Jointly learning deep features, deformable parts, occlusion and classification for pedestrian detection. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 40, 1874–1887. [Google Scholar]
  28. Zhou, C.; Yang, M.; Yuan, J. Discriminative feature transformation for occluded pedestrian detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 9557–9566. [Google Scholar]
  29. Liu, T.; Luo, W.; Ma, L.; Huang, J.J.; Stathaki, T.; Dai, T. Coupled network for robust pedestrian detection with gated multi-layer feature extraction and deformable occlusion handling. IEEE Trans. Image Process. 2020, 30, 754–766. [Google Scholar]
  30. Bourdev, L.; Yang, F.; Fergus, R. Deep poselets for human detection. arXiv 2014, arXiv:1407.0717. [Google Scholar]
  31. Cao, C.; Wang, Y.; Kato, J.; Zhang, G.; Mase, K. Solving occlusion problem in pedestrian detection by constructing discriminative part layers. In Proceedings of the 2017 IEEE Winter Conference on Applications of Computer Vision (WACV), Santa Rosa, CA, USA, 24–31 March 2017; pp. 91–99. [Google Scholar]
  32. Zou, T.; Yang, S.; Zhang, Y.; Ye, M. Attention guided neural network models for occluded pedestrian detection. Pattern Recognit. Lett. 2020, 131, 91–97. [Google Scholar]
  33. Pang, Y.; Xie, J.; Khan, M.H.; Anwer, R.M.; Khan, F.S.; Shao, L. Maskguided attention network for occluded pedestrian detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 4967–4975. [Google Scholar]
  34. Zhang, S.; Chen, D.; Yang, J.; Schiele, B. Guided attention in cnns for occluded pedestrian detection and re-identification. Int. J. Comput. Vis. 2021, 129, 1875–1892. [Google Scholar]
  35. Zhang, S.; Ji, M.; Li, Y.; Yang, J. Imagine the Unseen: Occluded Pedestrian Detection via Adversarial Feature Completion. arXiv 2024, arXiv:2405.01311. [Google Scholar]
  36. Zhang, Y.; Chen, H.; Lai, Z.; Zhang, Z.; Yuan, D. Handling Heavy Occlusion in Dense Crowd Tracking by Focusing on the Heads. In Proceedings of the Australasian Joint Conference on Artificial Intelligence, Brisbane, QLD, Australia, 28 November–1 December 2023; Springer: Singapore, 2023; pp. 79–90. [Google Scholar]
  37. Zhou, Z.; Yamada, S.; Watanabe, Y.; Takada, H. Tracking Pedestrians Under Occlusion in Parking Space. Comput. Syst. Sci. Eng. 2023, 44, 2109. [Google Scholar]
  38. Gilroy, S.; Glavin, M.; Jones, E.; Mullins, D. Pedestrian occlusion level classification using keypoint detection and 2d body surface area estimation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada, 11–17 October 2021; pp. 3833–3839. [Google Scholar]
  39. Gilroy, S.; Mullins, D.; Parsi, A.; Jones, E.; Glavin, M. Replacing the human driver: An objective benchmark for occluded pedestrian detection. Biomim. Intell. Robot. 2023, 3, 100115. [Google Scholar]
  40. Dosovitskiy, A.; Beyer, L. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
  41. Yang, B.; Wang, X.; Xing, Y. Modality fusion vision transformer for hyperspectral and LiDAR data collaborative classification. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 17052–17065. [Google Scholar]
  42. Rehman, Y.; Amanullah, H.; Shirazi, M.A.; Kim, M.Y. Small traffic sign detection in big images: Searching needle in a hay. IEEE Access 2022, 10, 18667–18680. [Google Scholar]
  43. Tummala, S.; Kadry, S.; Bukhari, S.A.C.; Rauf, H.T. Classification of brain tumor from magnetic resonance imaging using vision transformers ensembling. Curr. Oncol. 2022, 29, 7498–7511. [Google Scholar] [CrossRef] [Scilit]
  44. He, M.; Jiang, W.; Gu, W. TriChronoNet: Advancing electricity price prediction with Multi-module fusion. Appl. Energy 2024, 371, 123626. [Google Scholar]
  45. Lu, Y.; Wang, W.; Bai, R.; Zhou, S.; Garg, L.; Bashir, A.K.; Jiang, W.; Hu, X. Hyper-relational interaction modeling in multi-modal trajectory prediction for intelligent connected vehicles in smart cites. Inf. Fusion 2025, 114, 102682. [Google Scholar]
  46. Jiang, W.; Zhang, Y.; Han, H.; Huang, Z.; Li, Q.; Mu, J. Mobile traffic prediction in consumer applications: A multimodal deep learning approach. IEEE Trans. Consum. Electron. 2024, 70, 3425–3435. [Google Scholar]
  47. Rehman, Y.; Amanullah, H.; Saqib Bhatti, D.M.; Toor, W.T.; Ahmad, M.; Mazzara, M. Detection of small size traffic signs using regressive anchor box selection and DBL layer tweaking in YOLOv3. Appl. Sci. 2021, 11, 11555. [Google Scholar] [CrossRef] [Scilit]
  48. Akyon, F.C.; Altinuc, S.O.; Temizel, A. Slicing aided hyper inference and fine-tuning for small object detection. In Proceedings of the 2022 IEEE International Conference on Image Processing (ICIP), Bordeaux, France, 16–19 October 2022; pp. 966–970. [Google Scholar]
  49. Khanam, R.; Hussain, M. Yolov11: An overview of the key architectural enhancements. arXiv 2024, arXiv:2410.17725. [Google Scholar]
  50. Pan, L.; Diao, J.; Wang, Z.; Peng, S.; Zhao, C. Hf-yolo: Advanced pedestrian detection model with feature fusion and imbalance resolution. Neural Process. Lett. 2024, 56, 90. [Google Scholar]
  51. Hu, M.; Zhang, Y.; Jiao, T.; Xue, H.; Wu, X.; Luo, J.; Han, S.; Lv, H. An Enhanced Feature-Fusion Network for Small-Scale Pedestrian Detection on Edge Devices. Sensors 2024, 24, 7308. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  52. Liu, Q.; Li, Z.; Zhang, L.; Deng, J. MSCD-YOLO: A Lightweight Dense Pedestrian Detection Model with Finer-Grained Feature Information Interaction. Sensors 2025, 25, 438. [Google Scholar] [CrossRef] [Scilit]
  53. PASCAL VOC Dataset, Pedestrian Dataset. Available online: http://host.robots.ox.ac.uk:8080/leaderboard/displaylb_main.php?cls=person&challengeid=11&compid=3&submid=29793#KEY_refine_denseSSD (accessed on 18 January 2025).
  54. Du, D.; Zhu, P.; Wen, L.; Bian, X.; Lin, H.; Hu, Q.; Peng, T.; Zheng, J.; Wang, X.; Zhang, Y.; et al. VisDrone-DET2019: The vision meets drone object detection in image challenge results. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, Seoul, Republic of Korea, 27–28 October 2019. [Google Scholar]
  55. Redmon, J. Yolov3: An incremental improvement. arXiv 2018, arXiv:1804.02767. [Google Scholar]
  56. YOLOv5. Available online: https://github.com/ultralytics/yolov5 (accessed on 18 January 2025).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.