Image classification method, device and equipment and readable storage medium
A classification method and image technology, applied in the field of image processing, can solve the problems of time-consuming image classification processing, inability to adapt to real-time and large-scale image classification processing application scenarios, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Please refer to figure 1 , figure 1 It is a flowchart of an image classification method in an embodiment of the present invention, and the method includes the following steps:
[0055] S101. Acquire a target image to be classified, perform feature extraction on the target image, and obtain N different SIFT feature vectors.
[0056]Where N is a positive integer. The specific value of N is related to the number of specific key points of the target image and the calculation process in the feature extraction process, that is, different target images may correspond to the same number of SIFT feature vectors, or may correspond to different numbers of SIFT feature vectors .
[0057] The target image to be classified can be obtained by receiving an image sent by an external device, or by directly reading the target image stored in a readable storage medium. Then perform SIFT feature extraction on the target image, where SIFT, namely scale-invariant feature transform (Scale-...
Embodiment 2
[0087] In order to facilitate those skilled in the art to better understand the image classification method provided by the embodiment of the present invention, the image classification method provided by the embodiment of the present invention will be described in detail below by taking the application to a heterogeneous acceleration platform including Spark and FPGA as an example .
[0088] Spark is a mainstream computing platform in the field of big data processing, and Fpga is a computing platform in the field of heterogeneous computing. Image classification on Spark is mainly divided into two stages: the first stage is based on the BoVW model for image representation, firstly use the image features extracted from the training image (same as the target image above) to establish a visual dictionary, on this basis the image Histogram vector form represented as a dictionary. Stage 2 performs classification based on the image histogram vector. The image representation method i...
Embodiment 3
[0097] Corresponding to the above method embodiments, an embodiment of the present invention also provides an image classification device, and the image classification device described below and the image classification method described above can be referred to in correspondence.
[0098] see Figure 6 As shown, the device includes the following modules:
[0099] Feature extraction module 101, is used for obtaining target image to be classified, carries out feature extraction to target image, obtains N different SIFT feature vectors; Wherein N is a positive integer;
[0100] Clustering data sending module 102, for obtaining initial clustering center, and N SIFT feature vectors and initial clustering center are sent to FPGA;
[0101] The clustering result obtaining module 103 is used to receive the Euclidean distance calculation result returned by the FPGA, and utilize the Euclidean distance calculation result to cluster N SIFT feature vectors to obtain the clustering result; ...
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