Image retrieval model training method, image retrieval method and computer equipment
A technology of image retrieval and training methods, applied in the fields of computer vision and image processing, can solve problems such as unbalanced cross-scene image data, achieve the effects of improving recognition accuracy, increasing speed, and reducing negative effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] like figure 1 As shown, the training method of the image retrieval model according to Embodiment 1 of the present invention comprises the following steps:
[0049] Step S10: Obtain a training sample set, the training sample set includes a user shooting scene picture set and a high-definition advertising scene picture set.
[0050]Among them, the pictures in the user-shooting scene picture set are pictures taken by the user themselves, and the pictures in the high-definition advertising scene picture set are high-definition advertising scene pictures in online shopping malls. For example, high-definition advertising scene pictures generally come from e-commerce platforms such as Taobao, Tmall, and Amazon. Most of these photos are high-quality photos with models posing and simple backgrounds, and the number of high-definition advertising scene pictures can reach tens of millions. As a preferred embodiment, the pictures in the user-shooting scene picture set are clothing ...
Embodiment 2
[0085] like image 3 As shown, Embodiment 2 of the present invention also discloses an image retrieval method, which specifically includes the following steps:
[0086] Step S1: Input the image to be retrieved and the image in the image database into the image retrieval model obtained by the training method of Embodiment 1, and output the feature vector to be retrieved corresponding to the image to be retrieved and the image database corresponding to the image retrieval model through the image retrieval model The image in corresponds to the set of image library feature vectors.
[0087] Step S2: performing hash coding on the feature vector to be retrieved and each feature vector in the feature vector set of the image library;
[0088] Step S3: Calculate the Hamming distance value between the feature vector to be retrieved after hash coding and each feature vector in the feature vector set of the image library;
[0089] Step S4: Sort the images in the image database in order ...
Embodiment 3
[0091] like Figure 4 As shown, the computer device according to Embodiment 3 of the present invention includes a computer device including a memory 100, a processor 200 and a training program 300 of an image retrieval model stored in the memory, and the training program of the image retrieval model is implemented when the processor 200 executes Such as the training method of the image retrieval model in the first embodiment.
[0092] Further, the present invention also discloses a storage medium, the storage medium stores a training program of the image retrieval model, and when the training program of the image retrieval model is executed by the processor, the training method of the image retrieval model as in the first embodiment is realized .
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com