Seat belt wearing detection method, electronic device and storage medium
AssigneesChengdu Boe Smart Technology Co., Ltd., Boe Technology Group Co., Ltd.
InventorsYuzhou Peng, Ronghua Lan
Life of this patent
Estimating the term…
Abstract
A seat belt wearing detection method includes: performing face detection on an image to be detected to obtain position information of one or more face detection boxes; recognizing a target face detection box located in a preset seat region from the one or more face detection boxes based on the position information of the one or more face detection boxes; cropping the image to be detected to obtain a target human body image corresponding to the target face detection box based on position information of the target face detection box; segmenting the target human body image to obtain a seat belt region image; and determining whether a person corresponding to the target human body image wears a seat belt based on the seat belt region image.
Claims19
A seat belt wearing detection method, comprising:
- performing face detection on an image to be detected to obtain position information of one or more face detection boxes;
- recognizing a target face detection box located in a preset seat region from the one or more face detection boxes based on the position information of the one or more face detection boxes;
- cropping the image to be detected to obtain a target human body image corresponding to the target face detection box based on position information of the target face detection box;
- and
- segmenting the target human body image to obtain a seat belt region image;
- and
- determining whether a person corresponding to the target human body image wears a seat belt based on the seat belt region image;
- wherein determining whether the person corresponding to the target human body image wears the seat belt based on the seat belt region image, includes:
- determining an attribute parameter of the seat belt based on the seat belt region image;
- the attribute parameter of the seat belt including a slope of the seat belt, and the slope of the seat belt being used to indicate an inclination of a straight line obtained after a fitting process is performed on the seat belt region image with respect to a bottom edge of the target human image;
- and
- determining the person corresponding to the target human body image wears the seat belt in a case where the attribute parameter of the seat belt satisfies a preset condition;
- the preset condition including a first preset condition, and the first preset condition including that the slope of the seat belt is within a preset range.
A seat belt wearing detection method, comprising:
- performing face detection on an image to be detected to obtain position information of one or more face detection boxes;
- recognizing a target face detection box located in a preset seat region from the one or more face detection boxes based on the position information of the one or more face detection boxes;
- cropping the image to be detected to obtain a target human body image corresponding to the target face detection box based on position information of the target face detection box;
- and
- segmenting the target human body image to obtain a seat belt region image;
- and
- determining whether a person corresponding to the target human body image wears a seat belt based on the seat belt region image;
- and
- the method further comprising:
- acquiring an original image captured by an imaging device disposed inside a vehicle and whose capturing region including the preset seat region;
- and
- performing affine transformation on the original image to obtain the image to be detected, wherein the preset seat region is located in the middle of the image to be detected.
A seat belt wearing detection method, comprising:
- performing face detection on an image to be detected to obtain position information of one or more face detection boxes;
- recognizing a target face detection box located in a preset seat region from the one or more face detection boxes based on the position information of the one or more face detection boxes;
- cropping the image to be detected to obtain a target human body image corresponding to the target face detection box based on position information of the target face detection box;
- and
- segmenting the target human body image to obtain a seat belt region image;
- and
- determining whether a person corresponding to the target human body image wears a seat belt based on the seat belt region image;
- wherein segmenting the target human body image to obtain the seat belt region image, includes:
- inputting the target human body image into a seat belt wearing detection model to obtain semantic information of each pixel in the target human body image, the semantic information being used to indicate a type of an object corresponding to the pixel;
- and
- segmenting the target human body image to obtain the seat belt region image based on the semantic information of each pixel;
- and
- performing face detection on the image to be detected to obtain the position information of the one or more face detection boxes, includes:
- inputting image to be detected into a face detection model to obtain the position information of the one or more face detection boxes.
Dependencies are inferred from the claim text.