Image recognition method and device and terminal equipment
An image recognition and sample image technology, applied in the field of image processing, can solve the problem of low accuracy of image recognition methods, and achieve the effect of improving image recognition accuracy, improving effect, and good training.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] The following describes an image recognition method provided in the first embodiment of the present application, please refer to the attachment figure 1 , The image recognition method in the first embodiment of this application includes:
[0037] Step S101: Obtain a sample training set, the training sample set includes at least one set of sample image groups and sample labels corresponding to the sample image groups, and each set of sample image groups includes two sample images;
[0038] When using neural networks for image recognition, the selection of neural network types, model settings and model training are closely related to the accuracy of neural network recognition.
[0039] In the image recognition method of this embodiment, a twin neural network is selected as the neural network for image recognition. The twin neural network is a conjoined neural network. The twin neural network has two inputs, which can measure the similarity of the two inputs, and can be well reco...
Embodiment 2
[0086] The second embodiment of the application provides an image recognition device. For ease of description, only the parts related to the application are shown, such as figure 2 As shown, the image recognition device includes,
[0087] The training sample module 201 is configured to obtain a sample training set, the training sample set includes at least one set of sample image groups and sample labels corresponding to the sample image groups, and each sample image group includes two sample images;
[0088] The feature extraction module 202 is configured to perform a feature extraction operation. The feature extraction operation includes inputting the sample image group in the sample training set into the twin neural network to obtain the first feature vector and the first feature vector corresponding to the sample image group. Two feature vectors, where the first feature vector and the second feature vector are both normalized feature vectors;
[0089] The loss calculation module...
Embodiment 3
[0105] image 3 It is a schematic diagram of a terminal device provided in Embodiment 3 of the present application. Such as image 3 As shown, the terminal device 3 of this embodiment includes a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and running on the processor 30. When the processor 30 executes the computer program 32, the steps in the image recognition method embodiment described above are implemented, for example figure 1 Steps S101 to S105 are shown. Alternatively, when the processor 30 executes the computer program 32, the function of each module / unit in the foregoing device embodiments is implemented, for example figure 2 The functions of modules 201 to 205 are shown.
[0106] Exemplarily, the computer program 32 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 31 and executed by the processor 30 to complete This application. The one or more modules / units may be a series of co...
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