Patent ID: 11914677
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. The method according to claim 8, wherein the loss function of the first network comprises a region concentration loss function and a distortion correction loss function; and
the calculating the value of the loss function comprises:
calculating a loss value of the region concentration loss function according to initial feature values of the pixels in the sample image, the coordinates of the pixels in the sample image, and the center coordinates of the sub-regions;
performing distortion processing on the sample image, and calculating a loss value of the distortion correction loss function according to an image obtained after the distortion processing and according to the sample image, the distortion processing comprising at least one of angle rotation, pixel translation, image scaling, or chamfer changing; and
calculating a sum of the loss value of the region concentration loss function and the loss value of the distortion correction loss function to obtain the value of the loss function.