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

Claim 3:
4. The method of claim 3, wherein a process for training the pre-established relative definition scoring model comprises:
sequencing sample images in a sample image set according to magnitudes of capturing focal lengths;
determining, in the sample image set after the sequencing, at least one clear sample image labeled;
determining a plurality of paired sample image groups and a relative definition relationship between two sample images in each of the plurality of sample image groups according to the at least one clear sample image and the sequencing of the sample images in the sample image set;
inputting each of the plurality of sample image groups as training data into the pre-established relative definition scoring model, wherein the pre-established relative definition scoring model is configured to determine a relative definition score of each of the two sample images according to multi-scale features of the two sample images in the each of the plurality of sample image groups; and
training the pre-established relative definition scoring model according to the relative definition relationship and the relative definition scores of the two sample images in the each of the plurality of sample image groups by using a contrastive loss function.