CN110929576A - Face recognition method and device based on UVC protocol - Google Patents

Face recognition method and device based on UVC protocol Download PDF

Info

Publication number
CN110929576A
CN110929576A CN201911009794.7A CN201911009794A CN110929576A CN 110929576 A CN110929576 A CN 110929576A CN 201911009794 A CN201911009794 A CN 201911009794A CN 110929576 A CN110929576 A CN 110929576A
Authority
CN
China
Prior art keywords
face
face recognition
uvc protocol
recognition result
uvc
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.)
Granted
Application number
CN201911009794.7A
Other languages
Chinese (zh)
Other versions
CN110929576B (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.)
Zhuhai Fruit Technology Co Ltd
Original Assignee
Zhuhai Fruit 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 Zhuhai Fruit Technology Co Ltd filed Critical Zhuhai Fruit Technology Co Ltd
Priority to CN201911009794.7A priority Critical patent/CN110929576B/en
Publication of CN110929576A publication Critical patent/CN110929576A/en
Application granted granted Critical
Publication of CN110929576B publication Critical patent/CN110929576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Studio Devices (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a face recognition method and a face recognition device based on a UVC protocol, wherein the face recognition method based on the UVC protocol comprises the following steps: s100, acquiring a picture or a video image containing face information; s200, identifying and analyzing the picture or video image containing the face information to obtain a face identification result, and storing the face identification result; and S300, the master control equipment communicates with the identification module through the extended UVC protocol to obtain the face identification result. The method has the advantages of high reusability, strong device compatibility, stable identification effect, convenient maintenance and convenient batch production, and provides a channel for supporting face identification after the intelligent upgrade of part of old master control equipment without a shooting function.

Description

Face recognition method and device based on UVC protocol
Technical Field
The invention relates to an intelligent recognition technology, in particular to a face recognition method and device based on a UVC protocol.
Background
The face recognition is a biological recognition technology for performing identity recognition based on face feature information of a person, and is a series of related technologies, generally called face recognition and face recognition, for acquiring an image or video stream containing a face by using a camera or a camera, automatically detecting and tracking the face in the image, and further performing face recognition on the detected face.
The existing face recognition usually adopts the mode of integrating the face recognition algorithm by the current main control equipment, and has the following problems: the reusability is low, and a face recognition algorithm needs to be transplanted again for different main control equipment devices; the quality of recognition is affected by the difference of hardware performance of the main control equipment; the old main control equipment without the camera shooting function is difficult to upgrade through the device to support face recognition.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a face recognition method based on a UVC protocol, which can improve reusability and device compatibility.
The invention also provides a face recognition device based on the UVC protocol, which uses the face recognition method.
According to the face recognition method based on the UVC protocol, the face recognition method based on the UVC protocol comprises the following steps: s100, acquiring a picture or a video image containing face information; s200, identifying and analyzing the picture or video image containing the face information to obtain a face identification result, and storing the face identification result; and S300, the master control equipment communicates with the identification module through the extended UVC protocol to obtain the face identification result.
The face recognition method based on the UVC protocol at least has the following beneficial effects: the reusability is high, and as long as the master control equipment supports the UVC protocol, the face recognition result can be obtained by expanding the UVC protocol to communicate with the recognition module; the device compatibility is strong, if the old master control equipment does not have a shooting function but supports the UVC protocol, the face recognition can be supported only by adding the shooting equipment and the recognition module for upgrading, and the recognition module can support three devices, namely windows, linux and andoidal due to the fact that the UVC protocol is expanded; the identification effect is stable and convenient to maintain, and the identification function is completely finished by the identification module and is not limited by the hardware performance of the main control equipment.
According to some embodiments of the present invention, the step S200 specifically includes: s210, identifying and analyzing the picture or video image containing the face information to obtain a face identification result; s220, storing the face recognition result into an extended UVC protocol equipment driver; and S230, the extended UVC protocol equipment drives and sends the face recognition result. The face recognition result is uniformly managed and sent by the device driver of the extended UVC protocol, so that data management is facilitated, the upper layer recognition logic is not interfered by the lower layer extended UVC protocol sending logic, and modification and maintenance are facilitated.
According to some embodiments of the present invention, the step S300 specifically includes: s310, the master control equipment acquires an equipment drive number of the extended UVC protocol equipment drive; s320, the main control equipment creates a thread, the thread monitors the corresponding extended UVC protocol equipment driver through the equipment driver number, and whether data update exists in the face recognition result is detected; and S330, the master control equipment monitors that the face recognition result has data updating, acquires a new face recognition result and copies the new face recognition result to the local. The main control equipment monitors the corresponding equipment driver of the extended UVC protocol through the equipment driver number by using the independent thread, effectively prevents information interference, can obtain a face recognition result in time, and can determine the next specific operation according to the related information in the face recognition result.
According to some embodiments of the invention, the face recognition result includes face image data, gender and age. The data acquisition of the face image data, the gender and the age is beneficial to the real-time image display and the statistical classification of related data under the condition that the master control equipment does not destroy the privacy of the user, and the method is suitable for places insensitive to detailed data of the user, such as passenger flow statistics and the like.
According to some embodiments of the invention, the face recognition result further comprises whether the face recognition result is a registration or not and registration information. Whether the registration is performed or not and registration information is acquired are judged, so that the method is beneficial to screening out the target by the main control equipment, further performs accurate operation on the target, and is suitable for places such as a human face attendance machine sensitive to detailed data.
The face recognition device based on the UVC protocol according to the embodiment of the second aspect of the invention comprises: the camera equipment is used for acquiring a picture or a video image comprising face information; the recognition module is used for recognizing and analyzing the picture or video image containing the information of the face, acquiring a face recognition result and sending the face recognition result; and the main control equipment is used for communicating with the identification module through an extended UVC protocol to acquire the face identification result.
The face recognition device based on the UVC protocol at least has the following beneficial effects: through the independent recognition module, the face recognition algorithm is unhooked from the specific main control equipment, the reusability and the transportability are improved, repeated development is not needed, the recognition effect is stable, the maintenance is convenient, and the method is suitable for batch production; meanwhile, the use of the UVC protocol is expanded, so that the recognition module can support windows, linux and android devices, the master control equipment can communicate with the recognition module by expanding the UVC protocol to obtain a face recognition result even if the master control equipment does not have a shooting function, and the compatibility of the devices is enhanced, so that the possibility is provided for the intelligent upgrading of the old master control equipment without the shooting function to support face recognition.
According to some embodiments of the invention, the identification module comprises: the recognition module is used for recognizing and analyzing the picture or video image containing the face information to obtain the face recognition result; and the equipment driving module is used for storing the face recognition result and sending the face recognition result based on an extended UVC protocol. The face recognition result is sent by an independent module, logic is simplified, recognition logic interference is prevented, attention is paid to a sending mechanism for expanding a UVC protocol, and expansion and maintenance are facilitated.
According to some embodiments of the present invention, the mobile terminal further comprises a data storage module, wherein the data storage module is used for storing the face recognition result data and the registration information. Data are stored uniformly, and management and later-stage query, statistics and classification are facilitated.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of the main steps of a method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a workflow of an identification module according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a workflow of a master control device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating interaction between an identification module and a host device according to an embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus of an example of the present invention;
FIG. 6 is a schematic block diagram of an apparatus including a data storage module in an embodiment of the invention.
Reference numerals:
the device comprises an image pickup device 100, an identification module 200, an identification module 210, a device driving module 220, a main control device 300 and a data storage module 400.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
The noun explains:
USB Video Class, is a protocol standard defined for USB Video capture devices, and is a protocol standard defined for USB Video capture devices and introduced by Microsoft in conjunction with several other device manufacturers, and is currently one of the USB org standards.
Referring to fig. 1, the main steps of the embodiment of the method of the present invention are: firstly, shooting equipment acquires a picture or a video image comprising face information and sends the data to an identification module; the recognition module receives the face picture or image data, and analyzes and recognizes the face picture or image data to obtain a face recognition result; the master control equipment is communicated with the identification module through the extended UVC protocol to obtain a face identification result. The method can be widely applied to occasions needing face recognition, such as unmanned business machines, automatic selling machines, intelligent household appliances, accurate advertisement putting, passenger flow statistics, face attendance machines and the like; because the identification module is independent of the master control equipment, the method is also suitable for the intelligent upgrading of the old master control equipment without the shooting function so as to support the face identification.
Referring to fig. 2, the main working flow of the recognition module in the embodiment of the invention is as follows, namely, the recognition analysis is carried out on the face picture or video image data to obtain a face recognition result; sending the face recognition result to a device driver of an extended UVC protocol; and controlling the transmission of the face recognition result by a device driver of an extended UVC protocol.
Referring to fig. 3, the main work flow of the main control device in the embodiment of the present invention is as follows: acquiring a device number corresponding to an extended UVC protocol device driver; and starting a thread, monitoring a corresponding extended UVC protocol device driver through the device number by the thread, detecting whether the face recognition result has data updating, and if so, acquiring a new face recognition result and copying the new face recognition result to the local.
In the following, an example in which an advertisement player is used as a main control device will be described to describe an interaction process between an identification module and the main control device in the embodiment of the present invention. Referring to fig. 4, after receiving the picture or video image including the face information, the recognition module analyzes and recognizes the picture or video image to obtain a face recognition result, and sends the face recognition result to the extended UVC protocol device driver to wait for the advertisement player to read the face recognition result. The advertisement delivery machine monitors the corresponding extended UVC protocol equipment driver, detects the update of the face recognition result, acquires a new face recognition result, analyzes data in the face recognition result, and performs classified advertisement delivery according to different data attributes. In this embodiment, the face recognition result includes: face image data, gender, age, whether the registered user is the registered user and related registered user information. The advertisement machine can deliver different advertisements according to the gender and age classification of the user, such as: putting cosmetic advertisements for females, electronic product advertisements for males, health product advertisements for the elderly and the like; it can be understood that if the user is a registered user and the related registered user information includes user preference information, the product advertisement interested by the user can be delivered according to the user preference. In the face recognition result in this embodiment, the face image data is previewed in real time through the UVC protocol, and other information needs to be acquired by extending the UVC protocol. It is understood that in situations where the user details are not sensitive (e.g., passenger flow statistics), the face recognition result may not include whether the user is a registered user and the related registered user information.
Referring to fig. 5, a schematic block diagram of an apparatus according to an embodiment of the present invention includes: the camera device 100, the recognition module 200 and the main control device 300. Among them, the image capturing apparatus 100 is used to acquire a picture or a video image including face information. The recognition module 200 is configured to perform recognition and analysis on the picture or video image including the face information, obtain a face recognition result, and send the face recognition result. The main control device 300 is configured to communicate with the identification module 200 by extending the UVC protocol, so as to obtain a face identification result.
Referring to fig. 6, a schematic block diagram of an apparatus including a data storage module according to an embodiment of the present invention includes: the camera device 100, the recognition module 200 and the main control device 300. The image capturing apparatus 100 is used to acquire a picture or a video image including face information. The recognition module 200 is configured to perform recognition and analysis on the picture or the video image including the information of the face, obtain a face recognition result, and send the face recognition result. The identification module 200 includes an identification module 210 and a device driver module 220. The recognition module 210 is configured to recognize and analyze a picture or a video image including face information to obtain a face recognition result. The device driver module 220 is configured to store the face recognition result and send the face recognition result based on the extended UVC protocol. The identification module 210 determines whether the registered user is a registered user according to the user data in the data storage module, and acquires the related user information; the face recognition result may also be stored in the data storage module 400 as needed. It is understood that in some embodiments of the present invention that do not include the identification data storage module 400, the identification module 200 may also include the identification module 210 and the device driver module 220. The main control device 300 is configured to communicate with the recognition module 200 by extending the UVC protocol, obtain a face recognition result, and perform a next operation according to the face recognition result and a self function.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (8)

1. A face recognition method based on UVC protocol is characterized by comprising the following steps:
s100, acquiring a picture or a video image containing face information;
s200, identifying and analyzing the picture or video image containing the face information to obtain a face identification result, and storing the face identification result;
and S300, the master control equipment communicates with the identification module through the extended UVC protocol to obtain the face identification result.
2. The UVC protocol-based face recognition method according to claim 1, wherein the step S200 specifically includes:
s210, identifying and analyzing the picture or video image containing the face information to obtain a face identification result;
s220, storing the face recognition result into an extended UVC protocol equipment driver;
and S230, the extended UVC protocol equipment drives and sends the face recognition result.
3. The UVC protocol-based face recognition method according to claim 2, wherein the step S300 specifically includes:
s310, the master control equipment acquires an equipment drive number of the extended UVC protocol equipment drive;
s320, the main control equipment creates a thread, the thread monitors the corresponding extended UVC protocol equipment driver through the equipment driver number, and whether data update exists in the face recognition result is detected;
and S330, the master control equipment monitors that the face recognition result has data updating, acquires a new face recognition result and copies the new face recognition result to the local.
4. A UVC protocol based face recognition method according to any one of claims 1 to 3, wherein the face recognition result includes face image data, gender and age.
5. The UVC protocol based face recognition method of claim 4, wherein said face recognition result further includes registration and registration information.
6. A face recognition apparatus based on UVC protocol for performing the method of any of claims 1 to 5, comprising:
the camera equipment is used for acquiring a picture or a video image comprising face information;
the identification module is used for identifying and analyzing the picture or video image containing the face information, acquiring a face identification result and sending the face identification result;
and the main control equipment is used for communicating with the identification module through an extended UVC protocol to acquire the face identification result.
7. The UVC protocol based face recognition device of claim 6, wherein said recognition module comprises:
the recognition module is used for recognizing and analyzing the picture or video image containing the face information to obtain the face recognition result;
and the equipment driving module is used for storing the face recognition result and sending the face recognition result based on an extended UVC protocol.
8. The UVC protocol based face recognition apparatus of claim 6, further comprising a data storage module for storing face recognition result data and registration information.
CN201911009794.7A 2019-10-23 2019-10-23 Face recognition method and device based on UVC protocol Active CN110929576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911009794.7A CN110929576B (en) 2019-10-23 2019-10-23 Face recognition method and device based on UVC protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911009794.7A CN110929576B (en) 2019-10-23 2019-10-23 Face recognition method and device based on UVC protocol

Publications (2)

Publication Number Publication Date
CN110929576A true CN110929576A (en) 2020-03-27
CN110929576B CN110929576B (en) 2022-11-11

Family

ID=69849304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911009794.7A Active CN110929576B (en) 2019-10-23 2019-10-23 Face recognition method and device based on UVC protocol

Country Status (1)

Country Link
CN (1) CN110929576B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073684A (en) * 2020-08-20 2020-12-11 浪潮软件科技有限公司 Method for collecting universal image video resources

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130035517A (en) * 2011-09-30 2013-04-09 엘지이노텍 주식회사 Apparatus for transmitting image data
CN106559424A (en) * 2016-11-16 2017-04-05 杭州释码云信息技术有限公司 A kind of iris image encryption method, equipment and system
CN109101454A (en) * 2018-07-03 2018-12-28 建荣半导体(深圳)有限公司 A kind of communication means, system and the electronic equipment of customized usbcam debugging interface
CN109660699A (en) * 2019-01-17 2019-04-19 深圳市迪威泰实业有限公司 A kind of AI intelligent imaging identification In vivo detection video camera
CN109670445A (en) * 2018-12-19 2019-04-23 宜视智能科技(苏州)有限公司 Low vision aid intelligent glasses system
CN210573822U (en) * 2019-07-23 2020-05-19 珠海研果科技有限公司 Face recognition module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130035517A (en) * 2011-09-30 2013-04-09 엘지이노텍 주식회사 Apparatus for transmitting image data
CN106559424A (en) * 2016-11-16 2017-04-05 杭州释码云信息技术有限公司 A kind of iris image encryption method, equipment and system
CN109101454A (en) * 2018-07-03 2018-12-28 建荣半导体(深圳)有限公司 A kind of communication means, system and the electronic equipment of customized usbcam debugging interface
CN109670445A (en) * 2018-12-19 2019-04-23 宜视智能科技(苏州)有限公司 Low vision aid intelligent glasses system
CN109660699A (en) * 2019-01-17 2019-04-19 深圳市迪威泰实业有限公司 A kind of AI intelligent imaging identification In vivo detection video camera
CN210573822U (en) * 2019-07-23 2020-05-19 珠海研果科技有限公司 Face recognition module

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ALAA ELEYAN;HUSEYIN OZKARAMANLI;HASAN DEMIREL: "Adaptive and fixed eigenspace methods with a novel fitness measure for video based face recognition", 《2009 24TH INTERNATIONAL SYMPOSIUM ON COMPUTER AND INFORMATION SCIENCES》 *
赖章勇: "基于人脸识别的考生身份验证系统的设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073684A (en) * 2020-08-20 2020-12-11 浪潮软件科技有限公司 Method for collecting universal image video resources

Also Published As

Publication number Publication date
CN110929576B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN109377293B (en) Advertisement putting effect monitoring method and system
CN107743224B (en) Method and system for reminding dirtiness of lens, readable storage medium and mobile terminal
US20210398139A1 (en) Methods and devices for processing information
JP6030240B2 (en) Method and apparatus for face recognition
US10019058B2 (en) Information processing device and information processing method
CN104301383A (en) Upgrading method, device and upgrading equipment
US11731526B2 (en) Systems and methods for identifying characteristics of electric vehicles
WO2012093407A2 (en) Logo recognition
US11527143B2 (en) People metering enhanced with light projection prompting for audience measurement
CN110929576B (en) Face recognition method and device based on UVC protocol
US20230396838A1 (en) Methods and apparatus of media device detection for minimally invasive media meters
CN109345312A (en) The method and system of advertisement are put on by classification based on interactive voice and recognition of face
CN101014095A (en) Method for displaying an identified region together with an image, and image pick-up apparatus
CN109445994A (en) Starting processing method, device, terminal device and storage medium
CN104063952A (en) Counterfeit money information management method and system
CN113377637A (en) Performance capacity diagnostic method and device
CN113422922A (en) Intelligent conference screen projection control method and device based on cloud computing and computer storage medium
CN115686963A (en) Server compatibility testing method and device
CN115278274A (en) Live stream processing method, device, equipment and storage medium
CN101547042A (en) Control device and communication control method
GB2600614A (en) Methods and apparatus of identification of streaming activity and source for cached media on streaming devices
CN108171224A (en) A kind of electron album and attendance recorder
CN110414322B (en) Method, device, equipment and storage medium for extracting picture
CN117608506A (en) Information display method, information display device, electronic equipment and storage medium
CN208013968U (en) A kind of electron album and attendance recorder

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