Patent attributes
A target detection method and apparatus, in which the method includes: obtaining a target candidate region in a to-be-detected image; determining at least two part candidate regions from the target candidate region by using an image segmentation network, where each part candidate region corresponds to one part of a to-be-detected target; and extracting, from the to-be-detected image, local image features corresponding to the part candidate regions; and learning the local image features of the part candidate regions by using a bidirectional long short-term memory LSTM network, to obtain a part relationship feature used to describe a relationship between the part candidate regions; and detecting the to-be-detected target in the to-be-detected image based on the part relationship feature. As a result, image data processing precision in target detection can be improved, application scenarios of target detection can be diversified, and target detection accuracy can be improved.