WO2020186777A1 - Image retrieval method, apparatus and device, and computer-readable storage medium - Google Patents

Image retrieval method, apparatus and device, and computer-readable storage medium Download PDF

Info

Publication number
WO2020186777A1
WO2020186777A1 PCT/CN2019/117191 CN2019117191W WO2020186777A1 WO 2020186777 A1 WO2020186777 A1 WO 2020186777A1 CN 2019117191 W CN2019117191 W CN 2019117191W WO 2020186777 A1 WO2020186777 A1 WO 2020186777A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
subject
feature
preset
retrieved
Prior art date
Application number
PCT/CN2019/117191
Other languages
French (fr)
Chinese (zh)
Inventor
陈世喆
王威
吴力丰
王昊
何维
谢树铭
龚阳
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020186777A1 publication Critical patent/WO2020186777A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Definitions

  • This application relates to the field of image retrieval technology, and in particular to an image retrieval method, device, equipment and computer-readable storage medium.
  • the main purpose of this application is to provide an image retrieval method, device, equipment, and computer-readable storage medium, aiming to solve the technical problem of low image retrieval accuracy in the existing image retrieval technology.
  • this application provides an image retrieval method, the image retrieval method includes:
  • the candidate images are accurately sorted based on a preset sorting algorithm, and the candidate images are output in the sorted order.
  • an image retrieval device which includes:
  • the feature extraction module is used to obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
  • the tag retrieval module is configured to perform retrieval in a preset image database based on the image tag, and determine the image set corresponding to the image tag;
  • the feature matching module is used to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the candidate corresponding to the image to be retrieved image;
  • the image sorting module is configured to accurately sort the candidate images based on a preset sorting algorithm, and output the candidate images in the sorted order.
  • the present application also provides an image retrieval device, the image retrieval device includes: a memory, a processor, and computer-readable instructions stored on the memory and running on the processor, When the computer-readable instructions are executed by the processor, the steps of the image retrieval method described above are implemented.
  • the computer-readable storage medium may be a non-volatile readable storage medium on which computer-readable instructions are stored.
  • the steps of the image retrieval method described above are realized.
  • This application belongs to the field of image retrieval technology, and proposes an image retrieval method.
  • the image to be retrieved is acquired, and the corresponding image tag is determined based on the subject and non-subject features of the image to be retrieved.
  • the image tag is used in the preset Search in the image database, determine the image set corresponding to the image tag, and further determine the image feature of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature to determine the image feature to be retrieved.
  • the candidate images corresponding to the retrieved images are finally sorted with accuracy through a preset sorting algorithm, and the final sorted candidate images are output as the retrieval result.
  • the image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
  • FIG. 1 is a schematic diagram of the hardware structure of an image retrieval device involved in a solution of an embodiment of the application
  • FIG. 3 is a detailed flowchart of step S20 in FIG. 2;
  • FIG. 4 is a schematic flowchart of a second embodiment of an image retrieval method according to this application.
  • FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the image retrieval device of this application.
  • the main solution of the embodiment of the application is to obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the corresponding image to be retrieved based on the extracted subject feature and non-subject feature Image tags; search based on the image tags in a preset image database to determine the image set corresponding to the image tags; determine the image features of the image to be retrieved based on the preset image feature extraction algorithm, and according to the Image features perform feature matching in the image set to determine the candidate image corresponding to the image to be retrieved; perform accurate sorting on the candidate images based on a preset sorting algorithm, and output the sorted images in the sorted order Alternative image.
  • FIG. 1 is a schematic diagram of the hardware structure of the image retrieval device involved in the solution of the embodiment of the application.
  • the image retrieval method involved in the embodiments of the present application is mainly applied to an image retrieval device, and the image retrieval device may be a device with display and processing functions such as a PC, a portable computer, and a mobile terminal.
  • the image retrieval device may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage.
  • the memory 1005 may also be a storage device independent of the foregoing processor 1001.
  • the image retrieval device may also include a camera, RF (Radio Frequency, radio frequency) circuits, sensors, audio circuits, Wi-Fi modules, etc.
  • sensors such as light sensors, motion sensors and other sensors.
  • the image retrieval device can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described here.
  • FIG. 1 does not constitute a limitation on the image retrieval device, and may include more or less components than shown in the figure, or a combination of certain components, or different components Layout.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer readable instructions.
  • the network interface 1004 is mainly used to connect to the back-end server and communicate with the back-end server;
  • the user interface 1003 is mainly used to connect to the client (user side) and communicate with the client;
  • the processor 1001, the memory 1005 It may be set in an image retrieval device, which calls computer-readable instructions stored in the memory 1005 through the processor 1001, and executes the image retrieval method provided in the embodiment of the present application.
  • the solution provided in this embodiment first obtains the image to be retrieved, and extracts and determines the corresponding image label based on the subject feature and non-subject feature of the image to be retrieved, and uses the image tag to search in a preset image database to determine the image label Corresponding image set, and further determine the image feature of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature to determine the candidate image corresponding to the image to be retrieved, Finally, the candidate images are accurately sorted by a preset sorting algorithm, and the final sorted candidate images are output as the retrieval result.
  • the image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
  • Fig. 2 is a schematic flowchart of a first embodiment of an image retrieval method according to this application.
  • the method includes:
  • Step S10 Obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
  • this application proposes an image retrieval method.
  • the image to be retrieved is acquired and based on a preset
  • the feature extraction algorithm extracts subject features and non-subject features, and determines the corresponding image label through subject feature and non-subject feature extraction.
  • the feature extraction of the image to be retrieved includes subject feature extraction and non-subject feature extraction.
  • the subject is the subject with the subject, and the non-subject includes some special objects, such as landmark buildings. Therefore, the subject feature and non-subject feature of the image to be retrieved can be obtained through subject feature extraction and non-subject feature extraction.
  • the preset feature extraction algorithm used for extracting subject features and extracting non-subject features of the image to be retrieved specifically refers to Mask
  • the R-CNN algorithm the process of extracting the main features of the image to be retrieved through Mask R-CNN is as follows:
  • RPN Registered Candidate Network
  • the non-subject features in the image to be retrieved are also extracted using Mask
  • the difference between the R-CNN algorithm is that the non-subject feature is strengthened in the preprocessing process, and the non-subject feature map is extracted using the preset convolutional neural network, and the non-subject feature is finally determined through the RPN network Judgment and classification.
  • the Mask After the R-CNN algorithm extracts the subject feature and non-subject feature in the image to be retrieved it can further label the retrieved image according to the subject feature and non-subject feature.
  • the image tag includes the subject feature.
  • the label represents the image type corresponding to the image to be retrieved. Because of the existence of the subject and non-subject in the image to be retrieved, the image to be retrieved can be brought with There is more than one image tag.
  • Step S20 searching in a preset image database based on the image tag, and determining the image set corresponding to the image tag;
  • the step S20 specifically includes:
  • Step S21 acquiring a preset image tag corresponding to an image in a preset image database
  • a corresponding image database is pre-established, and the pictures in the preset image database have corresponding preset image tags. Specifically, in this embodiment, by acquiring a large number of samples For images, a corresponding image database is pre-established.
  • the image label corresponding to each sample image can be determined in advance, that is, the preset image label, so as to follow up with the image of the image to be retrieved.
  • the label is matched, and the determination of the preset image label can also be realized by the corresponding feature extraction algorithm, such as Mask R-CNN algorithm.
  • the preset image feature corresponding to the image of the preset image database can also be determined, so that the subsequent matching with the image feature of the image to be retrieved can more accurately determine the image to be retrieved The corresponding search result.
  • Step S22 matching the subject label and the preset image label, and determining the subject image set corresponding to the subject label;
  • Step S23 matching the non-subject label and the preset image label, and determine the non-subject image set corresponding to the non-subject label;
  • the R-CNN algorithm recognizes the subject characteristics of the image to be retrieved, and can tag the retrieved image with the corresponding subject label, and by recognizing the non-subject feature, the corresponding non-subject label can be marked.
  • the image set corresponding to the subject feature of the image to be retrieved can be obtained, and the image set corresponding to the non subject feature can be obtained by matching with the non-subject label.
  • the calculation of the label matching degree may set a corresponding matching degree threshold, and the images in the preset image database corresponding to the result of the matching degree calculation higher than the matching degree threshold are put into the corresponding image collection.
  • Step S24 Obtain the union of the subject image set and the non-subject image set, and determine it as the image set corresponding to the image tag.
  • the subject tag is calculated in the preset image database to determine the subject image set corresponding to the subject feature; the non subject feature is matched to obtain the image set corresponding to the non subject feature. It can be understood that these two images
  • the set may contain the same image or different images. Therefore, the union of the two image sets is taken as the image set corresponding to the image to be retrieved, so that the retrieval result can be further determined from the union.
  • Step S30 Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine a candidate image corresponding to the image to be retrieved;
  • the preset image features corresponding to the images in the image database are determined, and further, through the preset image feature extraction algorithm, the image features of the image to be retrieved are extracted, based on the image of the image to be retrieved Feature: Perform feature matching calculation with the preset image features of the images contained in the image collection, and use the image with the feature matching degree, that is, the higher matching degree, as the candidate image corresponding to the image to be retrieved, further reducing image retrieval Range.
  • step S40 the candidate images are accurately sorted based on a preset sorting algorithm, and the candidate images are output in the sorted order.
  • n candidate images are further processed with high precision Reorder, and finally output the reordered n candidate images in order.
  • the preset sorting algorithm used for re-sorting n candidate images is the RANSAC algorithm.
  • the RANSAC algorithm randomly selects 4 samples from the matching data set (candidate images) and ensures that there is no difference between the 4 samples. Collinear, calculate the homography matrix corresponding to the 4 samples, record it as model M, then use this model to test all the data, and calculate the number of data points that meet this model and the projection error. If the corresponding projection error is the smallest, Then this model is the optimal model, and the candidate images are re-sorted according to the optimal model. Finally, the candidate images are output in the determined order, which is the retrieval result of the image to be retrieved.
  • the image to be retrieved is first obtained, and the corresponding image tag is determined based on the subject feature and non-subject feature of the image to be retrieved.
  • the image tag is used to search in the preset image database to determine the image tag corresponding And further determine the image features of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature, determine the candidate image corresponding to the image to be retrieved, and finally
  • the candidate images are sorted accurately through a preset sorting algorithm, and the final sorted candidate images are output as the search result.
  • the image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
  • the step S30 specifically includes:
  • Step S31 Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm
  • the preset image features corresponding to the images in the image database are determined; when feature matching is required, the image features of the images to be retrieved are determined based on the preset image feature extraction algorithm.
  • the same image feature extraction algorithm can be used, specifically, it refers to the SIFT algorithm.
  • Image feature extraction mainly extracts multiple representative keywords (feature points) from the picture to form one Dictionary, and then count the number of keywords appearing in each picture to obtain the feature vector of the picture.
  • the process of constructing the preset image features in the preset image database is as follows:
  • the k-means clustering method is used to cluster all image features, and image features with the same feature are clustered into the same category. Specifically, k feature points are randomly selected as cluster centers, and other features are selected.
  • the distance between a point and K central points associate it with the closest central point, all points associated with the same central point form a cluster, and calculate the mean of each group of clusters to cluster the group
  • the associated center point moves to the position of the average value, and then repeats the steps of calculating the distance between other feature points and K center points so as to put them into the associated cluster to change the position of the cluster center point until The position of the center point does not change anymore, so that all the feature points are divided into different clusters.
  • the image that needs image feature extraction is convolved with a two-dimensional Gaussian function to obtain multiple Gaussian images with different ⁇ values.
  • These multiple Gaussian images with different ⁇ values constitute the scale space of the image, indicating that it is at different scales
  • the purpose of constructing the scale space is to detect the feature points that exist at different scales.
  • the image in order to improve the accuracy of feature point extraction, the image can be downsampled first to obtain image pyramids at different resolutions, and then Gaussian convolution is performed on each layer of the image. In this way, the original image Each layer of the pyramid has only one image, and after Gaussian convolution, images of different scales are added to each layer.
  • DOG Difference of Gaussian (Gaussian difference) to construct a Gaussian difference image
  • the DOG extreme point is further searched, that is, each pixel point is compared with the surrounding pixels.
  • adjacent points Includes pixels in the same scale space where the pixel is located and pixels in adjacent scale spaces.
  • Step S32 Obtain the preset image features corresponding to the images in the image collection from the preset image database, and perform feature evaluation on the image features and the preset image features corresponding to the images in the image collection The matching calculation determines a matching score, so as to determine the candidate image corresponding to the image to be retrieved based on the matching score.
  • a feature matching score corresponding to the image feature of and each preset image feature in the image set, and the candidate image corresponding to the image to be retrieved is determined based on the matching score.
  • a matching list can be established according to the level of the matching scores, the determined matching scores are sorted from high to low, and the preset number from the first in the matching list is selected in order
  • the matching score of takes several images in the corresponding image set as candidate images, that is, the search result corresponding to the image to be retrieved, and further uses the sorting algorithm to readjust the ranking of the candidate images to make the output search The result is more accurate.
  • the image feature of the image to be retrieved is determined by the preset image feature extraction algorithm, and the image feature corresponding to the image in the image set is determined Perform feature matching calculation on image features, determine the matching score, and finally determine the candidate images corresponding to the image to be retrieved, and perform high-precision sorting on the candidate images.
  • the sorted order is used as the final output retrieval result, which greatly improves the image The accuracy of retrieval.
  • the embodiment of the present application also provides an image retrieval device.
  • FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the image retrieval device of this application.
  • the image retrieval device includes:
  • the feature extraction module 10 is configured to obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
  • the tag retrieval module 20 is configured to retrieve in a preset image database based on the image tag, and determine the image set corresponding to the image tag;
  • the feature matching module 30 is configured to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the device corresponding to the image to be retrieved Select image
  • the image sorting module 40 is configured to accurately sort the candidate images based on a preset sorting algorithm, and output the candidate images in the sorted order.
  • the feature extraction module 10 specifically includes:
  • the request receiving unit is configured to obtain the image to be retrieved corresponding to the image retrieval request when the image retrieval request is received;
  • the feature extraction unit is configured to perform subject feature extraction and non-subject feature extraction on the image to be retrieved based on a preset feature extraction algorithm to determine subject features and non-subject features corresponding to the image to be retrieved, and based on the subject The feature and the non-subject feature determine the image tag corresponding to the image to be retrieved.
  • tag retrieval module 20 specifically includes:
  • a preset image tag acquiring unit configured to acquire a preset image tag corresponding to an image in a preset image database
  • a subject label matching unit configured to match the subject label with the preset image label, and determine the subject image set corresponding to the subject label
  • the non-subject tag matching unit is configured to match the non-subject tag with the preset image tag, and determine the non-subject image set corresponding to the non-subject tag;
  • the image collection acquisition unit is configured to acquire the union of the subject image collection and the non-subject image collection, and determine it as the image collection corresponding to the image tag.
  • the image retrieval device further includes:
  • An image database establishment unit for acquiring sample images and establishing a preset image database based on the sample images
  • the preset image tag determination unit is used to determine the preset image tag corresponding to the image in the preset image database, and determine the preset image tag corresponding to the image in the preset image database based on the preset image feature extraction algorithm. Set image characteristics.
  • the feature matching module 30 specifically includes:
  • An image feature determining unit configured to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm
  • the feature degree matching unit is configured to obtain a preset image feature corresponding to an image in the image collection from the preset image database, and compare the image feature with the preset image corresponding to the image in the image collection The feature performs feature matching calculation to determine a matching score, so as to determine the candidate image corresponding to the image to be retrieved based on the matching score.
  • the feature matching unit further includes:
  • the matching score sorting subunit is used to sort the matching scores from high to low to obtain a matching list, and select a preset number of matching scores from the top of the matching list, and set the preset The image in the image set corresponding to the number of matching scores is determined as the candidate image corresponding to the image to be retrieved.
  • each module in the above-mentioned image retrieval device corresponds to each step in the above-mentioned image retrieval method embodiment, and its functions and implementation processes will not be repeated here.
  • the embodiment of the present application also proposes a computer-readable storage medium, and the computer-readable storage medium may be a non-volatile readable storage medium.
  • the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the image retrieval method described above are realized.
  • the solution provided in this embodiment first obtains the image to be retrieved, and extracts and determines the corresponding image label based on the subject feature and non-subject feature of the image to be retrieved, and uses the image tag to search in a preset image database to determine the image label Corresponding image set, and further determine the image feature of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature to determine the candidate image corresponding to the image to be retrieved, Finally, the candidate images are accurately sorted by a preset sorting algorithm, and the final sorted candidate images are output as the retrieval result.
  • the image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

The present application belongs to the technical field of image retrieval. Disclosed is an image retrieval method, comprising: acquiring an image to be retrieved, and performing main feature extraction and non-main feature extraction on the image to be retrieved, so as to determine, based on extracted main features and non-main features, an image tag corresponding to the image to be retrieved; performing retrieval in a preset image database based on the image tag, and determining an image set corresponding to the image tag; determining image features of the image to be retrieved based on a preset image feature extraction algorithm, performing feature matching in the image set according to the image features, and determining alternative images corresponding to the image to be retrieved; and performing precision sorting on the alternative images based on a preset sorting algorithm, and outputting the alternative images according to the sequence after sorting. Further disclosed are an image retrieval apparatus and device, and a computer-readable storage medium. According to the present application, the accuracy of picture retrieval is improved.

Description

图像检索方法、装置、设备及计算机可读存储介质 Image retrieval method, device, equipment and computer readable storage medium To
本申请要求于2019年3月16日提交中国专利局、申请号为201910206127.1、发明名称为“图像检索方法、装置、设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910206127.1, and the invention title is "image retrieval method, device, equipment and computer-readable storage medium" on March 16, 2019. The reference is incorporated in this application.
技术领域Technical field
本申请涉及图像检索技术领域,尤其涉及一种图像检索方法、装置、设备及计算机可读存储介质。This application relates to the field of image retrieval technology, and in particular to an image retrieval method, device, equipment and computer-readable storage medium.
背景技术Background technique
由于多媒体、图像信息、网络技术的快速发展和日益广泛的应用,图像数据库的规模越来越大,如何进行视觉信息的有效管理成为了一个迫切需要解决的问题。但现有的图像检索技术仍在试验阶段,图像检索的准确率不够高,尤其是当存在图像遮挡、样本数量和质量偏低、信息缺失的情况时,更加需要提高图像检索的准确率。Due to the rapid development and wider application of multimedia, image information, and network technologies, the scale of image databases is getting larger and larger, and how to effectively manage visual information has become an urgent problem to be solved. However, the existing image retrieval technology is still in the experimental stage, and the accuracy of image retrieval is not high enough, especially when there are image occlusions, low sample quantity and quality, and lack of information, it is even more necessary to improve the accuracy of image retrieval.
发明内容Summary of the invention
本申请的主要目的在于提供一种图像检索方法、装置、设备及计算机可读存储介质,旨在解决现有的图像检索技术存在的图像检索准确率不高的技术问题。The main purpose of this application is to provide an image retrieval method, device, equipment, and computer-readable storage medium, aiming to solve the technical problem of low image retrieval accuracy in the existing image retrieval technology.
为实现上述目的,本申请提供一种图像检索方法,所述图像检索方法包括:To achieve the above objective, this application provides an image retrieval method, the image retrieval method includes:
获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;Acquiring the image to be retrieved, and performing subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;Searching in a preset image database based on the image tag, and determining the image set corresponding to the image tag;
基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the candidate image corresponding to the image to be retrieved;
基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。The candidate images are accurately sorted based on a preset sorting algorithm, and the candidate images are output in the sorted order.
此外,为实现上述目的,本申请还提供一种图像检索装置,所述图像检索装置包括:In addition, in order to achieve the above-mentioned object, the present application also provides an image retrieval device, which includes:
特征提取模块,用于获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;The feature extraction module is used to obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
标签检索模块,用于基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;The tag retrieval module is configured to perform retrieval in a preset image database based on the image tag, and determine the image set corresponding to the image tag;
特征匹配模块,用于基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;The feature matching module is used to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the candidate corresponding to the image to be retrieved image;
图像排序模块,用于基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。The image sorting module is configured to accurately sort the candidate images based on a preset sorting algorithm, and output the candidate images in the sorted order.
此外,为实现上述目的,本申请还提供一种图像检索设备,所述图像检索设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述计算机可读指令被所述处理器执行时实现如上所述的图像检索方法的步骤。In addition, in order to achieve the above object, the present application also provides an image retrieval device, the image retrieval device includes: a memory, a processor, and computer-readable instructions stored on the memory and running on the processor, When the computer-readable instructions are executed by the processor, the steps of the image retrieval method described above are implemented.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,计算机可读存储介质可以为非易失性可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上所述的图像检索方法的步骤。In addition, in order to achieve the above objective, this application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile readable storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by the processor, the steps of the image retrieval method described above are realized.
本申请属于图像检索技术领域,提出了一种图像检索方法,首先获取待检索图像,并基于对待检索图像的主体特征和非主体特征进行提取确定对应的图像标签,利用该图像标签在预设的图像数据库中进行检索,确定图像标签对应的图像集合,并进一步地基于预设的图像特征提取算法确定待检索图像的图像特征,以便根据该图像特征在确定的图像集合中进行特征匹配,确定待检索图像所对应的备选图像,最后通过预设的排序算法对备选图像进行精确度排序,并将最终排序后的备选图像进行输出,作为检索结果。本申请提出的图像检索方法,通过主体特征和非主体特征的提取确定图像标签,以进行初步检索缩小了检索范围,再通过图像特征匹配的方式精确地得到与待检索图像匹配的检索结果,最后通过排序算法对检索结果进行重新排序,为用户提供准确度更高的检索结果,提高了图像检索的效率和准确度。This application belongs to the field of image retrieval technology, and proposes an image retrieval method. First, the image to be retrieved is acquired, and the corresponding image tag is determined based on the subject and non-subject features of the image to be retrieved. The image tag is used in the preset Search in the image database, determine the image set corresponding to the image tag, and further determine the image feature of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature to determine the image feature to be retrieved. The candidate images corresponding to the retrieved images are finally sorted with accuracy through a preset sorting algorithm, and the final sorted candidate images are output as the retrieval result. The image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
附图说明Description of the drawings
图1为本申请实施例方案中涉及的图像检索设备的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of an image retrieval device involved in a solution of an embodiment of the application;
图2为本申请图像检索方法第一实施例的流程示意图;2 is a schematic flowchart of the first embodiment of the image retrieval method of this application;
图3为图2中的步骤S20的细化流程示意图;FIG. 3 is a detailed flowchart of step S20 in FIG. 2;
图4为本申请图像检索方法第二实施例的流程示意图;4 is a schematic flowchart of a second embodiment of an image retrieval method according to this application;
图5为本申请图像检索装置第一实施例的功能模块示意图。FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the image retrieval device of this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application.
本申请实施例的主要解决方案是:获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。通过本申请实施例的技术方案,解决了现有的图像检索技术存在的图像检索准确率不高的技术问题。The main solution of the embodiment of the application is to obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the corresponding image to be retrieved based on the extracted subject feature and non-subject feature Image tags; search based on the image tags in a preset image database to determine the image set corresponding to the image tags; determine the image features of the image to be retrieved based on the preset image feature extraction algorithm, and according to the Image features perform feature matching in the image set to determine the candidate image corresponding to the image to be retrieved; perform accurate sorting on the candidate images based on a preset sorting algorithm, and output the sorted images in the sorted order Alternative image. Through the technical solutions of the embodiments of the present application, the technical problem of low image retrieval accuracy in the existing image retrieval technology is solved.
如图1所示,图1为本申请实施例方案中涉及的图像检索设备的硬件结构示意图。As shown in FIG. 1, FIG. 1 is a schematic diagram of the hardware structure of the image retrieval device involved in the solution of the embodiment of the application.
本申请实施例涉及的图像检索方法主要应用于图像检索设备,该图像检索设备可以是PC、便携计算机、移动终端等具有显示和处理功能的设备。The image retrieval method involved in the embodiments of the present application is mainly applied to an image retrieval device, and the image retrieval device may be a device with display and processing functions such as a PC, a portable computer, and a mobile terminal.
如图1所示,该图像检索设备可以包括:处理器1001,例如CPU,通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the image retrieval device may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage. Optionally, the memory 1005 may also be a storage device independent of the foregoing processor 1001.
可选地,图像检索设备还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、Wi-Fi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。当然,图像检索设备还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the image retrieval device may also include a camera, RF (Radio Frequency, radio frequency) circuits, sensors, audio circuits, Wi-Fi modules, etc. Among them, sensors such as light sensors, motion sensors and other sensors. Of course, the image retrieval device can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described here.
本领域技术人员可以理解,图1中示出的图像检索设备结构并不构成对图像检索设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the image retrieval device shown in FIG. 1 does not constitute a limitation on the image retrieval device, and may include more or less components than shown in the figure, or a combination of certain components, or different components Layout.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及计算机可读指令。在图1中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001、存储器1005可以设置在图像检索装置中,所述图像检索装置通过处理器1001调用存储器1005中存储的计算机可读指令,并执行本申请实施例提供的图像检索方法。As shown in FIG. 1, a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer readable instructions. In Figure 1, the network interface 1004 is mainly used to connect to the back-end server and communicate with the back-end server; the user interface 1003 is mainly used to connect to the client (user side) and communicate with the client; and the processor 1001, the memory 1005 It may be set in an image retrieval device, which calls computer-readable instructions stored in the memory 1005 through the processor 1001, and executes the image retrieval method provided in the embodiment of the present application.
本实施例提供的方案,首先获取待检索图像,并基于对待检索图像的主体特征和非主体特征进行提取确定对应的图像标签,利用该图像标签在预设的图像数据库中进行检索,确定图像标签对应的图像集合,并进一步地基于预设的图像特征提取算法确定待检索图像的图像特征,以便根据该图像特征在确定的图像集合中进行特征匹配,确定待检索图像所对应的备选图像,最后通过预设的排序算法对备选图像进行精确度排序,并将最终排序后的备选图像进行输出,作为检索结果。本申请提出的图像检索方法,通过主体特征和非主体特征的提取确定图像标签,以进行初步检索缩小了检索范围,再通过图像特征匹配的方式精确地得到与待检索图像匹配的检索结果,最后通过排序算法对检索结果进行重新排序,为用户提供准确度更高的检索结果,提高了图像检索的效率和准确度。The solution provided in this embodiment first obtains the image to be retrieved, and extracts and determines the corresponding image label based on the subject feature and non-subject feature of the image to be retrieved, and uses the image tag to search in a preset image database to determine the image label Corresponding image set, and further determine the image feature of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature to determine the candidate image corresponding to the image to be retrieved, Finally, the candidate images are accurately sorted by a preset sorting algorithm, and the final sorted candidate images are output as the retrieval result. The image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
基于上述硬件结构,提出本申请图像检索方法实施例。Based on the above hardware structure, an embodiment of the image retrieval method of this application is proposed.
参照图2,图2为本申请图像检索方法第一实施例的流程示意图,在该实施例中,所述方法包括:Referring to Fig. 2, Fig. 2 is a schematic flowchart of a first embodiment of an image retrieval method according to this application. In this embodiment, the method includes:
步骤S10,获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;Step S10: Obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
为了解决现有的图像检索技术存在的图像检索准确率不高的问题,本申请提出了一种图像检索方法,首先,当接收到图像检索请求时,获取待检索的图像,并基于预设的特征提取算法对其进行主体特征以及非主体特征的提取,通过主体特征和非主体特征提取确定其对应的图像标签。具体地,在本实施例中,对待检索图像进行特征提取包括主体特征的提取和非主体特征的提取,其中,主体即带有主题的物体,非主体包括一些特殊物体,如标志性的建筑等,因此,通过主体特征提取和非主体特征提取可以得到待检索图像的主体特征和非主体特征。In order to solve the problem of low accuracy of image retrieval in the existing image retrieval technology, this application proposes an image retrieval method. First, when an image retrieval request is received, the image to be retrieved is acquired and based on a preset The feature extraction algorithm extracts subject features and non-subject features, and determines the corresponding image label through subject feature and non-subject feature extraction. Specifically, in this embodiment, the feature extraction of the image to be retrieved includes subject feature extraction and non-subject feature extraction. The subject is the subject with the subject, and the non-subject includes some special objects, such as landmark buildings. Therefore, the subject feature and non-subject feature of the image to be retrieved can be obtained through subject feature extraction and non-subject feature extraction.
在本实施例中,对待检索图像进行主体特征的提取和非主体特征的提取所采用的预设的特征提取算法,具体指的是Mask R-CNN算法,通过Mask R-CNN对待检索图像的主体特征进行提取的过程如下:In this embodiment, the preset feature extraction algorithm used for extracting subject features and extracting non-subject features of the image to be retrieved specifically refers to Mask The R-CNN algorithm, the process of extracting the main features of the image to be retrieved through Mask R-CNN is as follows:
首先,对待检索图像进行预处理,以便对待检索图像中的主体特征进行加强;其次,将预处理后的待检索图像输入至预设的卷积神经网络中,以便进行待检索图像的主体特征图的提取;最后,利用RPN(区域候选网络)进行主体特征的判定和分类,具体地,是通过对上一步获得的特征图中的每一个点设定预设个数的ROI((region of interest,感兴趣区域),即可获得多个ROI,并对这多个ROI进行筛选,过滤掉一部分ROI,最终对有效的ROI区域做语义分割,即可识别出待检索图像中的主体特征。First, preprocess the image to be retrieved in order to enhance the subject features in the image to be retrieved; secondly, input the preprocessed image to be retrieved into the preset convolutional neural network to perform the subject feature map of the image to be retrieved Finally, use RPN (Region Candidate Network) to determine and classify subject features, specifically, by setting a preset number of ROIs ((region) for each point in the feature map obtained in the previous step of interest, region of interest), you can obtain multiple ROIs, filter these multiple ROIs, filter out a part of the ROI, and finally perform semantic segmentation on the effective ROI area to identify the subject features in the image to be retrieved.
同样地,在本实施例中,对待检索图像中的非主体特征进行提取采用的也是Mask R-CNN算法,不同的是,在预处理过程中进行的是非主体特征的加强,以及使用预设的卷积神经网络进行的是非主体特征图的提取,最终通过RPN网络确定了非主体特征的判定和分类。Similarly, in this embodiment, the non-subject features in the image to be retrieved are also extracted using Mask The difference between the R-CNN algorithm is that the non-subject feature is strengthened in the preprocessing process, and the non-subject feature map is extracted using the preset convolutional neural network, and the non-subject feature is finally determined through the RPN network Judgment and classification.
可以理解的是,在本实施例中,当通过Mask R-CNN算法提取出待检索图像中的主体特征和非主体特征后,即可进一步地根据该主体特征和非主体特征为待检索图像打上相应的图像标签,其中,图像标签包括了主体特征所对应的主体标签、以及非主体特征所对应的非主体标签,标签即表征了该待检索图像所对应的图像种类,因为待检索图像中的主体和非主体的存在,所以该待检索图像可以带有不止一个图像标签。It is understandable that, in this embodiment, when passing the Mask After the R-CNN algorithm extracts the subject feature and non-subject feature in the image to be retrieved, it can further label the retrieved image according to the subject feature and non-subject feature. The image tag includes the subject feature. The corresponding subject label and the non-subject label corresponding to the non-subject feature. The label represents the image type corresponding to the image to be retrieved. Because of the existence of the subject and non-subject in the image to be retrieved, the image to be retrieved can be brought with There is more than one image tag.
步骤S20,基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;Step S20, searching in a preset image database based on the image tag, and determining the image set corresponding to the image tag;
进一步地,当确定了待检索图像对应的图像标签后,将其与预设的图像数据库中存储的图像所对应的标签进行匹配,若标签匹配成功,则表明待检索图像与该预设的图像数据库中的图像种类相同或相似,可放入后续进一步进行特征匹配的图像集合中。具体地,如图3所示,所述步骤S20具体包括:Further, when the image tag corresponding to the image to be retrieved is determined, it is matched with the tag corresponding to the image stored in the preset image database. If the tag matching is successful, it indicates that the image to be retrieved is the same as the preset image. The types of images in the database are the same or similar and can be put into the image collection for further feature matching. Specifically, as shown in FIG. 3, the step S20 specifically includes:
步骤S21,获取预设的图像数据库中的图像对应的预设图像标签;Step S21, acquiring a preset image tag corresponding to an image in a preset image database;
可以理解的是,在本实施例中预先建立有相应的图像数据库,该预设图像数据库中的图片均带有相应的预设图像标签,具体地,在本实施例中,通过获取大量的样本图像,预先建立有相应的图像数据库,在基于该样本图像建立预设的图像数据库时,可事先确定每一个样本图像所对应的图像标签,即预设图像标签,以便后续与待检索图像的图像标签进行匹配,预设图像标签的确定也可以通过相应的特征提取算法实现,如Mask R-CNN算法。It is understandable that in this embodiment, a corresponding image database is pre-established, and the pictures in the preset image database have corresponding preset image tags. Specifically, in this embodiment, by acquiring a large number of samples For images, a corresponding image database is pre-established. When a preset image database is established based on the sample image, the image label corresponding to each sample image can be determined in advance, that is, the preset image label, so as to follow up with the image of the image to be retrieved. The label is matched, and the determination of the preset image label can also be realized by the corresponding feature extraction algorithm, such as Mask R-CNN algorithm.
进一步地,除了确定预设图像标签之外,还可以确定预设的图像数据库的图像所对应的预设图像特征,以便后续通过与待检索图像的图像特征的匹配,更加准确地确定待检索图像所对应的检索结果。Further, in addition to determining the preset image label, the preset image feature corresponding to the image of the preset image database can also be determined, so that the subsequent matching with the image feature of the image to be retrieved can more accurately determine the image to be retrieved The corresponding search result.
步骤S22,将所述主体标签和所述预设图像标签进行匹配,确定所述主体标签对应的主体图像集合;Step S22, matching the subject label and the preset image label, and determining the subject image set corresponding to the subject label;
步骤S23,将所述非主体标签和所述预设图像标签进行匹配,确定所述非主体标签对应的非主体图像集合;Step S23, matching the non-subject label and the preset image label, and determine the non-subject image set corresponding to the non-subject label;
通过Mask R-CNN算法对待检索图像的主体特征进行识别,可以对待检索图像打上对应的主体标签,以及通过对非主体特征进行识别,打上对应的非主体标签。通过主体标签在预设图像数据库中进行标签匹配度计算,可以获得待检索图像的主体特征所对应的图像集合,以及通过非主体标签进行匹配获得非主体特征对应的图像集合。本实施例中,标签匹配度的计算可以设置相应的匹配度阈值,将匹配度计算的结果高于匹配度阈值所对应的预设图像数据库中的图像放入相应的图像集合中。By Mask The R-CNN algorithm recognizes the subject characteristics of the image to be retrieved, and can tag the retrieved image with the corresponding subject label, and by recognizing the non-subject feature, the corresponding non-subject label can be marked. By performing the label matching degree calculation in the preset image database through the subject label, the image set corresponding to the subject feature of the image to be retrieved can be obtained, and the image set corresponding to the non subject feature can be obtained by matching with the non-subject label. In this embodiment, the calculation of the label matching degree may set a corresponding matching degree threshold, and the images in the preset image database corresponding to the result of the matching degree calculation higher than the matching degree threshold are put into the corresponding image collection.
通过对主体特征进行提取,并利用主体特征对应的主体标签信息在预设图像数据库中进行图像标签匹配,减少了背景的干扰以提高准确率;通过对非主体特征进行提取以及利用对应的非主体标签进行检索检索,也减小了图像搜索范围以加快检索速度。By extracting subject features, and using subject tag information corresponding to subject features to perform image tag matching in a preset image database, reducing background interference to improve accuracy; by extracting non-subject features and using corresponding non-subjects The tag is used for retrieval and retrieval, which also reduces the scope of image search to speed up retrieval.
步骤S24,获取所述主体图像集合和所述非主体图像集合的并集,确定为所述图像标签对应的图像集合。Step S24: Obtain the union of the subject image set and the non-subject image set, and determine it as the image set corresponding to the image tag.
通过主体标签在预设图像数据库中进行标签匹配度计算,确定该主体特征所对应的主体图像集合;通过非主体标签进行匹配获得非主体特征对应的图像集合,可以理解的是,这两个图像集合中可能包含相同的图像,也可能包含不同的图像,因此,取这两个图像集合的并集作为该待检索图像对应的图像集合,以便后续进一步地从该并集中确定检索结果。The subject tag is calculated in the preset image database to determine the subject image set corresponding to the subject feature; the non subject feature is matched to obtain the image set corresponding to the non subject feature. It can be understood that these two images The set may contain the same image or different images. Therefore, the union of the two image sets is taken as the image set corresponding to the image to be retrieved, so that the retrieval result can be further determined from the union.
步骤S30,基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;Step S30: Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine a candidate image corresponding to the image to be retrieved;
在预先建立图像数据库时,确定了该图像数据库中的图像所对应的预设图像特征,进一步地,通过预设的图像特征提取算法,对待检索图像的图像特征进行提取,基于待检索图像的图像特征,与图像集合中所包含的图像的预设图像特征进行特征度匹配计算,将特征匹配度符合条件、即匹配度较高的图像作为待检索图像对应的备选图像,进一步减少了图像检索的范围。When the image database is established in advance, the preset image features corresponding to the images in the image database are determined, and further, through the preset image feature extraction algorithm, the image features of the image to be retrieved are extracted, based on the image of the image to be retrieved Feature: Perform feature matching calculation with the preset image features of the images contained in the image collection, and use the image with the feature matching degree, that is, the higher matching degree, as the candidate image corresponding to the image to be retrieved, further reducing image retrieval Range.
步骤S40,基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。In step S40, the candidate images are accurately sorted based on a preset sorting algorithm, and the candidate images are output in the sorted order.
通过图像特征的匹配度计算,从确定的图像集合中筛选出匹配度较高的若干个备选图像,假设备选图像个数为n个,则进一步地对这n个备选图像进行高精度重新排序,最终将重新排序后的n个备选图像按照顺序输出。Through the calculation of the matching degree of image features, several candidate images with higher matching degree are selected from the determined image set. Assuming that the number of candidate images is n, then the n candidate images are further processed with high precision Reorder, and finally output the reordered n candidate images in order.
具体地,对n个备选图像进行重新排序采用的预设的排序算法是RANSAC算法,RANSAC算法从匹配数据集(备选图像)中随机抽选4个样本,并保证4个样本之间不共线,计算出4个样本对应的单应性矩阵,记为模型M,然后利用这个模型测试所有数据,并计算满足这个模型的数据点的个数与投影误差,若对应的投影误差最小,则此模型为最优模型,根据该最优模型对备选图像进行匹配度重新排序,最后,按照该确定的顺序输出备选图像,即为该待检索图像的检索结果。Specifically, the preset sorting algorithm used for re-sorting n candidate images is the RANSAC algorithm. The RANSAC algorithm randomly selects 4 samples from the matching data set (candidate images) and ensures that there is no difference between the 4 samples. Collinear, calculate the homography matrix corresponding to the 4 samples, record it as model M, then use this model to test all the data, and calculate the number of data points that meet this model and the projection error. If the corresponding projection error is the smallest, Then this model is the optimal model, and the candidate images are re-sorted according to the optimal model. Finally, the candidate images are output in the determined order, which is the retrieval result of the image to be retrieved.
在本实施例中,首先获取待检索图像,并基于对待检索图像的主体特征和非主体特征进行提取确定对应的图像标签,利用该图像标签在预设的图像数据库中进行检索,确定图像标签对应的图像集合,并进一步地基于预设的图像特征提取算法确定待检索图像的图像特征,以便根据该图像特征在确定的图像集合中进行特征匹配,确定待检索图像所对应的备选图像,最后通过预设的排序算法对备选图像进行精确度排序,并将最终排序后的备选图像进行输出,作为检索结果。本申请提出的图像检索方法,通过主体特征和非主体特征的提取确定图像标签,以进行初步检索缩小了检索范围,再通过图像特征匹配的方式精确地得到与待检索图像匹配的检索结果,最后通过排序算法对检索结果进行重新排序,为用户提供准确度更高的检索结果,提高了图像检索的效率和准确度。In this embodiment, the image to be retrieved is first obtained, and the corresponding image tag is determined based on the subject feature and non-subject feature of the image to be retrieved. The image tag is used to search in the preset image database to determine the image tag corresponding And further determine the image features of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature, determine the candidate image corresponding to the image to be retrieved, and finally The candidate images are sorted accurately through a preset sorting algorithm, and the final sorted candidate images are output as the search result. The image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
进一步的,参照图4,基于上述实施例,提出本申请图像检索方法第二实施例,在本实施例中,所述步骤S30具体包括:Further, referring to FIG. 4, based on the above-mentioned embodiment, a second embodiment of the image retrieval method of the present application is proposed. In this embodiment, the step S30 specifically includes:
步骤S31,基于预设的图像特征提取算法确定所述待检索图像的图像特征;Step S31: Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm;
在预先建立图像数据库时,确定了该图像数据库中的图像所对应的预设图像特征;当需要进行特征匹配时,基于预设的图像特征提取算法确定待检索图像的图像特征,在本实施例中,上述两种图像特征的提取可以采用同一种图像特征提取算法,具体地,是指SIFT算法,图像特征提取主要是从图片中抽取多个具有代表性的关键词(特征点),形成一个字典,再统计每张图片中出现的关键词的数量,从而得到图片的特征向量,预设的图像数据库中的预设图像特征的构建过程如下:When the image database is established in advance, the preset image features corresponding to the images in the image database are determined; when feature matching is required, the image features of the images to be retrieved are determined based on the preset image feature extraction algorithm. In this embodiment In the above two types of image feature extraction, the same image feature extraction algorithm can be used, specifically, it refers to the SIFT algorithm. Image feature extraction mainly extracts multiple representative keywords (feature points) from the picture to form one Dictionary, and then count the number of keywords appearing in each picture to obtain the feature vector of the picture. The process of constructing the preset image features in the preset image database is as follows:
首先,获取大量的样本图像,并通过SIFT对其进行图像特征提取,确定样本图像所对应的图像特征,将对应的样本图像用向量表示,即可得到该样本图像的图像特征向量。同时,利用k-means聚类方法对所有的图像特征进行聚类,将具有相同特征的图像特征聚类至同一类中,具体地,先随机选择k个特征点作为聚类中心,按照其他特征点距离K个中心点的距离,将其与距离最近的中心点关联起来,与同一个中心点关联的所有点组成了一个聚类,并计算每一组聚类的均值,将该组聚类所关联的中心点移动到平均值的位置,再重复执行计算其他特征点距离K个中心点的距离,以便将其放入关联的聚类中,以改变该聚类中心点位置的步骤,直至中心点位置不再改变,这样,就将所有特征点分为了不同的聚类。First, obtain a large number of sample images, and perform image feature extraction on them through SIFT, determine the image features corresponding to the sample image, and represent the corresponding sample image with a vector to obtain the image feature vector of the sample image. At the same time, the k-means clustering method is used to cluster all image features, and image features with the same feature are clustered into the same category. Specifically, k feature points are randomly selected as cluster centers, and other features are selected. The distance between a point and K central points, associate it with the closest central point, all points associated with the same central point form a cluster, and calculate the mean of each group of clusters to cluster the group The associated center point moves to the position of the average value, and then repeats the steps of calculating the distance between other feature points and K center points so as to put them into the associated cluster to change the position of the cluster center point until The position of the center point does not change anymore, so that all the feature points are divided into different clusters.
具体地,利用SIFT进行图像特征提取的过程如下:Specifically, the process of using SIFT for image feature extraction is as follows:
将需要进行图像特征提取的图像与二维高斯函数进行卷积,得到多张不同σ值的高斯图像,这多张不同σ值的高斯图像构成了该图像的尺度空间,表示了其在不同尺度下的图像,构建尺度空间的目的是为了检测出在不同的尺度下都存在的特征点。The image that needs image feature extraction is convolved with a two-dimensional Gaussian function to obtain multiple Gaussian images with different σ values. These multiple Gaussian images with different σ values constitute the scale space of the image, indicating that it is at different scales In the image below, the purpose of constructing the scale space is to detect the feature points that exist at different scales.
在本实施例中,为了提高特征点提取的准确率,可以先将图像降采样处理,得到了不同分辨率下的图像金字塔,再对每层图像进行高斯卷积,这样一来,原本的图像金字塔每层只有一张图像,而再经过高斯卷积后,每层都增加了不同尺度下的图像。In this embodiment, in order to improve the accuracy of feature point extraction, the image can be downsampled first to obtain image pyramids at different resolutions, and then Gaussian convolution is performed on each layer of the image. In this way, the original image Each layer of the pyramid has only one image, and after Gaussian convolution, images of different scales are added to each layer.
进一步地,对上述图像金字塔中每一层的图像进行优化,采用的是DOG(Difference of Gaussian,高斯差分)构建高斯差分图像,具体包括:在获取图像金字塔中每一层的不同尺度下的图像后,用其相邻的图像进行相减,得到所有图像重新构建的金字塔就是DOG金字塔。当得到DOG金字塔后,进一步地寻找DOG极值点,即将每一个像素点与其周围的像素点进行比较,当其大于或者小于所有相邻点时,即为极值点,具体地,相邻点包括该像素点所在同一尺度空间的像素点和相邻尺度空间的像素点。通过上述过程,完成了对图像的特征点的检测及提取,即可确定待检索图像的图像特征。Furthermore, to optimize the images of each layer in the above image pyramid, DOG (Difference of Gaussian (Gaussian difference) to construct a Gaussian difference image, specifically includes: after acquiring images at different scales in each layer of the image pyramid, subtracting them with adjacent images, and obtaining all images to reconstruct the pyramid is the DOG pyramid. After the DOG pyramid is obtained, the DOG extreme point is further searched, that is, each pixel point is compared with the surrounding pixels. When it is greater than or less than all adjacent points, it is an extreme point, specifically, adjacent points Includes pixels in the same scale space where the pixel is located and pixels in adjacent scale spaces. Through the above process, the detection and extraction of the feature points of the image are completed, and the image features of the image to be retrieved can be determined.
步骤S32,从所述预设的图像数据库中获取所述图像集合中的图像对应的预设图像特征,并将所述图像特征和所述图像集合中的图像对应的预设图像特征进行特征度匹配计算,确定匹配分数,以便基于所述匹配分数确定所述待检索图像对应的备选图像。Step S32: Obtain the preset image features corresponding to the images in the image collection from the preset image database, and perform feature evaluation on the image features and the preset image features corresponding to the images in the image collection The matching calculation determines a matching score, so as to determine the candidate image corresponding to the image to be retrieved based on the matching score.
从预设的图像数据库中获取图像集合中的图像对应的预设图像特征,并通过将待检索图像的图像特征与该图像集合中的预设图像特征进行特征度匹配计算,可确定待检索图像的图像特征与图像集合中的每一个预设图像特征对应的特征匹配分数,并基于该匹配分数确定待检索图像对应的备选图像。Obtain the preset image features corresponding to the images in the image collection from the preset image database, and perform feature matching calculations between the image features of the image to be retrieved and the preset image features in the image collection to determine the image to be retrieved A feature matching score corresponding to the image feature of and each preset image feature in the image set, and the candidate image corresponding to the image to be retrieved is determined based on the matching score.
具体地,当确定匹配分数后,根据匹配分数的高低可建立一个匹配列表,对确定的匹配分数按照由高至低的顺序进行排序,并按照顺序选取匹配列表中从首位开始的预设个数的匹配分数,将其对应的图像集合中的若干个图像,作为备选图像,即待检索图像对应的检索结果,并进一步地用排序算法对备选图像的排序进行重新调整,使输出的检索结果更加准确。Specifically, after the matching score is determined, a matching list can be established according to the level of the matching scores, the determined matching scores are sorted from high to low, and the preset number from the first in the matching list is selected in order The matching score of, takes several images in the corresponding image set as candidate images, that is, the search result corresponding to the image to be retrieved, and further uses the sorting algorithm to readjust the ranking of the candidate images to make the output search The result is more accurate.
在本实施例中,当通过图像标签进行初步检索确定对应的图像集合后,再通过预设的图像特征提取算法确定待检索图像的图像特征,并将其与图像集合中的图像对应的预设图像特征进行特征度匹配计算,确定匹配分数,最终确定待检索图像对应的备选图像,并对备选图像进行高精度排序,按照排序后的顺序作为最终输出的检索结果,极大地提高了图像检索的准确率。In this embodiment, after a preliminary search is performed through the image tags to determine the corresponding image set, the image feature of the image to be retrieved is determined by the preset image feature extraction algorithm, and the image feature corresponding to the image in the image set is determined Perform feature matching calculation on image features, determine the matching score, and finally determine the candidate images corresponding to the image to be retrieved, and perform high-precision sorting on the candidate images. The sorted order is used as the final output retrieval result, which greatly improves the image The accuracy of retrieval.
此外,本申请实施例还提供一种图像检索装置。In addition, the embodiment of the present application also provides an image retrieval device.
参照图5,图5为本申请图像检索装置第一实施例的功能模块示意图。Referring to FIG. 5, FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the image retrieval device of this application.
本实施例中,所述图像检索装置包括:In this embodiment, the image retrieval device includes:
特征提取模块10,用于获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;The feature extraction module 10 is configured to obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
标签检索模块20,用于基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;The tag retrieval module 20 is configured to retrieve in a preset image database based on the image tag, and determine the image set corresponding to the image tag;
特征匹配模块30,用于基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;The feature matching module 30 is configured to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the device corresponding to the image to be retrieved Select image
图像排序模块40,用于基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。The image sorting module 40 is configured to accurately sort the candidate images based on a preset sorting algorithm, and output the candidate images in the sorted order.
进一步的,所述特征提取模块10具体包括:Further, the feature extraction module 10 specifically includes:
请求接收单元,用于当接收到图像检索请求时,获取所述图像检索请求对应的待检索图像;The request receiving unit is configured to obtain the image to be retrieved corresponding to the image retrieval request when the image retrieval request is received;
特征提取单元,用于基于预设的特征提取算法对所述待检索图像进行主体特征提取和非主体特征提取,以确定所述待检索图像对应的主体特征和非主体特征,并基于所述主体特征和所述非主体特征确定所述待检索图像对应的图像标签。The feature extraction unit is configured to perform subject feature extraction and non-subject feature extraction on the image to be retrieved based on a preset feature extraction algorithm to determine subject features and non-subject features corresponding to the image to be retrieved, and based on the subject The feature and the non-subject feature determine the image tag corresponding to the image to be retrieved.
进一步的,所述标签检索模块20具体包括:Further, the tag retrieval module 20 specifically includes:
预设图像标签获取单元,用于获取预设的图像数据库中的图像对应的预设图像标签;A preset image tag acquiring unit, configured to acquire a preset image tag corresponding to an image in a preset image database;
主体标签匹配单元,用于将所述主体标签和所述预设图像标签进行匹配,确定所述主体标签对应的主体图像集合;A subject label matching unit, configured to match the subject label with the preset image label, and determine the subject image set corresponding to the subject label;
非主体标签匹配单元,用于将所述非主体标签和所述预设图像标签进行匹配,确定所述非主体标签对应的非主体图像集合;The non-subject tag matching unit is configured to match the non-subject tag with the preset image tag, and determine the non-subject image set corresponding to the non-subject tag;
图像集合获取单元,用于获取所述主体图像集合和所述非主体图像集合的并集,确定为所述图像标签对应的图像集合。The image collection acquisition unit is configured to acquire the union of the subject image collection and the non-subject image collection, and determine it as the image collection corresponding to the image tag.
进一步的,所述图像检索装置还包括:Further, the image retrieval device further includes:
图像数据库建立单元,用于获取样本图像,并基于所述样本图像建立预设的图像数据库;An image database establishment unit for acquiring sample images and establishing a preset image database based on the sample images;
预设图像标签确定单元,用于确定所述预设的图像数据库中的图像对应的预设图像标签,并基于预设的图像特征提取算法确定所述预设的图像数据库中的图像对应的预设图像特征。The preset image tag determination unit is used to determine the preset image tag corresponding to the image in the preset image database, and determine the preset image tag corresponding to the image in the preset image database based on the preset image feature extraction algorithm. Set image characteristics.
进一步的,所述特征匹配模块30具体包括:Further, the feature matching module 30 specifically includes:
图像特征确定单元,用于基于预设的图像特征提取算法确定所述待检索图像的图像特征;An image feature determining unit, configured to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm;
特征度匹配单元,用于从所述预设的图像数据库中获取所述图像集合中的图像对应的预设图像特征,并将所述图像特征和所述图像集合中的图像对应的预设图像特征进行特征度匹配计算,确定匹配分数,以便基于所述匹配分数确定所述待检索图像对应的备选图像。The feature degree matching unit is configured to obtain a preset image feature corresponding to an image in the image collection from the preset image database, and compare the image feature with the preset image corresponding to the image in the image collection The feature performs feature matching calculation to determine a matching score, so as to determine the candidate image corresponding to the image to be retrieved based on the matching score.
进一步地,所述特征度匹配单元还包括:Further, the feature matching unit further includes:
匹配分数排序子单元,用于将所述匹配分数按照从高至低的顺序进行排序,得到匹配列表,并从所述匹配列表的首位开始选取预设个数的匹配分数,将所述预设个数的匹配分数对应的所述图像集合中的图像确定为所述待检索图像对应的备选图像。The matching score sorting subunit is used to sort the matching scores from high to low to obtain a matching list, and select a preset number of matching scores from the top of the matching list, and set the preset The image in the image set corresponding to the number of matching scores is determined as the candidate image corresponding to the image to be retrieved.
其中,上述图像检索装置中各个模块与上述图像检索方法实施例中各步骤相对应,其功能和实现过程在此处不再一一赘述。Among them, each module in the above-mentioned image retrieval device corresponds to each step in the above-mentioned image retrieval method embodiment, and its functions and implementation processes will not be repeated here.
此外,本申请实施例还提出一种计算机可读存储介质,计算机可读存储介质可以为非易失性可读存储介质。In addition, the embodiment of the present application also proposes a computer-readable storage medium, and the computer-readable storage medium may be a non-volatile readable storage medium.
所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上所述的图像检索方法的步骤。The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the image retrieval method described above are realized.
其中,计算机可读指令被执行时所实现的方法可参照本申请图像检索方法的各个实施例,此处不再赘述。For the method implemented when the computer-readable instruction is executed, please refer to the various embodiments of the image retrieval method of this application, which will not be repeated here.
本实施例提供的方案,首先获取待检索图像,并基于对待检索图像的主体特征和非主体特征进行提取确定对应的图像标签,利用该图像标签在预设的图像数据库中进行检索,确定图像标签对应的图像集合,并进一步地基于预设的图像特征提取算法确定待检索图像的图像特征,以便根据该图像特征在确定的图像集合中进行特征匹配,确定待检索图像所对应的备选图像,最后通过预设的排序算法对备选图像进行精确度排序,并将最终排序后的备选图像进行输出,作为检索结果。本申请提出的图像检索方法,通过主体特征和非主体特征的提取确定图像标签,以进行初步检索缩小了检索范围,再通过图像特征匹配的方式精确地得到与待检索图像匹配的检索结果,最后通过排序算法对检索结果进行重新排序,为用户提供准确度更高的检索结果,提高了图像检索的效率和准确度。The solution provided in this embodiment first obtains the image to be retrieved, and extracts and determines the corresponding image label based on the subject feature and non-subject feature of the image to be retrieved, and uses the image tag to search in a preset image database to determine the image label Corresponding image set, and further determine the image feature of the image to be retrieved based on the preset image feature extraction algorithm, so as to perform feature matching in the determined image set according to the image feature to determine the candidate image corresponding to the image to be retrieved, Finally, the candidate images are accurately sorted by a preset sorting algorithm, and the final sorted candidate images are output as the retrieval result. The image retrieval method proposed in this application determines image tags by extracting subject features and non-subject features to perform preliminary retrieval to narrow the retrieval range, and then accurately obtain retrieval results that match the image to be retrieved through image feature matching. Finally, The search results are reordered through the sorting algorithm to provide users with more accurate search results and improve the efficiency and accuracy of image search.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly used in other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种图像检索方法,其中,所述图像检索方法包括以下步骤: An image retrieval method, wherein the image retrieval method includes the following steps:
    获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;Acquiring the image to be retrieved, and performing subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
    基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;Searching in a preset image database based on the image tag, and determining the image set corresponding to the image tag;
    基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the candidate image corresponding to the image to be retrieved;
    基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。The candidate images are accurately sorted based on a preset sorting algorithm, and the candidate images are output in the sorted order.
  2. 如权利要求1所述的图像检索方法,其中,所述获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签的步骤包括:5. The image retrieval method according to claim 1, wherein the image to be retrieved is acquired, and subject feature extraction and non-subject feature extraction are performed on the subject image to be retrieved, so as to determine the subject feature and non-subject feature The steps of the image label corresponding to the image to be retrieved include:
    当接收到图像检索请求时,获取所述图像检索请求对应的待检索图像;When an image retrieval request is received, acquiring the image to be retrieved corresponding to the image retrieval request;
    基于预设的特征提取算法对所述待检索图像进行主体特征提取和非主体特征提取,以确定所述待检索图像对应的主体特征和非主体特征,并基于所述主体特征和所述非主体特征确定所述待检索图像对应的图像标签。Perform subject feature extraction and non-subject feature extraction on the image to be retrieved based on a preset feature extraction algorithm to determine the subject feature and non-subject feature corresponding to the image to be retrieved, and based on the subject feature and the non-subject feature The feature determines the image tag corresponding to the image to be retrieved.
  3. 如权利要求2所述的图像检索方法,其中,所述图像标签包括所述主体特征对应的主体标签、所述非主体特征对应的非主体标签。3. The image retrieval method according to claim 2, wherein the image tag includes a subject label corresponding to the subject feature and a non-subject label corresponding to the non-subject feature.
  4. 如权利要求1所述的图像检索方法,其中,所述基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合的步骤包括:8. The image retrieval method according to claim 1, wherein the step of performing retrieval in a preset image database based on the image tag, and determining the image set corresponding to the image tag comprises:
    获取预设的图像数据库中的图像对应的预设图像标签;Acquiring the preset image tag corresponding to the image in the preset image database;
    将所述主体标签和所述预设图像标签进行匹配,确定所述主体标签对应的主体图像集合;Matching the subject label and the preset image label to determine a subject image set corresponding to the subject label;
    将所述非主体标签和所述预设图像标签进行匹配,确定所述非主体标签对应的非主体图像集合;Matching the non-subject label and the preset image label to determine a non-subject image set corresponding to the non-subject label;
    获取所述主体图像集合和所述非主体图像集合的并集,将所述并集确定为所述图像标签对应的图像集合。A union of the subject image set and the non-subject image set is acquired, and the union is determined as the image set corresponding to the image tag.
  5. 如权利要求1所述的图像检索方法,其中,所述基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合的步骤之前,还包括:5. The image retrieval method according to claim 1, wherein before the step of performing retrieval in a preset image database based on the image tags and determining the image set corresponding to the image tags, the method further comprises:
    获取样本图像,并基于所述样本图像建立预设的图像数据库;Acquiring sample images, and establishing a preset image database based on the sample images;
    确定所述预设的图像数据库中的图像对应的预设图像标签,并基于预设的图像特征提取算法确定所述预设的图像数据库中的图像对应的预设图像特征。The preset image tag corresponding to the image in the preset image database is determined, and the preset image feature corresponding to the image in the preset image database is determined based on a preset image feature extraction algorithm.
  6. 如权利要求1所述的图像检索方法,其中,所述基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像的步骤包括:The image retrieval method according to claim 1, wherein the image feature extraction algorithm based on a preset image feature determines the image feature of the image to be retrieved, and performs feature matching in the image collection according to the image feature to determine The steps of the candidate image corresponding to the image to be retrieved include:
    基于预设的图像特征提取算法确定所述待检索图像的图像特征;Determining the image feature of the image to be retrieved based on a preset image feature extraction algorithm;
    从所述预设的图像数据库中获取所述图像集合中的图像对应的预设图像特征,并将所述图像特征和所述图像集合中的图像对应的预设图像特征进行特征度匹配计算,确定匹配分数,以便基于所述匹配分数确定所述待检索图像对应的备选图像。Acquiring preset image features corresponding to the images in the image collection from the preset image database, and performing feature matching calculations on the image features and the preset image features corresponding to the images in the image collection, The matching score is determined, so as to determine the candidate image corresponding to the image to be retrieved based on the matching score.
  7. 如权利要求6所述的图像检索方法,其中,所述基于所述匹配分数确定所述待检索图像对应的备选图像的步骤包括:8. The image retrieval method according to claim 6, wherein the step of determining the candidate image corresponding to the image to be retrieved based on the matching score comprises:
    将所述匹配分数按照从高至低的顺序进行排序,得到匹配列表,并从所述匹配列表的首位开始选取预设个数的匹配分数,将所述预设个数的匹配分数对应的所述图像集合中的图像确定为所述待检索图像对应的备选图像。Sort the matching scores from high to low to obtain a matching list, and select a preset number of matching scores from the top of the matching list, and assign the preset number of matching scores to all The images in the image set are determined to be candidate images corresponding to the image to be retrieved.
  8. 一种图像检索装置,其中,所述图像检索装置包括:An image retrieval device, wherein the image retrieval device includes:
    特征提取模块,用于获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;The feature extraction module is used to obtain the image to be retrieved, and perform subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
    标签检索模块,用于基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;The tag retrieval module is configured to perform retrieval in a preset image database based on the image tag, and determine the image set corresponding to the image tag;
    特征匹配模块,用于基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;The feature matching module is used to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the candidate corresponding to the image to be retrieved image;
    图像排序模块,用于基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。The image sorting module is configured to accurately sort the candidate images based on a preset sorting algorithm, and output the candidate images in the sorted order.
  9. 如权利要求8所述的图像检索装置,其中,所述特征提取模块具体包括:8. The image retrieval device according to claim 8, wherein the feature extraction module specifically comprises:
    请求接收单元,用于当接收到图像检索请求时,获取所述图像检索请求对应的待检索图像;The request receiving unit is configured to obtain the image to be retrieved corresponding to the image retrieval request when the image retrieval request is received;
    特征提取单元,用于基于预设的特征提取算法对所述待检索图像进行主体特征提取和非主体特征提取,以确定所述待检索图像对应的主体特征和非主体特征,并基于所述主体特征和所述非主体特征确定所述待检索图像对应的图像标签。The feature extraction unit is configured to perform subject feature extraction and non-subject feature extraction on the image to be retrieved based on a preset feature extraction algorithm to determine subject features and non-subject features corresponding to the image to be retrieved, and based on the subject The feature and the non-subject feature determine the image tag corresponding to the image to be retrieved.
  10. 如权利要求8所述的图像检索装置,其中,所述标签检索模块具体包括:8. The image retrieval device according to claim 8, wherein the tag retrieval module specifically comprises:
    预设图像标签获取单元,用于获取预设的图像数据库中的图像对应的预设图像标签;A preset image tag acquiring unit, configured to acquire a preset image tag corresponding to an image in a preset image database;
    主体标签匹配单元,用于将所述主体标签和所述预设图像标签进行匹配,确定所述主体标签对应的主体图像集合;A subject label matching unit, configured to match the subject label with the preset image label, and determine the subject image set corresponding to the subject label;
    非主体标签匹配单元,用于将所述非主体标签和所述预设图像标签进行匹配,确定所述非主体标签对应的非主体图像集合;The non-subject tag matching unit is configured to match the non-subject tag with the preset image tag, and determine the non-subject image set corresponding to the non-subject tag;
    图像集合获取单元,用于获取所述主体图像集合和所述非主体图像集合的并集,确定为所述图像标签对应的图像集合。The image collection acquisition unit is configured to acquire the union of the subject image collection and the non-subject image collection, and determine it as the image collection corresponding to the image tag.
  11. 如权利要求8所述的图像检索装置,其中,所述图像检索装置还包括:8. The image retrieval device according to claim 8, wherein the image retrieval device further comprises:
    图像数据库建立单元,用于获取样本图像,并基于所述样本图像建立预设的图像数据库;An image database establishment unit for acquiring sample images and establishing a preset image database based on the sample images;
    预设图像标签确定单元,用于确定所述预设的图像数据库中的图像对应的预设图像标签,并基于预设的图像特征提取算法确定所述预设的图像数据库中的图像对应的预设图像特征。The preset image tag determination unit is used to determine the preset image tag corresponding to the image in the preset image database, and determine the preset image tag corresponding to the image in the preset image database based on the preset image feature extraction algorithm. Set image characteristics.
  12. 如权利要求8所述的图像检索装置,其中,所述特征匹配模块具体包括:8. The image retrieval device according to claim 8, wherein the feature matching module specifically comprises:
    图像特征确定单元,用于基于预设的图像特征提取算法确定所述待检索图像的图像特征;An image feature determining unit, configured to determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm;
    特征度匹配单元,用于从所述预设的图像数据库中获取所述图像集合中的图像对应的预设图像特征,并将所述图像特征和所述图像集合中的图像对应的预设图像特征进行特征度匹配计算,确定匹配分数,以便基于所述匹配分数确定所述待检索图像对应的备选图像。The feature degree matching unit is configured to obtain a preset image feature corresponding to an image in the image collection from the preset image database, and compare the image feature with the preset image corresponding to the image in the image collection The feature performs feature matching calculation to determine a matching score, so as to determine the candidate image corresponding to the image to be retrieved based on the matching score.
  13. 如权利要求12所述的图像检索设备,其中,所述图像检索设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述计算机可读指令被所述处理器执行时实现如下步骤:The image retrieval device according to claim 12, wherein the image retrieval device comprises: a memory, a processor, and computer-readable instructions stored on the memory and executable on the processor, and the computer can The following steps are implemented when the read instruction is executed by the processor:
    获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;Acquiring the image to be retrieved, and performing subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
    基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;Searching in a preset image database based on the image tag, and determining the image set corresponding to the image tag;
    基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the candidate image corresponding to the image to be retrieved;
    基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。The candidate images are accurately sorted based on a preset sorting algorithm, and the candidate images are output in the sorted order.
  14. 如权利要求13所述的图像检索设备,其中,所述获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签的步骤包括:The image retrieval device according to claim 13, wherein the image to be retrieved is acquired, and subject feature extraction and non-subject feature extraction are performed on the subject image to be retrieved, so as to determine the The steps of the image label corresponding to the image to be retrieved include:
    当接收到图像检索请求时,获取所述图像检索请求对应的待检索图像;When an image retrieval request is received, acquiring the image to be retrieved corresponding to the image retrieval request;
    基于预设的特征提取算法对所述待检索图像进行主体特征提取和非主体特征提取,以确定所述待检索图像对应的主体特征和非主体特征,并基于所述主体特征和所述非主体特征确定所述待检索图像对应的图像标签。Perform subject feature extraction and non-subject feature extraction on the image to be retrieved based on a preset feature extraction algorithm to determine the subject feature and non-subject feature corresponding to the image to be retrieved, and based on the subject feature and the non-subject feature The feature determines the image tag corresponding to the image to be retrieved.
  15. 如权利要求12所述的图像检索设备,其中,所述基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合的步骤包括:The image retrieval device according to claim 12, wherein the step of performing retrieval in a preset image database based on the image tag, and determining the image set corresponding to the image tag comprises:
    获取预设的图像数据库中的图像对应的预设图像标签;Acquiring the preset image tag corresponding to the image in the preset image database;
    将所述主体标签和所述预设图像标签进行匹配,确定所述主体标签对应的主体图像集合;Matching the subject label and the preset image label to determine a subject image set corresponding to the subject label;
    将所述非主体标签和所述预设图像标签进行匹配,确定所述非主体标签对应的非主体图像集合;Matching the non-subject label and the preset image label to determine a non-subject image set corresponding to the non-subject label;
    获取所述主体图像集合和所述非主体图像集合的并集,将所述并集确定为所述图像标签对应的图像集合。A union of the subject image set and the non-subject image set is acquired, and the union is determined as the image set corresponding to the image tag.
  16. 如权利要求12所述的图像检索设备,其中,所述基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合的步骤之前,还包括:The image retrieval device according to claim 12, wherein, before the step of performing retrieval in a preset image database based on the image tags, and determining the image set corresponding to the image tags, the method further comprises:
    获取样本图像,并基于所述样本图像建立预设的图像数据库;Acquiring sample images, and establishing a preset image database based on the sample images;
    确定所述预设的图像数据库中的图像对应的预设图像标签,并基于预设的图像特征提取算法确定所述预设的图像数据库中的图像对应的预设图像特征。The preset image tag corresponding to the image in the preset image database is determined, and the preset image feature corresponding to the image in the preset image database is determined based on a preset image feature extraction algorithm.
  17. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:A computer-readable storage medium, wherein computer-readable instructions are stored on the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, the following steps are implemented:
    获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签;Acquiring the image to be retrieved, and performing subject feature extraction and non-subject feature extraction on the image to be retrieved, so as to determine the image label corresponding to the image to be retrieved based on the extracted subject feature and non-subject feature;
    基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合;Searching in a preset image database based on the image tag, and determining the image set corresponding to the image tag;
    基于预设的图像特征提取算法确定所述待检索图像的图像特征,并根据所述图像特征在所述图像集合中进行特征匹配,确定所述待检索图像对应的备选图像;Determine the image feature of the image to be retrieved based on a preset image feature extraction algorithm, and perform feature matching in the image set according to the image feature to determine the candidate image corresponding to the image to be retrieved;
    基于预设的排序算法对所述备选图像进行精确度排序,并按照排序后的顺序输出所述备选图像。The candidate images are accurately sorted based on a preset sorting algorithm, and the candidate images are output in the sorted order.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述获取待检索图像,并对所述待检索图像进行主体特征提取和非主体特征提取,以便基于提取的主体特征和非主体特征确定所述待检索图像对应的图像标签的步骤包括:The computer-readable storage medium according to claim 17, wherein said acquiring the image to be retrieved, and performing subject feature extraction and non-subject feature extraction on the retrieved image, so as to determine based on the extracted subject feature and non-subject feature The steps of the image label corresponding to the image to be retrieved include:
    当接收到图像检索请求时,获取所述图像检索请求对应的待检索图像;When an image retrieval request is received, acquiring the image to be retrieved corresponding to the image retrieval request;
    基于预设的特征提取算法对所述待检索图像进行主体特征提取和非主体特征提取,以确定所述待检索图像对应的主体特征和非主体特征,并基于所述主体特征和所述非主体特征确定所述待检索图像对应的图像标签。Perform subject feature extraction and non-subject feature extraction on the image to be retrieved based on a preset feature extraction algorithm to determine the subject feature and non-subject feature corresponding to the image to be retrieved, and based on the subject feature and the non-subject feature The feature determines the image tag corresponding to the image to be retrieved.
  19. 如权利要求17所述的计算机可读存储介质,其中,所述基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合的步骤包括:17. The computer-readable storage medium according to claim 17, wherein the step of searching in a preset image database based on the image tag, and determining the image set corresponding to the image tag comprises:
    获取预设的图像数据库中的图像对应的预设图像标签;Acquiring the preset image tag corresponding to the image in the preset image database;
    将所述主体标签和所述预设图像标签进行匹配,确定所述主体标签对应的主体图像集合;Matching the subject label and the preset image label to determine a subject image set corresponding to the subject label;
    将所述非主体标签和所述预设图像标签进行匹配,确定所述非主体标签对应的非主体图像集合;Matching the non-subject label and the preset image label to determine a non-subject image set corresponding to the non-subject label;
    获取所述主体图像集合和所述非主体图像集合的并集,将所述并集确定为所述图像标签对应的图像集合。A union of the subject image set and the non-subject image set is acquired, and the union is determined as the image set corresponding to the image tag.
  20. 如权利要求17所述的计算机可读存储介质,其中,所述基于所述图像标签在预设的图像数据库中进行检索,确定所述图像标签对应的图像集合的步骤之前,还包括:17. The computer-readable storage medium of claim 17, wherein before the step of searching in a preset image database based on the image tags and determining the image set corresponding to the image tags, the method further comprises:
    获取样本图像,并基于所述样本图像建立预设的图像数据库;Acquiring sample images, and establishing a preset image database based on the sample images;
    确定所述预设的图像数据库中的图像对应的预设图像标签,并基于预设的图像特征提取算法确定所述预设的图像数据库中的图像对应的预设图像特征。 The preset image tag corresponding to the image in the preset image database is determined, and the preset image feature corresponding to the image in the preset image database is determined based on a preset image feature extraction algorithm. To
PCT/CN2019/117191 2019-03-16 2019-11-11 Image retrieval method, apparatus and device, and computer-readable storage medium WO2020186777A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910206127.1A CN110059212A (en) 2019-03-16 2019-03-16 Image search method, device, equipment and computer readable storage medium
CN201910206127.1 2019-03-16

Publications (1)

Publication Number Publication Date
WO2020186777A1 true WO2020186777A1 (en) 2020-09-24

Family

ID=67317201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117191 WO2020186777A1 (en) 2019-03-16 2019-11-11 Image retrieval method, apparatus and device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN110059212A (en)
WO (1) WO2020186777A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059212A (en) * 2019-03-16 2019-07-26 平安科技(深圳)有限公司 Image search method, device, equipment and computer readable storage medium
CN110633740B (en) * 2019-09-02 2024-04-09 平安科技(深圳)有限公司 Image semantic matching method, terminal and computer readable storage medium
CN110751668B (en) * 2019-09-30 2022-12-27 北京迈格威科技有限公司 Image processing method, device, terminal, electronic equipment and readable storage medium
CN112561893A (en) * 2020-12-22 2021-03-26 平安银行股份有限公司 Picture matching method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140307930A1 (en) * 2013-04-15 2014-10-16 Drvision Technologies Llc Teachable object contour mapping for biology image region partition
CN107103002A (en) * 2016-02-22 2017-08-29 南京中兴新软件有限责任公司 The search method and device of image
CN107577687A (en) * 2016-07-20 2018-01-12 北京陌上花科技有限公司 Image search method and device
CN108228761A (en) * 2017-12-21 2018-06-29 深圳市商汤科技有限公司 The customized image search method in support area and device, equipment, medium
CN108280190A (en) * 2018-01-24 2018-07-13 深圳前海大数金融服务有限公司 Image classification method, server and storage medium
CN110059212A (en) * 2019-03-16 2019-07-26 平安科技(深圳)有限公司 Image search method, device, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927387B (en) * 2014-04-30 2017-06-16 成都理想境界科技有限公司 Image indexing system and its correlation technique and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140307930A1 (en) * 2013-04-15 2014-10-16 Drvision Technologies Llc Teachable object contour mapping for biology image region partition
CN107103002A (en) * 2016-02-22 2017-08-29 南京中兴新软件有限责任公司 The search method and device of image
CN107577687A (en) * 2016-07-20 2018-01-12 北京陌上花科技有限公司 Image search method and device
CN108228761A (en) * 2017-12-21 2018-06-29 深圳市商汤科技有限公司 The customized image search method in support area and device, equipment, medium
CN108280190A (en) * 2018-01-24 2018-07-13 深圳前海大数金融服务有限公司 Image classification method, server and storage medium
CN110059212A (en) * 2019-03-16 2019-07-26 平安科技(深圳)有限公司 Image search method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110059212A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
WO2020186777A1 (en) Image retrieval method, apparatus and device, and computer-readable storage medium
WO2021132927A1 (en) Computing device and method of classifying category of data
WO2020082562A1 (en) Symbol identification method, apparatus, device, and storage medium
WO2012115332A1 (en) Device and method for analyzing the correlation between an image and another image or between an image and a video
WO2020000643A1 (en) Method and device for detecting pulmonary nodule in ct image, and readable storage medium
WO2016171341A1 (en) Cloud-based pathology analysis system and method
WO2019033571A1 (en) Facial feature point detection method, apparatus and storage medium
JP7405200B2 (en) person detection system
WO2011096651A2 (en) Face identification method and device thereof
WO2021051558A1 (en) Knowledge graph-based question and answer method and apparatus, and storage medium
JP2004234228A (en) Image search device, keyword assignment method in image search device, and program
CN110929770A (en) Intelligent tracking method, system and equipment based on image processing and readable medium
WO2020032487A1 (en) Method for providing information related to goods on basis of priority and electronic device therefor
WO2020186774A1 (en) Positioning method and apparatus based on image detection, and device and storage medium
WO2013073805A1 (en) Method and apparatus for searching an image, and computer-readable recording medium for executing the method
WO2020251233A1 (en) Method, apparatus, and program for obtaining abstract characteristics of image data
WO2018131875A1 (en) Display apparatus and method for providing service thereof
WO2020087704A1 (en) Credit information management method, apparatus, and device, and storage medium
WO2019088651A1 (en) Apparatus and method for extracting video of interest within source video
WO2021012508A1 (en) Ai image recognition method, apparatus and device, and storage medium
WO2019132566A1 (en) Method for automatically generating multi-depth image
JPH08235341A (en) Method and device for document filing
WO2022100376A1 (en) Text paragraph structure restoration method and apparatus, and device and computer storage medium
WO2019156543A2 (en) Method for determining representative image of video, and electronic device for processing method
WO2020207038A1 (en) People counting method, apparatus, and device based on facial recognition, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19919766

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19919766

Country of ref document: EP

Kind code of ref document: A1