Model training and scene recognition method and device, equipment and medium
A scene recognition and model training technology, applied in the field of model training and scene recognition, can solve the problem that the scene recognition system cannot accurately process the scene category images, and achieve the effect of improving the accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] figure 1 A schematic diagram of the scene recognition model training process provided by some embodiments of the present application, the process includes:
[0042] S101: Acquire any sample image in a sample set; wherein, the sample image corresponds to a scene label, and the scene label is used to identify a first scene category to which the sample image belongs.
[0043] The scene recognition model training method provided in this application is applied to electronic equipment, and the electronic equipment may be a smart device such as a mobile terminal, or a server such as a home brain. Of course, the electronic device may also be a display device such as a TV.
[0044]In order to obtain an accurate scene recognition model, it is necessary to train the original scene recognition model according to each sample image in the pre-acquired sample set. Wherein, any sample image in the sample set is obtained by: determining the collected original image as the sample image...
Embodiment 2
[0124] Taking the execution subject as the display device as an example, the scene recognition model training method provided by this application will be described in detail below through specific embodiments. figure 2 A schematic diagram of a specific scene recognition model training process provided by some embodiments of the present application, the process includes:
[0125] S201: Construct an original scene recognition model.
[0126] S202: Randomly construct class center features for each scene category.
[0127] S203: Acquire any sample image in the sample set.
[0128] Wherein, the sample image corresponds to a scene label, and the scene label is used to identify the first scene category to which the sample image belongs.
[0129] S204: Using the original scene recognition model, determine a scene probability vector corresponding to the sample image and sample features of the sample image.
[0130] Wherein, the scene probability vector includes probability values ...
Embodiment 3
[0141] The present application also provides a scene recognition method, Figure 4 A schematic diagram of the scene recognition process provided by some embodiments of the present application, the process includes:
[0142] S401: Using a pre-trained scene recognition model, determine image features of an image to be recognized.
[0143] S402: Determine the similarity between the image feature and the target class center feature of each scene category.
[0144] S403: Determine whether each scene category includes the scene category to which the image to be recognized belongs according to each similarity and a similarity threshold.
[0145] S404: If it is determined that each scene category includes the scene category to which the image to be recognized belongs, determine the scene category to which the image to be recognized belongs by using the scene recognition model.
[0146] S405: If it is determined that each scene category does not include the scene category to which th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


