Pedestrian detection method and device, equipment and medium
A pedestrian detection and pedestrian technology, which is applied in the fields of instruments, character and pattern recognition, computer parts, etc., can solve problems such as unsatisfactory results, and achieve the effect of improving pedestrian detection speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flowchart of a pedestrian detection method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of pedestrian detection. The method can be executed by a pedestrian detection device, and the pedestrian detection device can be implemented in software and / or hardware, for example, the pedestrian detection device can be configured in a computer device. Such as figure 1 As shown, the method includes:
[0029] S110. Acquire an image to be detected.
[0030] In this embodiment, the image to be detected may be an image requiring pedestrian detection. Wherein, the acquisition method of the image to be detected is not limited here. Optionally, the video frame captured by the camera can be directly obtained as the image to be detected, or the existing video can be processed to obtain the image to be detected for pedestrian detection.
[0031] S120. Input the image to be detected into the trained single-shot target...
Embodiment 2
[0038] figure 2 It is a flowchart of a pedestrian detection method provided by Embodiment 2 of the present invention. In this embodiment, on the basis of the foregoing embodiments, the training of a single target detector is embodied. Such as figure 2 As shown, the method includes:
[0039] S210. Acquire a sample image, a pedestrian frame labeling result corresponding to the sample image, and a pedestrian head labeling result corresponding to the sample image.
[0040] In this embodiment, the sample image may be an image containing pedestrians, preferably, may be an image containing blocked pedestrians. Manually annotate the sample image, mark the pedestrian frame and pedestrian head in the sample image, and obtain the sample image, the pedestrian frame annotation result corresponding to the sample image, and the pedestrian head annotation result corresponding to the sample image.
[0041] S220. Generate a training sample pair based on the sample image, the tagging resul...
Embodiment 3
[0059] Figure 3a It is a flowchart of a pedestrian detection method provided by Embodiment 3 of the present invention. This embodiment provides a preferred embodiment on the basis of the foregoing embodiments. Such as Figure 3a As shown, the method includes:
[0060] S310. Construct an original detection model to be trained based on the single-shot target detector.
[0061] In this embodiment, on the basis of a single target detector, head prediction is added to obtain a constructed original detection model. During the training process, the entire original detection model not only predicts the pedestrian frame, but also predicts the mark of the pedestrian's head, and uses the head detection task to assist in improving the accuracy of pedestrian detection. Among them, the single target detector can be SSD, YOLO, RetinaNet and other detectors.
[0062] Figure 3b is a schematic diagram of the network architecture of an original detection model provided in Embodiment 3 of...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


