CN111860313A - Information query method and device based on face recognition, computer equipment and medium - Google Patents

Information query method and device based on face recognition, computer equipment and medium Download PDF

Info

Publication number
CN111860313A
CN111860313A CN202010697625.3A CN202010697625A CN111860313A CN 111860313 A CN111860313 A CN 111860313A CN 202010697625 A CN202010697625 A CN 202010697625A CN 111860313 A CN111860313 A CN 111860313A
Authority
CN
China
Prior art keywords
identity
information
terminal
storage area
associated information
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.)
Pending
Application number
CN202010697625.3A
Other languages
Chinese (zh)
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.)
Longse Technology Co ltd
Original Assignee
Longse 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 Longse Technology Co ltd filed Critical Longse Technology Co ltd
Priority to CN202010697625.3A priority Critical patent/CN111860313A/en
Publication of CN111860313A publication Critical patent/CN111860313A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • 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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to an information query method and device based on face recognition, computer equipment and a storage medium. The method and the device can improve retrieval speed. The method comprises the following steps: receiving an information query request sent by a terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by the identity mark; responding to the information query request, and querying the associated information associated with the identity in an associated information base according to the identity; and sending the associated information to a terminal for displaying.

Description

Information query method and device based on face recognition, computer equipment and medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an information query method and apparatus based on face recognition, a computer device, and a storage medium.
Background
With the development of the face recognition technology, the face recognition technology is widely applied in the fields of security, monitoring, financial business and the like, and the recognition rate of the face comparison algorithm technology is also improved qualitatively.
However, in the conventional face comparison technology, a large amount of data is stored in a feature library, and then a face image to be compared is compared with all feature information in the feature library one by one, so as to obtain identity information corresponding to a face to be compared.
Disclosure of Invention
In view of the above, it is necessary to provide an information query method, an information query apparatus, a computer device and a storage medium based on face recognition.
An information query method based on face recognition, the method comprising:
receiving an information query request sent by a terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by an identity mark;
responding to the information query request, and querying the associated information associated with the identity in an associated information base according to the identity;
and sending the associated information to the terminal for displaying.
In one embodiment, the method further comprises the following steps:
the identity identification is obtained by comparing first face feature information extracted from the first face image with second face feature information of a face image set extracted from a preset face feature library by the terminal, and the identity identification corresponds to the successfully compared second face image in the face image set.
In one embodiment, the preset facial feature library includes facial feature information in a facial image and an identity corresponding to the facial image.
In one embodiment, the association information base comprises a data storage area and an index storage area; the index storage area comprises an identity identification set and a storage position index corresponding to the identity identification; the querying the associated information result associated with the identity in the associated information base according to the identity comprises:
reading all the identity marks of the index storage area to a memory, and sequencing all the identity marks according to the size sequence of the marks to obtain an identity mark sequencing result;
querying a storage position index corresponding to the identity in the identity sorting result by adopting a dichotomy according to the identity;
and acquiring the associated information associated with the identity identifier from the data storage area based on the storage position index corresponding to the identity identifier.
In one embodiment, the association information base comprises a data storage area and an index storage area; the index storage area comprises an identity identification set, a storage position index corresponding to the identity identification and event occurrence time information; the querying the associated information result associated with the identity in the associated information base according to the identity comprises:
Determining a time period selected by a user of the terminal;
determining the occurrence time of a target event occurring in the time period from the event occurrence time information of the index storage area, and acquiring all identification marks corresponding to the occurrence time of the target event from the identification mark set of the index storage area;
screening out target identification marks which are the same as the identification marks from all the identification marks, and determining storage position indexes corresponding to the target identification marks;
and acquiring the associated information associated with the identity identifier in the outgoing storage area according to the storage position index.
In one embodiment, the method further comprises:
receiving the associated information corresponding to the identity identifier uploaded by the terminal;
setting an uploading time tag for the associated information corresponding to the identity identifier according to the uploading time of the associated information corresponding to the identity identifier uploaded by the terminal;
and storing the associated information which is provided with the uploading time tag and corresponds to the identity identification in the associated information base.
In an embodiment, the terminal is configured to extract and process a face feature of the first face image to obtain a face feature data sequence, calculate a character string having a first preset byte and corresponding to the face feature data sequence through a digest algorithm, and convert the character string into shaping data having a second preset byte to obtain the identity.
An information inquiry device based on face recognition, the device comprises:
the request receiving module is used for receiving an information inquiry request sent by a terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by an identity mark;
the information inquiry module is used for responding to the information inquiry request and inquiring the associated information associated with the identity identifier in an associated information base according to the identity identifier;
and the information display module is used for sending the associated information to the terminal for display.
A computer device comprising a memory storing a computer program and a processor, wherein the processor implements the steps of the information query method based on face recognition as described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the face recognition-based information query method as described above.
The information query method, the device, the computer equipment and the storage medium based on the face recognition receive the information query request sent by the terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by an identity mark; responding to the information query request, and querying the associated information associated with the identity in an associated information base according to the identity; and sending the associated information to a terminal for displaying. According to the scheme, the face image is marked through the identity identification, the face image to be retrieved is inquired in the preset association information base according to the identity identification, corresponding association information can be obtained according to the identity identification, and the method is quicker compared with the technology of one-to-one comparison according to the face characteristics.
Drawings
FIG. 1 is a diagram of an embodiment of an application environment of an information query method based on face recognition;
FIG. 2 is a flow chart illustrating an information query method based on face recognition according to an embodiment;
FIG. 3 is a flowchart illustrating the associated information query step in one embodiment;
FIG. 4 is a flowchart illustrating the associated information query step in another embodiment;
FIG. 5 is a block diagram of an embodiment of an information query device based on face recognition;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The information query method based on face recognition can be applied to the application environment shown in fig. 1. Wherein the terminal 110 communicates with the server 120 through a network. The terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, the server 120 is a management platform, and may be implemented by an independent server or a server cluster formed by a plurality of servers, and the information query method based on face recognition may further include a face recognition device capable of acquiring a face image, where the face recognition device may be the same device as the terminal 110 or a different device.
In one embodiment, as shown in fig. 2, an information query method based on face recognition is provided, which is described by taking the method as an example applied to the server 120 in fig. 1, and includes the following steps:
step S201, receiving an information query request sent by the terminal 110; the information query request carries a first face image acquired by face recognition equipment; the first facial image has been tagged with an identification.
The first face image is a real-time image shot by the face recognition device in a current scene, wherein the real-time image can comprise face images of one or more persons; the first face image may also be a face image captured by the terminal 110 from a video stream captured by a face recognition device. The identity is a unique identity corresponding to each face, that is, an identity ID (identity).
In one embodiment, the identity is an identity corresponding to a second facial image that is successfully compared in the facial image set obtained by comparing first facial feature information extracted from a first facial image with second facial feature information of a facial image set extracted from a preset facial feature library by the terminal 110.
Specifically, the identity is an identity ID; the preset face feature library stores a large number of face images with known identity IDs and feature information corresponding to each face image, the large number of face images with known identity IDs form the face image set, the terminal 110 compares each local feature information of the first face image with feature information of all face images in the preset face feature library, and if a second face image with all local feature information successfully compared is obtained through comparison, the first face image is marked by the identity ID corresponding to the second face image.
In this step, the terminal 110 may be, for example, a face recognition device, and a current scene is photographed through a camera lens to obtain a face image, which is the first face image, the terminal 110 extracts feature information of the face image, where the feature information includes local feature information of a face, such as eye feature information, eyebrow feature information, nose feature information, and the like, the terminal 110 compares each piece of local feature information with feature information of all face images in a preset face feature library, where a large number of face images with known identity IDs and feature information corresponding to each face image are stored in the preset face feature library, and if a face image with all pieces of local feature information successfully compared is obtained through comparison, the first face image is marked with the identity ID. The terminal sends the first face image marked by the identity ID to the server 120, that is, the management platform, initiates an information query request to the management platform, and the server 120 receives the first face image marked by the identity ID and the corresponding information query request.
Step S202, responding to the information inquiry request, inquiring the associated information associated with the identity in the associated information base according to the identity.
The related information library is a database disposed on a storage medium of the server 120, and stores a large amount of personal information, including the above-mentioned identification and the corresponding picture, history information, personal information, etc. of the person, and the personal information includes name, age, sex, id card number, etc.
Specifically, after receiving the information query request carrying the first face image, the server 120 extracts the identity identifier, i.e., the identity ID, and queries, according to the identity ID, the associated information corresponding to the identity ID, such as a name, a picture, or history recording information, in the associated information base through a certain algorithm.
Step S203, sending the related information to the terminal 110 for displaying.
Specifically, the terminal 110 is provided with a display device, and the server 120 sends the queried associated information to the terminal 110 and displays the associated information through the display device.
In the embodiment, the face image is marked through the identity, the face image to be retrieved is inquired in the preset association information base according to the identity, and corresponding association information including gender, age, historical video information and the like can be acquired according to the identity, so that the technology for comparing the face local feature information one by one is quicker.
In one embodiment, the preset facial feature library includes facial feature information in a facial image and an identity corresponding to the facial image.
Specifically, the preset face feature library stores a large number of face images with known identity IDs, and face feature information extracted from the face images, such as eye feature information, nose feature information, and the like.
In the above embodiment, the face image with the known identity ID is stored in the preset face feature library, so that the terminal 110 can obtain the identity ID of the first face image of the information to be queried through feature information comparison.
In one embodiment, the association information base comprises a data storage area and an index storage area; as shown in fig. 3, fig. 3 shows a schematic flow chart of the step S202, where the index storage area includes an identity set and a storage location index corresponding to the identity, and in this embodiment, the step S202 includes:
step S301, reading all the identification marks in the index storage area to the memory, and sequencing all the identification marks according to the size sequence of the marks to obtain an identification mark sequencing result.
In this step, the server 120, i.e. the management platform, reads all the id sets existing in the index storage area to the memory, and sorts all the ids according to the size sequence of the ids, for example, from small to large or from large to small, to obtain the id sorting result.
Step S302, according to the identity, searching the storage position index corresponding to the identity in the identity sorting result by adopting a dichotomy.
In this step, the server 120, i.e. the management platform, obtains an identity, i.e. an identity ID, from the marked first face image sent by the terminal 110, and obtains an associated information storage location index corresponding to the identity ID by querying in the identity ranking result by using a bisection method according to the identity ID to be queried.
Step S303, based on the storage location index corresponding to the identity, obtaining the association information associated with the identity from the data storage area.
In this step, the server 120 obtains the associated information corresponding to the identity ID, such as personal information, pictures, and history recording information, from the obtained storage location index, such as the address code of the storage unit in which the associated information is located in the data storage area.
In the embodiment, the identity ID of the information to be queried can be quickly obtained through dichotomy by reading and sequencing all the existing identity identifications, and then the storage position index corresponding to the identity ID is obtained, so that all the associated information corresponding to the identity ID is quickly obtained in the data storage area, and the information querying speed is improved.
In another embodiment, the association information base comprises a data storage area and an index storage area; the index storage area comprises an identity identification set, a storage position index corresponding to the identity identification and event occurrence time information; as shown in fig. 4, fig. 4 shows a schematic flow chart of the step S202, and in this embodiment, the step S202 includes
In step S401, a time period selected by the user of the terminal 110 is determined.
In this step, the server 120 obtains a time period transmitted by the user through the terminal 110, that is, the user desires to inquire about the related information corresponding to the first face image in a selected time period.
Step S402, determining the target event occurrence time appearing in the time period from the event occurrence time information of the index storage area, and acquiring all the identification marks corresponding to the target event occurrence time from the identification mark set of the index storage area.
In this step, the server 120 screens out a corresponding time period from the index storage area according to the time period selected by the user.
Step S403, screening out target identification marks which are the same as the identification marks from all the identification marks, and determining storage position indexes corresponding to the target identification marks.
In this step, the server 120 obtains the identity ID from all the queried identity IDs according to the identity ID of the face image to be queried, and then obtains an event storage location index of the identity ID in a selected time period.
Step S404, acquiring the associated information associated with the identity in the data storage area according to the storage position index.
In this step, the server 120 obtains, in the data storage area according to the storage location index, associated information, including images, history recording information, and the like, corresponding to the identity ID of the face image of the information to be queried in the selected time period.
According to the embodiment, the event occurrence time information is set in the index storage area, the associated information can be quickly obtained by the user independently selecting the desired time period, more choices are provided for the user, and the information retrieval is more efficient.
In another embodiment, the method further comprises:
receiving the associated information corresponding to the identity identifier uploaded by the terminal 110; setting an uploading time tag for the associated information corresponding to the identity identifier according to the uploading time of the associated information corresponding to the identity identifier uploaded by the terminal 110; and storing the associated information which is provided with the uploading time tag and corresponds to the identity in an associated information base.
In this embodiment, the terminal 110 may further upload the acquired face image, the recorded image information, or personal information corresponding to the face image, such as gender, age, and the like, as associated information of the corresponding identity ID to the server 120, and attach an upload time tag to the associated information at the same time of uploading, and the server 120 receives the associated information with the upload time tag and stores the associated information in a data storage area of the associated information base, and stores the storage address, the upload time, and the like as an index in a corresponding index storage area.
In the embodiment, by acquiring the association information corresponding to the identity ID sent by the terminal 110 and automatically storing the association information in the association information base, the association information corresponding to the identity ID can be updated in time, so that insufficient information for subsequent query is avoided.
In an embodiment, the terminal 110 is configured to extract and process a face feature of a first face image to obtain a face feature data sequence, calculate a character string having a first preset byte corresponding to the face feature data sequence through a summarization algorithm, and convert the character string into shaping data having a second preset byte to obtain an identity.
Specifically, the terminal 110 extracts feature information from an acquired static face image, for example, an image including only one face, by using a face recognition algorithm, encodes the feature information into a feature sequence with a fixed byte length according to a certain encoding rule, and records the feature sequence as a Token ID, for example, the Token ID has a length of 256 bytes, and the terminal 110 uses a specific algorithm, for example, an MD5 digest algorithm, for the Token ID to digest the feature sequence into a character string with 8 bytes, and converts the character string with 8 bytes into 1 piece of 32-bit shaping data as an identity ID by using character string conversion and shaping.
According to the embodiment, the face feature information is coded and the shaping data with the short byte length is obtained through the operation of a certain rule, so that the space occupied by storage can be reduced, a basis is provided for subsequent sorting query through dichotomy, and the query efficiency is further improved.
It should be understood that although the steps in the flowcharts of fig. 2 to 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 to 4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 5, there is provided an information query apparatus 500 based on face recognition, including: a request receiving module 501, an information query module 502 and an information presentation module 503, wherein:
A request receiving module 501, configured to receive an information query request sent by a terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by an identity mark;
an information query module 502, configured to respond to the information query request, query, according to the identity, association information associated with the identity in an association information base;
and an information display module 503, configured to send the associated information to the terminal for display.
In an embodiment, the identity identifier is an identity identifier corresponding to a second face image that is successfully compared in the face image set, which is obtained by comparing first face feature information extracted from the first face image with second face feature information of a face image set extracted from a preset face feature library by the terminal.
In an embodiment, the preset facial feature library includes facial feature information in a facial image and an identity corresponding to the facial image.
In an embodiment, the information query module 502 is further configured to:
reading all the identity marks of the index storage area to a memory, and sequencing all the identity marks according to the size sequence of the marks to obtain an identity mark sequencing result;
Querying a storage position index corresponding to the identity in the identity sorting result by adopting a dichotomy according to the identity;
and acquiring the associated information associated with the identity identifier from the data storage area based on the storage position index corresponding to the identity identifier.
In an embodiment, the information query module 502 is further configured to:
determining a time period selected by a user of the terminal;
determining the occurrence time of a target event occurring in the time period from the event occurrence time information of the index storage area, and acquiring all identification marks corresponding to the occurrence time of the target event from the identification mark set of the index storage area;
screening out target identification marks which are the same as the identification marks from all the identification marks, and determining storage position indexes corresponding to the target identification marks;
and acquiring the associated information associated with the identity identifier in the data storage area according to the storage position index.
In an embodiment, the request receiving module 501 is further configured to:
receiving the associated information corresponding to the identity identifier uploaded by the terminal;
Setting an uploading time tag for the associated information corresponding to the identity identifier according to the uploading time of the associated information corresponding to the identity identifier uploaded by the terminal;
and storing the associated information which is provided with the uploading time tag and corresponds to the identity identification in the associated information base.
In one embodiment, the terminal 110 is further configured to: and extracting and processing the face features of the first face image to obtain a face feature data sequence, calculating a character string with a first preset byte corresponding to the face feature data sequence through an abstract algorithm, and converting the character string into shaping data with a second preset byte to obtain the identity.
For specific limitations of the information query device based on face recognition, reference may be made to the above limitations of the information query method based on face recognition, and details are not repeated here. All or part of the modules in the information inquiry device based on the face recognition can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing the identity identification and the associated information data such as pictures, videos and personal information corresponding to the identity identification. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an information query method based on face recognition.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving an information query request sent by a terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by the identity mark;
responding to the information query request, and querying the associated information associated with the identity in an associated information base according to the identity;
and sending the associated information to a terminal for displaying.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
reading all the identity marks of the index storage area to a memory, and sequencing all the identity marks according to the size sequence of the marks to obtain identity mark sequencing results;
querying a storage position index corresponding to the identity identifier in the identity identifier sorting result by adopting a dichotomy according to the identity identifier;
and acquiring association information associated with the identity identifier from the data storage area based on the storage position index corresponding to the identity identifier.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
Determining a time period selected by a user of the terminal;
determining the target event occurrence time appearing in the time period from the event occurrence time information of the index storage area, and acquiring all the identification marks corresponding to the target event occurrence time from the identification mark set of the index storage area;
screening out target identification marks which are the same as the identification marks from all the identification marks, and determining storage position indexes corresponding to the target identification marks;
and acquiring the associated information associated with the identity identifier in the data storage area according to the storage position index.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
receiving associated information which is uploaded by a terminal and corresponds to the identity;
setting an uploading time tag for the associated information corresponding to the identity identifier according to the uploading time of the associated information corresponding to the identity identifier uploaded by the terminal;
and storing the associated information which is provided with the uploading time tag and corresponds to the identity in an associated information base.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An information query method based on face recognition is applied to a server, and the method comprises the following steps:
receiving an information query request sent by a terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by an identity mark;
responding to the information query request, and querying the associated information associated with the identity in an associated information base according to the identity;
and sending the associated information to the terminal for displaying.
2. The method according to claim 1, wherein the identity is an identity corresponding to a second face image that is successfully compared in the face image set, which is obtained by comparing first face feature information extracted from the first face image with second face feature information of a face image set extracted from a preset face feature library by the terminal.
3. The method of claim 2, wherein the preset facial feature library comprises facial feature information in a facial image and an identity corresponding to the facial image.
4. The method of claim 1, wherein the association information base comprises a data storage area and an index storage area; the index storage area comprises an identity identification set and a storage position index corresponding to the identity identification; the querying the associated information result associated with the identity in the associated information base according to the identity comprises:
reading all the identity marks of the index storage area to a memory, and sequencing all the identity marks according to the size sequence of the marks to obtain an identity mark sequencing result;
querying a storage position index corresponding to the identity in the identity sorting result by adopting a dichotomy according to the identity;
and acquiring the associated information associated with the identity identifier from the data storage area based on the storage position index corresponding to the identity identifier.
5. The method of claim 1, wherein the association information base comprises a data storage area and an index storage area; the index storage area comprises an identity identification set, a storage position index corresponding to the identity identification and event occurrence time information; the querying the associated information result associated with the identity in the associated information base according to the identity comprises:
Determining a time period selected by a user of the terminal;
determining the occurrence time of a target event occurring in the time period from the event occurrence time information of the index storage area, and acquiring all identification marks corresponding to the occurrence time of the target event from the identification mark set of the index storage area;
screening out target identification marks which are the same as the identification marks from all the identification marks, and determining storage position indexes corresponding to the target identification marks;
and acquiring the associated information associated with the identity identifier in the data storage area according to the storage position index.
6. The method of claim 1, further comprising:
receiving the associated information corresponding to the identity identifier uploaded by the terminal;
setting an uploading time tag for the associated information corresponding to the identity identifier according to the uploading time of the associated information corresponding to the identity identifier uploaded by the terminal;
and storing the associated information which is provided with the uploading time tag and corresponds to the identity identification in the associated information base.
7. The method according to any one of claims 1 to 6, wherein the terminal is configured to extract and process facial features of the first face image to obtain a facial feature data sequence, calculate a character string with a first preset byte corresponding to the facial feature data sequence through a summarization algorithm, and convert the character string into reshaped data with a second preset byte to obtain the identity.
8. An information inquiry device based on face recognition, which is characterized in that the device comprises:
the request receiving module is used for receiving an information inquiry request sent by a terminal; the information query request carries a first face image acquired by face recognition equipment; the first face image is marked by an identity mark;
the information inquiry module is used for responding to the information inquiry request and inquiring the associated information associated with the identity identifier in an associated information base according to the identity identifier;
and the information display module is used for sending the associated information to the terminal for display.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010697625.3A 2020-07-20 2020-07-20 Information query method and device based on face recognition, computer equipment and medium Pending CN111860313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010697625.3A CN111860313A (en) 2020-07-20 2020-07-20 Information query method and device based on face recognition, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010697625.3A CN111860313A (en) 2020-07-20 2020-07-20 Information query method and device based on face recognition, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN111860313A true CN111860313A (en) 2020-10-30

Family

ID=73001298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010697625.3A Pending CN111860313A (en) 2020-07-20 2020-07-20 Information query method and device based on face recognition, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN111860313A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112669480A (en) * 2020-12-08 2021-04-16 安徽鸿程光电有限公司 Data processing method and device, terminal equipment and storage medium
CN113064935A (en) * 2021-03-30 2021-07-02 重庆中科云从科技有限公司 Data analysis method, apparatus and medium
CN113094376A (en) * 2021-06-08 2021-07-09 北京数安行科技有限公司 Data main body request processing method and system based on distributed machine learning
CN113537529A (en) * 2021-07-30 2021-10-22 国能铁路装备有限责任公司 Truck bearing associated data generation method and device and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866818A (en) * 2015-04-29 2015-08-26 百度在线网络技术(北京)有限公司 Method and device for searching pictures including human faces
CN107464136A (en) * 2017-07-25 2017-12-12 苏宁云商集团股份有限公司 A kind of merchandise display method and system
CN111325551A (en) * 2018-12-14 2020-06-23 杭州海康威视数字技术股份有限公司 Payment system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866818A (en) * 2015-04-29 2015-08-26 百度在线网络技术(北京)有限公司 Method and device for searching pictures including human faces
CN107464136A (en) * 2017-07-25 2017-12-12 苏宁云商集团股份有限公司 A kind of merchandise display method and system
CN111325551A (en) * 2018-12-14 2020-06-23 杭州海康威视数字技术股份有限公司 Payment system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112669480A (en) * 2020-12-08 2021-04-16 安徽鸿程光电有限公司 Data processing method and device, terminal equipment and storage medium
CN113064935A (en) * 2021-03-30 2021-07-02 重庆中科云从科技有限公司 Data analysis method, apparatus and medium
CN113094376A (en) * 2021-06-08 2021-07-09 北京数安行科技有限公司 Data main body request processing method and system based on distributed machine learning
CN113094376B (en) * 2021-06-08 2021-09-03 北京数安行科技有限公司 Data main body request processing method and system based on distributed machine learning
CN113537529A (en) * 2021-07-30 2021-10-22 国能铁路装备有限责任公司 Truck bearing associated data generation method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN111860313A (en) Information query method and device based on face recognition, computer equipment and medium
US8270684B2 (en) Automatic media sharing via shutter click
CN109783685B (en) Query method and device
CN109743624B (en) Video cutting method and device, computer equipment and storage medium
CN108733819A (en) A kind of personnel's archives method for building up and device
CN108228792B (en) Picture retrieval method, electronic device and storage medium
CN110866491A (en) Target retrieval method, device, computer readable storage medium and computer equipment
KR101832680B1 (en) Searching for events by attendants
CN114139015A (en) Video storage method, device, equipment and medium based on key event identification
CN110705469A (en) Face matching method and device and server
US20190364196A1 (en) Method and Apparatus for Generating Shot Information
CN111708906B (en) Visiting retrieval method, device and equipment based on face recognition and storage medium
CN110738175B (en) Face image processing method and device, computer equipment and storage medium
CN111177450A (en) Image retrieval cloud identification method and system and computer readable storage medium
CN110688516A (en) Image retrieval method, image retrieval device, computer equipment and storage medium
CN115082999A (en) Group photo image person analysis method and device, computer equipment and storage medium
JP2018137639A (en) Moving image processing system, encoder and program, decoder and program
JP2014042170A (en) Photographing system, photographing support method, photographing device and control method of the same, management device and control method of the same, and program
CN111274431A (en) Image retrieval processing method and device
CN112633063A (en) Person action tracking system and method thereof
JP5923744B2 (en) Image search system, image search method, and search apparatus
CN112765404A (en) Visiting information processing method, device, system, equipment and storage medium
CN111368115A (en) Data clustering method and device, clustering server and storage medium
KR20150106621A (en) Terminal and service providing device, control method thereof, computer readable medium having computer program recorded therefor and image searching system
CN112101254B (en) Method and system for improving image recognition precision and speed

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030