CN116185313A - Label printer printing method, system, terminal equipment and storage medium - Google Patents

Label printer printing method, system, terminal equipment and storage medium Download PDF

Info

Publication number
CN116185313A
CN116185313A CN202310066365.3A CN202310066365A CN116185313A CN 116185313 A CN116185313 A CN 116185313A CN 202310066365 A CN202310066365 A CN 202310066365A CN 116185313 A CN116185313 A CN 116185313A
Authority
CN
China
Prior art keywords
information
information content
examination
printing
acquiring
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
CN202310066365.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.)
Shanghai Xiding Intelligent Technology Co ltd
Original Assignee
Shanghai Xiding Intelligent 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 Shanghai Xiding Intelligent Technology Co ltd filed Critical Shanghai Xiding Intelligent Technology Co ltd
Priority to CN202310066365.3A priority Critical patent/CN116185313A/en
Publication of CN116185313A publication Critical patent/CN116185313A/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
    • 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
    • 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/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • 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
    • 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/172Classification, e.g. identification
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The present disclosure relates to the field of printing technologies, and in particular, to a printing method and system for a label printer, a terminal device, and a storage medium. Acquiring and identifying a face image of a student to generate a corresponding face recognition result; if the face recognition result is that the recognition is successful, acquiring and acquiring a corresponding target information item according to the type of the corresponding matching information; judging whether the information content corresponding to the target information item accords with the preset input information content or not; if the target information item does not accord with the target information item, acquiring correction information content corresponding to the target information item according to the preset input information content matching, and correcting the information content according to the correction information content; if yes, generating a corresponding information fusion table according to the information content; and acquiring the requirements of the examinee, and printing a corresponding examination information inquiry table or examination labels by combining the information fusion table. The printing method, the printing system, the terminal equipment and the storage medium of the label printer have the effect of improving the corresponding adaptation degree of the label printer in the student examination scene.

Description

Label printer printing method, system, terminal equipment and storage medium
Technical Field
The present disclosure relates to the field of printing technologies, and in particular, to a printing method and system for a label printer, a terminal device, and a storage medium.
Background
Printers are one of the output devices of a computer for printing computer processing results on a related medium, and can be classified into laser printers, inkjet printers, impact printers, and the like. The label printer is also called a bar code printer, is a printing device which is specially used for rapidly printing a large number of self-adhesive labels, PET labels and the like, and is widely applied to various aspects in production and life.
At present, in the application scene of student examination label printing, most of label printers commonly used in the market only singly complete label printing work, and the functions are too single, so that the corresponding adaptation degree in the student examination scene is not high.
Disclosure of Invention
In order to improve the corresponding adaptation degree of a label printer in a student examination scene, the application provides a printing method, a printing system, terminal equipment and a storage medium of the label printer.
In a first aspect, the present application provides a label printer printing method, comprising the steps of:
acquiring and identifying a face image of a student to generate a corresponding face identification result;
If the face recognition result is that the recognition is successful, corresponding matching information is obtained;
acquiring a corresponding target information item according to the type of the matching information;
judging whether the information content corresponding to the target information item accords with the preset input information content or not;
if the information content corresponding to the target information item does not accord with the preset input information content, acquiring corrected information content corresponding to the target information item according to the preset input information content in a matching way;
correcting the information content according to the corrected information content;
if the information content corresponding to the target information item accords with the preset input information content, generating a corresponding information fusion table according to the information content;
and acquiring the requirements of the examinee and printing a corresponding examination information inquiry table or examination labels by combining the information fusion table.
By adopting the technical scheme, the face image of the examinee is acquired and identified, the corresponding identification result is obtained, the identity information of the examinee is conveniently confirmed according to the identification result, if the face identification result is successful, the identity verification of the examinee is proved to pass, the corresponding matching information of the examinee can be further acquired, the security of the acquisition of the information of the examinee is further improved, the corresponding target information item to be inquired or printed is immediately acquired according to the type of the matching information, whether the information content corresponding to the target information item accords with the preset input information content which is input in advance by the system or not is judged, so that whether the information content is wrong or not is judged, if the information content does not accord with the preset input information content, the correction information content corresponding to the target information item is acquired according to the preset input information content, the correction of the information item is corrected, the misleading condition caused by the information content mistake is further reduced, if the information fusion table which is generated by the examinee to print according to the information content is met, the corresponding information inquiry table or the label of the examinee is further printed according to the actual requirement of the examinee, and the functions such as identity authentication, information inquiry and information correction are added while the label printing work is finished, and the corresponding adaptation degree of the label printer in the examination scene is improved.
Optionally, the acquiring and identifying the face image of the candidate, and generating the corresponding face recognition result includes the following steps:
acquiring face region coordinates corresponding to the face image of the examinee;
calculating the face region coordinates according to a face feature extraction algorithm to generate corresponding face feature vectors;
combining the face feature vector with a preset face feature vector to generate a corresponding similarity value;
if the similarity value is larger than a preset similarity threshold value, outputting the face recognition result as successful recognition;
and if the similarity value is smaller than or equal to the preset similarity threshold value, outputting the face recognition result as recognition failure.
By adopting the technical scheme, the corresponding similarity value is obtained by combining the corresponding face feature vector in the examinee face image and the preset face feature vector, and the size relation between the similarity value and the preset similarity threshold value is further judged, so that the accuracy of identity verification of the examinee is improved.
Optionally, if the similarity value is greater than a preset similarity threshold, outputting the face recognition result as that the recognition is successful includes the following steps:
if the similarity value is larger than a preset similarity threshold value, generating a corresponding first facial dynamic characteristic acquisition instruction;
Acquiring first facial dynamic characteristics corresponding to the object to be identified according to the first facial dynamic characteristic acquisition instruction;
and if the first facial dynamic characteristics do not accord with the preset facial dynamic characteristic standard, generating a facial abnormality recognition prompt.
By adopting the technical scheme, whether the first facial dynamic characteristics of the current examinee accord with the preset facial dynamic characteristic standard set by the system is further judged on the basis that the similarity value is larger than the preset similarity threshold value, the occurrence of the condition that the illegal examinee uses an image or video image to attack and cheat the face recognition system is reduced, and accordingly the security of examinee examination information acquisition is improved.
Optionally, after the collecting the first facial dynamic feature corresponding to the object to be identified according to the first facial dynamic feature collecting instruction, the method further includes the following steps:
if the first facial dynamic characteristics accord with the preset facial dynamic characteristic standard, acquiring authentication identity information of the object to be identified;
acquiring and generating a corresponding second facial dynamic feature acquisition instruction according to the authentication identity information and the corresponding historical facial dynamic feature;
Acquiring the second facial dynamic characteristics of the object to be identified according to the second facial dynamic characteristic acquisition instruction;
judging whether the second facial dynamic characteristics accord with the historical facial dynamic characteristics or not;
and if the second facial dynamic characteristics do not accord with the historical facial dynamic characteristics, generating the facial abnormality recognition prompt.
By adopting the technical scheme, according to the authentication identity information of the tested examinee, the historical facial dynamic characteristics recorded by the tested examinee when the authentication information is set are obtained, and whether the second facial dynamic characteristics of the current tested examinee are matched with the historical facial dynamic characteristics of the current tested examinee is further judged, so that the security of identity verification of the tested object is improved.
Optionally, after said correcting said information content according to said corrected information content, the steps of:
acquiring corresponding abnormal information content according to the target information item;
and generating a corresponding correction record by combining the abnormal information content and the correction information content.
By adopting the technical scheme, the abnormal information content in the target information item can be traced back and related abnormal operation feedback can be conveniently carried out according to the correction record.
Optionally, the step of obtaining the requirements of the examinee and combining the information fusion table to print the corresponding examination information inquiry table or the examination label includes the following steps:
judging a requirement type corresponding to the requirement of the examinee;
if the requirement type is examination information printing, acquiring and generating a corresponding examination information inquiry table according to the corresponding fusion information item printing in the information fusion table;
and if the requirement type is examination label printing, printing the corresponding examination label according to the information fusion table.
By adopting the technical scheme, the corresponding examination information inquiry table or examination labels can be printed according to the information fusion table by combining with the current actual demands of the examinees, so that the corresponding adaptation degree of the label printer in the student examination scene is improved.
Optionally, if the requirement type is examination information printing, the obtaining and printing the corresponding examination information query table according to the corresponding fusion information item in the information fusion table includes the following steps:
if the requirement type is examination information printing, judging whether the fusion information items are multiple;
and if the fusion information items are multiple, matching the corresponding format templates according to the fusion information items, and printing according to the format templates to generate the corresponding examination information query table.
By adopting the technical scheme, if the fusion information items are multiple, the corresponding format templates can be matched according to the fusion information items which are actually required to be printed by the examinee, and the flexibility of the label printer in the printing process is improved.
In a second aspect, the present application provides a label printer printing system comprising:
the first acquisition module is used for acquiring and identifying the face image of the student and generating a corresponding face recognition result;
the second acquisition module acquires corresponding matching information if the face recognition result is that the face recognition is successful;
the third acquisition module is used for acquiring a corresponding target information item according to the type of the matching information;
the judging module is used for judging whether the information content corresponding to the target information item accords with the preset input information content or not;
the matching module is used for matching and acquiring corrected information content corresponding to the target information item according to the preset input information content if the information content corresponding to the target information item does not accord with the preset input information content;
the correction module is used for correcting the information content according to the corrected information content;
The generation module is used for generating a corresponding information fusion table according to the information content if the information content corresponding to the target information item accords with the preset input information content;
and the printing module is used for acquiring the requirements of the examinee and printing a corresponding examination information inquiry table or examination labels by combining the information fusion table.
By adopting the technical scheme, the corresponding identification result is obtained by identifying the face image of the examinee acquired by the first acquisition module, and then the identity information of the examinee is conveniently confirmed according to the identification result, if the face identification result is successful in identification, the identity verification of the examinee is proved to pass, the matching information corresponding to the examination can be further acquired by the second acquisition module, the security of the information acquisition of the examinee is further improved, immediately according to the type of the matching information, the target information item required to be inquired or printed is acquired by the third acquisition module, further, whether the information content corresponding to the target information item accords with the preset input information content which is input in advance by the system is judged by the judging module, so that whether the information content is wrong or not is judged, if the information content does not accord with the preset input information content, the correction information content corresponding to the target information item is acquired by the matching module according to the preset input information content, and then the correction module corrects the information content, misleading caused by the information content mistake is reduced, if the information fusion table required to be printed by the examinee is generated by the generating module according to the information content, and the corresponding information inquiry table or label is further printed by the printing module according to the actual requirements of the examinee, and the corresponding examination information is further improved, and the matching information is printed in the corresponding label printer is improved when the label is matched with the corresponding information.
In a third aspect, the present application provides a terminal device, which adopts the following technical scheme:
the terminal equipment comprises a memory and a processor, wherein the memory stores computer instructions capable of running on the processor, and the processor adopts the printing method of the label printer when loading and executing the computer instructions.
By adopting the technical scheme, the printing method of the label printer generates the computer instruction, and the computer instruction is stored in the memory to be loaded and executed by the processor, so that the terminal equipment is manufactured according to the memory and the processor, and the use is convenient.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium having stored therein computer instructions which, when loaded and executed by a processor, employ a label printer printing method as described above.
By adopting the technical scheme, the printing method of the label printer generates the computer instruction, and the computer instruction is stored in the computer readable storage medium to be loaded and executed by the processor, and the computer instruction is convenient to read and store by the computer readable storage medium.
In summary, the present application includes at least one of the following beneficial technical effects: the method comprises the steps of obtaining face images of an examinee and identifying the face images to obtain corresponding identification results, further conveniently confirming identity information of the examinee according to the identification results, if the face identification results are identification success, indicating that the identity verification of the examinee passes, further obtaining matching information corresponding to the relevant examination, further improving the security of obtaining the information of the examinee, immediately obtaining target information items to be queried or printed according to the types of the matching information, judging whether the information content corresponding to the target information items accords with preset input information content pre-input by a system or not so as to judge whether the information content is wrong, if the information content does not accord with the preset input information, obtaining correction information content corresponding to the target information items according to the preset input information content, correcting the correction information content according to the preset input information content, further reducing misleading caused by the information content errors, if the information fusion table to be printed by the examinee is generated according to the information content, further printing the corresponding information query table or examination labels according to the actual requirements of the examinee, and further improving the functions of identity authentication, information query, information and information correction and the like when the label printing work is completed, so that the corresponding adaptation of a student printer in an examination scene is improved.
Drawings
Fig. 1 is a schematic flow chart of steps S101 to S108 in a printing method of a label printer according to the present application.
Fig. 2 is a schematic flow chart of steps S201 to S205 in a printing method of a label printer according to the present application.
Fig. 3 is a schematic flow chart of steps S301 to S303 in a printing method of a label printer according to the present application.
Fig. 4 is a schematic flow chart of steps S401 to S405 in a printing method of the label printer of the present application.
Fig. 5 is a schematic flow chart of steps S501 to S502 in a printing method of the label printer of the present application.
Fig. 6 is a schematic flow chart of steps S601 to S603 in the printing method of the label printer of the present application.
Fig. 7 is a flowchart of steps S701 to S702 in a printing method of the label printer of the present application.
Fig. 8 is a block diagram of a printing system of a label printer according to the present application.
Reference numerals illustrate:
1. a first acquisition module; 2. a second acquisition module; 3. a third acquisition module; 4. a judging module; 5. a matching module; 6. a correction module; 7. a generating module; 8. and a printing module.
Detailed Description
The present application is described in further detail below in conjunction with figures 1-8.
The embodiment of the application discloses a printing method of a label printer, as shown in fig. 1, comprising the following steps:
s101, acquiring and identifying a face image of a student to generate a corresponding face identification result;
s102, if the face recognition result is that the recognition is successful, corresponding matching information is obtained;
s103, acquiring a corresponding target information item according to the type of the matching information;
s104, judging whether the information content corresponding to the target information item accords with the preset input information content or not;
s105, if the information content corresponding to the target information item does not accord with the preset input information content, acquiring corrected information content corresponding to the target information item according to the preset input information content in a matching mode;
s106, correcting the information content according to the corrected information content;
s107, if the information content corresponding to the target information item accords with the preset input information content, generating a corresponding information fusion table according to the information content;
s108, obtaining the requirements of the examinees and printing a corresponding examination information inquiry table or examination labels by combining the information fusion table.
The face image of the examinee in step S101 is a face image of the current examinee obtained by shooting through a face recognition camera set on a label printer, and further performs analysis and calculation on the face image of the examinee according to a face recognition system to generate a corresponding face recognition result, if the face recognition result is displayed as successful in recognition, it is indicated that the current examinee passes the authentication, the system further obtains matching information corresponding to the current examinee, and the matching information is examination entered by a database and information of related examinees.
Further, in order to facilitate the examinee to inquire about the related examination information, corresponding target information items are obtained according to the type of the matching information, for example, the matching information comprises mathematic examination category information, chinese examination category information and English examination category information, wherein the target information items corresponding to the mathematic examination category information comprise examination time, examination place, examination seat and other examination information of the mathematic subjects.
In order to reduce the occurrence of the above situations, it is further determined whether the information content corresponding to the obtained target information item meets the preset input information content, where the preset input information content refers to the information content corresponding to when the matching information is input into the database in advance. And if the information content corresponding to the target information item does not accord with the preset input information content, acquiring the corrected information content corresponding to the target information item according to the preset input information content.
For example, if the target information item is a mathematics examination category information, the system monitors that the displayed information content is examination time corresponding to a Chinese examination subject, an English examination subject corresponding to an examination place and an examination seat corresponding to a mathematics examination subject, then it can be determined that the information content corresponding to the target information item does not accord with the preset input information content, and the system further searches the corresponding preset input information content in the matching database according to the mathematics examination category information, acquires the examination time corresponding to the mathematics examination subject, the examination place corresponding to the mathematics examination subject and generates corresponding correction information content, and corrects the information content displayed by the mathematics examination category information according to the correction information content.
If the information content corresponding to the target information item accords with the preset input information content, the information content in the target information item is indicated to have no abnormal error, a corresponding information fusion table is further generated according to the information content, the information fusion table is a fusion table formed by indicating all examination information corresponding to the examinee, printing of the information content required in the information fusion table can be selected according to actual requirements of the examinee, and examination information inquiry table printing or examination label printing can be selected.
For example, the information fusion table includes the information content of mathematics, chinese and English examination subjects related to examination of the examinee A, the first examination of the examinee A is the mathematic subject, and in order to conveniently carry the examinee A, the information content of the mathematic examination subjects is selected from the information fusion table for printing the mathematic examination information inquiry table.
For another example, when the examinee a needs to print the examination label corresponding to the mathematical examination subject at the approach time of the mathematical examination subject, the examinee a selects the information content of the mathematical examination subject from the information fusion table to print the examination label.
According to the label printer printing method, the face image of the examinee is acquired and identified, the corresponding identification result is obtained, the identity information of the examinee is conveniently confirmed according to the identification result, if the face identification result is identification success, the identity verification of the examinee is indicated to pass, the matching information corresponding to the examination can be further acquired, the security of the acquisition of the information of the examinee is further improved, then the corresponding target information item to be inquired or printed is acquired according to the type of the matching information, whether the information content corresponding to the target information item accords with the preset input information content which is input in advance by a system or not is judged, whether the information content is wrong or not is judged, if the information content does not accord with the preset input information content, the correction information content corresponding to the target information item is acquired according to the preset input information content, the correction information content is corrected according to the preset input information content, the misleading condition caused by the information content error is further reduced, if the information content accords with the information fusion table which the examinee needs to be printed is generated according to the information content, the corresponding examination information query table or the label examination is further printed according to the actual requirements of the examinee, and the functions such as identity authentication, information query and information examination are added at the same time when the label printing work is completed, and the corresponding adaptation degree of the label printer in a student scene is improved.
In one implementation manner of this embodiment, as shown in fig. 2, step S101 is to acquire and identify a face image of a subject, and generating a corresponding face recognition result includes the following steps:
s201, acquiring face region coordinates corresponding to a face image of a student;
s202, calculating face region coordinates according to a face feature extraction algorithm, and generating corresponding face feature vectors;
s203, combining the face feature vector and a preset face feature vector to generate a corresponding similarity value;
s204, if the similarity value is larger than a preset similarity threshold value, outputting a face recognition result to be successful recognition;
s205, if the similarity value is smaller than or equal to a preset similarity threshold value, outputting a face recognition result to be recognition failure.
In practical application, in order to improve the security of the acquisition of examination information of an examinee, the identity information of the current examinee is identified and verified before the examination information related to the query is acquired. And acquiring the face image of the current examinee through a face recognition camera arranged on the label printer.
Specifically, the label printer database stores backup information of all photos of the examinee, the photo information of the current examinee is processed independently and enters a face detection network, face region coordinates are obtained through the network, and the face region is cut out from the photos according to the coordinates, so that a picture with only faces is obtained.
Further, the obtained face image is subjected to a face feature extraction algorithm to obtain a corresponding face feature vector, the corresponding face feature vector is stored in a label printer, feature similarity calculation is carried out on the obtained face feature vector and the face feature vector stored in the printer, the feature with the highest corresponding similarity is obtained, the similarity value is compared with a preset similarity threshold value, if the similarity value is larger than the preset similarity threshold value, the fact that the current examinee is the examinee corresponding to the feature with the highest similarity in the label printer, namely the output face recognition result is successful recognition, otherwise, the fact that the current examinee information is not matched is the output face recognition result is failed recognition.
According to the label printer printing method, the corresponding similarity value is obtained by combining the corresponding face feature vector in the face image of the examinee and the preset face feature vector, and the size relation between the similarity value and the preset similarity threshold value is further judged, so that the accuracy of identity verification of the examinee is improved.
In one implementation manner of the present embodiment, as shown in fig. 3, step S204, that is, if the similarity value is greater than the preset similarity threshold, outputs the face recognition result as the recognition success includes the following steps:
S301, if the similarity value is larger than a preset similarity threshold value, generating a corresponding first facial dynamic characteristic acquisition instruction;
s302, acquiring first facial dynamic characteristics corresponding to an object to be identified according to a first facial dynamic characteristic acquisition instruction;
s303, if the first facial dynamic characteristics do not accord with the preset facial dynamic characteristic standard, generating a facial abnormality recognition prompt.
In practical application, because the phenomenon that some improper purpose examinees use other tools such as face photos or videos of the examinees and 3D face models to deceptively attack the face recognition system exists in reality, in order to reduce the occurrence of the situations, on the basis that the similarity value is larger than a preset similarity threshold value, corresponding first facial dynamic feature acquisition instructions are further generated, according to the first facial dynamic feature acquisition instructions, first facial dynamic features corresponding to an object to be identified are acquired, the object to be identified is the examinee needing to acquire examination information at present, the first facial dynamic feature acquisition instructions comprise instructions for indicating the object to be identified to make corresponding facial dynamic, and the object to be identified can make corresponding facial actions according to the indication information of the preset facial dynamic feature acquisition instructions.
Further, if the first facial dynamic characteristics of the current examinee do not accord with the preset facial dynamic characteristic standard, the face of the current examinee is a non-living body, and a corresponding face abnormality recognition prompt is generated immediately to prompt related staff. The preset facial dynamic characteristic standard refers to facial dynamic characteristic information which is backed up by an examinee when the examinee inputs identity verification information, and facial actions can be made on site to be compared and confirmed with the preset facial dynamic characteristic standard when the examinee acquires relevant examination information, so that the identity verification of the examinee is enhanced, and the acquisition safety of the examinee examination information is ensured.
For example, the preset facial dynamic feature standard is that the mouth is opened and closed for 3 times, the system acquires the dynamic image of the face of the current object to be identified in a reasonable time through a common color camera according to the first facial dynamic feature acquisition instruction, analyzes the dynamic image to acquire the first facial dynamic feature of the face of the object to be identified, the first facial dynamic feature is the number of times of opening and closing actions of the mouth of the object to be identified, the system counts the number of times of opening and closing actions of the mouth of the object to be identified in real time, if the number of times of opening and closing actions of the mouth obtained by counting is equal to 3 times, the system judges that the first facial dynamic feature of the object to be identified accords with the corresponding preset facial dynamic feature standard, and then the system enters the next face identification detection.
For another example, if the number of times of the opening and closing actions of the mouth is counted and obtained is not equal to 3 times, it can be determined that the dynamic characteristics of the first face of the object to be identified do not meet the corresponding preset facial dynamic characteristic standard, and the system immediately generates facial abnormality recognition prompt information to prompt the relevant face recognition detection staff.
According to the label printer printing method provided by the embodiment, whether the first facial dynamic characteristics of the current examinee meet the preset facial dynamic characteristic standard set by the system is further judged on the basis that the similarity value is larger than the preset similarity threshold value, so that the occurrence of the condition that the illegal examinee uses images or video images to attack and cheat the face recognition system is reduced, and the security of examinee examination information acquisition is improved.
In one implementation manner of this embodiment, as shown in fig. 4, in step S302, that is, according to the first facial dynamic feature acquisition instruction, the following steps are further included after the first facial dynamic feature corresponding to the object to be identified is acquired:
s401, if the first facial dynamic characteristics meet the preset facial dynamic characteristic standard, acquiring authentication identity information of an object to be identified;
s402, acquiring and generating a corresponding second facial dynamic feature acquisition instruction according to the authentication identity information and the corresponding historical facial dynamic feature;
S403, acquiring second facial dynamic characteristics of the object to be identified according to a second facial dynamic characteristic acquisition instruction;
s404, judging whether the second facial dynamic characteristics accord with the historical facial dynamic characteristics;
s405, if the second facial dynamic characteristics do not accord with the historical facial dynamic characteristics, generating a facial abnormality recognition prompt.
In practical application, in order to further improve the security of the object to be identified, i.e. the current identity authentication of the examinee, further set the backup facial dynamic feature corresponding to the examinee after the system real-name authentication, i.e. the historical facial dynamic feature in step S402, where the backup facial dynamic feature may be recorded after the examinee performs the system real-name authentication.
On the basis that the first facial dynamic characteristics meet the preset facial dynamic characteristic standard, the next step of human face living body detection of the system is performed, firstly, authentication identity information of an object to be identified is obtained, the authentication identity information is identity record information corresponding to personnel after real-name authentication of the system, and the human face information of the object to be identified can be shot and collected through a face recognition camera.
The system is provided with an authentication information base which stores face authentication information corresponding to personnel after real-name authentication of the system, if the system matches corresponding face authentication information from the authentication information base according to the face information of the current object to be identified, the system indicates that the object to be identified is a real-name authenticated personnel, the system outputs authentication identity information corresponding to the object to be identified, if the system does not match corresponding face authentication information from the authentication information base according to the face information of the current object to be identified, the system indicates that the object to be identified is a stranger, and the system outputs prompt information of identity authentication failure.
Further, a corresponding second facial dynamic feature collection instruction is obtained and generated according to the corresponding historical facial dynamic feature according to the authentication identity information, wherein the authentication identity information is different, the corresponding historical facial dynamic feature is also different, the second facial dynamic feature collection instruction comprises a facial dynamic information collection instruction generated according to the historical facial dynamic feature, and the system collects the facial dynamic feature of the current object to be identified in a reasonable time, namely the second facial dynamic feature in step S503, by controlling the face recognition camera according to the second facial dynamic feature collection instruction.
For example, the historical facial dynamic characteristic corresponding to the authentication identity information of the examinee A is that the mouth is opened and closed 6 times, the system acquires the second facial dynamic characteristic of the current object to be identified according to the historical facial dynamic characteristic, the second facial dynamic characteristic is the opening and closing times of the mouth, if the opening and closing times of the mouth are 6 times, the second facial dynamic characteristic can be judged to be in accordance with the corresponding historical facial dynamic characteristic, and the system immediately enters the next face recognition detection.
For another example, if the number of times of opening and closing of the mouth, which is the second facial dynamic feature collected by the system, is 5, it may be determined that the second facial dynamic feature does not conform to the corresponding historical facial dynamic feature, and the system then generates a facial abnormality recognition prompt to prompt the relevant staff for face recognition detection.
According to the printing method of the label printer, according to the authentication identity information of the tested examinee, the historical facial dynamic characteristics recorded by the tested examinee when the authentication information is set are obtained, whether the second facial dynamic characteristics of the current tested examinee are matched with the historical facial dynamic characteristics of the current tested examinee is further judged, and therefore the safety of identity verification of the tested object is improved.
In one implementation manner provided in this embodiment, as shown in fig. 5, the following steps are further included in step S106, that is, after correcting the information content according to the corrected information content:
s501, acquiring corresponding abnormal information content according to the target information item;
s502, combining the abnormal information content and the correction information content to generate a corresponding correction record.
In practical application, in order to trace the abnormal information content in the target information item, the corresponding abnormal information content is first obtained according to the target information item, and a corresponding correction record is generated by combining the abnormal information content and the correction information content.
For example, the object information item is mathematics examination category information, the information content displayed by the system is examination time corresponding to the Chinese examination subject, examination place corresponding to the English examination subject and examination seat corresponding to the mathematics examination subject, and abnormal information content, namely abnormal examination time and examination place in the mathematics examination category information can be judged.
Further, the correction information content corresponding to the abnormal information content is obtained, the correction information content is the examination time and the examination place corresponding to the mathematic examination subject in the preset input information content, and the correction record corresponding to the corresponding mathematic examination subject is further generated according to the abnormal information content and the correction information content.
According to the printing method of the label printer, the abnormal information content in the target information item can be traced back and related abnormal operation feedback can be conveniently performed according to the correction record.
In one implementation manner of the embodiment, as shown in fig. 6, step S108 of obtaining the needs of the examinee and combining the information fusion table, and printing the corresponding examination information query table or examination label includes the following steps:
s601, judging a requirement type corresponding to the requirement of an examinee;
s602, if the requirement type is examination information printing, acquiring and generating a corresponding examination information inquiry table according to the corresponding fusion information item printing in the information fusion table;
s603, if the requirement type is examination label printing, printing corresponding examination labels according to the information fusion table.
In practical application, in order to improve the adaptation degree of the label printer in the examination scene, a corresponding examination information inquiry table or examination labels can be printed according to the demand type of the examinee and in combination with the information fusion table.
For example, the requirement type of the examinee A is examination information printing, and corresponding fusion information items in the information fusion table are selected from a touch screen of the label printer to serve as examination places and examination seat numbers corresponding to the mathematic examination subjects, the fusion information items are examination information items required to be printed by the examinee, and the corresponding examination information inquiry table is further generated according to the examination places and the examination seat numbers corresponding to the mathematic examination subjects, namely, the fusion information items.
For another example, when the examinee a currently needs to take a mathematical subject examination, the corresponding requirement type is a mathematical subject examination label print, and then the corresponding examination label is printed in combination with examination information related to the mathematical subject corresponding to the information fusion table.
According to the printing method of the label printer, the corresponding examination information inquiry table or examination labels can be printed according to the information fusion table by combining with the current actual demands of the examinees, so that the corresponding adaptation degree of the label printer in student examination scenes is improved.
In one implementation manner of the present embodiment, as shown in fig. 7, step S602, that is, if the requirement type is test information printing, obtaining and printing a corresponding test information query table according to a corresponding fusion information item in the information fusion table includes the following steps:
S701, judging whether the fusion information items are multiple if the requirement type is examination information printing;
s702, if the fusion information items are multiple, matching the corresponding format templates according to the fusion information items, and printing according to the format templates to generate a corresponding examination information query table.
In practical application, in order to facilitate the examinee to selectively acquire the related examination information, if the fusion information items are multiple, matching the corresponding format templates according to the multiple fusion information items, wherein the format templates are the printing table specification size templates corresponding to the number of the actually selected fusion information items, and generating the corresponding examination information inquiry table according to the printing of the format templates after matching.
For example, the information items are fused into the examination place and the examination seat number corresponding to the mathematics examination subject, the corresponding format template is further matched into the 5 x 7cm printing table specification size, and the corresponding examination information inquiry table is further generated by printing the information content of the examination place and the examination seat number corresponding to the mathematics examination subject according to the format template.
For another example, the information items are fused to form the test time, the test place and the test seat number corresponding to the mathematical test subjects, the corresponding format templates are further matched to form the specification and the size of the 6 x 8cm printing table, and the corresponding test information inquiry table is further generated by printing the information contents of the test time, the test place and the test seat number corresponding to the mathematical test subjects according to the format templates.
According to the printing method of the label printer, if the number of the fusion information items is multiple, the corresponding format templates can be matched according to the fusion information items which are actually required to be printed by the examinee, and therefore flexibility of the label printer in the printing process is improved.
The embodiment of the application discloses a label printer printing system, as shown in fig. 8, comprising:
the first acquisition module 1 is used for acquiring and identifying the face image of the student and generating a corresponding face recognition result;
the second acquisition module 2 acquires corresponding matching information if the face recognition result is that the recognition is successful;
a third obtaining module 3, configured to obtain a corresponding target information item according to the type of the matching information;
the judging module 4 is used for judging whether the information content corresponding to the target information item accords with the preset input information content;
the matching module 5 is used for matching and acquiring corrected information content corresponding to the target information item according to the preset input information content if the information content corresponding to the target information item does not accord with the preset input information content;
a correction module 6 for correcting the information content according to the corrected information content;
the generation module 7 is used for generating a corresponding information fusion table according to the information content if the information content corresponding to the target information item accords with the preset input information content;
And the printing module 8 is used for acquiring the requirements of the examinee and printing a corresponding examination information inquiry table or examination labels by combining the information fusion table.
According to the label printer printing system provided by the embodiment, the corresponding identification result is obtained by identifying the face image of the examinee according to the first acquisition module 1, the identity information of the examinee is conveniently confirmed according to the identification result, if the face image is successfully identified, the identity verification of the examinee is proved to pass, the matching information corresponding to the examination can be further acquired through the second acquisition module 2, the security of the examinee information acquisition is further improved, the corresponding target information item to be inquired or printed is immediately acquired through the third acquisition module 3 according to the type of the matching information, whether the information content corresponding to the target information item accords with the preset input information content which is input in advance by the system or not is further judged through the judgment module 4, if the information content does not accord with the preset input information content, the correction information content corresponding to the target information item is acquired through the matching of the matching module 5 according to the preset input information content, the correction information is immediately carried out through the correction module 6, the misleading condition caused by the information content error is further reduced, the information fusion table to be printed by the examinee is generated through the generation module 7 according to the information content if the matching is accord with the information, the label is further printed according to the actual requirement of the examinee, the label is required to be printed or the label is printed in the examination label is further matched with the corresponding label, and the label is printed in the label printer is also suitable for the examination, and the label is printed in the corresponding label is also has the label is improved due to the label printing function is also has improved.
It should be noted that, the printing system of the label printer provided in the embodiment of the present application further includes each module and/or the corresponding sub-module corresponding to the logic function or the logic step of any one of the foregoing printing methods of the label printer, so that the same effects as each logic function or logic step are achieved, and detailed descriptions thereof are omitted herein.
The embodiment of the application also discloses a terminal device, which comprises a memory, a processor and computer instructions stored in the memory and capable of running on the processor, wherein when the processor executes the computer instructions, any one of the label printer printing methods in the embodiment is adopted.
The terminal device may be a computer device such as a desktop computer, a notebook computer, or a cloud server, and the terminal device includes, but is not limited to, a processor and a memory, for example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
The processor may be a Central Processing Unit (CPU), or of course, according to actual use, other general purpose processors, digital Signal Processors (DSP), application Specific Integrated Circuits (ASIC), ready-made programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., and the general purpose processor may be a microprocessor or any conventional processor, etc., which is not limited in this application.
The memory may be an internal storage unit of the terminal device, for example, a hard disk or a memory of the terminal device, or may be an external storage device of the terminal device, for example, a plug-in hard disk, a Smart Memory Card (SMC), a secure digital card (SD), or a flash memory card (FC) provided on the terminal device, or the like, and may be a combination of the internal storage unit of the terminal device and the external storage device, where the memory is used to store computer instructions and other instructions and data required by the terminal device, and the memory may be used to temporarily store data that has been output or is to be output, which is not limited in this application.
Any one of the label printer printing methods in the embodiments is stored in the memory of the terminal device through the terminal device, and is loaded and executed on the processor of the terminal device, so that the use is convenient.
The embodiment of the application also discloses a computer readable storage medium, and the computer readable storage medium stores computer instructions, wherein when the computer instructions are executed by a processor, any one of the label printer printing methods in the embodiment is adopted.
The computer instructions may be stored in a computer readable medium, where the computer instructions include computer instruction codes, where the computer instruction codes may be in a source code form, an object code form, an executable file form, or some middleware form, etc., and the computer readable medium includes any entity or device capable of carrying the computer instruction codes, a recording medium, a usb disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, etc., where the computer readable medium includes but is not limited to the above components.
Wherein, through the present computer readable storage medium, any one of the label printer printing methods of the above embodiments is stored in the computer readable storage medium and loaded and executed on a processor to facilitate the storage and application of the above methods.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (10)

1. A method of printing by a label printer, comprising the steps of:
acquiring and identifying a face image of a student to generate a corresponding face identification result;
if the face recognition result is that the recognition is successful, corresponding matching information is obtained;
acquiring a corresponding target information item according to the type of the matching information;
judging whether the information content corresponding to the target information item accords with the preset input information content or not;
if the information content corresponding to the target information item does not accord with the preset input information content, acquiring corrected information content corresponding to the target information item according to the preset input information content in a matching way;
correcting the information content according to the corrected information content;
if the information content corresponding to the target information item accords with the preset input information content, generating a corresponding information fusion table according to the information content;
and acquiring the requirements of the examinee and printing a corresponding examination information inquiry table or examination labels by combining the information fusion table.
2. The method for printing a label on a label printer according to claim 1, wherein the step of acquiring and recognizing the face image of the subject and generating the corresponding face recognition result comprises the steps of:
Acquiring face region coordinates corresponding to the face image of the examinee;
calculating the face region coordinates according to a face feature extraction algorithm to generate corresponding face feature vectors;
combining the face feature vector with a preset face feature vector to generate a corresponding similarity value;
if the similarity value is larger than a preset similarity threshold value, outputting the face recognition result as successful recognition;
and if the similarity value is smaller than or equal to the preset similarity threshold value, outputting the face recognition result as recognition failure.
3. The printing method of claim 2, wherein if the similarity value is greater than a preset similarity threshold, outputting the face recognition result as a successful recognition comprises the following steps:
if the similarity value is larger than a preset similarity threshold value, generating a corresponding first facial dynamic characteristic acquisition instruction;
acquiring first facial dynamic characteristics corresponding to the object to be identified according to the first facial dynamic characteristic acquisition instruction;
and if the first facial dynamic characteristics do not accord with the preset facial dynamic characteristic standard, generating a facial abnormality recognition prompt.
4. A method of printing a label printer according to claim 3, further comprising, after said acquiring the first facial dynamic characteristics corresponding to the object to be identified according to the first facial dynamic characteristics acquisition instruction, the steps of:
If the first facial dynamic characteristics accord with the preset facial dynamic characteristic standard, acquiring authentication identity information of the object to be identified;
acquiring and generating a corresponding second facial dynamic feature acquisition instruction according to the authentication identity information and the corresponding historical facial dynamic feature;
acquiring the second facial dynamic characteristics of the object to be identified according to the second facial dynamic characteristic acquisition instruction;
judging whether the second facial dynamic characteristics accord with the historical facial dynamic characteristics or not;
and if the second facial dynamic characteristics do not accord with the historical facial dynamic characteristics, generating the facial abnormality recognition prompt.
5. The printing method of claim 1, wherein said correcting said information content according to said corrected information content comprises the steps of:
acquiring corresponding abnormal information content according to the target information item;
and generating a corresponding correction record by combining the abnormal information content and the correction information content.
6. The method for printing a label printer according to claim 1, wherein the step of obtaining the needs of the examinee and combining the information fusion table to print the corresponding examination information inquiry table or examination label comprises the steps of:
Judging a requirement type corresponding to the requirement of the examinee;
if the requirement type is examination information printing, acquiring and generating a corresponding examination information inquiry table according to the corresponding fusion information item printing in the information fusion table;
and if the requirement type is examination label printing, printing the corresponding examination label according to the information fusion table.
7. The method according to claim 6, wherein if the requirement type is examination information printing, acquiring and printing the examination information lookup table according to the fusion information item corresponding to the information fusion table comprises the following steps:
if the requirement type is examination information printing, judging whether the fusion information items are multiple;
and if the fusion information items are multiple, matching the corresponding format templates according to the fusion information items, and printing according to the format templates to generate the corresponding examination information query table.
8. A label printer printing system, comprising:
the first acquisition module (1) is used for acquiring and identifying the face image of the student and generating a corresponding face recognition result;
The second acquisition module (2) acquires corresponding matching information if the face recognition result is that the face recognition is successful;
a third acquisition module (3) for acquiring a corresponding target information item according to the type of the matching information;
the judging module (4) is used for judging whether the information content corresponding to the target information item accords with the preset input information content or not;
the matching module (5) is used for matching and acquiring corrected information content corresponding to the target information item according to the preset input information content if the information content corresponding to the target information item does not accord with the preset input information content;
a correction module (6) for correcting the information content according to the corrected information content;
the generation module (7) is used for generating a corresponding information fusion table according to the information content if the information content corresponding to the target information item accords with the preset input information content;
and the printing module (8) is used for acquiring the requirements of the examinee and printing a corresponding examination information inquiry table or examination labels by combining the information fusion table.
9. A terminal device comprising a memory and a processor, wherein the memory has stored therein computer instructions executable on the processor, the processor employing a label printer printing method as claimed in any one of claims 1 to 7 when loaded and executed.
10. A computer readable storage medium having stored therein computer instructions which, when loaded and executed by a processor, employ a label printer printing method according to any one of claims 1 to 7.
CN202310066365.3A 2023-01-13 2023-01-13 Label printer printing method, system, terminal equipment and storage medium Pending CN116185313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310066365.3A CN116185313A (en) 2023-01-13 2023-01-13 Label printer printing method, system, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310066365.3A CN116185313A (en) 2023-01-13 2023-01-13 Label printer printing method, system, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116185313A true CN116185313A (en) 2023-05-30

Family

ID=86433882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310066365.3A Pending CN116185313A (en) 2023-01-13 2023-01-13 Label printer printing method, system, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116185313A (en)

Similar Documents

Publication Publication Date Title
US10769489B2 (en) Reading test cards using a mobile device
WO2021051554A1 (en) Certificate authenticity verification method and system, and computer device and readable storage medium
JP7036256B2 (en) Plane fingerprint image processing device, plane fingerprint image processing method, and program
US20050058325A1 (en) Fingerprint verification
CN110610127B (en) Face recognition method and device, storage medium and electronic equipment
CN114359553B (en) Signature positioning method and system based on Internet of things and storage medium
CN111553251B (en) Certificate four-corner defect detection method, device, equipment and storage medium
US20210334520A1 (en) Face image candidate determination apparatus for authentication, face image candidate determination method for authentication, program, and recording medium
CN111222452A (en) Face matching method and device, electronic equipment and readable storage medium
CN112580108A (en) Signature and seal integrity verification method and computer equipment
CN111476279A (en) Similarity value-based identification method and device and computer equipment
Paglinawan et al. Medicine classification using yolov4 and tesseract ocr
CN111626244B (en) Image recognition method, device, electronic equipment and medium
KR102248344B1 (en) Vehicle number recognition apparatus performing recognition of vehicle number by analyzing a plurality of frames constituting a license plate video
CN112286780B (en) Method, device, equipment and storage medium for testing recognition algorithm
CN116185313A (en) Label printer printing method, system, terminal equipment and storage medium
JP2003109007A (en) Device, method and program for classifying slip form and image collating device
CN111060507A (en) Vehicle verification method and device
CN113837169B (en) Text data processing method, device, computer equipment and storage medium
TWI777188B (en) Contract signature authentication method and device
CN110942407B (en) Electronic evidence collection device and management system
CN113536868A (en) Circuit board fault identification method and related equipment
CN110751140A (en) Character batch recognition method and device and computer equipment
CN113516020B (en) Age change related identity verification method and system
US20240153126A1 (en) Automatic image cropping using a reference feature

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