Nail size measurement method, system and computer-readable storage medium for nail fitting
By identifying finger touch operations on the terminal device and generating measurement lines, and reading the measurement lines spacing length as the nail width, it solves the problem of inconvenient and inaccurate measurement of nail size when users purchase nail sheets online, achieving convenient and accurate nails Tablet size selection.
Patent Information
- Application Number
- CN202210865696.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2042-07-21
AI Technical Summary
In the prior art, when users purchase nail sheets online, it is difficult to measure the nail size easily and accurately, resulting in the inappropriate purchase of unfit nail sheets.
By displaying the measuring scale interface on the touch display device of the terminal device, identifying the user's finger touch operation, two parallel measurement lines are generated, and the length of the measurement lines is read as the nail width, and providing the user with the adapted nail sheet to select.
Convenient and relatively accurate nail size measurement is achieved, reducing the complexity and error rate of user operation and improving the accuracy of nail selection.
Smart Images

Figure CN115211843B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of nail fitting, and in particular to a nail size measurement method, system and computer-readable storage medium for fitting nails. Background Art
[0002] With the rapid development of the economy, the development of nail products and services industry is becoming more and more mature. In the field of nail art, patch-type nail tips are one of the most basic materials. Users need to choose nail tips that match the size of their fingernails, and then decorate them with patches. If users purchase nail tips through online channels, they need to check the size diagram provided by the seller online (such as Figure 1 ), users choose the size of nail tips by visually comparing it with their own nail size, which may lead to the mistake of buying nail tips that are not suitable for their nail size, or users need to measure their nail size offline with a soft ruler and manually record it, which is inconvenient. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a convenient and relatively accurate nail size measurement method and system for fitting nail tips.
[0004] The inventors thought that the nail tips that fit on the fingernails mainly require width adaptation, while the length is generally not required. Therefore, users only need to measure the width of the fingernails to determine the size and model of the nail tips that are adapted. Furthermore, the inventors found that when the fingers are operated on the touch screen of the terminal device such as mobile phones that users use to purchase nail tips through online channels, the operation area of the fingers can be identified through the preset program on the terminal device. The inventors found through practice that the width of the operation area of the fingers identified by the preset program is close to the width of the nails. For this reason, the inventors thought that as long as the width of the user's finger touching the screen is obtained, the size of the nail can be measured, so as to provide the user with an adapted nail size when selecting the nail tips.
[0005] To this end, a nail size measurement method for fitting nail tips is provided, comprising the following measurement steps:
[0006] Startup step. According to the user's nail size measurement requirements, a preset measurement scale interface is displayed on the touch display device of the terminal device;
[0007] Generating step: if a finger touch operation is detected on the measuring scale interface, two parallel measuring lines are generated on both sides of the detected finger;
[0008] Reading steps: Read the distance between the two measuring lines, and use the distance as the measured nail size.
[0009] Wherein, the measuring scale interface is provided with scale lines, and the measuring lines are parallel to the scale lines.
[0010] Wherein, one of the scale line and the measurement line adjusts its direction adaptively according to the direction of the other.
[0011] The scale line is displayed on the measuring scale interface on a side away from the area where the finger is recognized.
[0012] Wherein, the generating step also includes a placement indication step: if a finger touch operation is identified in the measuring scale interface in the generating step, a finger placement box is displayed in the area where the finger is identified to remind the user to adjust the position of the finger.
[0013] The finger placement frame is in the shape of a rectangle, and the long side of the rectangle is parallel to the scale of the scale line.
[0014] The method further includes an adjustment step performed between the generating step and the reading step: the two measuring lines can move away from or closer to each other according to the user's selection.
[0015] Wherein, in the adjustment step, the two measuring lines are moved away from or towards each other according to the user's selection to generate a new measuring line; in the reading step performed thereafter, the length of the interval between the two measuring lines newly selected by the user is read.
[0016] Among them, it includes a size display step performed after the reading step: displaying the reading of the spacing length in a preset area of the measuring ruler interface on the terminal device.
[0017] The method comprises the following verification step performed after the measuring step:
[0018] Photographing step. Photographing the nail image of the finger measured in the measuring step;
[0019] Recognition step. Recognize the size information of the nail in the captured nail image, wherein the size information includes the width of the nail;
[0020] Comparison step. Comparing the nail width identified in the identification step with the spacing length between the two measuring lines read in the reading step in the measurement step;
[0021] Judgment step: If the comparison result between the nail width and the spacing length is:
[0022] Result A, if the nail width exceeds the spacing length by a preset degree A, the measuring step is performed again;
[0023] If the result B is that the spacing length exceeds the nail width by a preset degree B, the measuring step is performed again;
[0024] Result C, the comparison relationship between the nail width and the spacing length is between result A and result B, then the spacing length read in the reading step of the measuring step is used as the measured nail size.
[0025] A computer-readable storage medium is also provided, which stores a computer program, and when the computer program is executed by a processor, the nail size measurement method for fitting a nail tip can be implemented.
[0026] A nail size measurement system for fitting nail tips is also provided, comprising a terminal device, a processor provided on the terminal device, and the above-mentioned computer-readable storage medium interconnected with the processor, wherein the computer program on the computer-readable storage medium can be executed by the processor.
[0027] Among them, it also includes a shooting device connected to the processor, the shooting device is used to shoot the nail image, the processor includes an image processing module, a reading module and a comparison module, the image processing module is used to identify the size information of the nail in the nail image taken by the shooting device; the reading module is used to read the spacing length between the two measuring lines; the comparison module is used to compare the size information identified by the image processing module and the spacing length read by the reading module, and the processor is used to output the nail size according to the comparison result of the comparison module on the size information of the nail and the spacing length.
[0028] Beneficial effects: The nail size measurement system for matching nail tips has a preset measuring ruler interface on the touch display device of the terminal device of the system. By executing a pre-recorded program, after the user puts a finger on the measuring ruler interface, the system generates two parallel measuring lines on both sides of the finger identified in the interface, and uses the spacing length between the two measuring lines as the nail width of the identified finger, and provides it to the user as the measured nail size. The user can directly select the matching nail tip based on the nail size. The entire nail size measurement process is implemented on the terminal device used by the user to purchase nail tips online, without the need to find another measuring tool such as a soft ruler. The operation is convenient and more accurate than the user's visual measurement method. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for describing the embodiments are briefly introduced below.
[0030] Figure 1 It is a nail plate size diagram of the prior art.
[0031] Figure 2It is a schematic diagram of an implementation form of the measurement scale interface of the nail size measurement system of this embodiment.
[0032] Figure 3 yes Figure 2 Schematic diagram of the implementation form of generating a new measurement line after the measurement line in is moved.
[0033] Figure 4 Schematic diagram of a finger placement frame of a measuring ruler interface of the nail size measurement system of this embodiment.
[0034] Figure 5 Schematic diagram of the positional relationship between the scale lines and the measuring lines on the measuring ruler interface of the nail size measurement system of this embodiment.
[0035] Figure 6 FIG. 1 is a schematic diagram of a nail image captured by a capturing device of the nail size measuring system of this embodiment. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] The nail size measurement system of this embodiment includes a terminal device such as a mobile phone or a tablet computer used by users to purchase nail tips online, as well as a processor and a computer-readable storage medium interconnected with the processor. The processor is provided on the terminal device (such as a control chip of a mobile phone), and the computer-readable storage medium is implemented through a web link, an application installed on the terminal device, or an application loaded through programs such as WeChat and Alipay (such as a WeChat applet). The computer program on the computer-readable storage medium that implements the nail size measurement method for fitting nail tips of this embodiment can be executed by the processor. By executing the following nail size measurement method for fitting nail tips on the above-mentioned nail size measurement system, this embodiment can realize convenient and relatively accurate measurement of the user's nail width, thereby facilitating the user to choose a size that fits their nails when purchasing nail tips.
[0038] The nail size measurement method for fitting nail tips specifically includes a measurement step and a verification step, wherein the measurement step includes a start step, a generation step, an adjustment step and a reading step, and the verification step includes a shooting step, an identification step, a comparison step and a judgment step. The specific step implementation process is described in detail as follows.
[0039] Startup steps: According to the user's nail size measurement requirements, a preset measurement scale interface is displayed on the touch display device of the terminal device. The user's nail size measurement requirements are specifically that the user opens an application with a pre-recorded program on the terminal device, selects the measurement button, and the application interface displayed on the touch display device jumps to Figure 2 The measurement scale interface shown in Figure 1. Figure 2 At this time, the terminal device is placed horizontally, and a preset scale line 21 is displayed above the measuring scale interface 1.
[0040] Generation step: If a finger touch operation is identified on the measurement scale interface, two parallel measurement lines are generated on both sides of the identified finger. The user places a finger 4 on the measurement scale interface 1, and the processor of the terminal device recognizes that there is a touch operation on the touch screen, and it is a long strip object (automatically confirmed as a long strip object according to the current touch recognition range, such as an aspect ratio of more than 2:1, which is achieved through existing technology and will not be described here). The processor believes that there is a finger touch operation on the current measurement scale interface 1, and generates two parallel measurement lines 31 on the left and right sides of the finger 4. These two measurement lines are parallel to the scale marks, and the user can read the fingernail width by directly observing the scale marks.
[0041] The generating step further includes a placing indication step: if a finger touch operation is detected on the measuring scale interface in the generating step, a finger touch operation is displayed in the area where the finger is detected. Figure 3 The finger placement frame 5 is provided to remind the user to adjust the position of the finger. The shape of the finger placement frame 5 is a rectangle extending from the lower left corner to the upper right with the leftmost edge of the identified finger as the rectangle, and the long side of the rectangle is parallel to the scale of the scale line 21, so that the user can read manually.
[0042] After the generation step is completed, before the subsequent automatic reading step is performed, the adjustment step is performed first: the two measurement lines can move away from each other or closer to each other according to the user's selection. Further, in the adjustment step, the two measurement lines are moved away from each other or closer to each other according to the user's selection to generate a new measurement line. Figure 4, the user finds that the automatically generated measurement lines L1 and L2 are at the edge of the finger, and his nails are narrower than the edge of the finger. The user manually selects L1 and drags it to the position of L11 or L12, and uses L11 or L12 as the measurement line for this measurement. Specifically, when the user drags L1, L2 moves synchronously in the opposite direction of L1 to the position of L21 or L22; or the user can manually select L1 and only drag L1, and the user selects L2 and only drags L2, so that the user can freely adjust the measured nail width. In addition, the new measurement lines L11 and L12 formed each time the user drags L1 can be retained, and the length of the spacing between the two measurement lines newly selected by the user, such as L11 and L22, is read in the subsequent reading step.
[0043] Among them, one of the scale line and the measurement line adjusts its direction according to the direction of the other. Figure 5 As shown, the finger is changed to touch the lower left corner, and the scale line 22 is displayed on the measuring scale interface 1 on the side away from the area where the finger is recognized. In this way, if the user's finger is placed in an inappropriate position or blocks the scale line when changing hands to measure, the position of the scale line display can be automatically adjusted to facilitate reading.
[0044] Reading steps: Read the distance between the two measuring lines and use the distance as the measured nail size.
[0045] After the reading step, a dimension display step is also performed: the reading of the spacing length is displayed in a preset area of the measuring scale interface on the terminal device.
[0046] The user places the ten fingers of the right hand and the left hand one by one on the measuring ruler interface to complete the above measurement steps, and the nail sizes of all ten fingers can be measured.
[0047] The nail size measurement system for matching nail tips has a measuring ruler interface preset on a touch display device of a terminal device of the system. By executing a pre-recorded program, after a user places a finger on the measuring ruler interface, the system generates two parallel measuring lines on both sides of the finger identified in the interface, and uses the spacing length between the two measuring lines as the nail width of the identified finger, and provides the measured nail size to the user. The user can directly select a matching nail tip based on the nail size. The entire nail size measurement process is implemented on a terminal device used by the user to purchase nail tips online, without the need to find another measuring tool such as a soft ruler. The operation is convenient and more accurate than the user's visual measurement method.
[0048] After completing the above measurement steps, if the user is not confident about the nail size measured by the user, the user may further perform the following verification steps to verify the nail size.
[0049] The processor of the nail size measurement system of this embodiment includes an image processing module, a reading module and a comparison module. The image processing module is used to identify the size information of the nail in the nail image taken by the shooting device; the reading module is used to read the spacing length between the two measuring lines; the comparison module is used to compare the size information identified by the image processing module and the spacing length read by the reading module, and the processor is used to output the nail size according to the comparison result of the comparison module on the size information of the nail and the spacing length. The specific verification steps are detailed as follows.
[0050] Photographing step: photograph the nail image of the finger measured in the measuring step. The terminal device is provided with a photographing device (such as a mobile phone camera) connected to the processor, and the photographing device is used to photograph the nail image of the finger measured in the measuring step. Figure 6 Nail images shown.
[0051] Recognition step: Recognize the size information (length l, width w and depth d) of the nail in the captured nail image, where the size information includes the nail width w.
[0052] Comparing step: comparing the nail width identified in the identifying step and the spacing length between the two measuring lines read in the reading step in the measuring step.
[0053] Judgment step: if the comparison result of the nail width and the spacing length is:
[0054] Result A, if the nail width exceeds the spacing length by a preset degree A (e.g., 10%), the measurement step is performed again;
[0055] Result B: if the spacing length exceeds the nail width by a preset degree B (e.g., 5%), the measurement step is performed again;
[0056] Result C, the comparison relationship between the nail width and the spacing length is between result A and result B, then the spacing length read in the reading step of the measuring step is taken as the measured nail size.
[0057] The nail size measurement system embodiment described above is only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0058] Finally, it should be noted that the nail size measurement method for fitting nail tips disclosed in the embodiment of the present invention is only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for measuring the size of a nail for fitting a nail plate, characterized in that: The measurement steps include: Startup steps. According to the user's nail size measurement requirements, a preset measurement scale interface is displayed on the touch display device of the terminal device; Generating step. If a finger touch operation is recognized on the measuring scale interface, two parallel measuring lines are respectively generated on both sides of the recognized finger; the measuring scale interface is provided with a scale line, the measuring line is parallel to the scale of the scale line, the scale line is displayed on the side of the measuring scale interface away from the recognized finger, and the measuring line adjusts its own direction according to the direction of the scale line; Reading steps. Read the distance between the two measuring lines, and use the distance as the measured nail size; The method further comprises the following verification step performed after the measuring step: Photographing step. Photographing the nail image of the finger measured in the measuring step; Identification step. Identifying the size information of the nail in the captured nail image, wherein the size information includes the width of the nail; Comparison step. Comparing the nail width identified in the identification step with the spacing length between the two measurement lines read in the reading step in the measurement step; Judgment step. If the comparison result between the nail width and the spacing length is: Result A, if the nail width exceeds the spacing length by a preset degree A, the measuring step is performed again; If the result B is that the spacing length exceeds the nail width by a preset degree B, the measuring step is performed again; Result C, the comparison relationship between the nail width and the spacing length is between result A and result B, then the spacing length read in the reading step of the measuring step is used as the measured nail size.
2. The method for measuring the size of a nail for fitting a nail tip according to claim 1, characterized in that: The generating step also includes a placement indication step: if a finger touch operation is identified on the measuring scale interface in the generating step, a finger placement frame is displayed in the area where the finger is identified to remind the user to adjust the position of the finger.
3. The method for measuring the size of a nail for fitting a nail tip according to claim 1, characterized in that: The method further comprises an adjusting step performed between the generating step and the reading step: the two measuring lines can be moved away from or closer to each other according to a user's selection.
4. The method for measuring the size of a nail for fitting a nail tip according to claim 3, wherein In the adjusting step, the two measuring lines are moved away from or towards each other according to the user's selection to generate a new measuring line; in the reading step performed thereafter, the length of the interval between the two measuring lines newly selected by the user is read.
5. The method for measuring the size of a nail for fitting a nail tip according to claim 1, wherein: The method comprises a size display step performed after the reading step: displaying the reading of the spacing length in a preset area of a measuring ruler interface on a terminal device.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it can implement the nail size measurement method for fitting nail tips according to any one of claims 1 to 5.
7. A nail size measurement system for nail fitting, comprising a terminal device, a processor provided on the terminal device, and a computer-readable storage medium interconnected with the processor, wherein: The computer readable storage medium as claimed in claim 6.
Citation Information
Patent Citations
Measuring method of size of object
CN104598228A
Nail information detection device, drawing apparatus, and nail information detection method
CN105433577A
Crack observer
CN201697611U
Foot dimension measurement program, foot dimension measurement method and foot dimension measurement device
JP2020031720A
Systems and methods for sizing objects via a computing device
US20200027232A1