A control method and device of a signing device, a storage medium and an electronic device
By adjusting the display position of the signature input area, the problem of camera shooting angle and range limitations during handwritten signatures has been solved, achieving a higher consistency and accuracy in displaying the user's real face.
Patent Information
- Application Number
- CN202310827389.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-06
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2043-07-06
AI Technical Summary
Existing cameras, due to limitations in shooting angle and range during handwritten signature processes, result in low consistency between the user's facial image and their actual face, making it impossible to accurately capture the user's true face and affecting subsequent compliance reviews.
By adjusting the display position of the signature input area, the angle between the plane where the user's face is located and the horizontal plane meets the preset conditions, reducing the angular deviation between the image acquisition component and the user's face, and improving the consistency between the facial image and the real face.
By adjusting the display position of the signature input area, users are guided to look up at a wider angle, which improves the consistency between the acquired user facial image and the user's real face, ensuring a more accurate display of the user's real face.
Smart Images

Figure CN116863524B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of control technology for signing and approving equipment, and in particular to a control method, apparatus, storage medium, and electronic device for signing and approving equipment. Background Technology
[0002] In daily life and work, there are many scenarios involving the confirmation of mutually agreed-upon agreements such as contracts. This confirmation process often involves handwritten signatures, such as when conducting business at a bank. Furthermore, for subsequent review and verification processes, such as verifying whether the person signing the document is the same person captured by a camera, the process needs to be recorded on video. The video images are then used to confirm the compliance of the handwritten signatures.
[0003] Existing cameras, due to limitations in shooting angle and range, as well as the varying angles at which users tilt their heads when signing handwritten documents, often result in a significant deviation between the relative angle between the camera and the user's face and the optimal angle. This leads to a low consistency between the facial image captured by the camera and the user's actual appearance, making it difficult to accurately capture the user's true face and hindering the proper conduct of subsequent compliance reviews. Summary of the Invention
[0004] To address the aforementioned technical problems, the technical solution adopted by this invention is as follows:
[0005] According to a first aspect of the present invention, a control method for a signing and approval device is provided, applied to the signing and approval device, the signing and approval device including an image acquisition component and a handwriting input component; the method includes:
[0006] In response to the acquisition of input information in the signature input area, the initial image information of the target object is obtained through the image acquisition component;
[0007] Based on the initial image information, the angle between the plane containing the target object's face and the horizontal plane is taken as the first angle;
[0008] If the first included angle does not meet the preset conditions, the display position of the signature input area is adjusted so that the second included angle is greater than the first included angle. The second included angle is the angle between the plane where the target object's face is located and the horizontal plane after the display position of the signature input area is adjusted.
[0009] Furthermore, based on the initial image information, the angle between the plane containing the target object's face and the horizontal plane is taken as the first included angle, including:
[0010] Based on the initial image information, obtain the initial image width and initial image height of the target object's face region;
[0011] Based on the mapping relationship between the initial image width and the actual length of the target object's face region, obtain the actual length of the target object's face region;
[0012] Calculate the first included angle based on the initial image height and the actual length of the target object's face region.
[0013] Furthermore, the display position of the approval input area will be adjusted, including:
[0014] Based on the initial image width and preset angle, obtain the target image height of the facial region of the target object;
[0015] Based on the target image height, the initial image height, and the actual length of the target object's face region, adjust the display position of the approval input area. The display position of the approval input area must meet the following two conditions:
[0016] The signature input area is located within the handwriting input component.
[0017] The difference between the target image height and the initial image height is negatively correlated with the display position of the approval input area and the distance between the image acquisition component.
[0018] Furthermore, based on the target image height, the initial image height, and the actual length of the target object's face region, the display position of the approval input area is adjusted, including:
[0019] First position adjustment information is generated based on the height of the target image and the actual length of the facial region of the target object;
[0020] The second position adjustment information is generated based on the initial image height and the actual length of the target object's facial region;
[0021] Based on the first position adjustment information and the second position adjustment information, the first display position information is generated. The first display position information is the offset information between the adjusted display position of the signature input area and the original display position.
[0022] Furthermore, based on the first position adjustment information and the second position adjustment information, first display position information is generated, including:
[0023] Initial offset information is generated based on the first position adjustment information and the second position adjustment information;
[0024] Based on the initial offset information and conversion coefficient, the first display position information is generated.
[0025] Furthermore, the initial image information includes pixel width;
[0026] Based on the initial image information, obtain the initial image width and initial image height of the target object's facial region, including:
[0027] Obtain the target pixel region corresponding to the face region of the target object in the initial image information;
[0028] The initial image width is generated based on the maximum number of pixels in the width direction of the target pixel region and the pixel width.
[0029] The initial image height is generated based on the maximum number of pixels in the height direction and the pixel width of the target pixel region.
[0030] Furthermore, it also includes:
[0031] Obtain the initial input point's landing position information;
[0032] Based on the landing point location information, the target angle is adjusted.
[0033] Based on the target angle and the initial angle, deflection information is generated; where the initial angle is the deflection angle of the image acquisition component before acquiring the input information;
[0034] The shooting angle of the image acquisition component is adjusted based on the deflection information.
[0035] According to a second aspect of the present invention, a control device for a signing and approval device is provided, applied to the signing and approval device, the signing and approval device including an image acquisition component and a handwriting input component; the device includes:
[0036] The response module is used to respond to the acquisition of input information in the signature input area and to acquire the initial image information of the target object through the image acquisition component;
[0037] The first generation module is used to take the angle between the plane where the face of the target object is located and the horizontal plane as the first angle based on the initial image information;
[0038] The second generation module is used to adjust the display position of the signature input area if the first included angle does not meet the preset conditions, so that the second included angle is greater than the first included angle, wherein the second included angle is the angle between the plane where the face of the target object is located and the horizontal plane after adjusting the display position of the signature input area.
[0039] According to a third aspect of the present invention, a non-transitory computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements a control method for a signing device.
[0040] According to a fourth aspect of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a control method for a signing device.
[0041] The present invention has at least the following beneficial effects:
[0042] The technical solution disclosed in this invention generates a first included angle based on the initial image information of the target object. This first included angle is the angle between the plane containing the target object's face and the horizontal plane. When the user tilts their head down too far, making the first included angle too small, it does not meet the preset conditions. In this case, it is necessary to adjust the display position information of the approval input area. By adjusting the display position of the approval input area, the user is guided to tilt their head up to a larger angle, that is, by adjusting the display position of the approval input area, the angle between the plane containing the target object's face and the horizontal plane becomes a second included angle that meets the preset conditions. Therefore, the technical solution disclosed in this invention, by adjusting the angle between the plane containing the user's face and the horizontal plane, reduces the deviation between the angle between the image acquisition component and the user's face and the optimal angle, thereby improving the consistency between the acquired user facial image and the user's real face, and thus more accurately displaying the user's real face. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 This is a flowchart of a control method for a signing and approval device provided in an embodiment of the present invention.
[0045] Figure 2 A flowchart of a signing and approval device provided for another embodiment of the present invention.
[0046] Figure 3 This is a structural block diagram of a control device for an approval equipment provided in an embodiment of the present invention.
[0047] Figure 4 This is a schematic diagram of the overall structure of a signing and approval device according to one embodiment of this application.
[0048] Figure 5 This is a side view of a signing device according to another embodiment of this application.
[0049] Figure 6 This is a schematic diagram of the relative positional structure between the user's face and the signing device when the angle between the plane containing the target object's face and the horizontal plane is taken as the first angle in another embodiment of this application.
[0050] Figure 7This is a schematic diagram of the relative positional structure between the user's face and the signing device when the angle between the plane containing the target object's face and the horizontal plane is taken as the second angle in another embodiment of this application.
[0051] Figure 8 This is a schematic diagram showing the initial image information of the target object's face region in a preset area (left face image in the figure) obtained when the angle between the plane where the target object's face is located and the horizontal plane is taken as the first angle; and the initial image information of the target object's face region in a preset area (right face image in the figure) obtained when the angle between the plane where the target object's face is located and the horizontal plane is taken as the second angle.
[0052] Figure 9 This is a schematic diagram of the relative positions between the user's face and the signing device when the angle between the plane containing the target object's face and the horizontal plane is used as a preset angle in another embodiment of this application.
[0053] Figure 10 This is a schematic diagram of the target adjustment angle in another embodiment of this application.
[0054] Figure 11 This is a structural schematic diagram of the initial angle in another embodiment of this application. Attached image description:
[0056] 1. Handwriting input component; 11. First mounting surface; 12. Second mounting surface; 13. Signature input area; 14. Pen placement point; 2. Image acquisition component; 21. Placement base; 22. Connecting arm; 23. Camera; 3. Fingerprint recording module; 4. Storage groove; 5. Document recognition module; 6. Anti-slip pad. Detailed Implementation
[0057] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0058] According to a first aspect of the invention, such as Figure 1 As shown, a control method for a signing and approval device is provided, which is applied to the signing and approval device, such as... Figure 2 As shown, the approval device includes an image acquisition component 2 and a handwriting input component 1. The method includes the following steps:
[0059] S1: In response to the acquisition of input information in the signature input area 13, the initial image information of the target object is acquired through the image acquisition component 2.
[0060] S1 includes the following steps:
[0061] S100: Obtain initial image information of the target object's facial region within a preset area.
[0062] In this step, execution begins when the target object's face area enters any position within the preset area. The placement of the image acquisition component 2 and the handwriting input component 1 in this embodiment remains largely unchanged. Furthermore, since the preset position where the target object's face area enters remains essentially constant each time, the object distance is kept consistent during the initial image acquisition process. Here, object distance refers to the distance from the target object's face to the camera 23 in the image acquisition component 2. Taking a handwritten signature scenario in a bank as an example, execution S100 begins only after the user adjusts to a preset sitting posture.
[0063] Preferably, the target object's facial region is the target user's facial region. This is because facial regions are generally easier to capture, and the actual width of the face corresponds to its actual length. Therefore, the initial image information of the facial region obtained facilitates the smooth progress of subsequent steps.
[0064] S2: Based on the initial image information, the angle between the plane containing the face of the target object and the horizontal plane is taken as the first angle.
[0065] Specifically, the following parameters can be obtained through the methods described in S200-S300: initial image height h1, target image height h2, and actual length L of the target object's face region.
[0066] like Figures 6 to 8 As shown, the plane containing the face of the target object is the plane indicated by the double dashed lines in the figure, and the horizontal plane is the plane indicated by the single horizontal dashed line in the figure.
[0067] Based on the above parameter values, the specific value of the first included angle can be calculated.
[0068] The first included angle is calculated based on the initial image height and the actual length of the target object's face region. The specific calculation method is as follows:
[0069] First included angle
[0070] S3: If the first included angle does not meet the preset conditions, the display position of the signature input area 13 is adjusted so that the second included angle is greater than the first included angle. The second included angle is the angle formed by the plane where the face of the target object is located and the horizontal plane after the display position information of the signature input area 13 is adjusted.
[0071] The second included angle is calculated based on the height of the target image and the actual length of the target object's face region. The specific calculation method is as follows:
[0072] Second angle
[0073] The preset conditions are the angle range of the first included angle set according to the actual usage scenario, such as 40°-45°.
[0074] When the first included angle does not meet the preset conditions, to change the angle between the plane containing the target object's face and the horizontal plane from the first included angle to the second included angle, it is necessary to adjust the display position information of the signature input area. Specifically, the display position of the signature input area 13 should be moved closer to one side of the image acquisition component 2. The specific distance that the display position of the signature input area 13 should be moved closer to one side of the image acquisition component 2 can be obtained from a corresponding preset mapping table. This mapping table is generated based on practical experience and specifically represents the mapping relationship between the range of angle changes from the first included angle to the second included angle and the specific distance that the display position of the area should be moved closer to one side of the image acquisition component 2.
[0075] By adjusting the display position of the signature input area 13, the angle between the plane containing the target object's face and the horizontal plane can be changed to a second angle. This allows the user to be guided to raise their head to a greater angle. By reducing the deviation between the angle between the image acquisition component and the plane containing the target object's face and the optimal angle, the consistency between the acquired user facial image and the user's actual face is improved, resulting in a more accurate representation of the user's true appearance.
[0076] As a possible embodiment of the present invention, after S100, the method further includes the following steps:
[0077] S200: Based on the initial image information, obtain the initial image width and initial image height of the target object's face region.
[0078] Preferably, S200 includes:
[0079] S201: Obtain the target pixel region corresponding to the face region of the target object in the initial image information.
[0080] Specifically, existing target recognition algorithms can be used to generate bounding boxes for user face images. Initial image information includes pixel width. In this embodiment, the pixel width represents the actual distance represented by one pixel when the image acquisition component 2 generates the image (initial image information). This value is an attribute value of the image acquisition component 2 and can be obtained directly. In this embodiment, the image acquisition component 2 is a camera 23.
[0081] S202: Generate the initial image width based on the maximum number of pixels in the width direction of the target pixel region and the pixel width.
[0082] S203: Generate the initial image height based on the maximum number of pixels in the height direction and the pixel width of the target pixel region.
[0083] Specifically, the maximum number of pixels in the target pixel region along the width direction can be the maximum number of pixels included in the recognition bounding box of the face image along the width direction. Similarly, the maximum number of pixels in the target pixel region along the height direction can be the maximum number of pixels included in the recognition bounding box of the face image along the height direction.
[0084] The initial image width and initial image height can be calculated by multiplying the maximum number of pixels by the pixel width.
[0085] S300: Obtain the actual length of the target object's face region based on the mapping relationship between the initial image width and the actual length of the target object's face region.
[0086] In addition, the target image height of the target object's face region can be obtained based on the mapping relationship between the initial image width and the target image height of the target object's face region.
[0087] Specifically, based on the initial image width and preset angle, the target image height of the target object's facial region is obtained.
[0088] During the approval process, the varying angles at which users tilt their heads cause significant variations in the initial image height of the target subject's facial region within the acquired initial image information. However, because the user's head tilting motion does not create a large change in horizontal angle, the initial image width of the target subject's facial region remains relatively constant for the same user. This means the mapping relationship between the initial image width and the actual face width is more stable. Therefore, based on historical big data analysis, the actual face width corresponding to different initial image widths can be determined. Furthermore, since the length and width of a person's face develop a relatively stable relationship during growth and development, collecting facial data from people of different ages and genders can determine the actual face length corresponding to different face widths. This allows for the generation of a mapping relationship between the initial image width and the actual length of the target subject's facial region.
[0089] Therefore, based on the initial image width, the corresponding actual width and length of the user's face can be obtained. The target image height is the image height corresponding to the target object's face region in the generated image when the angle between the target object's face region and the image acquisition component 2 is a preset angle. For example... Figure 9As shown, the preset angle can be the angle between the plane where the face is located and the plane where the imaging optical axis of the camera 23 is located (i.e., the horizontal plane), and the preset angle is Ψ.
[0090] Preferably, the preset angle Ψ is 45° or 60°.
[0091] Generally speaking, the closer the angle between the plane containing the face and the optical axis of the camera 23 is to 90°, the greater the initial image height. However, when the angle is between 60° and 90°, the human face is more likely to exceed the actual shooting range, and it does not conform to the user's normal posture when handwriting signatures. Therefore, when the angle, i.e., the preset angle Ψ, is 45° or 60°, the user's posture is more comfortable, and the acquired image can be used normally.
[0092] Based on the above, a mapping table can be formed between the initial image width, the target image height, and the actual length of the target object's face region, so as to quickly obtain the target image height and the actual length of the target object's face region later.
[0093] S400: Adjust the display position of the signature input area 13 based on the target image height, the initial image height, and the actual length of the target object's face region. The signature input area 13 is located within the handwriting input component 1. The difference between the target image height and the initial image height is negatively correlated with the distance between the display position of the signature input area 13 and the image acquisition component 2.
[0094] Specifically, the display position of the signature input area 13 is adjusted according to the display position information, and the display position information of the signature input area 13 meets the following conditions:
[0095]
[0096] Wherein, H represents the display position information of the signature input area 13; that is, the distance from the lower boundary of the adjusted signature input area 13 to the lower boundary of the display area of the handwriting input component 1; H1 represents the distance from the lower boundary of the initial display position of the signature input area 13 to the lower boundary of the display area of the handwriting input component 1; h1 represents the initial image height; h2 represents the target image height; L represents the actual length of the target object's face area, which is usually specified as the distance from the top of the forehead to the bottom of the chin; β represents the preferred included angle, β = 45° or β = 60°; and W1 represents the first adjustment base. The first adjustment base can be set based on experience during actual use.
[0097] like Figure 2 , Figure 4 , Figure 6 and Figure 7As shown, in this embodiment, the approval device includes an image acquisition component 2, which is a camera 23, and a handwriting input component 1, which can be a handwriting tablet or approval board, etc. The camera 23 is fixed to one end of the handwriting input component 1. During approval, the camera 23 is positioned relative to the user's face at a certain angle. Furthermore, the initial position of the approval input area 13 in the handwriting input component 1 is typically set at a relatively low position.
[0098] According to the above calculation formula, generally, the greater the angle at which the user looks down, the smaller the corresponding initial image height h1 will be, and consequently, the greater the difference between the target image height and the initial image height of the target object's face region. Correspondingly, The larger the value, the larger H will ultimately be. That is, the closer the display position of the approval input area 13 is to the image acquisition component 2. This embodiment is more suitable for use scenarios where the original display position of the approval input area 13 is fixed, such as when the original display position of the approval input area 13 is fixed at the bottom of the display page.
[0099] S500: After adjusting the display position of the approval input area 13 according to the display position information, the target image is acquired through the image acquisition component 2.
[0100] Therefore, the closer the display position of the signature input area 13 is to the image acquisition component 2, the greater the angle at which the user can look up. This reduces the deviation between the relative angle between the image acquisition component 2 and the user's face and the optimal angle, thereby improving the consistency between the acquired user facial image and the user's real face, and thus more accurately displaying the user's real face.
[0101] As a possible embodiment of the present invention, S400: Adjust the display position of the approval input area 13 according to the target image height, the initial image height, and the actual length of the target object's face region. This includes:
[0102] S401: Generate first position adjustment information based on the height of the target image and the actual length of the facial region of the target object.
[0103] S402: Generate second position adjustment information based on the initial image height and the actual length of the target object's facial region.
[0104] S403: Based on the first position adjustment information and the second position adjustment information, generate first display position information, which is the offset information between the adjusted display position and the original display position of the signature input area 13. Adjust the display position of the signature input area 13 according to the first display position information.
[0105] Preferably, S403 includes:
[0106] S411: Generate initial offset information based on the first position adjustment information and the second position adjustment information.
[0107] S421: Generate the first display position information based on the initial offset information and conversion coefficient.
[0108] The first position adjustment information Y1 meets the following conditions:
[0109]
[0110] The second position adjustment information Y2 meets the following conditions:
[0111]
[0112] First display location information △ H meets the following conditions:
[0113]
[0114] in, W1 represents the initial offset information; W2 represents the conversion coefficient; the conversion coefficient can be set based on empirical values from actual usage.
[0115] The technical solution disclosed in this embodiment uses the display position information of the approval input area 13 before adjustment. Since the initial image information is collected before the current approval process, and the tilt angle of the user's face is typically more significantly affected by the current position of the approval input area 13, this embodiment adjusts the display position based on the current position of the approval input area 13. That is, the final generated display position is the offset information between the adjusted display position of the approval input area 13 and the initial display position. Figure 2 As shown, the signature device in this embodiment can be the same as that in the previous embodiment. Correspondingly, the offset information is the offset information in the direction formed by the upper and lower boundaries of the display area of the handwriting input component 1.
[0116] The technical solution disclosed in this embodiment is more applicable to situations where the display position of the approval input area 13 is not fixed, such as when the approval input area 13 is displayed in the form of an electronic page. Typically, the approval input area 13 will be displayed in a certain position on the contract display page. However, the position of the approval input area 13 on different contract display pages also varies. The initial display position of the approval input area 13 on the contract display page seen by the user before signing will differ. Therefore, when obtaining initial image information, different users will observe different initial display positions of the approval input area 13.
[0117] In this embodiment, the first display position information is obtained through initial offset information, which in turn is generated using Y1 and Y2. Y1 is generated based on the initial display position of the signature input area 13, thus more accurately reflecting the initial display position of its corresponding signature input area 13. This makes each final generated first display position information more accurate.
[0118] As a possible embodiment of the present invention, a control method for a signing and approval device further includes:
[0119] S10: Obtain the initial input point's landing position information of the target input information.
[0120] Specifically, before the approval process, method S10 can be manually triggered. Therefore, when the user formally approves, the system can be based on the user's first signature point 14, such as... Figure 10 As shown, the placement information is determined. Based on typical handwriting habits, the first placement point 14 is usually located at the top left corner of the current line. The highest point of subsequent text input will generally not exceed the height of the first placement point 14.
[0121] S20: Generate a target and adjust its angle based on the landing point location information.
[0122] Preferably, S20 includes:
[0123] S21: Based on the landing point location information and the preset display position information of the image acquisition component 2, generate the horizontal adjustment distance and the vertical adjustment distance respectively.
[0124] In this embodiment, the approval device includes an image acquisition component 2, which is a camera 23, and a handwriting input component 1, which can be a handwriting tablet or an approval board. The camera 23 is fixed to one end of the handwriting tablet. The camera 23 can rotate along the horizontal axis of its installation position to adjust its shooting range. Since the distance between the rotating axis and the camera 23 is very close, the positional change caused by its rotation is negligible. Therefore, the relative position between the camera 23 and the handwriting tablet can be considered a constant.
[0125] Because the first pen placement point 14 is located in different positions in the display area, the horizontal and vertical adjustment distances between it and the camera 23 will be different.
[0126] Additionally, since there are instances where the entire input text is higher than the first stroke point 14, to ensure a more complete capture of all the input text, the height information used for calculating the stroke point position can be higher than the actual height of stroke point 14. This means reducing the horizontal adjustment distance.
[0127] S22: Generate the target adjustment angle based on the horizontal and vertical adjustment distances.
[0128] like Figure 10 As shown, the target adjustment angle D1 meets the following conditions:
[0129] D1 = arctan(G1 / S1); where S1 is the horizontal adjustment distance and G1 is the vertical adjustment distance.
[0130] S30: Adjust the angle and initial angle according to the target to generate deflection information. The initial angle is the deflection angle of the image acquisition component 2 before acquiring the input information.
[0131] like Figure 11 As shown, the initial angle is the angle between the lower boundary of the maximum field of view of camera 23 and the horizontal plane when camera 23 is in its initial position. The initial angle D2 satisfies the following condition:
[0132] D2 = β / 2 + γ; where β is the angle corresponding to the maximum field of view of camera 23, i.e., the field of view angle. γ is the angle between the imaging optical axis of camera 23 and the horizontal plane. When the imaging optical axis is below the horizontal plane, γ is positive; when the imaging optical axis is above the horizontal plane, γ is negative. For example, β = 120°, γ = -10°. Therefore, D2 = 50°.
[0133] When the camera 23 is typically positioned, the angle between its imaging optical axis and the horizontal plane is 0°, so D2 = β / 2.
[0134] The deflection information △D satisfies the following conditions:
[0135] △D = D2 - D1;
[0136] S40: After adjusting the shooting angle of the image acquisition component 2 according to the deflection information, the target image is acquired.
[0137] When △D>0, camera 23 rotates △D counterclockwise, moving the area of the field of view upwards. When △D≤0, camera 23 rotates △D clockwise, moving the area of the field of view downwards.
[0138] In this embodiment, the camera 23 can be rotated only when △D>0. This causes the camera 23 to rotate upwards, allowing for a clearer capture of the user's facial features. This improves the consistency between the acquired user facial image and the user's actual face, resulting in a more accurate representation of the user's true appearance.
[0139] According to a second aspect of the invention, such as Figure 3As shown, a control device for a signing and approval device is provided, applied to the signing and approval device, which includes an image acquisition component 2 and a handwriting input component 1. The device includes:
[0140] The response module is used to respond to the acquisition of input information in the signature input area 13 and to acquire the initial image information of the target object through the image acquisition component 2;
[0141] The first generation module is used to take the angle between the plane where the face of the target object is located and the horizontal plane as the first angle based on the initial image information;
[0142] The second generation module is used to adjust the display position of the approval input area 13 if the first included angle does not meet the preset conditions, so that the second included angle is greater than the first included angle, wherein the second included angle is the angle between the plane where the face of the target object is located and the horizontal plane after adjusting the display position of the approval input area 13.
[0143] According to a third aspect of the invention, such as Figures 4 to 5 As shown, a signature device is provided, the signature device comprising:
[0144] The input component, also known as the handwriting input component, has a signature input area 13 on its upper surface.
[0145] Specifically, the input component can be an existing device for entering information, with its upper surface being the side facing the user during actual use. The signature input area 13 is for receiving input information. This area can be an existing electronic screen for handwriting input, or an electronic handwriting tablet, etc. The signature input area 13 uses pressure signals generated by touch to generate electrical signals corresponding to the input information, thus realizing the input of signature information. Alternatively, this area can also be made of an existing flat physical component, such as a plastic tablet (i.e., the signature input area 13), which is used to hold paper documents on which the user signs.
[0146] Image acquisition component 2 is connected to the upper surface of input component, and when the user signs through signature input area 13, the user's face area and signature input area 13 are both within the field of view of image acquisition component 2.
[0147] Specifically, the image acquisition component 2 can be an existing camera 23.
[0148] The approval device disclosed in this invention directly and fixedly connects the image acquisition component 2 to the upper surface of the input component. Since the image acquisition component 2 has a certain field of view, its visible range can be adjusted by changing its fixed angle. Specifically, when a user is signing or approving, due to writing habits, they will face and approach the approval input area 13, at which point their face is located in the area diagonally above the approval input area 13. By connecting the image acquisition component 2 to the upper surface of the input component, the approval device of this invention ensures that the approval input area 13 falls within the visible range of the image acquisition component 2, while allowing the visible range of the image acquisition component 2 to be set diagonally upwards to capture more of the area diagonally above the approval input area 13, i.e., to capture the face of the user who is signing or approving. Therefore, the approval device of this invention ensures that when a user signs or approves through the approval input area 13, both the user's face and the approval input area 13 are within the field of view of the image acquisition component 2.
[0149] Furthermore, in existing technologies, the camera 23 used for handwritten signature devices is often separated from the screen, such as being located inside the service window. Typically, a thick protective glass separates the camera 23 from the user, and stray light reflected or refracted by this glass can affect the image quality of the camera 23.
[0150] The signing device disclosed in this invention has no obstructions between the user and the camera 23 and does not produce stray light, thereby improving the image quality.
[0151] As one possible embodiment of the present invention, the image acquisition component 2 includes:
[0152] The base 21 is attached to the upper surface of the input component.
[0153] The base 21 can be set to a cylindrical shape.
[0154] Camera 23.
[0155] Preferably, the camera 23 needs to meet the following parameters: focusing range: 20-100cm, focal length f = 4.39cm, aperture: F2.4, focusing distance: 50cm, field of view: 135°. Tests have shown that when the camera 23 meets the above parameter values, it can meet the height requirements of most people. The camera 23 can simultaneously capture the face of the user performing the signature input and the signature input area 13. Therefore, the signature device disclosed in this invention can meet the height requirements of most people when acquiring the user's signature image and facial image.
[0156] Furthermore, the approval device disclosed in this invention also includes a connecting arm 22, which is connected between the placement base 21 and the camera 23, and the connecting arm 22 is inclined relative to the upper surface of the input component. Figure 2 As shown, the maximum distance (L1) between the input component and the camera 23 in the first direction is greater than the length (L2) of the input component in the first direction.
[0157] Furthermore, the connecting arm 22 has a certain angle with the upper surface of the base 21, namely α in the figure. Preferably, α is an acute angle.
[0158] Specifically, such as Figure 2 As shown, the first direction is the direction represented by X in the figure, and the second direction is the direction represented by Y in the figure. By setting the connecting arm 22, the camera 23 moves away from the input component in both the first and second directions, thereby causing the field of view of the camera 23 to move accordingly, that is, from the field of view position represented by the solid line in the figure to the field of view position represented by the dashed line.
[0159] In the embodiments disclosed in this invention, the connecting arm 22 allows the camera 23 to move away from the input component in a first direction, meaning the field of view of the camera 23 moves away from the input component in the first direction, thereby expanding the area where the camera 23 acquires images in the first direction. Similarly, the camera 23 moves away from the input component in a second direction, meaning the field of view of the camera 23 moves away from the input component in the second direction, thereby expanding the area where the camera 23 acquires images in the second direction. Therefore, the signing device disclosed in this invention, through the connecting arm 22, expands the area where the camera 23 acquires images, ensuring that when the user signs through the signing input area 13, both the user's face area and the signing input area 13 are within the image acquisition range of the camera 23.
[0160] As one possible embodiment of the present invention, the edge of the surface of the base 21 near the camera 23 is provided with a chamfer, and the bevel formed by the chamfer is parallel to the lower edge of the field of view of the camera 23.
[0161] Preferably, the beveled surface formed by the chamfer coincides with the lower edge of the field of view of the camera 23.
[0162] Specifically, such as Figure 2 As shown, taking a field of view β = 120° as an example, the angle between the chamfered surface and the upper surface of the base 21 is β / 2 = 60°.
[0163] Therefore, by setting a chamfer at the edge of the surface of the base 21 near the camera 23, the light at the lower edge of the field of view of the camera 23 is not blocked by the base 21, allowing the light at the lower edge of the field of view of the camera 23 to smoothly enter the image acquisition range of the camera 23, further increasing the visible area of the camera 23 on the upper surface of the input component. Preferably, the difference between L1 and L2 is greatest when the bevel formed by the chamfer coincides with the lower edge of the field of view of the camera 23. That is, the field of view of the camera 23 will move backward as a whole, expanding the visible area of the camera 23, so that both the user's face area and the signature input area 13 are within the image acquisition range of the camera 23.
[0164] Furthermore, the signature input area 13 is located in the first visible area of the input component. The first visible area is the area between the edge of the input component on the side away from the camera 23 in the first direction and the first visible boundary. The first visible boundary is the position where the field of view of the camera 23 intersects with the input component.
[0165] Therefore, by setting the signature input area 13 within the first visible area of the input component, the signature input area 13 is completely within the image acquisition range of the camera 23, ensuring that when the user signs through the signature input area 13, the camera 23 can acquire all the images of the information entered by the user in the signature input area 13.
[0166] As one possible embodiment of the present invention, the input component includes:
[0167] The housing has an upper surface including a first mounting surface 11 and a second mounting surface 12 that are connected to each other. The first mounting surface 11 is horizontally arranged, and the second mounting surface 12 is obliquely downward relative to the first mounting surface 11.
[0168] Preferably, the angle between the second mounting surface 12 and the first mounting surface 11 (horizontal plane) is 4°.
[0169] Image acquisition component 2 is connected to the first mounting surface 11.
[0170] The approval input area 13 is located on the second mounting surface 12.
[0171] The approval device disclosed in this invention divides the upper surface of the housing of the input component into two sections. The section farther from the user, namely the first mounting surface 11, is horizontally arranged to facilitate connection to the mounting base. The section closer to the user, namely the second mounting surface 12, is angled downward to make it easier for the user to view the information displayed in the approval input area 13.
[0172] Furthermore, the input components also include:
[0173] The fingerprint recording module 3 is fixedly mounted on the second mounting surface 12.
[0174] The fingerprint recording module 3 can be an existing fingerprint recording device used to obtain the user's fingerprint information.
[0175] Furthermore, the input components also include:
[0176] A storage recess 4 is provided on the second mounting surface 12, and the storage recess 4 can be used to place an input pen for signing.
[0177] Furthermore, the input components also include:
[0178] The document recognition module 5 is connected to the first mounting surface 11. The document recognition module 5 can be an existing ID card recognition device used to obtain the user's identity information.
[0179] Furthermore, multiple anti-slip pads 6 are provided at the bottom of the housing. These anti-slip pads 6 can be elastomers or non-elastic materials with anti-slip properties, such as rubber pads.
[0180] In this embodiment, the input component, by incorporating multiple information acquisition modules, can more conveniently obtain the user's associated identity information. Simultaneously, the second mounting surface 12 is positioned diagonally downwards relative to the first mounting surface 11, facilitating user signature input.
[0181] As one possible embodiment of the present invention, the base 21 is slidably disposed on the upper surface of the input component.
[0182] Specifically, a groove can be opened on the first mounting surface 11, and a slider can be set on the mounting base 21. The slider passes through the groove, and the mounting base 21 slides on the input component by sliding the slider in the groove.
[0183] As one possible embodiment of the present invention, the camera 23 is rotatably connected to the connecting arm 22 so that the camera 23 can rotate about a horizontal axis.
[0184] The camera 23 is connected to the connecting arm 22 via a pivot, enabling the camera 23 to rotate around a horizontal axis. It should be noted that the horizontal axis around which the camera 23 rotates refers to an axis parallel to the first mounting surface 11.
[0185] The signing device disclosed in this invention, through the arrangement of a sliding structure and a rotating shaft structure, allows the camera 23 to move on the input component and rotate around a horizontal axis, thereby expanding the adjustable range of the camera 23's field of view. By adjusting the position of the camera 23, the field of view range of the camera 23 can be adjusted. When a user signs through the signing input area 13, the signing device can adjust the field of view range of the camera 23 according to the user's position and signing habits, ensuring that both the user's face area and the signing input area 13 are within the image acquisition range of the camera 23.
[0186] The approval device disclosed in this invention, while ensuring that the approval input area 13 falls within the field of view of the image acquisition component 2, allows the field of view of the image acquisition component 2 to be set diagonally upwards to capture more of the area diagonally above the approval input area 13, i.e., to capture the face of the user who is entering the approval information. Simultaneously, the image acquisition range of the camera 23 is adjusted through the sliding structure and the rotating shaft structure. When the user is signing through the approval input area 13, both the user's face and the approval input area 13 are within the field of view of the image acquisition component 2.
[0187] Embodiments of the present invention also provide a non-transitory computer-readable storage medium, which can be disposed in an electronic device to store at least one instruction or at least one program related to implementing a method in the method embodiment, wherein the at least one instruction or the at least one program is loaded and executed by the processor to implement a control method for a signing device provided in the above embodiments.
[0188] Embodiments of the present invention also provide an electronic device, including a processor and the aforementioned non-transitory computer-readable storage medium.
[0189] Embodiments of the present invention also provide a computer program product including program code, which, when the program product is run on an electronic device, causes the electronic device to perform the steps of the methods described above in various exemplary embodiments of the present invention.
[0190] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.
[0191] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0192] In an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.
[0193] Those skilled in the art will understand that various aspects of the present invention can be implemented as systems, methods, or program products. Therefore, various aspects of the present invention can be specifically implemented in the following forms: entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuits,” “modules,” or “systems.”
[0194] An electronic device according to this embodiment of the invention. The electronic device is merely an example and should not be construed as limiting the functionality or scope of the embodiments of the invention.
[0195] Electronic devices are manifested in the form of general-purpose computing devices. Components of an electronic device may include, but are not limited to: at least one processor, at least one memory, and buses connecting different system components (including memory and processor).
[0196] The memory stores program code that can be executed by a processor, causing the processor to perform the steps described in the "Exemplary Methods" section above, according to various exemplary embodiments of the present invention.
[0197] The storage may include readable media in the form of volatile storage, such as random access memory (RAM) and / or cache memory, and may further include read-only memory (ROM).
[0198] The storage may also include programs / utilities having a set (at least one) of program modules, including but not limited to: an operating system, one or more applications, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0199] A bus can represent one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus that uses any of the various bus architectures.
[0200] The electronic device can also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication can be achieved through input / output (I / O) interfaces. Furthermore, the electronic device can communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter. The network adapter communicates with other modules of the electronic device via a bus. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0201] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.
[0202] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of the present invention may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of the present invention described in the "Exemplary Methods" section above.
[0203] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0204] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0205] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0206] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0207] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of the present invention, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0208] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0209] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A control method of a signing device, characterized by, The method is applied to a signing device, and the signing device comprises an image acquisition component and a handwriting input component. In response to acquisition of information input in a signing input area, initial image information of a target object is acquired by the image acquisition component; According to the initial image information, an included angle between a plane where a face of the target object is located and a horizontal plane is taken as a first included angle; If the first included angle does not meet a preset condition, a display position of the signing input area is adjusted, so that a second included angle is greater than the first included angle, wherein the second included angle is an included angle between the plane where the face of the target object is located and the horizontal plane after the display position of the signing input area is adjusted; According to the initial image information, an included angle between a plane where a face of the target object is located and a horizontal plane is taken as a first included angle, comprising: According to the initial image information, an initial image width and an initial image height of the face region of the target object are acquired; According to a mapping relationship between the initial image width and an actual length of the face region of the target object, the actual length of the face region of the target object is acquired; According to the initial image height and the actual length of the face region of the target object, the first included angle is calculated; The adjustment of the display position of the signing input area comprises: According to the initial image width and a preset angle, a target image height of the face region of the target object is acquired; According to the target image height, the initial image height and the actual length of the face region of the target object, the display position of the signing input area is adjusted, wherein the display position of the signing input area meets the following two conditions: The display position of the signing input area is located in the handwriting input component; A difference between the target image height and the initial image height is negatively correlated with a distance between the display position of the signing input area and the image acquisition component.
2. The method of claim 1, wherein, According to the target image height, the initial image height and the actual length of the face region of the target object, the display position of the signing input area is adjusted, comprising: First position adjustment information is generated according to the target image height and the actual length of the face region of the target object; Second position adjustment information is generated according to the initial image height and the actual length of the face region of the target object; First display position information is generated according to the first position adjustment information and the second position adjustment information, and the first display position information is offset information between an adjusted display position and an original display position of the signing input area.
3. The method of claim 2, wherein, According to the first position adjustment information and the second position adjustment information, the first display position information is generated, comprising: Initial offset information is generated according to the first position adjustment information and the second position adjustment information; The first display position information is generated according to the initial offset information and a conversion coefficient.
4. The method of claim 1, wherein, The initial image information comprises a pixel width; According to the initial image information, the initial image width and the initial image height of the face region of the target object are acquired, comprising: A target pixel region corresponding to the face region of the target object in the initial image information is acquired; generating the initial image width according to a maximum value of a number of pixels of the target pixel region in a width direction and a pixel width; generating the initial image height according to a maximum value of a number of pixels of the target pixel region in a height direction and a pixel width.
5. The method of claim 1, wherein, Further comprising: obtaining landing position information of an initial input point of input information; generating a target adjustment angle according to the landing position information; generating deflection information according to the target adjustment angle and an initial angle, wherein the initial angle is a deflection angle of the image acquisition component before the image acquisition component acquires the input information; adjusting a shooting angle of the image acquisition component according to the deflection information.
6. A control device of a signing apparatus, characterized by comprising: Applied to a signing device, the signing device comprising an image acquisition component and a handwriting input component; the device comprising: a response module configured to, in response to acquisition of input information of a signing input region, acquire initial image information of a target object by the image acquisition component; a first generation module configured to, according to the initial image information, take an angle between a plane where a face of the target object is located and a horizontal plane as a first angle; a second generation module configured to, if the first angle does not meet a preset condition, adjust a display position of the signing input region so that a second angle is greater than the first angle, wherein the second angle is an angle between the plane where the face of the target object is located and the horizontal plane after the display position of the signing input region is adjusted; according to the initial image information, taking an angle between a plane where a face of the target object is located and a horizontal plane as a first angle, comprising: according to the initial image information, acquiring an initial image width and an initial image height of a face region of the target object; according to a mapping relationship between the initial image width and an actual length of the face region of the target object, acquiring the actual length of the face region of the target object; according to the initial image height and the actual length of the face region of the target object, calculating the first angle; the adjusting the display position of the signing input region, comprising: according to the initial image width and a preset angle, acquiring a target image height of the face region of the target object; according to the target image height, the initial image height and the actual length of the face region of the target object, adjusting the display position of the signing input region, wherein the display position of the signing input region meets the following two conditions: the display position of the signing input region is located in the handwriting input component; and a difference between the target image height and the initial image height is negatively correlated with a distance between the display position of the signing input region and the image acquisition component. 7.A non-transitory computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 6. The computer program is executed by a processor to implement a control method of a signing device according to any one of claims 1 to 5.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement a control method of a signing device according to any one of claims 1 to 5.
Citation Information
Patent Citations
Encrypted writing signing mobile terminal
CN101872420A
Mutual control method and system of written signing content and underlying document
CN105678148A