CN111831841B - Information retrieval method, device, electronic equipment and storage medium - Google Patents

Information retrieval method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111831841B
CN111831841B CN201910317696.3A CN201910317696A CN111831841B CN 111831841 B CN111831841 B CN 111831841B CN 201910317696 A CN201910317696 A CN 201910317696A CN 111831841 B CN111831841 B CN 111831841B
Authority
CN
China
Prior art keywords
library
snapshot
target
image library
identity
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910317696.3A
Other languages
Chinese (zh)
Other versions
CN111831841A (en
Inventor
谭翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910317696.3A priority Critical patent/CN111831841B/en
Publication of CN111831841A publication Critical patent/CN111831841A/en
Application granted granted Critical
Publication of CN111831841B publication Critical patent/CN111831841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/51Indexing; Data structures therefor; Storage structures
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides an information retrieval method, an information retrieval device, electronic equipment and a storage medium. The database on which the method is based is a preset reference image library and a snapshot image library, wherein the reference image library comprises storage items of reference images, identity information and identity identifiers of specified objects; the snapshot image library comprises a storage item of a snapshot image and an identity of a snapshot object; the method comprises the following steps: obtaining a retrieval condition to be utilized; selecting a primary retrieval library matched with the retrieval conditions from a reference image library and a snapshot image library; retrieving primary storage items meeting the retrieval conditions from a primary retrieval library, and extracting target identity marks from the primary storage items; determining a target storage item comprising a target identity from another image library; and determining a target retrieval result corresponding to the retrieval condition based on the target storage item. Compared with the prior art, the scheme provided by the embodiment of the invention can realize more comprehensive information retrieval of an object.

Description

Information retrieval method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video data management technologies, and in particular, to an information retrieval method, an information retrieval device, an electronic device, and a storage medium.
Background
With the continuous development of security technology, the video monitoring system is intuitive, convenient and rich in information content and is widely applied to a plurality of occasions, such as public transportation hubs of stations, airports and the like, and important departments of enterprises of storehouses, research and development laboratories and the like.
In order to further improve safety, personnel entering and exiting the monitored area can be analyzed. In the related art, face detection is performed on a monitoring video of a monitoring area, so that face snapshot is performed on people entering and exiting the monitoring area, snapshot images are obtained, and a snapshot image library storing the snapshot images is built. Therefore, after the snapshot image library is established, when the video monitoring system captures the face image again, whether the snapshot image matched with the captured face image exists or not can be searched in the established snapshot image library, and whether the captured person enters or exits the monitoring area or not is determined.
However, in the above-described technique, with the snapshot image library, it is only possible to determine whether or not the person to be snapshot has once entered and exited the monitoring area, and when it is determined that the person to be snapshot has once entered and exited the monitoring area, the identity data of the person, for example, the name, age, etc., of the person cannot be further determined; in addition, in the case of knowing the identity data of a person, it is impossible to determine whether the person has entered or exited the monitoring area using the snapshot image library.
Based on this, there is a need for an information retrieval method to achieve a more comprehensive information retrieval for personnel.
Disclosure of Invention
The embodiment of the invention aims to provide an information retrieval method, an information retrieval device, electronic equipment and a storage medium, so as to realize more comprehensive information retrieval of an object. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an information retrieval method, where a database based on the method is a preset reference image library and a snapshot image library, where the reference image library includes storage entries of reference images, identity information and identity identifiers about a specified object; the snapshot image library comprises a storage item of a snapshot image and an identity mark of a snapshot object; any designated object and the matched snapshot object have the same identity, and the method comprises the following steps:
obtaining a retrieval condition to be utilized; the condition to be searched is any kind of data contained in the reference image library and the snap image library;
selecting a primary retrieval library matched with the retrieval conditions from the reference image library and the snap image library;
retrieving primary storage items meeting the retrieval conditions from the primary retrieval library, and extracting target identification marks from the primary storage items;
Determining a target storage item comprising the target identity from the reference image library and the image libraries except the primary retrieval library in the snapshot image library;
and determining a target retrieval result corresponding to the retrieval condition based on the target storage item.
Optionally, in a specific implementation manner, the generating manner of each storage entry in the snap image library includes:
acquiring a snapshot image of a snapshot object;
searching a storage item, which is matched with the snapshot image of the snapshot object, of the included reference image in the reference image library, and acquiring an identity in the searched storage item as the identity of the snapshot object;
a stored entry is generated for the snap shot image and the identity of the snap shot object.
Optionally, in a specific implementation manner, each storage entry of the snapshot image library further includes: the storage item comprises shooting information corresponding to the snap shot image.
Optionally, in a specific implementation manner, the search condition includes: target identity information or target reference images of the specified objects to be retrieved;
the step of selecting a primary search library matched with the search condition from the reference image library and the snap image library comprises the following steps:
Selecting the reference image library from the reference image library and the snapshot image library as a primary retrieval library matched with target identity information or target images of the specified object to be retrieved;
the step of searching the primary storage item meeting the searching condition from the primary searching library and extracting the target identity from the primary storage item comprises the following steps:
and retrieving a primary storage item comprising the target identity information or the target image from the reference image library, and extracting a target image identification from the primary storage item.
Optionally, in a specific implementation manner, the search condition includes: a target snapshot image to be retrieved;
the step of selecting a primary search library matched with the search condition from the reference image library and the snap image library comprises the following steps:
selecting the snapshot image library from the reference image library and the snapshot image library as a primary retrieval library matched with the target snapshot image to be retrieved;
the step of searching the primary storage item meeting the searching condition from the primary searching library and extracting the target identity from the primary storage item comprises the following steps:
And in the snapshot image library, retrieving a primary storage item comprising the target snapshot image, and extracting a target image identification from the primary storage item.
Optionally, in a specific implementation manner, the search condition includes: target shooting information;
the step of selecting a primary search library matched with the search condition from the reference image library and the snap image library comprises the following steps:
selecting a snapshot image library from the reference image library and the snapshot image library as a primary retrieval library matched with the target shooting information;
the step of searching the primary storage item meeting the searching condition from the primary searching library and extracting the target identity from the primary storage item comprises the following steps:
and retrieving a primary storage item comprising the target shooting information from the snapshot image library, and extracting a target image identification from the primary storage item.
In a second aspect, an embodiment of the present invention provides an information retrieval device, where a database on which the device is based is a preset reference image library and a snapshot image library, where the reference image library includes storage entries of reference images, identity information, and identity identifiers about a specified object; the snapshot image library comprises a storage item of a snapshot image and an identity mark of a snapshot object; the identity of any designated object is the same as that of a matched snapshot object, and the device comprises:
The condition acquisition module is used for acquiring the retrieval condition to be utilized; the condition to be searched is any kind of data contained in the reference image library and the snap image library;
the search library selection module is used for selecting a primary search library matched with the search condition from the reference image library and the snap image library;
the identification extraction module is used for retrieving primary storage items meeting the retrieval conditions from the primary retrieval library and extracting target identification from the primary storage items;
the item determining module is used for determining a target storage item comprising the target identity from the reference image library and the image libraries except the primary retrieval library in the snapshot image library;
and the result determining module is used for determining a target search result corresponding to the search condition based on the target storage item.
Optionally, in a specific implementation manner, the device further includes an entry generation module, configured to generate each storage entry in the snapshot image library; the item generation module comprises:
the image acquisition sub-module is used for acquiring a snap image of a snap object;
The identification acquisition sub-module is used for searching a storage item matched with the snapshot image of the snapshot object and comprising the reference image in the reference image library, and acquiring an identity in the searched storage item as the identity of the snapshot object;
and the item generation sub-module is used for generating a storage item of the snap image and the identity mark of the snap object.
Optionally, in a specific implementation manner, each storage entry of the snapshot image library further includes: the storage item comprises shooting information corresponding to the snap shot image.
Optionally, in a specific implementation manner, the search condition includes: target identity information or target reference images of the specified objects to be retrieved;
the search library selection module is specifically configured to: selecting the reference image library from the reference image library and the snapshot image library as a primary retrieval library matched with target identity information or target images of the specified object to be retrieved;
the identification extraction module is specifically configured to: and retrieving a primary storage item comprising the target identity information or the target image from the reference image library, and extracting a target image identification from the primary storage item.
Optionally, in a specific implementation manner, the search condition includes: a target snapshot image to be retrieved;
the search library selection module is specifically configured to: selecting the snapshot image library from the reference image library and the snapshot image library as a primary retrieval library matched with the target snapshot image to be retrieved;
the identification extraction module is specifically configured to: and in the snapshot image library, retrieving a primary storage item comprising the target snapshot image, and extracting a target image identification from the primary storage item.
Optionally, in a specific implementation manner, the search condition includes: target shooting information;
the search library selection module is specifically configured to: selecting a snapshot image library from the reference image library and the snapshot image library as a primary retrieval library matched with the target shooting information;
the identification extraction module is specifically configured to: and retrieving a primary storage item comprising the target shooting information from the snapshot image library, and extracting a target image identification from the primary storage item.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
A memory for storing a computer program;
and a processor, configured to implement any of the method steps in the information retrieval method provided in the first aspect when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, implements any of the method steps of an information retrieval method provided in the first aspect.
In the above, by applying the scheme provided by the embodiment of the invention, the reference image library and the snapshot image library are pre-constructed, wherein the reference image library comprises storage items of reference images, identity information and identity marks of the appointed object, and the snapshot image library comprises storage items of snapshot images and identity marks of the snapshot object. Because the identity of any appointed object is the same as the identity of the matched snapshot object, the pre-constructed reference image library and the snapshot image library are connected with each other through the identity. In this way, when any type of data included in the reference image library and the snapshot image library is used as the retrieval condition to be utilized, the target retrieval result corresponding to the retrieval condition can be determined based on the storage items included in the reference image library and the snapshot image library through the target identity corresponding to the retrieval condition, so that a more comprehensive information retrieval is realized on an object, wherein the object can be a designated object or a snapshot object.
In addition, since the pre-constructed reference image library and the snapshot image library are connected with each other through the identity, the identity of each specified object is uniquely determined. Therefore, when the reference image of a certain object in the reference image library is updated, for example, when the reference image of the object is updated to be the time closest to the current time, the image obtained by shooting the object can not influence the corresponding relation between the reference image library and the snapshot image library, so that the snapshot image library does not need to be updated.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a generating manner of each storage entry included in a snapshot image library according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an information retrieval method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another information retrieval method according to an embodiment of the present invention;
FIG. 4 is a flowchart of another information retrieval method according to an embodiment of the present invention;
FIG. 5 is a flowchart of another information retrieval method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an information retrieval device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the related art, using a snapshot image library, only whether a person to be snapshot has entered or not has been entered or not can be determined, and when it is determined that the person to be snapshot has entered or exits the monitoring area, identity data of the person, such as name, age, etc., of the person cannot be further determined; in addition, in the case of knowing the identity data of a person, it is impossible to determine whether the person has entered or exited the monitoring area using the snapshot image library. In order to solve the technical problems, an embodiment of the present invention provides an information retrieval method.
The information retrieval method provided by the embodiment of the invention can be applied to any electronic equipment needing information retrieval, such as a notebook computer, a desktop computer, a tablet computer and the like, and is not particularly limited, and the embodiment of the invention is hereinafter referred to as electronic equipment.
In order to facilitate understanding of the information retrieval method provided by the embodiment of the present invention, before describing the method, a database utilized by the method is first described.
Specifically, the information retrieval method provided by the embodiment of the invention is realized based on a preset reference image library and a snapshot image library. The reference image library comprises storage items of reference images, identity information and identity marks of specified objects, and the snapshot image library comprises storage items of snapshot images and identity marks of snapshot objects; the identity of any designated object is the same as the identity of the matched snapshot object.
The appointed object and the snap shot object belong to the same type of object, for example, the appointed object and the snap shot object can be automobiles, then, a reference image of the appointed object can be a license plate image of the appointed automobile, identity information can be related information of license plate numbers, automobile types and automobile owners of the automobiles, and the corresponding snap shot image of the snap shot object is a license plate image of the automobile entering and exiting the monitoring area, which is snapped by the video monitoring system; for example, the designated object and the snap shot object are both people, so that the reference image of the designated object can be a face image of the designated person, the identity information can be the name, age, work unit, identity card number and the like of the person, and the corresponding snap shot image of the snap shot object is the face image of the person entering and exiting the monitoring area, which is snapped by the video monitoring system.
Of course, in addition to the above examples, in the embodiment of the present invention, the specified object and the reference object may be other types of objects. Likewise, the reference image, the identity information and the identity identifier of the specified object and the snapshot image of the snapshot object can be images and information of other contents. The embodiment of the present invention is not particularly limited in this regard.
In addition, in the embodiment of the invention, the identity of the reference object is a preset identity which is uniquely corresponding to the reference object. For example, when the designated object is an automobile, the license plate number of the automobile can be used as the identity of the automobile, and obviously, in this case, the license plate number of the automobile is not used as the identity information of the automobile; when the designated object is a person, the identification card number of the person can be used as the identification of the person, and obviously, in this case, the identification card number of the person is no longer used as the identification information of the person. Of course, in the embodiment of the present invention, the identity may be set for the reference object according to other rules, which is not limited in detail.
In the embodiment of the invention, the identity is a unique corresponding identity preset for the reference object. And the identity of any appointed object is the same as the identity of the matched snapshot object, the identity in the storage item included in the snapshot image library can be stated to be determined after the snapshot image of the snapshot object is matched with the reference object included in each storage item of the reference image library to obtain a matching result. That is, in an embodiment of the present invention, the snapshot image library is constructed based on the reference image library.
The reference image library and the snapshot image library can be built by the electronic equipment, or can be sent to the electronic equipment after the construction of other electronic equipment in communication connection with the electronic equipment is completed, which is reasonable.
Specifically, when the electronic device builds the reference image library and the snapshot image library, the electronic device builds:
for the reference image library, the electronic device may acquire a reference image, identity information, and an identity of each specified object, and further, for each specified object, generate a storage entry including the reference image, the identity information, and the identity of the specified object. The reference image, the identity information and the identity identification of each specified object can be directly input into the electronic equipment, or can be sent to the electronic equipment by other electronic equipment in communication connection with the electronic equipment, which is reasonable.
For a snapshot image library, fig. 1 is a flow chart of a generating manner of each storage entry included in the snapshot image library in a specific implementation manner. As shown in fig. 1, in this specific implementation, the generation manner of each storage entry included in the snapshot image library may include the following steps:
S101: acquiring a snapshot image of a snapshot object;
the electronic device can acquire a snap image of a snap object through various methods.
Optionally, in one embodiment, the video monitoring system performs snapshot object detection during a recording process of the monitoring video. When a snapshot object is detected, the video monitoring system can take a snapshot of the snapshot object, and a snapshot image of the snapshot object is obtained. Furthermore, the video monitoring system can send the captured image to the electronic equipment. Thus, the electronic equipment can acquire the snapshot image of the snapshot object sent by the video monitoring system.
For example, when the snapshot object is a person and the snapshot image of the snapshot object is a face image, the video monitoring system can perform personnel detection in the recording process of the monitoring video. When a person is detected, the video monitoring system can take a snapshot of the face of the person to obtain a face image of the person, and the face image is generated to the electronic equipment. Thus, the electronic equipment can obtain the face image, namely a snapshot image of a snapshot object.
Alternatively, in another embodiment, the video monitoring system may send the recorded monitoring video to the electronic device. Furthermore, after the electronic device obtains the monitoring video, the electronic device can perform snapshot object detection on each video frame of the monitoring video. When a snap shot object is detected, the electronic device may extract a snap shot image of the snap shot object from the video frame.
For example, when the snapshot object is a person and the snapshot image of the snapshot object is a face image, for the obtained monitoring video, a person can be detected for each video frame of the monitoring video. When a person is detected, the electronic device can extract a face image of the person from the video frame, so that a snapshot image of the snapshot object is obtained.
S102: in a reference image library, retrieving a storage item, which is matched with the snapshot image of the snapshot object, of the included reference image, and acquiring an identity in the retrieved storage item as the identity of the snapshot object;
after obtaining a snapshot image of a snapshot object, the electronic device compares the snapshot image with reference images included in each storage item of the reference image library, so as to retrieve a storage item, wherein the storage item is matched with the snapshot image of the snapshot object, of the reference images included in the storage item. Therefore, the reference image record included in the retrieved storage item is the reference image matched with the snapshot image, that is, the formulation object corresponding to the retrieved storage item is matched with the snapshot image. Thus, the electronic equipment can acquire the identity in the retrieved storage item as the identity of the snapshot object.
The electronic device may compare the snapshot image with the reference image of each reference object in a plurality of ways, which is not specifically limited in the embodiments of the present invention.
For example, the electronic device may determine the feature data of the captured image and each image through an image recognition algorithm, and compare the obtained feature data, so as to obtain the matching degree of the captured image and the feature data of each image. Furthermore, when the obtained matching degree is greater than the preset yes threshold for a certain reference image, the electronic device can determine the storage item where the reference image is located as the storage item matched with the snapshot image of the snapshot object.
Wherein, when there may be a plurality of stored items in the reference image library that match the snap-shot image obtained in step S101 described above:
in one embodiment, the electronic device may use the identity in each determined storage entry as the identity of the snapshot object, i.e., the snapshot image may have multiple identities. That is, the storage items comprising the snapshot image in the generated snapshot image library comprise a plurality of identification marks;
in another embodiment, the electronic device may determine the storage entry with the determined maximum matching degree as the storage entry matched with the snapshot image of the snapshot object, and use the identity in the storage entry with the maximum matching degree as the identity of the snapshot object, that is, the snapshot image has an identity. That is, the storage item including the snapshot image in the generated snapshot image library includes an identity;
In still another embodiment, the electronic device may arrange the determined plurality of storage entries in the order of the determined matching degree from large to small, further, starting from the storage entry arranged in the first position, determine a preset number of storage entries as storage entries matching the snapshot image of the snapshot object, and use the identity in the storage entries as the identity of the snapshot object, that is, the snapshot object has a preset number of identities. That is, the storage items comprising the snapshot image in the generated snapshot image library comprise a plurality of identification marks; the specific number of the preset number may be defined according to the actual application requirement, which is not specifically defined in the embodiment of the present invention.
S103: a stored entry is generated for the snap shot image and the identity of the snap shot object.
After obtaining the identity of the snapshot object, the electronic device may generate a stored entry for the snapshot image and the identity of the snapshot object.
Based on this, when each storage entry in the snapshot image library obtained by using the generating manner shown in fig. 1 is used, each storage entry includes a snapshot image and at least one identity, and each identity is the identity of a reference object matched with the snapshot object in the reference image library.
In addition, it can be understood that when the electronic device acquires a snapshot image of a snapshot object, shooting information corresponding to the snapshot image can also be acquired. Thus, optionally, in a specific implementation, each storage entry of the snapshot image library further includes: the storage item comprises shooting information corresponding to the snap shot image.
The snapshot information may include a shooting time and/or a shooting place, wherein the shooting place may be represented by an image acquisition device identifier for capturing the snapshot image in the video monitoring system, and of course, the shooting place may also be represented by an identifier of the place where the snapshot object is located when the snapshot image is captured, which is all reasonable.
Specifically, when the electronic device acquires a snapshot image of a snapshot object sent by the video monitoring system, the video monitoring system may also generate a shooting time and/or a shooting location of the snapshot image to the electronic device.
When the electronic equipment obtains a snapshot image of a snapshot object by carrying out snapshot object detection on the obtained monitoring video, the electronic equipment can obtain the acquisition time of a video frame where the snapshot image is located and determine the shooting time of the snapshot object; in addition, the electronic device may determine the shooting location of the captured image according to the image capturing device identifier of the acquired monitoring video, or determine the shooting location of the captured image according to the location identifier included in the video identifier of the monitoring video, which is reasonable.
Of course, the electronic device may also determine the shooting time and/or shooting location of each captured image in other manners, which is not limited in particular.
On the basis of obtaining the reference image library and the snapshot image library, the electronic equipment can execute the information retrieval method provided by the embodiment of the invention.
Fig. 2 is a flow chart of an information retrieval method according to an embodiment of the present invention. As shown in fig. 2, the method may include:
s201: obtaining a retrieval condition to be utilized;
the condition to be searched is any kind of data contained in the reference image library and the snapshot image library;
in the information retrieval method provided by the embodiment of the invention, any kind of data contained in the reference image library and the snap image library can be used as retrieval conditions to be utilized according to different retrieval requirements.
For example, when it is desired to determine identity information of a person corresponding to the snap image, the condition to be retrieved may be: a target snapshot image to be retrieved; when it is desired to determine information about the entrance and exit of a person with a certain identity into and from a monitoring area, the search condition may be: target identity information or target reference images of the specified objects to be retrieved.
In addition, when the captured image includes the captured information of the captured image, the search condition may also be the target captured information. Thus, the snapshot object corresponding to the target shooting information can be determined, and further, the identity information of the snapshot object corresponding to the target shooting information can also be determined.
Based on the above, the electronic device can obtain the search condition to be utilized corresponding to the search requirement according to different search requirements.
S202: selecting a primary retrieval library matched with the retrieval conditions from a reference image library and a snapshot image library;
and after obtaining the retrieval conditions to be utilized, the electronic equipment can select a primary retrieval library matched with the retrieval conditions from the reference image library and the snapshot image library.
In step S202, the electronic device may first determine the data type of the above-mentioned search condition, and then, according to the determined data type, select a primary search library matching the search condition from the reference image library and the snapshot image library, that is, select an image library including the determined data type from the reference image library and the snapshot image library as the primary search library.
S203: retrieving primary storage items meeting the retrieval conditions from a primary retrieval library, and extracting target identity marks from the primary storage items;
after the primary search library is selected, the electronic device can determine, for each storage item of the selected primary search library, whether the storage item satisfies the above search condition. Further, when it is determined that the stored item satisfies the above-described search condition, the electronic device may determine the search item as a primary search item that satisfies the search condition. Furthermore, the electronic device may extract the identity included in the determined primary storage entry, and use the extracted identity as the target identity.
When the determined primary storage entry includes a plurality of identities, the electronic device may determine that the plurality of identities included in the primary storage entry are all target identities.
S204: determining target storage items including target identity marks from the reference image library and the snapshot image library except the primary retrieval library;
when the electronic device executes the above step S202, the primary search library is selected from the reference image library and the snapshot image library, and then another image library can be used as the image library for the electronic device to execute the step S204.
For example, when the primary search pool is the reference image pool, the image pool targeted by the electronic device executing step S204 is the snap image pool; when the primary search pool is a snap image pool, the electronic device executes the image pool targeted by step S204 as a reference image pool.
In this way, after the target identity is obtained, the electronic device determines, for each storage entry of the other image library, whether the storage entry includes the target identity, and when the determination result is that the storage entry is included, the electronic device may determine the storage entry as the target storage entry.
When the determined target identity is multiple, the electronic device can judge whether each storage item in the other image library comprises the target identity according to each target identity, so that when the judging result is that the target storage item corresponding to the target identity is determined. In this way, the electronic device can determine a plurality of target storage entries.
S205: and determining a target retrieval result corresponding to the retrieval condition based on the target storage item.
After determining the target storage item, the electronic device may determine a target search result corresponding to the search condition based on the target storage item.
In addition, after determining the target search result, the electronic device may display the target search result on a screen, or may send the target search result to other electronic devices connected in communication. Of course, the electronic device may perform other operations on the target search result, which is not specifically limited in the embodiment of the present invention.
The electronic device can determine the target retrieval result corresponding to the retrieval condition based on the target storage item in various modes.
Optionally, in an embodiment, the electronic device may determine the determined target storage entry as a target search result corresponding to the search condition based on the target storage entry.
Alternatively, in another embodiment, the electronic device may determine the content included in the determined target storage entry as the target search result corresponding to the search condition.
Alternatively, in yet another embodiment, the electronic device may determine the target search result corresponding to the search condition based on the primary search entry and the target search entry.
For example, the primary search item and the target search item are determined as target search results corresponding to the search conditions;
For another example, the contents included in the primary search entry and the target search entry are determined as target search results corresponding to the search conditions.
Further, it is understood that, when the specific contents of the search conditions to be utilized are different, the specific manner in which the electronic apparatus performs the above-described step S202 and step S203 may also be different. For the sake of clarity, the specific manner of step S202 and step S203 corresponding to different search conditions will be described by way of example.
In the above, by applying the scheme provided by the embodiment of the invention, the reference image library and the snapshot image library are pre-constructed, wherein the reference image library comprises storage items of reference images, identity information and identity marks of the appointed object, and the snapshot image library comprises storage items of snapshot images and identity marks of the snapshot object. Because the identity of any appointed object is the same as the identity of the matched snapshot object, the pre-constructed reference image library and the snapshot image library are connected with each other through the identity. In this way, when any type of data included in the reference image library and the snapshot image library is used as the retrieval condition to be utilized, the target retrieval result corresponding to the retrieval condition can be determined based on the storage items included in the reference image library and the snapshot image library through the target identity corresponding to the retrieval condition, so that a more comprehensive information retrieval is realized on an object, wherein the object can be a designated object or a snapshot object.
In addition, since the pre-constructed reference image library and the snapshot image library are connected with each other through the identity, the identity of each specified object is uniquely determined. Therefore, when the reference image of a certain object in the reference image library is updated, for example, when the reference image of the object is updated to be the time closest to the current time, the image obtained by shooting the object can not influence the corresponding relation between the reference image library and the snapshot image library, so that the snapshot image library does not need to be updated.
Next, specific modes of the above step S202 and step S203 corresponding to different search conditions will be described by way of example.
In one embodiment, the search conditions to be utilized include: target identity information or target reference images of the specified objects to be retrieved;
as shown in fig. 3, in the present embodiment, the specific content of the step S202 includes the following step S202A:
step S202A: selecting a reference image library from the reference image library and the snapshot image library as a primary retrieval library matched with target identity information or target images of the specified objects to be retrieved;
the specific content of the step S203 includes the following step S203A:
Step S203A: a primary storage entry including the target identity information or the target image is retrieved from the reference image library, and the target image identification is extracted from the primary storage entry.
In the present embodiment, the search conditions to be utilized include: the target identity information or the target reference image of the specified object to be retrieved, and the reference image library includes the identity information or the target reference image of the specified object, so in step S202A described above, the electronic device may select the reference image library as the primary retrieval library.
Further, the electronic device may determine whether each storage entry in the reference image library includes target identity information or a target reference image of the specified object to be retrieved, determine the storage entry including the target identity information or the target reference image of the specified object to be retrieved as a primary storage entry, and extract the target image identifier from the determined primary storage entry.
In this way, the electronic device may execute subsequent steps S204 and S205 based on the extracted target image identifier, and determine the target identity information of the specified object to be retrieved or the target retrieval result corresponding to the target reference image.
Wherein, since the primary search library is the reference image library, when step S104 is performed, a target storage entry including the target identity information or the target reference image of the specified object to be searched is determined from the snapshot image library.
In addition, according to the determined target retrieval result, the electronic device may determine a snap-shot image corresponding to the specified object to be retrieved, thereby determining a snap-shot object corresponding to the specified object to be retrieved. Further, it is determined that the designated person has entered and exited the monitoring area.
Further, each stored entry in the snapshot image library further includes: when the storage item includes shooting information corresponding to the snapshot image, the electronic device can also determine time, frequency, access channel and other information of the designated object to be searched entering and exiting the monitoring area according to the determined target search result.
In the second embodiment, the search conditions to be utilized include: a target snapshot image to be retrieved;
as shown in fig. 4, in the present embodiment, the specific content of the step S202 includes the following step S202B:
step S202B: selecting a snapshot image library from a reference image library and a snapshot image library as a primary retrieval library matched with a target snapshot image to be retrieved;
the specific content of the step S203 includes the following step S203B:
step S203B: in the snapshot image library, a primary storage entry including the target snapshot image is retrieved, and the target image identification is extracted from the primary storage entry.
In the present embodiment, the search conditions to be utilized include: the target snapshot image to be retrieved, and the snapshot image library includes the snapshot image of the snapshot object, so in step S202B described above, the electronic device may select the snapshot image library as the primary retrieval library.
Further, the electronic device may determine whether each storage entry in the snapshot image library includes a target snapshot image to be retrieved, determine the storage entry including the target snapshot image to be retrieved as a primary storage entry, and extract a target image identifier from the determined primary storage entry.
In this way, the electronic device may execute subsequent steps S204 and S205 based on the extracted target image identifier, and determine a target retrieval result corresponding to the target snap image to be retrieved.
Wherein, since the primary search repository is a snapshot image repository, when executing step S204, a target storage entry including the target snapshot image to be searched is determined from the reference image repository.
In addition, according to the determined target retrieval result, the electronic device can determine the designated object corresponding to the target snapshot image to be retrieved, so that the electronic device can determine the identity information of the snapshot object corresponding to the target snapshot image to be retrieved. Thus, the identity information of the snapshot personnel entering and exiting the monitoring area can be determined.
Further, each stored entry in the snapshot image library further includes: when the storage item includes shooting information corresponding to the snapshot image, the electronic device can also determine other information such as time, frequency, access channel and the like of the snapshot object corresponding to the target snapshot image to be searched entering and exiting the monitoring area according to the determined target search result.
It should be noted that, in the step S203B, when there is no primary storage entry including the target snapshot image in the snapshot image library, the electronic device may execute the generation manner of each storage entry in the snapshot image shown in fig. 1, and add the storage entry including the target snapshot image in the snapshot image library.
In the third embodiment, the search conditions to be utilized include: target shooting information;
as shown in fig. 5, in the present embodiment, the specific content of the step S202 includes the following step S202C:
step S202C: selecting a snapshot image library from a reference image library and a snapshot image library as a primary retrieval library matched with target shooting information;
the specific content of the step S203 includes the following step S203C:
step S203C: a primary storage entry including target shooting information is retrieved from a snapshot image library, and a target image identification is extracted from the primary storage entry.
In this embodiment, each storage entry in the snapshot image library further includes: when the storage item includes shooting information corresponding to the snap shot image, the search condition to be utilized acquired by the electronic device may include target shooting information. Obviously, since the snapshot image repository includes the corresponding shooting information of the snapshot image, in the above step S203C, the electronic device may select the snapshot image repository as the primary search repository.
Further, the electronic device may determine whether each storage entry in the snapshot image repository includes the target shooting information, determine the storage entry including the target shooting information as a primary storage entry, and extract the target image identifier from the determined primary storage entry.
In this way, the electronic device may execute subsequent steps S204 and S205 based on the extracted target image identifier, and determine a target retrieval result corresponding to the target snap image to be retrieved.
Wherein, since the primary search repository is a snapshot image repository, then, when step S204 is performed, a target storage entry including the target shooting information described above may be determined from the reference image repository.
In addition, according to the determined target retrieval result, the electronic device can determine the snapshot object corresponding to the target shooting information and further determine the identity information of the snapshot object. Therefore, the electronic equipment can determine the shooting time and/or shooting place corresponding to the target shooting information, and the identity information of the snapshot object entering and exiting the monitoring area, namely, the identity information of which people enter and exit the monitoring area at the shooting time and/or shooting place corresponding to the target shooting information can be determined.
Further, according to the target shooting information, shooting time and/or shooting place corresponding to the target shooting information can be determined, and other information such as time, frequency, access channel and the like of the snapshot object entering and exiting the monitoring area can be determined.
Corresponding to the information retrieval method provided by the embodiment of the invention, the embodiment of the invention also provides an information retrieval device.
Fig. 6 is a schematic structural diagram of an information retrieval device according to an embodiment of the present invention. The database on which the device is based is a preset reference image library and a snapshot image library, wherein the reference image library comprises storage items of reference images, identity information and identity marks of specified objects; the snapshot image library comprises a storage item of a snapshot image and an identity mark of a snapshot object; the identity of any designated object is the same as the identity of the matched snapshot object.
As shown in fig. 6, the information retrieval apparatus may include the following modules:
a condition acquisition module 610, configured to acquire a search condition to be utilized; the condition to be searched is any kind of data contained in the reference image library and the snapshot image library;
the search library selection module 620 is configured to select a primary search library that matches the search condition from the reference image library and the snapshot image library;
The identifier extraction module 630 is configured to retrieve, from the primary retrieval library, a primary storage entry that satisfies the retrieval condition, and extract the target identifier from the primary storage entry;
an entry determination module 640, configured to determine a target storage entry including a target identity from the reference image library and the image library other than the primary search library in the snapshot image library;
the result determining module 650 is configured to determine, based on the target storage entry, a target search result corresponding to the search condition.
In the above, by applying the scheme provided by the embodiment of the invention, the reference image library and the snapshot image library are pre-constructed, wherein the reference image library comprises storage items of reference images, identity information and identity marks of the appointed object, and the snapshot image library comprises storage items of snapshot images and identity marks of the snapshot object. Because the identity of any appointed object is the same as the identity of the matched snapshot object, the pre-constructed reference image library and the snapshot image library are connected with each other through the identity. In this way, when any type of data included in the reference image library and the snapshot image library is used as the retrieval condition to be utilized, the target retrieval result corresponding to the retrieval condition can be determined based on the storage items included in the reference image library and the snapshot image library through the target identity corresponding to the retrieval condition, so that a more comprehensive information retrieval is realized on an object, wherein the object can be a designated object or a snapshot object.
In addition, since the pre-constructed reference image library and the snapshot image library are connected with each other through the identity, the identity of each specified object is uniquely determined. Therefore, when the reference image of a certain object in the reference image library is updated, for example, when the reference image of the object is updated to be the time closest to the current time, the image obtained by shooting the object can not influence the corresponding relation between the reference image library and the snapshot image library, so that the snapshot image library does not need to be updated.
Optionally, in a specific implementation manner, the apparatus may further include an entry generation module, configured to generate each storage entry in the snapshot image library; wherein, the entry generation module may include:
the image acquisition sub-module is used for acquiring a snap image of a snap object;
the identification acquisition sub-module is used for searching a storage item matched with the snapshot image of the snapshot object and comprising the reference image in the reference image library, and acquiring an identity in the searched storage item as the identity of the snapshot object;
and the item generation sub-module is used for generating a storage item of the snap image and the identity mark of the snap object.
Optionally, in a specific implementation manner, each storage entry of the snapshot image library may further include: the storage item comprises shooting information corresponding to the snap shot image.
Optionally, in a specific implementation manner, the search condition may include: target identity information or target reference images of the specified objects to be retrieved;
in this specific implementation, the search pool selection module 620 may be specifically configured to: selecting a reference image library from the reference image library and the snapshot image library as a primary retrieval library matched with target identity information or target images of the specified objects to be retrieved;
the above-mentioned identification extraction module 630 may be specifically used for: a primary storage entry including the target identity information or the target image is retrieved from the reference image library, and the target image identification is extracted from the primary storage entry.
Optionally, in a specific implementation manner, the search condition may include: a target snapshot image to be retrieved;
in this specific implementation, the search pool selection module 620 may be specifically configured to: selecting a snapshot image library from a reference image library and a snapshot image library as a primary retrieval library matched with a target snapshot image to be retrieved;
The above-mentioned identification extraction module 630 may be specifically used for: in the snapshot image library, a primary storage entry including the target snapshot image is retrieved, and the target image identification is extracted from the primary storage entry.
Optionally, in a specific implementation manner, the search condition may include: target shooting information;
in this specific implementation, the search pool selection module 620 may be specifically configured to: selecting a snapshot image library from a reference image library and a snapshot image library as a primary retrieval library matched with target shooting information;
the above-mentioned identification extraction module 630 may be specifically used for: a primary storage entry including target shooting information is retrieved from a snapshot image library, and a target image identification is extracted from the primary storage entry.
Corresponding to the information retrieval method provided in the above embodiment of the present invention, the embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete communication with each other through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement an information retrieval method provided in the above embodiment of the present invention when executing a program stored in the memory 703.
Specifically, the database on which the information retrieval method is based is a preset reference image library and a snapshot image library, wherein the reference image library comprises storage items of reference images, identity information and identity identifiers of specified objects; the snapshot image library comprises a storage item of a snapshot image and an identity mark of a snapshot object; the identity of any designated object is the same as the identity of the matched snapshot object. The method comprises the following steps:
obtaining a retrieval condition to be utilized; the condition to be searched is any kind of data contained in the reference image library and the snapshot image library;
selecting a primary retrieval library matched with the retrieval conditions from a reference image library and a snapshot image library;
retrieving primary storage items meeting the retrieval conditions from a primary retrieval library, and extracting target identity marks from the primary storage items;
determining target storage items including target identity marks from the reference image library and the snapshot image library except the primary retrieval library;
and determining a target retrieval result corresponding to the retrieval condition based on the target storage item.
It should be noted that, other implementation manners of an information retrieval method implemented by the processor 701 executing the program stored in the memory 703 are the same as those of the embodiment of the method provided in the foregoing method embodiment, and are not repeated here.
In the above, by applying the scheme provided by the embodiment of the invention, the reference image library and the snapshot image library are pre-constructed, wherein the reference image library comprises storage items of reference images, identity information and identity marks of the appointed object, and the snapshot image library comprises storage items of snapshot images and identity marks of the snapshot object. Because the identity of any appointed object is the same as the identity of the matched snapshot object, the pre-constructed reference image library and the snapshot image library are connected with each other through the identity. In this way, when any type of data included in the reference image library and the snapshot image library is used as the retrieval condition to be utilized, the target retrieval result corresponding to the retrieval condition can be determined based on the storage items included in the reference image library and the snapshot image library through the target identity corresponding to the retrieval condition, so that a more comprehensive information retrieval is realized on an object, wherein the object can be a designated object or a snapshot object.
In addition, since the pre-constructed reference image library and the snapshot image library are connected with each other through the identity, the identity of each specified object is uniquely determined. Therefore, when the reference image of a certain object in the reference image library is updated, for example, when the reference image of the object is updated to be the time closest to the current time, the image obtained by shooting the object can not influence the corresponding relation between the reference image library and the snapshot image library, so that the snapshot image library does not need to be updated.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
Corresponding to the information retrieval method provided by the embodiment of the invention, the embodiment of the invention also provides a computer readable storage medium, and the computer program is executed by the processor to realize the information retrieval method provided by the embodiment of the invention.
Specifically, the database on which the information retrieval method is based is a preset reference image library and a snapshot image library, wherein the reference image library comprises storage items of reference images, identity information and identity identifiers of specified objects; the snapshot image library comprises a storage item of a snapshot image and an identity mark of a snapshot object; the identity of any designated object is the same as the identity of the matched snapshot object. The method comprises the following steps:
obtaining a retrieval condition to be utilized; the condition to be searched is any kind of data contained in the reference image library and the snapshot image library;
selecting a primary retrieval library matched with the retrieval conditions from a reference image library and a snapshot image library;
retrieving primary storage items meeting the retrieval conditions from a primary retrieval library, and extracting target identity marks from the primary storage items;
determining target storage items including target identity marks from the reference image library and the snapshot image library except the primary retrieval library;
And determining a target retrieval result corresponding to the retrieval condition based on the target storage item.
It should be noted that, other implementation manners of an information retrieval method implemented when the computer program is executed by the processor are the same as those provided in the foregoing method embodiment, and are not repeated here.
In the above, by applying the scheme provided by the embodiment of the invention, the reference image library and the snapshot image library are pre-constructed, wherein the reference image library comprises storage items of reference images, identity information and identity marks of the appointed object, and the snapshot image library comprises storage items of snapshot images and identity marks of the snapshot object. Because the identity of any appointed object is the same as the identity of the matched snapshot object, the pre-constructed reference image library and the snapshot image library are connected with each other through the identity. In this way, when any type of data included in the reference image library and the snapshot image library is used as the retrieval condition to be utilized, the target retrieval result corresponding to the retrieval condition can be determined based on the storage items included in the reference image library and the snapshot image library through the target identity corresponding to the retrieval condition, so that a more comprehensive information retrieval is realized on an object, wherein the object can be a designated object or a snapshot object.
In addition, since the pre-constructed reference image library and the snapshot image library are connected with each other through the identity, the identity of each specified object is uniquely determined. Therefore, when the reference image of a certain object in the reference image library is updated, for example, when the reference image of the object is updated to be the time closest to the current time, the image obtained by shooting the object can not influence the corresponding relation between the reference image library and the snapshot image library, so that the snapshot image library does not need to be updated.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely illustrative of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (6)

1. The information retrieval method is characterized in that a database based on the method is a preset reference image library and a snapshot image library, and the reference image library comprises storage items of reference images, identity information and identity identifiers of specified objects; the snapshot image library comprises a storage item of a snapshot image and an identity mark of a snapshot object; any designated object and the matched snapshot object have the same identity, and the method comprises the following steps:
obtaining a retrieval condition to be utilized; the condition to be searched is any kind of data contained in the reference image library and the snap image library;
Selecting a primary retrieval library matched with the retrieval conditions from the reference image library and the snap image library;
retrieving primary storage items meeting the retrieval conditions from the primary retrieval library, and extracting target identification marks from the primary storage items;
determining a target storage item comprising the target identity from the reference image library and the image libraries except the primary retrieval library in the snapshot image library;
determining a target retrieval result corresponding to the retrieval condition based on the target storage item;
the search conditions include: a target snapshot image to be retrieved; the step of selecting a primary search library matched with the search condition from the reference image library and the snap image library comprises the following steps: selecting the snapshot image library from the reference image library and the snapshot image library as a primary retrieval library matched with the target snapshot image to be retrieved; the step of searching the primary storage item meeting the searching condition from the primary searching library and extracting the target identity from the primary storage item comprises the following steps: searching a primary storage item comprising the target snapshot image in the snapshot image library, and extracting a target identity from the primary storage item;
Or alternatively, the first and second heat exchangers may be,
each storage item of the snapshot image library further comprises: the storage item comprises shooting information corresponding to the snap shot image; the search conditions include: target shooting information; the step of selecting a primary search library matched with the search condition from the reference image library and the snap image library comprises the following steps: selecting the snapshot image library from the reference image library and the snapshot image library as a primary retrieval library matched with the target shooting information; the step of searching the primary storage item meeting the searching condition from the primary searching library and extracting the target identity from the primary storage item comprises the following steps: and retrieving a primary storage item comprising the target shooting information from the snapshot image library, and extracting a target identity from the primary storage item.
2. The method of claim 1, wherein the generating means of each storage entry in the snapshot image repository comprises:
acquiring a snapshot image of a snapshot object;
searching a storage item, which is matched with the snapshot image of the snapshot object, of the included reference image in the reference image library, and acquiring an identity in the searched storage item as the identity of the snapshot object;
A stored entry is generated for the snap shot image and the identity of the snap shot object.
3. An information retrieval device is characterized in that a database on which the device is based is a preset reference image library and a snapshot image library, wherein the reference image library comprises storage items of reference images, identity information and identity identifiers of specified objects; the snapshot image library comprises a storage item of a snapshot image and an identity mark of a snapshot object; the identity of any designated object is the same as that of a matched snapshot object, and the device comprises:
the condition acquisition module is used for acquiring the retrieval condition to be utilized; the condition to be searched is any kind of data contained in the reference image library and the snap image library;
the search library selection module is used for selecting a primary search library matched with the search condition from the reference image library and the snap image library;
the identification extraction module is used for retrieving primary storage items meeting the retrieval conditions from the primary retrieval library and extracting target identification from the primary storage items;
the item determining module is used for determining a target storage item comprising the target identity from the reference image library and the image libraries except the primary retrieval library in the snapshot image library;
The result determining module is used for determining a target retrieval result corresponding to the retrieval condition based on the target storage item;
the search conditions include: a target snapshot image to be retrieved; the search library selection module is specifically configured to select the snapshot image library from the reference image library and the snapshot image library as a primary search library matched with the target snapshot image to be searched; the step of searching the primary storage item meeting the searching condition from the primary searching library and extracting the target identity from the primary storage item comprises the following steps: searching a primary storage item comprising the target snapshot image in the snapshot image library, and extracting a target identity from the primary storage item;
or alternatively, the first and second heat exchangers may be,
each storage item of the snapshot image library further comprises: the storage item comprises shooting information corresponding to the snap shot image; the search conditions include: target shooting information; the search library selection module is specifically configured to select the snapshot image library from the reference image library and the snapshot image library as a primary search library matched with the target shooting information; the step of searching the primary storage item meeting the searching condition from the primary searching library and extracting the target identity from the primary storage item comprises the following steps: and retrieving a primary storage item comprising the target shooting information from the snapshot image library, and extracting a target identity from the primary storage item.
4. An apparatus according to claim 3, further comprising an entry generation module for generating each stored entry in the pool of snap images; the item generation module comprises:
the image acquisition sub-module is used for acquiring a snap image of a snap object;
the identification acquisition sub-module is used for searching a storage item matched with the snapshot image of the snapshot object and comprising the reference image in the reference image library, and acquiring an identity in the searched storage item as the identity of the snapshot object;
and the item generation sub-module is used for generating a storage item of the snap image and the identity mark of the snap object.
5. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-2 when executing a program stored on a memory.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-2.
CN201910317696.3A 2019-04-19 2019-04-19 Information retrieval method, device, electronic equipment and storage medium Active CN111831841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910317696.3A CN111831841B (en) 2019-04-19 2019-04-19 Information retrieval method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910317696.3A CN111831841B (en) 2019-04-19 2019-04-19 Information retrieval method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111831841A CN111831841A (en) 2020-10-27
CN111831841B true CN111831841B (en) 2023-09-05

Family

ID=72915203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910317696.3A Active CN111831841B (en) 2019-04-19 2019-04-19 Information retrieval method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831841B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287143A (en) * 2020-10-29 2021-01-29 杭州海康威视数字技术股份有限公司 Event information retrieval and storage method and device

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6532459B1 (en) * 1998-12-15 2003-03-11 Berson Research Corp. System for finding, identifying, tracking, and correcting personal information in diverse databases
JP2004181970A (en) * 2003-12-26 2004-07-02 Konica Minolta Holdings Inc Id card working-up/control system, id card working-up/management method, and id card
JP2004187115A (en) * 2002-12-05 2004-07-02 Casio Comput Co Ltd Monitoring system and program
CN201226568Y (en) * 2008-03-25 2009-04-22 赵力 Intelligent television terminal with monitoring and information retrieval
CN103049460A (en) * 2011-10-17 2013-04-17 天津市亚安科技股份有限公司 Video surveillance scene information classifying and storing method and search method
JP2013235329A (en) * 2012-05-07 2013-11-21 Taiwan Colour & Imaging Technology Corp Face identification monitoring/management method
CN106647502A (en) * 2016-12-27 2017-05-10 天津天地伟业信息系统集成有限公司 Face identification monitoring retrieval system
CN107463891A (en) * 2017-07-26 2017-12-12 珠海市魅族科技有限公司 A kind of identity information acquisition methods, device, computer installation and computer-readable recording medium
CN107958220A (en) * 2017-12-06 2018-04-24 杭州魔点科技有限公司 A kind of face database compression processing method and its intelligent apparatus based on recognition of face
CN108171207A (en) * 2018-01-17 2018-06-15 百度在线网络技术(北京)有限公司 Face identification method and device based on video sequence
CN108170750A (en) * 2017-12-21 2018-06-15 深圳英飞拓科技股份有限公司 A kind of face database update method, system and terminal device
CN108170732A (en) * 2017-12-14 2018-06-15 厦门市美亚柏科信息股份有限公司 Face picture search method and computer readable storage medium
CN108363947A (en) * 2017-12-29 2018-08-03 武汉烽火众智数字技术有限责任公司 Delay demographic method for early warning based on big data and device
CN108540751A (en) * 2017-03-01 2018-09-14 中国电信股份有限公司 Monitoring method, apparatus and system based on video and electronic device identification
CN108540750A (en) * 2017-03-01 2018-09-14 中国电信股份有限公司 Based on monitor video and the associated method, apparatus of electronic device identification and system
CN109214276A (en) * 2018-07-23 2019-01-15 武汉虹信技术服务有限责任公司 A kind of system and method for the target person track following based on face recognition technology
CN109409220A (en) * 2018-09-19 2019-03-01 平安科技(深圳)有限公司 Business bootstrap technique, device and storage medium based on recognition of face

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747592B2 (en) * 1999-09-07 2010-06-29 Thomas C Douglass Method and system for monitoring domain name registrations
US20030193582A1 (en) * 2002-03-29 2003-10-16 Fuji Photo Film Co., Ltd. Method for storing an image, method and system for retrieving a registered image and method for performing image processing on a registered image
US20090092283A1 (en) * 2007-10-09 2009-04-09 Honeywell International Inc. Surveillance and monitoring system
US9071440B2 (en) * 2008-12-22 2015-06-30 Google Technology Holdings LLC Method and system of authenticating the identity of a user of a public computer terminal
US9015139B2 (en) * 2010-05-14 2015-04-21 Rovi Guides, Inc. Systems and methods for performing a search based on a media content snapshot image
CN106156578B (en) * 2015-04-22 2020-02-14 深圳市腾讯计算机系统有限公司 Identity verification method and device

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6532459B1 (en) * 1998-12-15 2003-03-11 Berson Research Corp. System for finding, identifying, tracking, and correcting personal information in diverse databases
JP2004187115A (en) * 2002-12-05 2004-07-02 Casio Comput Co Ltd Monitoring system and program
JP2004181970A (en) * 2003-12-26 2004-07-02 Konica Minolta Holdings Inc Id card working-up/control system, id card working-up/management method, and id card
CN201226568Y (en) * 2008-03-25 2009-04-22 赵力 Intelligent television terminal with monitoring and information retrieval
CN103049460A (en) * 2011-10-17 2013-04-17 天津市亚安科技股份有限公司 Video surveillance scene information classifying and storing method and search method
JP2013235329A (en) * 2012-05-07 2013-11-21 Taiwan Colour & Imaging Technology Corp Face identification monitoring/management method
CN106647502A (en) * 2016-12-27 2017-05-10 天津天地伟业信息系统集成有限公司 Face identification monitoring retrieval system
CN108540751A (en) * 2017-03-01 2018-09-14 中国电信股份有限公司 Monitoring method, apparatus and system based on video and electronic device identification
CN108540750A (en) * 2017-03-01 2018-09-14 中国电信股份有限公司 Based on monitor video and the associated method, apparatus of electronic device identification and system
CN107463891A (en) * 2017-07-26 2017-12-12 珠海市魅族科技有限公司 A kind of identity information acquisition methods, device, computer installation and computer-readable recording medium
CN107958220A (en) * 2017-12-06 2018-04-24 杭州魔点科技有限公司 A kind of face database compression processing method and its intelligent apparatus based on recognition of face
CN108170732A (en) * 2017-12-14 2018-06-15 厦门市美亚柏科信息股份有限公司 Face picture search method and computer readable storage medium
CN108170750A (en) * 2017-12-21 2018-06-15 深圳英飞拓科技股份有限公司 A kind of face database update method, system and terminal device
CN108363947A (en) * 2017-12-29 2018-08-03 武汉烽火众智数字技术有限责任公司 Delay demographic method for early warning based on big data and device
CN108171207A (en) * 2018-01-17 2018-06-15 百度在线网络技术(北京)有限公司 Face identification method and device based on video sequence
CN109214276A (en) * 2018-07-23 2019-01-15 武汉虹信技术服务有限责任公司 A kind of system and method for the target person track following based on face recognition technology
CN109409220A (en) * 2018-09-19 2019-03-01 平安科技(深圳)有限公司 Business bootstrap technique, device and storage medium based on recognition of face

Also Published As

Publication number Publication date
CN111831841A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN106446816B (en) Face recognition method and device
CN106547744B (en) Image retrieval method and system
CN109871815B (en) Method and device for inquiring monitoring information
CN109325429B (en) Method, device, storage medium and terminal for associating feature data
CN108563651B (en) Multi-video target searching method, device and equipment
CN109426785B (en) Human body target identity recognition method and device
US9947105B2 (en) Information processing apparatus, recording medium, and information processing method
US9633272B2 (en) Real time object scanning using a mobile phone and cloud-based visual search engine
WO2020114131A1 (en) Joint travel analysis method and device
WO2023024670A1 (en) Device clustering method and apparatus, and computer device and storage medium
US8705800B2 (en) Profiling activity through video surveillance
CN108388672B (en) Video searching method and device and computer readable storage medium
US9665574B1 (en) Automatically scraping and adding contact information
CN111831841B (en) Information retrieval method, device, electronic equipment and storage medium
CN109784220B (en) Method and device for determining passerby track
CN113568934B (en) Data query method and device, electronic equipment and storage medium
CN112637548B (en) Information association early warning method and device based on camera
CN109086938B (en) Product SKU identification method and device and computer readable storage medium
CN114531340B (en) Log acquisition method and device, electronic equipment, chip and storage medium
CN110795980A (en) Network video-based evasion identification method, equipment, storage medium and device
CN111914591A (en) Duration determination method and device
JP2019083532A (en) Image processing system, image processing method, and image processing program
KR102254037B1 (en) Apparatus for Image Analysis and Driving Method Thereof
CN110738077A (en) foreign matter detection method and device
CN112149451B (en) Affinity analysis method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant