Patent ID: 11915466
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. An electronic device, comprising:
at least one processor; and
a memory, communicatively connected to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions, when executed by the at least one processor, cause the at least one processor to perform operations, comprising:
extracting a plurality of feature maps of an original image using a feature extraction network;
inputting the plurality of feature maps into a feature pyramid network to perform feature fusion, to obtain a plurality of fused feature maps;
inputting the plurality of fused feature maps into a region proposal network respectively; and
using the region proposal network to implement operations as follows:
determining an initial anchor of a network head using the fused feature map based on a size of each fused feature map;
determining an offset parameter of the initial anchor based on a ratio of the size of the fused feature map to the original image;
generating a plurality of candidate anchors in different directions based on the offset parameter of the initial anchor; and
determining a target anchor from the plurality of candidate anchors.