Method and apparatus for detecting body
AssigneeBaidu Online Network Technology (Beijing) Co., Ltd.
InventorRenliang Weng
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure disclose a method and apparatus for detecting a body. A specific embodiment of the method includes: acquiring a to-be-detected image, the to-be-detected image including a body image; importing the to-be-detected image into a pre-established body key point detection model to obtain a body frame of a body corresponding to the body image, a position of a body key point, and a judgment result of whether the body key point belongs to the body in the to-be-detected image; and outputting the body frame of the body corresponding to the body image, the position of the body key point, and the judgment result of whether the body key point belongs to the body in the to-be-detected image.
Claims17
A method for detecting a body, the method comprising:
- acquiring a to-be-detected image, the to-be-detected image comprising a body image;
- importing the to-be-detected image into a pre-established body key point detection model to obtain a body frame of a body corresponding to the body image, a position of a body key point, and a judgment result of whether the body key point belongs to the body in the to-be-detected image, the body key point detection model being used to characterize a corresponding relationship between the to-be-detected image and the body frame of the body corresponding to the body image, the position of the body key point, and the judgment result of whether the body key point belongs to the body in the to-be-detected image;
- and
- outputting the body frame of the body corresponding to the body image, the position of the body key point, and the judgment result of whether the body key point belongs to the body in the to-be-detected image.
An apparatus for detecting a body, the apparatus comprising:
- at least one processor;
- and
- a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:
- acquiring a to-be-detected image, the to-be-detected image comprising a body image;
- importing the to-be-detected image into a pre-established body key point detection model to obtain a body frame of a body corresponding to the body image, a position of a body key point, and a judgment result of whether the body key point belongs to the body in the to-be-detected image, the body key point detection model being used to characterize a corresponding relationship between the to-be-detected image and the body frame of the body corresponding to the body image, the position of the body key point, and the judgment result of whether the body key point belongs to the body in the to-be-detected image;
- and
- outputting the body frame of the body corresponding to the body image, the position of the body key point, and the judgment result of whether the body key point belongs to the body in the to-be-detected image.
A non-transitory computer-readable storage medium storing a computer program, the computer program when executed by one or more processors, causes the one or more processors to perform operations, the operations comprising:
- acquiring a to-be-detected image, the to-be-detected image comprising a body image;
- importing the to-be-detected image into a pre-established body key point detection model to obtain a body frame of a body corresponding to the body image, a position of a body key point, and a judgment result of whether the body key point belongs to the body in the to-be-detected image, the body key point detection model being used to characterize a corresponding relationship between the to-be-detected image and the body frame of the body corresponding to the body image, the position of the body key point, and the judgment result of whether the body key point belongs to the body in the to-be-detected image;
- and
- outputting the body frame of the body corresponding to the body image, the position of the body key point, and the judgment result of whether the body key point belongs to the body in the to-be-detected image.
Dependencies are inferred from the claim text.