CN111563972A - Sign-in method, sign-in device, computer equipment and storage medium - Google Patents

Sign-in method, sign-in device, computer equipment and storage medium Download PDF

Info

Publication number
CN111563972A
CN111563972A CN202010486149.0A CN202010486149A CN111563972A CN 111563972 A CN111563972 A CN 111563972A CN 202010486149 A CN202010486149 A CN 202010486149A CN 111563972 A CN111563972 A CN 111563972A
Authority
CN
China
Prior art keywords
special effect
face
effect material
check
image
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
CN202010486149.0A
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 Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime 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 Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN202010486149.0A priority Critical patent/CN111563972A/en
Publication of CN111563972A publication Critical patent/CN111563972A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • 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/161Detection; Localisation; Normalisation

Abstract

The present disclosure provides a check-in method, a device, a computer device and a storage medium, wherein when the check-in method is applied to a terminal device, the method comprises: acquiring a face image; generating a target special effect material containing the face image based on the face image and a preset original special effect material; and sending the target special effect material to a display screen so that the display screen displays the target special effect material. When the check-in method is applied to a display screen, the check-in method comprises the following steps: acquiring a target special effect material containing a human face, which is sent by terminal equipment; the target special effect material is generated by the terminal equipment based on a face image and a preset original special effect material; and fusing and displaying the target special effect material and a preset background material. The check-in method has stronger interactivity.

Description

Sign-in method, sign-in device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer application technologies, and in particular, to a sign-in method, an apparatus, a computer device, and a storage medium.
Background
Attendance check-ins are involved in many situations, such as office check-ins, conference check-ins, annual meeting check-ins, event check-ins, etc.; the current active check-in mode generally provides two-dimensional codes for user scanning on site; the user can enter the check-in page by scanning the two-dimensional code; and providing an information input box for filling information such as names, affiliated departments, mobile phone numbers and the like in the sign-in page, and after a user inputs corresponding information in the information input box, sending the information to the server to finish the sign-in process. This check-in mode has the problem of poor interactivity.
Disclosure of Invention
The embodiment of the disclosure at least provides a sign-in method, a sign-in device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a check-in method, where the check-in apparatus is applied to a terminal device, and the check-in method includes: acquiring a face image; generating a target special effect material containing the face image based on the face image and a preset original special effect material; and sending the target special effect material to a display screen so that the display screen displays the target special effect material.
Therefore, the target special effect material containing the face image is generated based on the acquired face image and the original special effect material, and the target special effect material is sent to the display screen to be displayed, so that the user can see the face image with special effect through the display screen after signing in, and meanwhile, the face image with special effect of other users can be seen through the display screen, so that the user and the display screen have good interaction, certain interaction also exists between different users through the display screen, and the interaction is stronger.
In an optional embodiment, the acquiring a face image includes: responding to the triggering of an image acquisition instruction, and starting image acquisition equipment of the terminal equipment; and calling the started image acquisition equipment to acquire the face image.
Therefore, the face image can be acquired based on the image acquisition equipment arranged on the terminal equipment.
In an alternative embodiment, the triggering of the image acquisition instruction includes at least any one of: triggering a shooting control arranged in the terminal equipment; detecting that a human body exists in a preset area; and the application program for checking in is firstly entered in a preset time period.
Therefore, the image acquisition instruction is triggered in different modes, and the method is suitable for different scenes.
In an optional embodiment, the method further comprises: and displaying the original image shot by the image acquisition equipment in real time on a display screen of the terminal equipment.
Therefore, the user can shoot the original image based on own preference, and better interactivity is achieved.
In an alternative embodiment, at least one of the face images belonging to the same user; and under the condition that the number of the face images belonging to the same user is multiple, the multiple face images belonging to the same user are obtained by intercepting the video containing the face shot by the image acquisition equipment, or the multiple face images belonging to the same user are obtained by carrying out interval sampling on the video containing the face shot by the image acquisition equipment.
Therefore, the face image of the user can be displayed in more forms, and better interactivity is achieved.
In an optional implementation manner, in a case that there are multiple face images belonging to the same user, the generating a target special effect material containing the face images based on the face images and a preset original special effect material includes: and generating a target special effect material in an animation form based on a plurality of face images belonging to the same user and a preset original special effect material.
In an optional embodiment, the acquiring a face image includes: acquiring an original image containing a human face; and carrying out face positioning on the original image, and intercepting the face image from the original image based on the result of carrying out face positioning on the original image.
Therefore, the face image can be intercepted in a targeted manner, and the displayed target special effect material can highlight the face.
In an optional embodiment, the generating, based on the face image and preset special effect materials, target special effect materials including the face image includes: and superposing the face image at a preset position of the special effect material to generate the target special effect material.
In a second aspect, an embodiment of the present disclosure further provides a check-in method applied to a display screen, where the check-in method includes: acquiring a target special effect material containing a human face, which is sent by terminal equipment; the target special effect material is generated by the terminal equipment based on a face image and a preset original special effect material; and fusing and displaying the target special effect material and a preset background material.
Therefore, the target special effect material containing the face and sent by the terminal equipment is obtained, and the target special effect material and the preset background material are fused and displayed, so that the user can see the target special effect material containing the face on the display screen after signing in, and the user and the display screen have an interactive relation; meanwhile, target special effect materials containing faces of other users are displayed on the display screen, so that the interactive relationship among different users can be established through the display screen, and the interactive display screen has stronger interactivity.
In an alternative embodiment, the background material includes at least one of: three-dimensional pictures, and three-dimensional models.
In a third aspect, an embodiment of the present disclosure further provides a check-in apparatus, including: the acquisition module is used for acquiring a face image; the material generation module is used for generating a target special effect material containing the face image based on the face image and a preset original special effect material; and the sending module is used for sending the target special effect material to a display screen so as to enable the display screen to display the target special effect material.
In a possible implementation, the acquiring module, when acquiring the face image, is configured to: responding to the triggering of an image acquisition instruction, and starting image acquisition equipment of the terminal equipment; and calling the started image acquisition equipment to acquire the face image.
In a possible embodiment, the triggering of the image acquisition instruction comprises any one of: triggering a shooting control arranged in the terminal equipment; detecting that a human body exists in a preset area; and the application program for checking in is firstly entered in a preset time period.
In a possible embodiment, the method further comprises: and the display module is used for displaying the original image shot by the image acquisition equipment in real time on a display screen of the terminal equipment.
In a possible implementation manner, at least one face image belongs to the same user; and under the condition that the number of the face images belonging to the same user is multiple, the multiple face images belonging to the same user are obtained by intercepting the video containing the face shot by the image acquisition equipment, or the multiple face images belonging to the same user are obtained by carrying out interval sampling on the video containing the face shot by the image acquisition equipment.
In a possible implementation manner, when a plurality of face images belonging to the same user exist, the material generation module is configured to, when generating a target special effect material containing the face image based on the face images and a preset original special effect material,: and generating a target special effect material in an animation form based on a plurality of face images belonging to the same user and a preset original special effect material.
In a possible implementation, the acquiring module, when acquiring the face image, is configured to: acquiring an original image containing a human face; and carrying out face positioning on the original image, and intercepting the face image from the original image based on the result of carrying out face positioning on the original image.
In a possible implementation manner, the material generation module, when generating a target special effect material including the face image based on the face image and a preset special effect material, is configured to: and superposing the face image at a preset position of the special effect material to generate the target special effect material.
In a fourth aspect, the present disclosure also provides another check-in apparatus, including: the receiving module is used for acquiring a target special effect material containing a human face, which is sent by the terminal equipment; the target special effect material is generated by the terminal equipment based on a face image and the special effect material; and the display module is used for fusing and displaying the target special effect material and a preset background material.
In one possible embodiment, the background material includes at least one of: three-dimensional pictures, and three-dimensional models.
In a fifth aspect, this disclosure also provides a computer device, a processor, a memory, the memory storing machine-readable instructions executable by the processor, the processor being configured to execute the machine-readable instructions stored in the memory, when the machine-readable instructions are executed by the processor, the machine-readable instructions when executed by the processor perform the steps of the first aspect, or any possible implementation manner of the first aspect;
alternatively, the machine readable instructions, when executed by the processor, perform the steps of the second aspect described above, or any one of the possible embodiments of the second aspect;
in a sixth aspect, this disclosed embodiment further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect; the computer program, when executed by a processor, performs the steps of the second aspect described above, or any one of the possible embodiments of the second aspect; .
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
FIG. 1 is a flow chart illustrating a check-in method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a specific method for acquiring a face image according to an embodiment of the present disclosure;
FIG. 3 illustrates a flow chart of another check-in method provided by embodiments of the present disclosure;
fig. 4 illustrates a specific example of a display screen provided by an embodiment of the present disclosure to fuse and display target special effect material and preset background material;
FIG. 5 illustrates a detailed schematic diagram of a check-in device provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating another check-in device provided by embodiments of the present disclosure;
fig. 7 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
The invention provides a sign-in method and a sign-in device, wherein a target special effect material containing a face image is generated based on an obtained face image and an original special effect material, and the target special effect material is sent to a display screen for displaying, so that a user can see the face image with special effects through the display screen after signing in, and can see the face images with special effects of other users through the display screen, and the sign-in method and the sign-in device have stronger interactivity.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a check-in method disclosed in the embodiments of the present disclosure is described in detail, where an execution subject of the check-in method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, and the computer device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the check-in method may be implemented by a processor calling computer readable instructions stored in a memory.
The check-in method provided by the embodiment of the disclosure is described below by taking the execution subject as the terminal device as an example.
Referring to fig. 1, a flowchart of a check-in method provided by the embodiment of the present disclosure is shown, where the method includes steps S101 to S103, where:
s101: acquiring a face image;
s102: generating a target special effect material containing the face image based on the face image and a preset original special effect material;
s103: and sending the target special effect material to a display screen so that the display screen displays the target special effect material.
The method and the device for displaying the special effect materials generate the target special effect materials containing the face images based on the acquired face images and the original special effect materials, and send the target special effect materials to the display screen for displaying, so that the user can see the face images with special effects through the display screen after signing in, and can also see the face images with special effects of other users through the display screen, the user and the display screen have good interaction, certain interaction also exists among different users through the display screen, and the method and the device for displaying the special effect materials have stronger interactivity.
The following describes each of the above-mentioned S101 to S103 in detail.
I: in some embodiments, in S101, the face image is an image including at least one face. When the face image is obtained, for example, a face obtaining device in the terminal device may be called to obtain an original image containing a face, and then the original image is used as the face image; or intercepting the part of the original image containing the face to obtain the face image.
For the situation that a face image is obtained by intercepting a part of the original image containing the face, the face image can be obtained by the following method: acquiring an original image containing a human face; and carrying out face positioning on the original image, and intercepting the face image from the original image based on the result of carrying out face positioning on the original image.
In a specific implementation, the specific method for obtaining the original image including the face may refer to the following embodiment corresponding to fig. 2, which is not described herein again. When the original image is subjected to face positioning, for example, a face detection model may be used to position a face from the original image, so as to obtain position information of the face in the original image, and then, based on the position information, a face image containing the face is intercepted from the original image.
Face detection models include, for example: a convolutional Neural Network (RCNN) based target detection model, or a target detection model YOLO.
In a possible implementation manner, referring to fig. 2, an embodiment of the present disclosure provides a specific method for obtaining a face image, including:
s201: and responding to the triggering of the image acquisition instruction, and starting the image acquisition equipment of the terminal equipment.
Here, the triggering of the image acquisition instruction includes, but is not limited to, at least one of the following a1 to A3:
a1: and triggering a shooting control arranged in the terminal equipment.
In a specific implementation, for example, an application program for check-in may be installed on the terminal device; or accessing the application program checked in by the user in a mode of scanning the two-dimensional code.
Taking the example of installing the application program for check-in on the terminal device, after the application program is opened in the terminal device, a check-in page is displayed on a display screen of the terminal device; a shooting control is arranged on the sign-in page; and when the shooting control is triggered, the terminal equipment starts the image acquisition equipment.
At this time, an image display area for displaying an original image acquired by the image acquisition device in real time after the image acquisition device is started may be further provided on the terminal device.
In this case, the terminal device may be, for example, a terminal device dedicated to the user or a terminal device shared in the check-in field.
A2: detecting that a human body exists in the preset area.
In specific implementation, the terminal equipment can detect whether a human body approaches in real time; for example, the terminal device is connected with human body detection devices such as a thermal sensing device and a distance sensor; when a human body approaches the terminal equipment, the human body detection equipment can transmit a detection signal to the terminal equipment; and after receiving the detection signal transmitted by the human body detection equipment, the terminal equipment starts image acquisition equipment arranged on the terminal equipment.
In this case, the terminal device is generally a terminal device commonly provided at a check-in site.
A3: and the application program for checking in is firstly entered in a preset time period.
In a specific implementation, for example, an application program for check-in may be installed on the terminal device; or accessing the application program checked in by the user in a mode of scanning the two-dimensional code.
After the application program for check-in is triggered, whether the triggering operation is to enter the application program for check-in for the first time within a preset time period is detected.
And if the operation is detected to be that the application program for signing in is entered for the first time in a preset time period, starting the image acquisition equipment on the terminal equipment.
If it is detected that the operation does not enter the application program for check-in for the first time within the preset time period, for example, the checked-in information may be displayed to the user, such as a text prompting that the user has completed check-in, or a face image shot by the user when the user has checked-in for the last time.
The preset time period can be set according to actual needs; the preset time period may be characterized by a time duration or a start-stop time.
For example, under the condition that the preset time period is characterized by the duration, when detecting whether the current trigger operation is the application program for check-in for the first time within the preset time period, the time difference between the current trigger operation time and the latest check-in time can be calculated; and if the time difference is longer than the duration representing the preset time period, determining that the triggering operation is to enter the application program for signing in for the first time in the preset time period. And if the time difference is smaller than the duration representing the preset time period, determining that the triggering operation does not enter the application program for signing in for the first time in the preset time period.
Under the condition that the preset time interval is represented by the starting time and the ending time, when whether the current trigger operation is the application program for signing in for the first time in the preset time interval is detected, whether the current trigger operation time falls between the preset starting time and the preset ending time or not can be detected; and if the time of the current trigger operation does not fall between the preset starting time and the preset ending time, determining that the current trigger operation is to enter the application program for check-in for the first time in the preset time period. And if the time of the current trigger operation falls between the preset starting time and the preset ending time, determining that the current trigger operation does not enter the application program for check-in for the first time within the preset time period.
Receiving the above S201, the specific method for obtaining a face image provided in the embodiment of the present disclosure further includes:
s202: and calling the started image acquisition equipment to acquire the face image.
In practical implementation, the acquisition of the face image may be manually controlled by a user or may be acquired by the terminal device itself.
Under the condition that the acquisition process of the face image is manually controlled by a user, after the image acquisition equipment on the terminal equipment is started, an original image shot by the image acquisition equipment in real time can be displayed to the user on a display screen of the terminal equipment for example; meanwhile, a shooting control can be displayed to a user on a display screen of the terminal equipment; when the user triggers the shooting control, the terminal device takes the image acquired when the shooting control is triggered as an original image, and obtains a face image based on the original image.
Or some physical keys in the terminal equipment can be used as trigger keys for photographing, after the user triggers the physical keys, the terminal equipment takes the image obtained when the physical keys are triggered as an original image, and the face image is obtained based on the original image.
In the specific implementation, the original image can be obtained in real time after the image acquisition device is started under the condition that the face image is automatically acquired by the terminal device. In the original image, a human face may be included or not included; the terminal equipment can detect the face of an original image acquired in real time; after a certain original image acquired in real time is detected to comprise a human face, a human face image is automatically acquired based on the original image.
In addition, in another possible implementation, in the case that the original image includes a face, the included face may be a complete face or may include only a partial face; therefore, when the original image is subjected to face detection, in addition to detecting whether the original image comprises a face or not, the integrity of the included face can be detected; when the completeness of the face included in a certain original image is detected to be larger than a preset completeness threshold value, the face image is obtained based on the original image.
Here, for example, the integrity of the original image may be detected by using a pre-trained face key point detection neural network, and it is determined whether the integrity of the face is greater than a preset integrity threshold value according to the number of detected face key points and a preset number of face key points. Here, for example, the number of detected face key points may be calculated to occupy a percentage of the preset number of face key points to represent the integrity of the detected face.
In another embodiment of the present disclosure, at least one of the face images belongs to the same user.
And under the condition that the number of the face images belonging to the same user is multiple, the multiple face images belonging to the same user are obtained by intercepting the video containing the face shot by the image acquisition equipment, or the multiple face images belonging to the same user are obtained by carrying out interval sampling on the video containing the face shot by the image acquisition equipment.
In specific implementation, under the condition that a plurality of face images belonging to the same user are obtained by intercepting a video containing a face and shot by the image acquisition equipment, when the started image acquisition equipment is called to acquire the face images, a section of original video containing the face of the same user can be acquired; then, for each frame of original image in the original video, the face image in the frame of original image is intercepted, and a plurality of face images are obtained.
Under the condition that a plurality of face images belonging to the same user are obtained by sampling the video containing the face shot by the image acquisition equipment at intervals, when the started image acquisition equipment is called to acquire the face images, a section of original video containing the face of the same user can be acquired; and then sampling the original video at intervals to obtain a plurality of target original videos, and respectively intercepting face images from the plurality of target original videos to obtain a plurality of face images.
In another embodiment, when a plurality of face images of the same user are obtained, faces of a plurality of people may exist in an original video obtained by shooting; therefore, when the face in each frame of original image is positioned, a plurality of face images belonging to different users may be intercepted from each original image; in this case, for example, face recognition may be performed on each of the cut face images, so as to obtain multiple frames of face images belonging to the same user.
When there are a plurality of face images belonging to the same user, for example, a target special effect material in an animation form may be generated based on the plurality of face images belonging to the same user and a preset original special effect material.
II: in some possible embodiments, in the above S102, in the terminal device, a preset original special effect material is stored; the original special effects material may be dynamic or static.
When the target special effect material is generated based on the face image and the original special effect material, for example, the face image may be superimposed on a preset position of the special effect material to generate the target special effect material.
Illustratively, the original special effects material includes, for example: a head frame, a three-dimensional model, a setting background, etc.
For example, when the original special effect material includes a head portrait frame, the head portrait frame may have certain design elements; when generating a target special effect material containing a face image based on the face image and a preset original special effect material, for example, the face image may be embedded into the head portrait frame.
For another example, when the original special effect material includes a three-dimensional model, when a target special effect material including a face image is generated based on the face image and a preset original special effect material, for example, the face image may be used as a preset position embedded in the three-dimensional model; when the three-dimensional model is a dynamic three-dimensional model, the human face image can be controlled to change along with the dynamic change of the three-dimensional model when the form changes.
For another example, when the original special effect material includes a contrast background, when the target special effect material including the face image is generated based on the face image and the preset original special effect material, the face image may be superimposed in front of the contrast background, for example.
Here, the form of the original special effect material and the presentation form of the generated target special effect material may be set according to actual needs, and are not described herein again.
III: in some embodiments, in S103, a wireless connection is established between the terminal device and the display screen; through the wireless connection, the terminal equipment can send the target special effect material to the display screen.
In specific implementation, in the case that the terminal device is a personal terminal device, before the terminal device sends the target special effect material to the display screen, for example, a wireless connection with the display screen may be established first; the wireless connection includes, for example: bluetooth connection, Wireless-Fidelity (WiFi) connection. After the wireless connection is established, the terminal equipment sends the target special effect material to the display screen.
In the case where the terminal device is a common terminal device, the terminal device may establish a wireless connection with the presentation screen in advance. After the target special effect material is obtained, the target special effect material can be directly sent to a display screen based on the wireless connection.
Referring to fig. 3, another check-in method applied to a display screen is further provided in an embodiment of the present disclosure, and includes:
s301: acquiring a target special effect material containing a human face, which is sent by terminal equipment; the target special effect material is generated by the terminal equipment based on the face image and a preset original special effect material.
Here, the specific process of generating the target special effect material based on the face image and the original special effect material may refer to the above embodiment, and is not described herein again.
S302: and fusing and displaying the target special effect material and a preset background material.
In a specific implementation, the background material includes, for example, at least one of: three-dimensional pictures and three-dimensional models.
Illustratively, referring to fig. 4, a specific example of fusion display of target special effect material and preset background material is provided.
In this example, the background material is a three-dimensional picture; the three-dimensional picture simulates the wave fluctuation of the water flow on the surface of the ocean; the three-dimensional picture is changed continuously along with the time; the target special effect material is displayed at the front end of the three-dimensional picture, continuously floats forwards along with the flow of the simulated water flow in the three-dimensional picture, and finally disappears.
According to the method and the device, the target special effect material containing the face and sent by the terminal equipment is obtained, and the target special effect material and the preset background material are displayed in a fusion mode, so that a user can see the target special effect material containing the face on a display screen after signing in, and therefore the user and the display screen have an interactive relation; meanwhile, target special effect materials containing faces of other users are displayed on the display screen, so that the interactive relationship among different users can be established through the display screen, and the interactive display screen has stronger interactivity.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, a check-in device corresponding to the check-in method is also provided in the embodiments of the present disclosure, and because the principle of solving the problem of the device in the embodiments of the present disclosure is similar to the above-mentioned check-in method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not described again.
Referring to fig. 5, a schematic diagram of a check-in apparatus provided in an embodiment of the present disclosure is a check-in apparatus, where the check-in apparatus is applied to a terminal device, and the check-in apparatus includes: an acquisition module 51, a material generation module 52, and a transmission module 53; wherein the content of the first and second substances,
an obtaining module 51, configured to obtain a face image;
a material generating module 52, configured to generate a target special effect material containing the face image based on the face image and a preset original special effect material;
and the sending module 53 is configured to send the target special effect material to a display screen, so that the display screen displays the target special effect material.
In a possible implementation, the obtaining module 51, when obtaining the face image, is configured to:
responding to the triggering of an image acquisition instruction, and starting image acquisition equipment of the terminal equipment;
and calling the started image acquisition equipment to acquire the face image.
In a possible embodiment, the triggering of the image acquisition instruction comprises any one of:
triggering a shooting control arranged in the terminal equipment;
detecting that a human body exists in a preset area;
and the application program for checking in is firstly entered in a preset time period.
In a possible embodiment, the method further comprises: and the display module is used for displaying the original image shot by the image acquisition equipment in real time on a display screen of the terminal equipment.
In a possible implementation manner, at least one face image belongs to the same user;
and under the condition that the number of the face images belonging to the same user is multiple, the multiple face images belonging to the same user are obtained by intercepting the video containing the face shot by the image acquisition equipment, or the multiple face images belonging to the same user are obtained by carrying out interval sampling on the video containing the face shot by the image acquisition equipment.
In a possible implementation manner, in a case that there are multiple face images belonging to the same user, the material generation module 52, when generating a target special effect material containing the face image based on the face images and a preset original special effect material, is configured to:
and generating a target special effect material in an animation form based on a plurality of face images belonging to the same user and a preset original special effect material.
In a possible implementation, the obtaining module 51, when obtaining the face image, is configured to:
acquiring an original image containing a human face;
and carrying out face positioning on the original image, and intercepting the face image from the original image based on the result of carrying out face positioning on the original image.
In one possible embodiment, the material generating module 52, when generating the target special effect material including the face image based on the face image and a preset special effect material, is configured to:
and superposing the face image at a preset position of the special effect material to generate the target special effect material.
Referring to fig. 6, another embodiment of the present disclosure provides another check-in apparatus applied to a display screen, including:
the receiving module 62 is configured to obtain a target special effect material containing a human face, which is sent by the terminal device; the target special effect material is generated by the terminal equipment based on a face image and the special effect material;
and the display module 62 is configured to fuse and display the target special effect material and a preset background material.
In one possible embodiment, the background material includes at least one of: three-dimensional pictures, and three-dimensional models.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
The embodiment of the present disclosure further provides a computer device 10, as shown in fig. 7, which is a schematic structural diagram of the computer device 10 provided in the embodiment of the present disclosure, and includes:
a processor 11 and a memory 12; the memory 12 stores machine-readable instructions executable by the processor 11, which when executed by a computer device are executed by the processor to perform the steps of:
acquiring a face image;
generating a target special effect material containing the face image based on the face image and a preset original special effect material;
and sending the target special effect material to a display screen so that the display screen displays the target special effect material.
Alternatively, the machine scale instructions are executed by the processor to implement the steps of:
acquiring a target special effect material containing a human face, which is sent by terminal equipment; the target special effect material is generated by the terminal equipment based on a face image and a preset original special effect material;
and fusing and displaying the target special effect material and a preset background material.
For the specific execution process of the instruction, reference may be made to the steps of the check-in method described in the embodiments of the present disclosure, and details are not described here.
The embodiments of the present disclosure also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the check-in method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The computer program product of the check-in method provided by the embodiment of the present disclosure includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the check-in method described in the above method embodiment, which may be referred to in the above method embodiment specifically, and are not described herein again.
The embodiments of the present disclosure also provide a computer program, which when executed by a processor implements any one of the methods of the foregoing embodiments. The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (14)

1. A check-in method is characterized in that the check-in method is applied to terminal equipment, and comprises the following steps:
acquiring a face image;
generating a target special effect material containing the face image based on the face image and a preset original special effect material;
and sending the target special effect material to a display screen so that the display screen displays the target special effect material.
2. The check-in method of claim 1, wherein the obtaining the face image comprises:
responding to the triggering of an image acquisition instruction, and starting image acquisition equipment of the terminal equipment;
and calling the started image acquisition equipment to acquire the face image.
3. The check-in method of claim 2, wherein the triggering of the image acquisition instruction comprises at least any one of:
triggering a shooting control arranged in the terminal equipment;
detecting that a human body exists in a preset area;
and the application program for checking in is firstly entered in a preset time period.
4. A check-in method according to claim 2 or 3, further comprising: and displaying the original image shot by the image acquisition equipment in real time on a display screen of the terminal equipment.
5. A check-in method according to any one of claims 1 to 4, characterised in that at least one of said face images belonging to the same user;
and under the condition that the number of the face images belonging to the same user is multiple, the multiple face images belonging to the same user are obtained by intercepting the video containing the face shot by the image acquisition equipment, or the multiple face images belonging to the same user are obtained by carrying out interval sampling on the video containing the face shot by the image acquisition equipment.
6. The check-in method of claim 5, wherein in a case that there are multiple face images belonging to the same user, the generating target special effect material including the face images based on the face images and preset original special effect material comprises:
and generating a target special effect material in an animation form based on a plurality of face images belonging to the same user and a preset original special effect material.
7. A check-in method according to any one of claims 1 to 6, wherein the acquiring of the face image comprises:
acquiring an original image containing a human face;
and carrying out face positioning on the original image, and intercepting the face image from the original image based on the result of carrying out face positioning on the original image.
8. The check-in method according to any one of claims 1 to 7, wherein the generating target special effects material containing the face image based on the face image and preset special effects material comprises:
and superposing the face image at a preset position of the special effect material to generate the target special effect material.
9. A check-in method is applied to a display screen and comprises the following steps:
acquiring a target special effect material containing a human face, which is sent by terminal equipment; the target special effect material is generated by the terminal equipment based on a face image and a preset original special effect material;
and fusing and displaying the target special effect material and a preset background material.
10. A check-in method according to claim 9, wherein the background material comprises at least one of: three-dimensional pictures, and three-dimensional models.
11. A check-in device is characterized in that the check-in device is applied to terminal equipment, and the check-in device comprises:
the acquisition module is used for acquiring a face image;
the material generation module is used for generating a target special effect material containing the face image based on the face image and a preset original special effect material;
and the sending module is used for sending the target special effect material to a display screen so as to enable the display screen to display the target special effect material.
12. A check-in apparatus, wherein the check-in apparatus is applied to a display screen, the check-in apparatus comprising:
the receiving module is used for acquiring a target special effect material containing a human face, which is sent by the terminal equipment; the target special effect material is generated by the terminal equipment based on a face image and the special effect material;
and the display module is used for fusing and displaying the target special effect material and a preset background material.
13. A computer device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, the processor to execute machine-readable instructions stored in the memory, the processor to perform the check-in method of any of claims 1 to 10 when the machine-readable instructions are executed by the processor.
14. A computer-readable storage medium, having stored thereon a computer program which, when executed by a computer device, performs a check-in method according to any one of claims 1 to 10.
CN202010486149.0A 2020-06-01 2020-06-01 Sign-in method, sign-in device, computer equipment and storage medium Pending CN111563972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010486149.0A CN111563972A (en) 2020-06-01 2020-06-01 Sign-in method, sign-in device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010486149.0A CN111563972A (en) 2020-06-01 2020-06-01 Sign-in method, sign-in device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111563972A true CN111563972A (en) 2020-08-21

Family

ID=72075503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010486149.0A Pending CN111563972A (en) 2020-06-01 2020-06-01 Sign-in method, sign-in device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111563972A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532911A (en) * 2020-11-12 2021-03-19 深圳市慧为智能科技股份有限公司 Image data processing method, device, equipment and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216949A (en) * 2008-01-14 2008-07-09 浙江大学 A 3D face animation manufacturing method based on region segmentation and segmented learning
CN101303772A (en) * 2008-06-20 2008-11-12 浙江大学 Method for modeling non-linear three-dimensional human face based on single sheet image
CN101311966A (en) * 2008-06-20 2008-11-26 浙江大学 Three-dimensional human face animations editing and synthesis a based on operation transmission and Isomap analysis
CN103327188A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Self-photographing method with mobile terminal and mobile terminal
CN106127876A (en) * 2016-06-23 2016-11-16 深圳市商汤科技有限公司 A kind of multi-screen is registered system
CN106411688A (en) * 2015-07-31 2017-02-15 广州华多网络科技有限公司 Method of displaying pendant object in user head portrait area and apparatus thereof
CN106600733A (en) * 2016-11-24 2017-04-26 北京旷视科技有限公司 Sign-in method and system based on face recognition
CN107197149A (en) * 2017-06-14 2017-09-22 深圳传音通讯有限公司 The generation method and device of certificate photograph
CN107249024A (en) * 2017-05-31 2017-10-13 西安诺瓦电子科技有限公司 Make a vow method, control method of making a vow, system of making a vow and device of making a vow
CN107358667A (en) * 2017-05-23 2017-11-17 合肥众耀信息科技有限公司 A kind of Work attendance management system for meeting signature
CN108960219A (en) * 2018-09-28 2018-12-07 广州翠花信息科技有限公司 A kind of face identification system using mechanism of registering
CN110609933A (en) * 2019-09-06 2019-12-24 深圳市商汤科技有限公司 Image processing method and device, electronic equipment and storage medium
CN110609722A (en) * 2019-08-09 2019-12-24 华为技术有限公司 Dark mode display interface processing method, electronic equipment and storage medium
CN110650247A (en) * 2019-09-26 2020-01-03 西安闻泰电子科技有限公司 Method for customizing on/off animation, intelligent terminal and storage medium
CN110727894A (en) * 2019-10-12 2020-01-24 腾讯科技(深圳)有限公司 Target material setting method, device, equipment and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216949A (en) * 2008-01-14 2008-07-09 浙江大学 A 3D face animation manufacturing method based on region segmentation and segmented learning
CN101303772A (en) * 2008-06-20 2008-11-12 浙江大学 Method for modeling non-linear three-dimensional human face based on single sheet image
CN101311966A (en) * 2008-06-20 2008-11-26 浙江大学 Three-dimensional human face animations editing and synthesis a based on operation transmission and Isomap analysis
CN103327188A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Self-photographing method with mobile terminal and mobile terminal
CN106411688A (en) * 2015-07-31 2017-02-15 广州华多网络科技有限公司 Method of displaying pendant object in user head portrait area and apparatus thereof
CN106127876A (en) * 2016-06-23 2016-11-16 深圳市商汤科技有限公司 A kind of multi-screen is registered system
CN106600733A (en) * 2016-11-24 2017-04-26 北京旷视科技有限公司 Sign-in method and system based on face recognition
CN107358667A (en) * 2017-05-23 2017-11-17 合肥众耀信息科技有限公司 A kind of Work attendance management system for meeting signature
CN107249024A (en) * 2017-05-31 2017-10-13 西安诺瓦电子科技有限公司 Make a vow method, control method of making a vow, system of making a vow and device of making a vow
CN107197149A (en) * 2017-06-14 2017-09-22 深圳传音通讯有限公司 The generation method and device of certificate photograph
CN108960219A (en) * 2018-09-28 2018-12-07 广州翠花信息科技有限公司 A kind of face identification system using mechanism of registering
CN110609722A (en) * 2019-08-09 2019-12-24 华为技术有限公司 Dark mode display interface processing method, electronic equipment and storage medium
CN110609933A (en) * 2019-09-06 2019-12-24 深圳市商汤科技有限公司 Image processing method and device, electronic equipment and storage medium
CN110650247A (en) * 2019-09-26 2020-01-03 西安闻泰电子科技有限公司 Method for customizing on/off animation, intelligent terminal and storage medium
CN110727894A (en) * 2019-10-12 2020-01-24 腾讯科技(深圳)有限公司 Target material setting method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532911A (en) * 2020-11-12 2021-03-19 深圳市慧为智能科技股份有限公司 Image data processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3540571B1 (en) Method and device for editing virtual scene, and non-transitory computer-readable storage medium
CN110209952B (en) Information recommendation method, device, equipment and storage medium
EP2977926A1 (en) Method and device for verification using verification code
EP2927787B1 (en) Method and device for displaying picture
KR20210113333A (en) Methods, devices, devices and storage media for controlling multiple virtual characters
CN111651050A (en) Method and device for displaying urban virtual sand table, computer equipment and storage medium
WO2022188305A1 (en) Information presentation method and apparatus, and electronic device, storage medium and computer program
EP3819752A1 (en) Personalized scene image processing method and apparatus, and storage medium
CN111667590B (en) Interactive group photo method and device, electronic equipment and storage medium
CN111627086A (en) Head portrait display method and device, computer equipment and storage medium
CN114025180A (en) Game operation synchronization system, method, device, equipment and storage medium
US20200402321A1 (en) Method, electronic device and storage medium for image generation
CN111625100A (en) Method and device for presenting picture content, computer equipment and storage medium
CN112434338A (en) Picture sharing method and device, electronic equipment and storage medium
CN112181141A (en) AR positioning method, AR positioning device, electronic equipment and storage medium
CN110334823B (en) Reservation method, reservation device, electronic equipment and medium
CN111563972A (en) Sign-in method, sign-in device, computer equipment and storage medium
CN111639977A (en) Information pushing method and device, computer equipment and storage medium
CN111651049B (en) Interaction method, device, computer equipment and storage medium
CN111639818A (en) Route planning method and device, computer equipment and storage medium
CN111639975A (en) Information pushing method and device
KR20140018341A (en) Method, device and terminal equipment for message generation and processing
CN106126104B (en) Keyboard simulation method and device
CN114779936A (en) Information display method and device, electronic equipment and storage medium
WO2023034721A1 (en) Per participant end-to-end encrypted metadata

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200821