CN110737413A - Printing management method and device based on face recognition and computer equipment - Google Patents

Printing management method and device based on face recognition and computer equipment Download PDF

Info

Publication number
CN110737413A
CN110737413A CN201910979887.6A CN201910979887A CN110737413A CN 110737413 A CN110737413 A CN 110737413A CN 201910979887 A CN201910979887 A CN 201910979887A CN 110737413 A CN110737413 A CN 110737413A
Authority
CN
China
Prior art keywords
user
printing
task
face recognition
face
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
CN201910979887.6A
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.)
Shenzhen Qianhai Huanlianyi Information Technology Service Co Ltd
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Original Assignee
Shenzhen Qianhai Huanlianyi Information Technology Service 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 Shenzhen Qianhai Huanlianyi Information Technology Service Co Ltd filed Critical Shenzhen Qianhai Huanlianyi Information Technology Service Co Ltd
Priority to CN201910979887.6A priority Critical patent/CN110737413A/en
Publication of CN110737413A publication Critical patent/CN110737413A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • 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

Abstract

The invention discloses a printing management method, a printing management device and computer equipment based on face recognition, wherein the method comprises the steps of receiving a printing task from an user terminal and storing the printing task into a task database, acquiring face feature information corresponding to the printing task according to a user information table, acquiring a target printing task matched with a user image in the task database according to a face recognition model if a user image acquired by an optional printer is received, and sending a file to be printed in the target printing task to a printer corresponding to the user image if the number of the target printing tasks is not zero.

Description

Printing management method and device based on face recognition and computer equipment
Technical Field
The invention relates to the technical field of computers, in particular to printing management methods and devices based on face recognition, computer equipment and storage media.
Background
In office demands, enterprises can set a shared printer for employees to print files, however, the setting mode only realizes common shared printing, when a plurality of employees use shared printers to print files simultaneously, a lot of time and energy are consumed to identify the files printed by each employee, if file identification errors occur in the process, part of employees cannot take the files printed by themselves, and resource problems occur in repeated printing, and if the employees print the files do not take the files from the printers in time, confidential information is leaked.
Disclosure of Invention
The embodiment of the invention provides printing management methods and devices based on face recognition, computer equipment and storage media, and aims to solve the problems of low resource utilization rate and low printing safety in the prior art.
, an embodiment of the present invention provides methods for managing print based on face recognition, which includes:
if a print task from any user terminal is received, storing the print task in a preset task database;
acquiring face feature information corresponding to the printing task according to a preset user information table;
if a user image collected by the printer from any is received, acquiring a printing task matched with the user image from the task database according to a preset face recognition model as a target printing task;
and if the number of the target printing tasks is not zero, sending the file to be printed in the target printing tasks to a printer corresponding to the user image.
In a second aspect, an embodiment of the present invention provides printing management apparatuses based on face recognition, including:
a print job storage unit, configured to store, if a print job is received from any of the user terminal, the print job in a preset job database;
the face characteristic information acquisition unit is used for acquiring face characteristic information corresponding to the printing task according to a preset user information table;
the target printing task obtaining unit is used for obtaining a printing task matched with the user image from the task database as a target printing task according to a preset face recognition model if the user image collected by the printer from any is received;
and the file to be printed sending unit is used for sending the file to be printed in the target printing task to a printer corresponding to the user image if the number of the target printing tasks is not zero.
In a third aspect, an embodiment of the present invention further provides computer apparatuses, which include a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the method for managing print based on face recognition according to the .
In a fourth aspect, the present invention further provides computer-readable storage media, where the computer-readable storage media stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the method for managing print based on face recognition according to .
The embodiment of the invention provides printing management methods, devices and computer equipment based on face recognition, wherein a printing task from a user terminal is received and stored in a task database, face feature information corresponding to the printing task is acquired according to a user information table, if a user image acquired by any printer is received, a target printing task matched with the user image in the task database is acquired according to a face recognition model, and if the number of the target printing tasks is not zero, a file to be printed in the target printing task is sent to the printer corresponding to the user image.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a printing management method based on face recognition according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of a printing management method based on face recognition according to an embodiment of the present invention;
FIG. 3 is a schematic view of a sub-flow of a printing management method based on face recognition according to an embodiment of the present invention;
fig. 4 is another sub-flowchart of a printing management method based on face recognition according to an embodiment of the present invention;
fig. 5 is another sub-flowchart of a print management method based on face recognition according to an embodiment of the present invention;
fig. 6 is another flowchart of a print management method based on face recognition according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a print management apparatus based on face recognition according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As used in this specification and the appended claims, the singular forms "", "" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of or more of the associated listed items.
Referring to fig. 1 and 2, fig. 1 is a schematic flowchart of a print management method based on face recognition according to an embodiment of the present invention, and fig. 2 is a schematic view of an application scenario of the print management method based on face recognition according to the embodiment of the present invention, the print management method based on face recognition is applied to a management server 10, the method is executed by application software installed in the management server 10, a user terminal 20 and a printer 30 are connected to the management server 10 via a network to transmit data information, wherein the user terminal 20 is a terminal device capable of sending a print job, such as a desktop computer, a notebook computer, a tablet computer, or a mobile phone, the management server 10 is an enterprise terminal for processing the print job and controlling the printer 30 to print, and the printer 30 is a terminal device having an image acquisition function and a file printing function.
As shown in fig. 1, the method includes steps S110 to S140.
And S110, if the print job from any user terminal is received, storing the print job in a preset job database.
Specifically, the print tasks comprise task names, domain name information of the user terminal sending the print tasks, sending time of the print tasks, file contents, file page numbers and other information, the management server receives the print tasks sent by the user terminal and stores the print tasks into a preset task database, and the task database is a database preset in the management server and used for storing the print tasks.
For example, information included in a certain print job is shown in table 1.
Task name Domain name information Time of transmission Document content Number of pages of document
Print-11 103.11.**.01 2019-09-03;10:13:38 Abc.docx 13
TABLE 1
And S120, acquiring the face feature information corresponding to the printing task according to a preset user information table.
Specifically, the user information table comprises a plurality of user domain names and face feature information corresponding to each user domain name, the user domain names in the user information table are all domain name information corresponding to user terminals of the enterprise, each user terminal has users, each user corresponds to pieces of face feature information in the user information table, the user domain names in the user information table correspond to the face feature information according to the corresponding relation, wherein the face feature information is a feature vector extracted from a photo of each user terminal corresponding to the user, and the face feature information can be used for reflecting the appearance features of the users.
In addition, the user domain name included in the user information table is predetermined information, and if other devices than the local enterprise are connected to the management server and then send the print job to the management server, because the domain name information corresponding to the device is not recorded in the user information table, the management server cannot acquire the face feature information corresponding to the print job from the user information table, that is, the other devices than the local enterprise can be prevented from using the printer of the local enterprise to print the file.
In a specific embodiment, the face feature information corresponding to the user domain name matched with the domain name information in the user information table is obtained as the face feature information. And acquiring the face characteristic information of the user domain name corresponding to the domain name in the user information table according to the domain name information in the printing task, so as to obtain the face characteristic information corresponding to the printing task.
In the embodiment, as shown in fig. 3, step S121 is further included before step S120.
And S121, acquiring the face feature information corresponding to the user domain name matched with the domain name information in the user information table as the face feature information.
Before the face feature information corresponding to the print job is obtained according to the user information table, a user information table can be created according to user photos corresponding to each user domain names, specifically, a vector extraction model is an extraction model used for extracting the face feature information from the photos, the vector extraction model comprises a vector conversion rule and a feature vector calculation formula, each user domain name corresponds to user photos, corresponding face feature information is extracted from user photos, namely, the user domain name contained in the user information table corresponds to the face feature information .
In the embodiment, as shown in fig. 4, step S121 includes sub-steps S1211, S1212, and S1213.
And S1211, decoloring each user photo to obtain a photo set.
And performing decolorizing on the user photos at every to obtain a photo set, wherein the user photos are color photos, and in order to facilitate subsequent processing of the user photos and simultaneously retain information in the user photos to the maximum extent, the user photos can be subjected to decolorizing processing to obtain decolorized photos only containing gray pixels, and the photo set can be obtained after all the user photos are subjected to decolorizing processing.
And S1212, converting the decolored photos contained in the photo set according to the vector conversion rule to obtain a vector set.
According to the vector conversion rule, the photo albumSpecifically, the vector conversion rule is a conversion rule for converting a decolour photograph to obtain -dimensional vectors, the decolour photograph comprises a plurality of pixels, each pixel corresponds to gray values, each pixel in the decolour photograph can be represented by a numerical value according to the gray value, the gray value of each pixel is obtained from the decolour photograph in a row-by-row or column-by-column mode to obtain -dimensional vectors, the -dimensional vectors corresponding to all the decolour photographs in a photograph set are obtained to obtain a vector set B, if the photograph set comprises x decolour photographs, the corresponding vector set comprises x -dimensional vectors, and B ═ C can be used1,C2,……,CxAnd expressing, wherein C is the -dimensional vector contained in the vector set.
The gray value is represented by a non-negative integer, the value range of the gray value corresponding to the pixel is [0, 255], the gray value is 0, the pixel is black, the gray value is 255, the pixel is white, and the gray value is other values, so that the pixel is specific gray levels between white and black.
For example, if an decolour photograph is composed of a × b pixels, where a is the number of pixels contained in the horizontal direction and b is the number of pixels contained in the vertical direction, the number of gray-level values contained in the -dimensional vector obtained by mapping is y ═ a × b, i.e., the -dimensional vector corresponding to the decolour photograph is C1={c1,c2,…,cy}。
And S1213, calculating according to the feature vector calculation formula and the vector set to obtain feature vectors corresponding to each user photos as the face feature information.
And (2) calculating to obtain feature vectors corresponding to each user photos as the face feature information according to the feature vector calculation formula and the vector set, wherein the feature vector calculation formula is specifically a formula for calculating the vector set to obtain feature vectors corresponding to each user photo, and the step of calculating the feature vectors corresponding to each user photo comprises the steps of (1) calculating contained in the vector set BThe dimensional vectors are averaged to obtain an -dimensional average vector psi,
Figure BDA0002234834070000061
the obtained psi is -dimensional vectors of 1 × y (1 row and y columns), and (2) the difference between each -dimensional vectors in the vector set B and the -dimensional average vector psi is calculated, phii=Ci- Ψ, i ═ 1, 2, 3, …, x, and the vector matrix Φ ═ { Φ ═ can be obtained1,Φ2,…,Φx}; obtained phii vectors of dimensions of 1 x y, the obtained phi is vector matrixes of x rows and y columns, and (3) x orthogonal unit vectors u are obtained by calculationiWhere i is 1, 2, 3, …, x, unit vector uiI.e. can be used to describe every phiiDistribution of (2). u. ofiCan be obtained by calculating a covariance matrix, wherein the covariance matrix F is phiTX Φ, wherein F ═ F1,f2,…,fx},ΦTFor the transformed vector matrix of phi, phi is vector matrices of x rows and y columns, then phiTThe feature vector U of the covariance matrix is calculated as vector matrixes of y rows and x columns, wherein F is a vector matrix of x rows and x columns, and U is { U ═1,u2,…,ux},uiIs x 1 vectors, and uT i×ui=1、uT i×uk0(i ≠ k), i ≠ 1, 2, 3, …, x, (4) calculates each vectors ΦiCorresponding eigenvector Ωi,Ωi=uT i×Φi1, 2, 3, …, x, resulting in ΩiIs 1 × x -dimensional vectors, ΩiI.e., facial feature information corresponding to each decoloured photograph.
S130, if the user image collected by the printer from any is received, acquiring a print task matched with the user image from the task database according to a preset face recognition model to serve as a target print task.
The printer has an image acquisition function, and can acquire user images through image acquisition equipment of the printer, or cameras corresponding to the user images are arranged outside each printer to acquire the user images.
In the embodiment, as shown in fig. 5, step S130 includes sub-steps S131, S132, S133, and S134.
S131, obtaining user characteristic information corresponding to the user image according to the vector extraction rule.
And acquiring user characteristic information corresponding to the user image according to the vector extraction rule. Specifically, the acquired user image is a color image, and the user feature information is extracted after the user image needs to be decolored. The vector extraction rule can extract corresponding user feature information from the user image, and the user feature information is the feature vector extracted from the user image.
The specific steps comprise that the size of the user image is cut to obtain an image with the same size as the user photo, the size-adjusted user image is subjected to decolorizing treatment to obtain a corresponding decolorized image, and a corresponding face characteristic vector omega is extracted from the decolorized image according to a vector extraction rulepFace feature vector omegap vectors of 1 × x dimensions are included, the decolorized image corresponding to the user image includes a plurality of pixels, each pixel corresponds to gray values, each pixels in the decolorized image can be represented by numerical values through the gray values, and the specific process of extracting the user feature information is the same as the process of obtaining the -dimension vectors from the user picture, which is not described herein again.
S132, calculating to obtain a difference value between the user characteristic information and the face characteristic information of each printing task in the task database according to the difference calculation formula.
Calculating a difference value between the user feature information and the face feature information of each print task in the task database according to the difference calculation formula, wherein the difference calculation formula is a calculation formula for calculating the difference value between the user feature information and the face feature information of each print task, the difference value between the user feature information and the face feature information can be used for quantifying the difference between the user feature information and the face feature information, and the smaller the difference value is, the more similar the user feature information and the face feature information is, the difference calculation formula can be expressed as epsiloni=||Ωp-Ωi||2,ΩpFor user characteristic information, eiIs the difference value, omega, between the user characteristic information and the face characteristic information of the ith print taskiThe face feature information is the face feature information of the ith print job. User characteristic information omegapIs 1 × x -dimensional vectors, ΩiAlso -dimensional vectors of 1 × x, the difference calculation formula is the euclidean distance between the two vectors.
S133, judging whether the difference value is smaller than the difference threshold value every .
Whether the difference value is smaller than the difference threshold value or not is judged every , printing tasks correspondingly calculate difference values, a plurality of printing tasks correspondingly calculate a plurality of difference values, whether each difference value obtained through calculation is smaller than the difference threshold value or not is judged, if the difference value corresponding to a certain printing task is smaller than the difference threshold value, it is indicated that the user image is matched with the face feature information of the printing task, and if the difference value corresponding to a certain printing task is not smaller than the difference threshold value, it is indicated that the user image is not matched with the face feature information of the printing task.
S134, if the difference value is smaller than the difference threshold value, determining the print job corresponding to the difference value as the target print job.
user terminals can simultaneously send multiple print jobs to the management server, so the number of difference values less than the difference preset can be zero, or more, and the number of correspondingly acquired target print jobs is zero, or more.
And S140, if the number of the target printing tasks is not zero, sending the file to be printed in the target printing tasks to a printer corresponding to the user image.
If the number of the target printing tasks is not zero, the fact that at least printing tasks corresponding to the user images are contained in the task database is indicated, the file content in each target printing task is the file to be printed of the target printing task, and the management server can send the files to be printed in all the target printing tasks to the printer corresponding to the user images, namely, the files to be printed to the printer for collecting the user images.
If the number of the target printing tasks is zero, the fact that the printing tasks corresponding to the user images are not contained in the task database is indicated, and the prompt information of the target printing tasks which are not acquired can be sent to the printer corresponding to the user images so as to prompt corresponding users.
After receiving the file to be printed, the printer can directly print the file to be printed, and can also print the file to be printed after receiving the confirmation information sent by the user. Specifically, if the management server receives the confirmation information from the printer corresponding to the user image, the management server sends a printing confirmation instruction to the printer corresponding to the user image to print the file to be printed. After receiving the file to be printed, the printer displays information such as the file name, the file type, the file page number and the like of the file to be printed, and the printer receiving the file to be printed is the printer for collecting the user image, so that a user can check and confirm the information of the file to be printed displayed on the printer, and then can send confirmation information to the management server through the printer, the management server receives the confirmation information and sends a printing confirmation instruction to the printer, and the printer can print the file to be printed after receiving the printing confirmation instruction.
In the embodiment, step S140 is followed by step S150, as shown in fig. 6.
And S150, if the printed information from any printer is received, deleting the print task corresponding to the printed information from the task database.
Specifically, after the printer prints the to-be-printed task, the printed information is sent to the management server, the printed information comprises information of the currently printed file, and after the management server acquires the printed information, the corresponding printing task can be acquired according to the information of the printed file, and the printing task is deleted from the task database, so that the to-be-printed file in the printing task is prevented from being repeatedly printed.
According to the printing management method based on the face recognition, provided by the embodiment of the invention, the printing tasks from any user terminal are received and stored in the task database, the face characteristic information corresponding to the printing tasks is obtained according to the user information table, if the user images collected by any printer are received, the target printing tasks matched with the user images in the task database are obtained according to the face recognition model, if the number of the target printing tasks is not zero, the files to be printed in the target printing tasks are sent to the printer corresponding to the user images, through the method, the user taking the printing files can be verified to ensure that the printed files are matched with the user images, the user sending the printing tasks can take correct files, repeated printing due to wrong taking of the files is avoided, leakage caused by secret data obtained by other people is avoided, and the utilization rate and the safety of printing resources are improved.
An embodiment of the present invention further provides print management apparatuses based on face recognition, where the print management apparatuses based on face recognition are used to execute any embodiment of the aforementioned print management method based on face recognition, specifically, referring to fig. 7, fig. 7 is a schematic block diagram of a print management apparatus based on face recognition according to an embodiment of the present invention, and the print management apparatus based on face recognition may be configured in the management server 10.
As shown in fig. 7, the print managing apparatus 100 based on face recognition includes a print job storage unit 110, a face feature information acquiring unit 120, a target print job acquiring unit 130, and a to-be-printed file transmitting unit 140.
A print job storage unit 110, configured to store the print job in a preset job database if the print job is received from any of the user terminals.
A face feature information obtaining unit 120, configured to obtain, according to a preset user information table, face feature information corresponding to the print job. And acquiring the face characteristic information corresponding to the user domain name matched with the domain name information in the user information table as the face characteristic information.
In another embodiment of the present invention, the printing management apparatus 100 for face recognition further includes a sub-unit: the user information table creating unit 121.
A user information table creating unit 121, configured to obtain, according to a preset vector extraction model, corresponding facial feature information from each user photo of the user domain name to create the user information table.
In another embodiment of the present invention, the user information table creating unit 121 includes sub-units: a user photo decolorizing unit 1211, a decolorizing photo converting unit 1212, and a feature vector calculating unit 1213.
The system comprises a user photo decolorizing unit 1211 which is used for decolorizing each user photo to obtain a photo set, a decolorized photo converting unit 1212 which is used for converting the decolorized photos contained in the photo set according to the vector conversion rule to obtain a vector set, and a feature vector calculating unit 1213 which is used for calculating a feature vector corresponding to each user photo according to the feature vector calculation formula and the vector set to obtain the face feature information.
And the target print job acquisition unit 130 is configured to, if the user image acquired by the printer from any is received, acquire, from the job database, a print job matching the user image as a target print job according to a preset face recognition model.
In other embodiments of the present invention, the target print job acquiring unit 130 includes sub-units: a user characteristic information acquisition unit 131, a difference value calculation unit 132, a difference value judgment unit 133, and a target print job determination unit 134.
The printing system comprises a user image acquiring unit 131, a difference value calculating unit 132, a difference value judging unit 133 and a target printing task determining unit 134, wherein the user image acquiring unit 131 is used for acquiring user feature information corresponding to the user image according to the vector extraction rule, the difference value calculating unit 132 is used for calculating and obtaining a difference value between the user feature information and face feature information of each printing task in the task database according to the difference calculation formula, the difference value judging unit 133 is used for judging whether the difference value is smaller than the difference threshold value every , and the target printing task determining unit 134 is used for determining a printing task corresponding to the difference value as the target printing task if the difference value is smaller than the difference threshold value.
A to-be-printed file sending unit 140, configured to send the to-be-printed file in the target print job to a printer corresponding to the user image if the number of the target print jobs is not zero.
And the printing instruction sending unit is used for sending an instruction for confirming printing to the printer corresponding to the user image to print the file to be printed if the management server receives confirmation information from the printer corresponding to the user image.
In another embodiment of the present invention, the printing management apparatus 100 for face recognition further includes a sub-unit: a print job deleting unit 150.
A print job deleting unit 150, configured to delete, when the printed information from any of the printers is received, the print job corresponding to the printed information from the job database.
The printing management device based on the face recognition is used for executing the printing management method based on the face recognition, the printing tasks from any user terminal are received and stored in the task database, the face feature information corresponding to the printing tasks is obtained according to the user information table, if the user images collected by any printer are received, the target printing tasks matched with the user images in the task database are obtained according to the face recognition model, if the number of the target printing tasks is not zero, the files to be printed in the target printing tasks are sent to the printer corresponding to the user images, through the method, the users taking the printing files can be verified, the printed files are ensured to be matched with the user images, the users sending the printing tasks can take the correct files, repeated printing due to wrong files is avoided, leakage caused by secret data obtained by other people is avoided, and the utilization rate and the safety of printing resources are improved.
The above-described print management apparatus based on face recognition may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Referring to fig. 8, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform a print management method based on face recognition.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the nonvolatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be caused to execute a print management method based on face recognition.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 500 to which aspects of the present invention may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to run a computer program 5032 stored in a memory to implement the following functions, if a print job from the user terminal of any is received, store the print job in a preset job database, obtain face feature information corresponding to the print job according to a preset user information table, if a user image collected by the printer of any is received, obtain a print job matched with the user image from the job database as a target print job according to a preset face recognition model, and if the number of the target print jobs is not zero, send a file to be printed in the target print job to a printer corresponding to the user image.
In the embodiment, the processor 502 further performs an operation of obtaining, as the facial feature information, facial feature information corresponding to a user domain name in the user information table that matches the domain name information.
In the embodiment, when the processor 502 performs the step of obtaining the face feature information corresponding to the user domain name matched with the domain name information in the user information table as the face feature information, the processor performs the following operations of decolorizing each user photo to obtain a photo set, converting the decolorized photos included in the photo set according to the vector conversion rule to obtain a vector set, and calculating according to the feature vector calculation formula and the vector set to obtain feature vectors corresponding to each user photo as the face feature information.
In the embodiment, when executing the step of obtaining the target print job matching the job database with the user image according to the preset face recognition model, the processor 502 obtains the user feature information corresponding to the user image according to the vector extraction rule, calculates the difference value between the user feature information and the face feature information of each print job in the job database according to the difference calculation formula, judges whether the difference value is less than the difference threshold value every , and determines the print job corresponding to the difference value as the target print job if the difference value is less than the difference threshold value.
In the embodiment, processor 502 is further configured to delete a print job corresponding to printed information from the job database if the printed information is received from any of the printers.
For example, in embodiments, the computer device may include only a memory and a processor, and in such embodiments, the structure and function of the memory and processor may be similar to those of embodiment shown in fig. 8, and thus will not be described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), ready-made Programmable arrays (FPGAs) or other Programmable logic devices, discrete or transistor logic devices, discrete hardware components, etc.
The computer readable storage medium is stored with a computer program, wherein the computer program when executed by a processor implements the steps of storing a print job from a user terminal into a preset job database, acquiring face feature information corresponding to the print job according to a preset user information table, acquiring a print job matching the user image from the job database according to a preset face recognition model as a target print job if a user image collected by a printer is received, and sending a file to be printed in the target print job to a printer corresponding to the user image if the number of the target print jobs is not zero.
In the embodiment, the method further includes obtaining, as the facial feature information, facial feature information corresponding to a user domain name in the user information table that matches the domain name information.
In the embodiment, the step of obtaining the face feature information corresponding to the user domain name matched with the domain name information in the user information table as the face feature information includes decolorizing each user photo to obtain a photo set, converting the decolorized photos included in the photo set according to the vector conversion rule to obtain a vector set, and calculating according to the feature vector calculation formula and the vector set to obtain feature vectors corresponding to each user photo as the face feature information.
In an embodiment, the step of obtaining the target print job matching the job database and the user image according to the preset face recognition model includes obtaining user feature information corresponding to the user image according to the vector extraction rule, obtaining a difference value between the user feature information and face feature information of each print job in the job database by calculation according to the difference calculation formula, judging whether the difference value is smaller than the difference threshold value every , and determining the print job corresponding to the difference value as the target print job if the difference value is smaller than the difference threshold value.
In , the method further includes deleting a print job corresponding to the printed information from the job database if the printed information is received from any of the printers.
Those skilled in the art will readily appreciate that the specific processes and apparatus described above, and the specific processes and acts of the illustrated devices, apparatus, and units are capable of being practiced with electronic hardware, computer software, or combinations of both, that the elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, the components and steps of the various examples having been described in the foregoing description generally in terms of the functions for clarity of understanding the interchangeability of hardware and software.
For example, the above-described embodiments of the apparatus are merely illustrative, for example, the division of the units is only a logical division, and in actual implementation, there may be other divisions, or units with the same function may be grouped into units, for example, a plurality of units or components may be combined or integrated with another systems, or features may be omitted or not executed.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in places, or may also be distributed on multiple network units.
In addition, the functional units in the embodiments of the present invention may be integrated into processing units, or each unit may exist alone physically, or two or more units are integrated into units.
Based on the understanding that the technical solution of the present invention is essentially or partially contributed to by the prior art, or that all or part of the technical solution can be embodied in the form of a software product stored in computer-readable storage media, which includes several instructions for making computer devices (which may be personal computers, servers, or network devices) execute all or part of the steps of the methods described in the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1, printing management method based on face recognition, applied to management server, the management server communicates with at least user terminal and at least printer, the method includes:
if a print task from any user terminal is received, storing the print task in a preset task database;
acquiring face feature information corresponding to the printing task according to a preset user information table;
if a user image collected by the printer from any is received, acquiring a printing task matched with the user image from the task database according to a preset face recognition model as a target printing task;
and if the number of the target printing tasks is not zero, sending the file to be printed in the target printing tasks to a printer corresponding to the user image.
2. The printing management method based on face recognition according to claim 1, wherein the printing job includes domain name information, the user information table includes a plurality of user domain names and face feature information corresponding to each of the user domain names, and the obtaining of the face feature information corresponding to the printing job according to a preset user information table includes:
and acquiring the face characteristic information corresponding to the user domain name matched with the domain name information in the user information table as the face characteristic information.
3. The printing management method based on face recognition according to claim 2, before the obtaining of the face feature information corresponding to the printing task according to a preset user information table, further comprising:
and acquiring corresponding face feature information from the user photos of each user domain name according to a preset vector extraction model to create the user information table.
4. The printing management method based on face recognition according to claim 3, wherein the vector extraction model includes a vector conversion rule and a feature vector calculation formula, and the obtaining of the face feature information corresponding to each user photos of the user domain name according to the preset vector extraction model to create the user information table includes:
decolorizing each of the user's photos to obtain a collection of photos;
according to the vector conversion rule, the decolored photos contained in the photo set are converted to obtain a vector set;
and calculating to obtain characteristic vectors corresponding to the user photos of every according to the characteristic vector calculation formula and the vector set, wherein the characteristic vectors are used as the face characteristic information.
5. The printing management method based on face recognition according to claim 1, wherein the face recognition model comprises a vector extraction rule, a difference calculation formula calculation and a difference threshold, and the obtaining of the target printing task of the task database matched with the user image according to the preset face recognition model comprises:
acquiring user characteristic information corresponding to the user image according to the vector extraction rule;
calculating to obtain a difference value between the user characteristic information and the face characteristic information of each printing task in the task database according to the difference calculation formula;
determining whether the difference value is less than the difference threshold;
and if the difference value is smaller than the difference threshold value, determining the print task corresponding to the difference value as the target print task.
6. The print management method based on face recognition according to claim 1, further comprising:
and if the printed information from any printer is received, deleting the printing task corresponding to the printed information from the task database.
7, A print management device based on face recognition, comprising:
a print job storage unit, configured to store, if a print job is received from any of the user terminal, the print job in a preset job database;
the face characteristic information acquisition unit is used for acquiring face characteristic information corresponding to the printing task according to a preset user information table;
the target printing task obtaining unit is used for obtaining a printing task matched with the user image from the task database as a target printing task according to a preset face recognition model if the user image collected by the printer from any is received;
and the file to be printed sending unit is used for sending the file to be printed in the target printing task to a printer corresponding to the user image if the number of the target printing tasks is not zero.
8. The print management apparatus based on face recognition according to claim 7, further comprising:
and the user information table creating unit is used for acquiring the face feature information corresponding to the user domain name matched with the domain name information in the user information table as the face feature information.
computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the face recognition based print management method according to any of claims 1 to 6 when executing the computer program.
10, computer-readable storage media, characterized in that the computer-readable storage media stores a computer program which, when executed by a processor, causes the processor to execute the face recognition based print management method according to any of claims 1 to 6 to .
CN201910979887.6A 2019-10-15 2019-10-15 Printing management method and device based on face recognition and computer equipment Pending CN110737413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910979887.6A CN110737413A (en) 2019-10-15 2019-10-15 Printing management method and device based on face recognition and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910979887.6A CN110737413A (en) 2019-10-15 2019-10-15 Printing management method and device based on face recognition and computer equipment

Publications (1)

Publication Number Publication Date
CN110737413A true CN110737413A (en) 2020-01-31

Family

ID=69268909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910979887.6A Pending CN110737413A (en) 2019-10-15 2019-10-15 Printing management method and device based on face recognition and computer equipment

Country Status (1)

Country Link
CN (1) CN110737413A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486427A (en) * 2020-10-28 2021-03-12 江苏集萃未来城市应用技术研究所有限公司 Self-service printer based on rapid face recognition and working method thereof
CN112905130A (en) * 2021-02-05 2021-06-04 深圳市商汤科技有限公司 Self-service printing method, device, equipment and storage medium
CN114047889A (en) * 2021-11-05 2022-02-15 方正株式(武汉)科技开发有限公司 Printer control system based on face recognition
CN114663896A (en) * 2022-05-17 2022-06-24 深圳前海环融联易信息科技服务有限公司 Document information extraction method, device, equipment and medium based on image processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106251258A (en) * 2016-07-18 2016-12-21 淮海工学院 A kind of electronic examination device
CN109508153A (en) * 2017-09-14 2019-03-22 北京立思辰计算机技术有限公司 A kind of data transmission method of printer
CN110209362A (en) * 2019-04-30 2019-09-06 广州迅维信息安全技术有限公司 Printer management method and device based on recognition of face
CN110298244A (en) * 2019-05-22 2019-10-01 平安科技(深圳)有限公司 Based reminding method, device, computer equipment and storage medium based on recognition of face

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106251258A (en) * 2016-07-18 2016-12-21 淮海工学院 A kind of electronic examination device
CN109508153A (en) * 2017-09-14 2019-03-22 北京立思辰计算机技术有限公司 A kind of data transmission method of printer
CN110209362A (en) * 2019-04-30 2019-09-06 广州迅维信息安全技术有限公司 Printer management method and device based on recognition of face
CN110298244A (en) * 2019-05-22 2019-10-01 平安科技(深圳)有限公司 Based reminding method, device, computer equipment and storage medium based on recognition of face

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486427A (en) * 2020-10-28 2021-03-12 江苏集萃未来城市应用技术研究所有限公司 Self-service printer based on rapid face recognition and working method thereof
CN112905130A (en) * 2021-02-05 2021-06-04 深圳市商汤科技有限公司 Self-service printing method, device, equipment and storage medium
CN114047889A (en) * 2021-11-05 2022-02-15 方正株式(武汉)科技开发有限公司 Printer control system based on face recognition
CN114663896A (en) * 2022-05-17 2022-06-24 深圳前海环融联易信息科技服务有限公司 Document information extraction method, device, equipment and medium based on image processing

Similar Documents

Publication Publication Date Title
CN110737413A (en) Printing management method and device based on face recognition and computer equipment
CN102681801B (en) Printer and the method performed by this printer
US20060168659A1 (en) Security information estimating apparatus, a security information estimating method, a security information estimating program, and a recording medium thereof
CN110362281B (en) Printing control method, device, computer equipment and storage medium
CN111402120B (en) Labeling image processing method and device
CN108875323A (en) watermark adding method and device
US9946499B1 (en) Information processing apparatus, function usage amount management system, and non-transitory computer readable storage medium
CN105450902A (en) Image forming apparatus, and method for controlling image forming apparatus
CN109872282B (en) Image desensitization method and system based on computer vision
CN110045933A (en) A kind of printing data generating method, device, equipment and storage medium
CN114418825B (en) Image processing method, image processing device, computer equipment and storage medium
US20060103872A1 (en) Electronic document management program and electronic document management apparatus
CN102413262A (en) Information processing apparatus and control method of the same
CN107908613B (en) Picture display method and device
US10148850B2 (en) Image processing apparatus, image processing method, and recording medium
US20200358747A1 (en) Method of processing data
CN111950562A (en) Picture processing method and device, terminal equipment and storage medium
US11605183B2 (en) Aligning and merging contents from multiple collaborative workstations
WO2021174869A1 (en) User image data processing method, apparatus, computer device, and storage medium
CN109492631B (en) Processing method, device and equipment of insurance certificate and storage medium
US9319550B2 (en) Apparatus, use limiting method, and storage medium
CN112306977A (en) Asynchronous processing based file signature method and device and computer equipment
CN111753850A (en) Document processing method and device, computer equipment and computer readable storage medium
US20230305770A1 (en) Image processing apparatus, image processing system, non-transitory computer readable medium storing image processing program, and image processing method
US11093191B2 (en) Information processing apparatus and non-transitory computer readable medium capable of extracting a job flow without use of attribute information included in job entries

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