This application provides an object detection method and apparatus. This application relates to the field of artificial intelligence, and specifically, to the field of computer vision. The method includes: obtaining a to-be-detected image; performing convolution processing on the to-be-detected image to obtain an initial image feature of a to-be-detected object in the to-be-detected image; determining an enhanced image feature of the to-be-detected object based on knowledge graph information; and determining a candidate frame and a classification of the to-be-detected object based on the initial image feature and the enhanced image feature of the to-be-detected object. The enhanced image feature indicates semantic information of a different object category corresponding to another object associated with the to-be-detected object. Therefore, in this application, an effect of the object detection method can be improved.
OBJECT DETECTION METHOD AND APPARATUS, AND COMPUTER STORAGE MEDIUM