CN113034220B - Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering - Google Patents

Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering Download PDF

Info

Publication number
CN113034220B
CN113034220B CN202110229106.9A CN202110229106A CN113034220B CN 113034220 B CN113034220 B CN 113034220B CN 202110229106 A CN202110229106 A CN 202110229106A CN 113034220 B CN113034220 B CN 113034220B
Authority
CN
China
Prior art keywords
mirror
frame
radian
fixed point
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110229106.9A
Other languages
Chinese (zh)
Other versions
CN113034220A (en
Inventor
张世贤
叶志威
付宇恒
周雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202110229106.9A priority Critical patent/CN113034220B/en
Publication of CN113034220A publication Critical patent/CN113034220A/en
Application granted granted Critical
Publication of CN113034220B publication Critical patent/CN113034220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0621Item configuration or customization
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/64Three-dimensional objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Materials Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Chemical & Material Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Health & Medical Sciences (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Multimedia (AREA)
  • Manufacturing & Machinery (AREA)
  • General Health & Medical Sciences (AREA)
  • Eyeglasses (AREA)
  • Optics & Photonics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mechanical Engineering (AREA)

Abstract

The invention discloses a method, a system, equipment and a storage medium for preparing an eyeglass frame based on reverse engineering, wherein the method comprises the following steps: collecting three-dimensional point set information of a human face; selecting an original picture frame template meeting individual personalized requirements from a database; based on three-dimensional point set information of the human face, selecting a plurality of fixed points of a mirror frame of the face, and obtaining radian of positions of eyebrows and temporal bones of the face; adjusting an original mirror frame template according to the fixed point position and the face radian data, and determining mirror frame three-dimensional structure information; the three-dimensional structure information of the mirror frame comprises mirror frame nose support parameters, mirror ring parameters, mirror foot lengths, pile head sites and angles and mirror foot radians; and processing the glasses frame according to the three-dimensional structure information of the glasses frame and performing post-treatment to finish the preparation of the glasses frame. The invention adopts reverse engineering technology, and the mirror frame preparation process starts from the individual user, meets the requirement of personalized functions, and has good fitting property, supporting property and aesthetic property with the face of the individual.

Description

Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering
Technical Field
The invention belongs to the technical field of spectacle frame preparation, and particularly relates to a method, a system, equipment and a storage medium for preparing a face adaptive spectacle frame based on a reverse engineering technology.
Background
In the manufacturing industry, reverse engineering is a product design technique reproduction process. The reverse analysis and research are carried out on a target object, so that the design factors such as the tissue structure, the functional characteristics, the specification and the like of the target object are deduced and obtained. By further processing and simulating the design elements, products with similar but incomplete functions to the target object can be prepared, and accessories with high coordination degree to the target object can also be prepared. With the recent development of three-dimensional measuring devices (CMMs, laser scanners, structured light source converters, X-ray tomography, etc.), computer-aided device software (CAD, CAM, CAE, 3DMax, etc.), and three-dimensional processing devices (3D printers, engravers, etc.). The feasibility and convenience of preparing personalized products based on reverse engineering technology in the manufacturing industry are greatly improved.
The domestic spectacle frame production mode is mainly prepared by using the traditional mechanical processing and injection molding method of a fixed die. The molds used in the conventional methods require significant cost and work experience modifications to the ophthalmic lens manufacturer. For spectacle retailers, most spectacle frames cannot be sold for reasons of customer demand, aesthetic etc. This results in a waste of a lot of resources, also increases sales costs, and also increases consumer burden. More importantly, the glasses manufactured by the traditional glasses frame manufacturing method are too standardized and extremely high in symmetry, but for human individuals, the five sense organs are asymmetric, and the asymmetry of the five sense organs of the human face can be amplified through the post-frame manufacturing, so that the wearing comfort of the individuals is greatly influenced.
Disclosure of Invention
In view of the above, the present invention provides a method, system, device and storage medium for manufacturing an eyeglass frame based on reverse engineering, which are used for solving the problems of neglecting personalized features and poor facial adaptability of the existing eyeglass frame manufacturing.
In a first aspect of the present invention, a method for manufacturing an eyeglass frame based on reverse engineering is presented, the method comprising:
collecting three-dimensional point set information of a human face;
selecting an original picture frame template meeting individual personalized requirements from a database;
Based on three-dimensional point set information of the human face, selecting a plurality of fixed points of a mirror frame of the face, and obtaining radian of positions of eyebrows and temporal bones of the face;
Adjusting an original mirror frame template according to the fixed point position and the face radian data, and determining mirror frame three-dimensional structure information; the three-dimensional structure information of the mirror frame comprises mirror frame nose support parameters, mirror ring parameters, mirror foot lengths, pile head sites and angles and mirror foot radians;
and processing the glasses frame according to the three-dimensional structure information of the glasses frame and performing post-treatment to finish the preparation of the glasses frame.
Preferably, the data in the original frame template comprises the material, color, pattern and original three-dimensional modeling of the frame.
Preferably, the selecting the plurality of fixing points of the mirror frame on the face, and obtaining the radian of the position of each fixing point specifically includes:
Selecting a left nasal bone of a face as a first fixed point, a right nasal bone as a second fixed point, a left top auricle as a third fixed point and a right top auricle as a fourth fixed point;
The left side eyebrow radian is taken as a first radian, the right side eyebrow radian is taken as a second radian, the left side temporal bone radian is taken as a third radian, and the right side temporal bone radian is taken as a fourth radian.
Preferably, the adjusting the original frame template according to the fixed point position and the face radian data, and determining the three-dimensional structure information of the frame specifically includes:
Respectively taking point location coordinates of the first fixed point and the second fixed point as arc top coordinates of the left nose pad and the right nose pad, and updating parameters of the left nose pad, the right nose pad, the inner side frame of the mirror ring and the lower edge frame of the mirror ring in an original mirror frame template; extracting the midpoint coordinates of the eyebrows at the left side and the right side, according to the middle points of the eyebrows on the left side and the right side calculating the height of the mirror ring by coordinates;
determining the widths of the left and right mirror circles according to the point coordinates of the third fixed point and the fourth fixed point;
Determination of radian of left and right eyebrows the left surface and the right surface of the mirror ring are outwards curved in radian;
Determining optical lens pits according to an individual optometry report, determining an optimal inclination angle of a lens by taking left and right lens pits as lens centers, and determining an inclination angle of an inner groove of a lens ring according to the lens inclination angle;
According to the base size of the rim frame, the width of the left rim and the right rim the left and right outer bending radian of the mirror ring the inclination angle of the inner groove of the mirror ring updates the original mirror frame template, obtaining mirror circle space point set information; determining the length of the glasses leg, the pile head locus and the angle according to the information of the space point set of the glasses ring and the third and fourth fixed points;
and determining the radian of the mirror foot according to the radian of the temporal bone.
Preferably, the connecting line of the middle points of the left and right eyebrows is taken as the eyebrow base line
Obtaining the upper and lower edge frames of the lens from the original lens frame template, and determining the upper edge base line of the lens according to the upper and lower edge frames of the lensLower edge base line of mirror ring
Based on the eyebrow baselineAdjusting the rim along the base lineLower edge base line of mirror ringMake it all in line with the eyebrow base lineParallel;
According to the adjusted rim edge base line Lower edge base line of mirror ringThe distance of the straight line in the Z-axis direction determines the height of the rim.
Preferably, the determining the length, the pile head position and the angle of the lens foot according to the information of the space point set of the lens ring and the third fixed point and the fourth fixed point specifically comprises:
determining left and right pile head sites according to the space point set information of the mirror rim, wherein the pile heads are connecting pieces of the mirror feet and the mirror rim;
Taking the space distance between the left pile head locus and the third fixed point as the left temple length L1, and taking the space distance between the right pile head locus and the fourth fixed point as the right temple length L3;
determining included angles between left and right pile heads and a Z-axis direction, wherein the included angles are respectively θ1=arcsin (L2/L1) and θ2=arcsin (L4/L3), L2= |X2-X1|+L0 and L4= |X4-X2|+L0, X1, X2, X3 and X4 are coordinate values on X axes of a first fixed point, a second fixed point, a third fixed point and a fourth fixed point, and L0 is nose pad height;
According to the upper edge beam base line of the mirror frame The included angle between the left and right glasses legs determines the included angle of the left and right pile heads along the Y-axis direction, which are respectively theta 3 and theta 4.
Preferably, the post-treatment comprises polishing, paint spraying, electroplating and installing a mirror ring, a mirror foot and a link hinge of a pile head;
The paint spraying treatment effect comprises one or more of surface color mixing, high gloss and matte treatment effects; the electroplating treatment effect comprises one or more of bright chromium, matte chromium and laser engraving.
In a second aspect of the invention, a system for manufacturing an eyeglass frame based on reverse engineering is disclosed, the system comprising:
And a data acquisition module: collecting three-dimensional point set information of a human face;
And a template selection module: selecting an original picture frame template meeting individual personalized requirements from a database;
And the information extraction module is used for: based on three-dimensional point set information of the human face, selecting a plurality of fixed points of a mirror frame of the face, and obtaining radian of positions of eyebrows and temporal bones of the face;
And a structure determining module: adjusting an original mirror frame template according to the fixed point position and the face radian data, and determining mirror frame three-dimensional structure information; the three-dimensional structure information of the mirror frame comprises mirror frame nose support parameters, mirror ring parameters, mirror foot lengths, pile head sites and angles and mirror foot radians;
The picture frame preparation module: and processing the glasses frame according to the three-dimensional structure information of the glasses frame and performing post-treatment to finish the preparation of the glasses frame.
In a third aspect of the present invention, various types of electronic devices include: at least one processor, at least one memory, a communication interface, and a bus;
the processor, the memory and the communication interface complete communication with each other through the bus;
the memory stores program instructions executable by the processor which the processor invokes to implement the method according to the first aspect of the invention.
In a fourth aspect of the invention, a computer-readable storage medium is disclosed, the computer-readable storage medium storing computer instructions that cause the computer to implement the method according to the first aspect of the invention.
Compared with the prior art, the invention has the following beneficial effects:
1) The invention adopts reverse engineering technology, the picture frame preparation process starts from the individual user, has personalized function, and has good fitting property, supporting property and aesthetic property with the individual face; the method is beneficial to rapidly providing individual personalized demands, gets rid of the influence of the traditional mould, reduces the research and development cost and the production period of the mould of the producer, reduces the stock and the manual pressure of the seller and reduces the economic burden of consumers.
2) The raw materials are homogeneous materials, so that the processing implementation of a 3D printer and an engraving machine is facilitated; the mirror frame has good precision, various appearances and no study defect.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method of manufacturing an eyeglass frame based on reverse engineering according to the present invention;
FIG. 2 is a three-dimensional point set information acquisition result of an individual in an embodiment of the present invention;
FIG. 3 is a schematic view of a selected original frame template in an embodiment of the present invention;
FIG. 4 is a schematic view of a first fixed point and a second fixed point of an individual face according to an embodiment of the present invention;
FIG. 5 is a schematic view of an embodiment of the present invention selected as a third fixed point and a second fixed point;
FIG. 6 is a schematic illustration of determining the relative position of the nose pad arc roof based on the first and second fixed point coordinates;
FIG. 7 is a schematic view of the eyebrow base line and the rim;
FIG. 8 is a schematic diagram of determining the width of the left and right frames based on the face width;
FIG. 9 is a schematic view of the curvature of the frame out of plane;
FIG. 10 is a schematic view of the pile head locus and the included angle along the Z-axis direction;
FIG. 11 is a schematic view of the included angle of the pile head along the Y-axis direction;
FIG. 12 is a schematic view of four angles between the pile head and the Z and Y axes;
FIG. 13 is a schematic view of the curvature of the temple end;
fig. 14 is a three-dimensional view of a combination of a simulated mirror frame and an individual.
Detailed Description
The following description of the embodiments of the present invention will clearly and fully describe the technical aspects of the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, are intended to fall within the scope of the present invention.
Referring to fig. 1, the present invention provides a method for manufacturing an eyeglass frame based on reverse engineering, the method comprising:
s1, collecting three-dimensional point set information of a human face;
Specifically, three-dimensional scanning equipment such as a non-contact 3D scanner, a non-contact handheld 3D scanner, a mobile phone three-dimensional scanning APP, mobile phone 3D scanning peripheral equipment and the like can be utilized to perform three-dimensional scanning on the face of the sitting and head-up human body; the human face scanning area includes at least nose, eyes, ears.
S2, selecting an original picture frame template meeting individual personalized requirements from a database; the data in the original picture frame template comprises the material, color, pattern and original three-dimensional modeling of the picture frame.
S3, based on three-dimensional point set information of the human face, selecting a plurality of fixed points of a mirror frame of the face, and obtaining radian data of positions of eyebrows and temporal bones of the face;
Specifically, the left nasal bone of the face is selected as the first fixation point P1 (X1, Y1, Z1), the right nasal bone as the second fixation point P2 (X2, Y2, Z2), the left top auricle as the third fixation point P3 (X3, Y3, Z3), and the right top auricle as the fourth fixation point P4 (X4, Y4, Z4). The left side eyebrow midpoint coordinates are P5 (X5, Y5, Z5), and the right side eyebrow midpoint coordinates are P6 (X6, Y6, Z6). The left side eyebrow radian is obtained as a first radian R1, and the right side eyebrow radian is obtained as a second radian R2. The left temporal bone radian is taken as a third radian R3, and the right temporal bone radian is taken as a fourth radian R4.
S4, adjusting an original mirror frame template according to the fixed point position and the face radian data, and determining mirror frame three-dimensional structure information; the three-dimensional structure information of the mirror frame comprises mirror frame nose support parameters, mirror ring parameters, mirror foot lengths, pile head sites and angles, mirror foot radians and the like. The parameters of the mirror ring comprise the inner side frame of the mirror ring, the lower edge frame parameter of the mirror ring, the height of the frame of the mirror ring left and right rim widths, outer curvature of left and right rim surfaces, inner groove inclination angles of the rim, and the like.
The step S4 specifically comprises the following sub-steps:
S41, using a first fixed point P1 as a coordinate origin, respectively using point location coordinates of the first fixed point P1 and a second fixed point P2 as arc top coordinates of a left nose pad and a right nose pad, and updating left nose pad parameters, right nose pad parameters, an inner side frame of a mirror ring and lower edge frame parameters of the mirror ring in an original mirror frame template;
the frame of the mirror ring is a nose pad connecting part, and when the arc top coordinates of the left nose pad and the right nose pad are respectively adjusted and determined to be P1 and P2, the space point set information of the frame of the mirror ring is also adjusted accordingly.
S42, extracting midpoint coordinates of the eyebrows on the left side and the right side, and calculating and determining the height of the rim frame according to the midpoint coordinates of the eyebrows on the left side and the right side;
Specifically, the connection line of the midpoint coordinates P5 (X5, Y5, Z5) and P6 (X6, Y6, Z6) of the left and right eyebrows is taken as the eyebrow baseline Obtaining the upper and lower edge frames of the lens from the original lens frame template, and determining the upper edge base line of the lens according to the upper and lower edge frames of the lensLower edge base line of mirror ringAlong the base line on the lens ringIs the connection line of the highest point coordinates P7 (X7, Y7, Z7) and P8 (X8, Y8, Z8) on the left and right lens rings. Based on the eyebrow baselineAdjusting the rim along the base lineLower edge base line of mirror ringMake it all in line with the eyebrow base lineParallel, i.e. According to the adjusted rim edge base lineLower edge base line of mirror ringThe distance in the Z-axis direction of (c) determines the rim height Lz.
S43, determining the widths of the left and right mirror rings according to the point coordinates of the third fixed point and the fourth fixed point;
The nose pad and the left and right frames on the inner side of the mirror ring are fixed, the space point set along the base line is unchanged, and the width of the mirror ring is determined according to the coordinates of the point positions of the left and right earroots, namely the third and fourth fixed points P3 and P4. The width of the left face is |Y3-Y1|, the width of the right face is |Y4-Y2|, and the width of the left and right glasses frames is Ly= [ |Y3-Y1|+|Y4-Y2| ]/2, which is the average value of the left and right glasses frames, in view of aesthetic property.
S44, determining the outer bending radians of the left and right surfaces of the mirror ring according to the radians of the left and right eyebrows;
and reading the radian R1 and R2 of the left and right eyebrows of the individual, and determining the outer bending radian of the left and right faces of the glasses frame as R1 and R2.
S45, determining optical lens pits according to individual optometry reports (upper, lower, left, right pupil distance, astigmatism, strabismus and the like), determining an optimal inclination angle of a lens by taking the left and right lens pits as lens centers, and determining an inclination angle of an inner groove of a lens ring according to the inclination angle of the lens;
s46, obtaining the information of the mirror ring space point set according to the height of the mirror ring frame, the width of the left and right mirror rings, the outer bending radian of the left and right surfaces of the mirror ring and the inclination angle of the inner groove of the mirror ring, and updating the original mirror frame template.
S47, determining the length, pile head position and angle of the glasses leg according to the information of the space point set of the glasses ring and the third and fourth fixed points;
The pile head is a connecting piece of the glasses leg and the glasses frame, and the space point set at the joint of the pile head and the glasses frame is from the original template of the glasses frame. After the space point set of the mirror ring is determined, the pile head site is also determined, the point location coordinate of the center point of the connection area of the left mirror ring and the pile head is P9 (X9, Y9, Z9), and the point location coordinate of the center point of the connection area of the right mirror ring and the pile head is P10 (X10, Y10, Z10). Taking the space distance between the left pile head locus P9 and the third fixed point P3 as the left lens leg length L1, and taking the space distance between the right pile head locus P10 and the fourth fixed point P4 as the right lens leg length L3;
Determining the included angles between the left pile head and the right pile head and the Z-axis direction, wherein the included angles are respectively θ1=arcsin (L2/L1) and θ2=arcsin (L4/L3), L2 is the difference between the length of a third fixed point in the X-axis direction and the length of a first fixed point in the X-axis direction plus the nose pad height L0, the nose pad height is from an original template of a lens frame, namely, L2= |X2-X1|+L0, L4 is the difference between the length of a fourth fixed point in the X-axis direction and the length of a second fixed point in the X-axis direction plus the nose pad height L0, the nose pad height is from an original template of the lens frame, namely, L4= |X4-X2|+L0, X1, X2, X3 and X4 are coordinate values on X axes of the first fixed point, the second fixed point, the third fixed point and the fourth fixed point, and the nose pad height is the nose pad height;
And determining the included angles of the left pile head and the right pile head along the Y-axis direction according to the included angles between the beam base line B2 and the left and right glasses legs on the glasses frame, wherein the included angles are respectively theta 3 and theta 4. The sizes of theta 3 and theta 4 can be further changed according to individual requirements, and the clamping force of the glasses legs can be adjusted.
S48, determining the radian of the mirror foot according to the radian of the temporal bone.
And determining the radian of the left temple as R3 according to the radian of the left temporal bone, namely the third radian R3. And determining the radian of the right side temple as R4 according to the radian of the right side temporal bone, namely the fourth radian R4. The mirror foot model is from the original data of the mirror frame, and finally the radian of the tail end of the mirror foot is changed according to individual requirements, and the wrapping property of the tail end of the mirror foot is adjusted.
And synthesizing the parameter information to obtain the three-dimensional structure information of the mirror frame meeting the personalized requirements.
S5, processing the glasses frame according to the three-dimensional structure information of the glasses frame and performing post-treatment to finish the preparation of the glasses frame.
According to different required raw materials, the three-dimensional structure information of the glasses frame is stored and sent to processing equipment such as a 3D printer, an engraving machine and the like for processing and production. According to the different processing properties of the raw materials, the raw materials matched with the 3D printing technology, such as photosensitive resin (color-adjustable), nylon (color-adjustable), glass fiber, 316 stainless steel, cobalt-nickel alloy, titanium and the like are processed by a 3D printer; for materials that cannot be processed by the 3D printer, such as ABS, PC, PMMA, PEEK, PPS, wood, etc., engraving is performed.
The finished frame parts are subjected to post-treatments such as polishing, painting, electroplating, etc. The paint spraying treatment effect comprises one or more of surface color mixing, high gloss and matte treatment effects. The electroplating treatment effect comprises one or more of bright chromium, matte chromium and laser engraving. And then installing the mirror ring, the mirror feet and the link hinge of the pile head to finish the preparation of the glasses frame.
Corresponding to the method embodiment, the invention also provides a method for manufacturing the glasses frame based on reverse engineering, which comprises the following steps:
And a data acquisition module: collecting three-dimensional point set information of a human face;
And a template selection module: selecting an original picture frame template meeting individual personalized requirements from a database;
And the information extraction module is used for: based on three-dimensional point set information of the human face, selecting a plurality of fixed points of a mirror frame of the face, and obtaining radian data of positions of eyebrows and temporal bones of the face;
And a structure determining module: adjusting an original mirror frame template according to the fixed point position and the face radian data, and determining mirror frame three-dimensional structure information; the three-dimensional structure information of the mirror frame comprises mirror frame nose support parameters, mirror ring parameters, mirror foot lengths, pile head sites and angles and mirror foot radians;
The picture frame preparation module: and processing the glasses frame according to the three-dimensional structure information of the glasses frame and performing post-treatment to finish the preparation of the glasses frame.
The above method embodiments correspond to the system embodiments, and different embodiments may be referred to each other.
The process of making the personalized eyeglass frame of the present invention will be described with reference to specific examples.
And a data acquisition step: and carrying out three-dimensional scanning on the face of the sitting-end-up human body individual by using EinScan H non-contact handheld 3D scanner. Fig. 2 is a three-dimensional point set information acquisition result of an individual.
Template selection: according to individual individuation requirements, selecting an original mirror frame template from a computer mirror frame database, and selecting a white resin without special patterns as a material. The original frame template selected is shown in fig. 3. Uploading the individual point set information to a computer, wherein the point set coordinate unit is cm.
And (3) information extraction: as shown in fig. 4, the left nasal bone of the face of the individual is selected as a first fixed point and the right nasal bone is selected as a second fixed point by three-dimensional software. The first fixed point coordinates are taken as an origin P1 (0, 0), and the second fixed point coordinates are taken as P2 (0, -1.6, -0.1).
As shown in fig. 5, the left auricle root coordinate is P3 (-10.5,7.0,2.8) as a third fixed point; the right auricle root coordinate is P4 (-11.1, -9.0,2.3) as a fourth fixed point. The center coordinates of the left side eyebrow are P5 (0.3,2.1,2.8), the center coordinates of the right side eyebrow are P6 (0.4-3.8,2.6), the radians of the central areas of the left and right eyebrows are 10 degrees, and the first radians and the second radians of the left and right mirror rings are 10 degrees. The left temporal bone radian is 19.5 degrees as a third radian, and the right temporal bone radian is 20 degrees as a fourth radian.
A structure determining step: as shown in FIG. 6, the nose pad arc top relative position is determined according to the first fixed point and the second fixed point coordinates. In this example, the X-axis direction of the left and right nasal bones of the individual was not shifted, the Y-axis direction relative spacing was 1.6cm, and the Z-axis direction relative spacing was 0.1cm. Therefore, the distance between the center arc tops of the left and right nose pads along the Y-axis direction is 1.6cm, and the distance between the right nose pad and the left nose pad along the Z-axis direction is 0.1cm lower. The left and right nose pads coordinates are determined to be (0, 0), (0, -1.6, -0.1), respectively.
As shown in fig. 7, since the magnifying effect of the mirror frame on the facial feature asymmetry is most remarkable, the eyebrow base line is first defined from the viewpoint of the aesthetic appearance. The connection line of the middle points P5 (0.3,2.1,2.8) and P6 (0.4-3.8,2.6) of the left and right eyebrows is taken as the eyebrow base line B1= (0.1, -5.9, -0.2). Based on the eyebrow base lineAn edge-on-rim baseline B2 and an edge-off-rim baseline B3 are determined. Wherein, the upper and lower rims of the mirror ring are all from the original template of the mirror frame, and the upper rim of the mirror ring is along a base lineIs the connecting line of the highest point coordinates P7 (1.5,2.1,2.8) and P8 (1.6, -3.8,2.6) on the left and right lens rings. Adjustment by mapping softwareBase line X-axis coordinates, such thatAnd (3) withParallel, i.e. Adjusting the lower edge baseline of the rimMake it match withParallel, i.e. According to the aesthetic property requirement and the individual requirement, the heights of the upper edge and the lower edge of the left and the right mirror rings are adjusted by drawing software, namelyAndAnd determining the heights of the left and right mirror ring frames to be Lz=4.5 cm according to the distance of the straight line in the Z-axis direction. The space point set of the connecting part of the nose pad and the mirror ring (comprising the lower edge of the mirror ring and the left and right frames at the inner side of the mirror ring) is kept unchanged, and the upper edge of the mirror ring is attached to the base line of the eyebrow by adjusting the height of the mirror ring.
The nose pad and the left and right frames on the inner side of the mirror ring are fixed, the space point set along the base line is unchanged, and the width of the mirror ring is determined according to the coordinates of the point positions of the left and right earroots, namely the third and fourth fixed points P3 and P4. As shown in fig. 8, the left face width is |y3-y1|=7.0 cm, the right face width is |y4-y2|=7.4 cm, and the left and right frame widths are taken as an average value of both for aesthetic reasons, that is, ly= [ |y3-y1|+|y4-y2| ]/2=7.2 cm.
As shown in fig. 9, the curvature of the left and right eyebrows of the individual in this embodiment is 10 °, so the curvature of the original frame out of plane is adjusted to be 10 °. According to individual optometry reports (up, down, left, right pupil distance, astigmatism, strabismus and the like), optical lens pits are determined, the optimal inclination angle of the lens is adjusted by taking the left and right lens pits as lens centers, and the inclination angle of the inner groove of the circumferential ring of the lens frame is determined according to the inclination angle of the lens.
And finally, determining the space point set information of the mirror circle plate according to the mirror circle parameter information.
The pile head is a connecting piece of the glasses leg and the glasses frame, and the space point set at the joint of the pile head and the glasses frame is from the original template of the glasses frame. As shown in fig. 10, after the space point set of the rim is determined, the pile head position is also determined, the point position coordinate of the center point of the connection area between the left rim and the pile head is P9 (0.1,7.0,2.8), and the point position coordinate of the center point of the connection area between the right rim and the pile head is P10 (0.2, -9.0,2.6). And directly measuring the space distance between the left pile head locus and the right pile head locus and the third fixed point and the space distance between the left pile head locus and the right pile head locus are respectively used as the lengths of left and right temples, and the lengths of the left and right temples are respectively L1=11.4 cm and L3=12.0 cm. Knowing the nose pad height l0=0.8cm in the original frame model, l2= | -10.5-0|+0.8=11.3cm, l4= | -11.1-0|+0.8=11.9 cm can be calculated, and the angles between the left and right pile heads and the Z-axis direction can be further determined to be θ1=arcsin (11.3/11.4) =82.4, θ2=arcsin (11.9/12.0) =82.6°, respectively. As shown in fig. 11, the included angles of the left pile head and the right pile head along the Y-axis direction are determined to be θ3=92.8°, and θ4=94° according to the included angles between the frame beam base line and the left and right temples. Fig. 12 is a schematic diagram of four angles between the pile head and the Z and Y axes. And (3) changing the sizes of theta 3 and theta 4 according to individual requirements, and adjusting the clamping force of the glasses legs.
As shown in fig. 13, the left temple curvature is determined to be 19.5 ° based on the left temporal bone curvature, i.e., the third curvature. According to the radian of the right temporal bone, namely the fourth radian, the radian of the right temple is determined to be 20 degrees. The mirror foot model is from the original data of the mirror frame, and finally the radian of the tail end of the mirror foot is changed according to individual requirements, and the wrapping property of the tail end of the mirror foot is adjusted.
Fig. 14 is a combined three-dimensional view of a simulated mirror frame with determined three-dimensional structure information and an individual, with final adjustment according to individual requirements.
The preparation step of the mirror frame: because the individual selects white resin without special patterns, a GREALITY photo-curing type 3D printer is adopted as processing equipment, and the three-dimensional structure information of the glasses frame is stored and sent to the 3D printer for processing and production; post-treatment: the finished frame component is ground and polished. And then installing the mirror ring, the mirror feet and the link hinge of the pile head to finish the preparation of the glasses frame.
The invention also discloses an electronic device, comprising: at least one processor, at least one memory, a communication interface, and a bus; the processor, the memory and the communication interface complete communication with each other through the bus; the memory stores program instructions executable by the processor, which are invoked by the processor to perform the steps of the method for manufacturing an eyeglass frame based on reverse engineering according to the present invention.
The invention also discloses a computer readable storage medium storing computer instructions for causing a computer to implement the steps of preparing an eyeglass frame based on reverse engineering according to the invention. The storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic or optical disk, or other various media capable of storing program code.
Those of skill would further appreciate that the modules and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of both, and that the various example components and steps have been described generally in terms of functionality in the foregoing description to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (6)

1. A method of manufacturing an eyeglass frame based on reverse engineering, the method comprising:
collecting three-dimensional point set information of a human face;
selecting an original picture frame template meeting individual personalized requirements from a database;
based on three-dimensional point set information of the human face, selecting a plurality of fixed points of a mirror frame of the face, and obtaining radian data of positions of eyebrows and temporal bones of the face;
Adjusting an original mirror frame template according to the fixed point position and the face radian data, and determining mirror frame three-dimensional structure information; the three-dimensional structure information of the mirror frame comprises mirror frame nose support parameters, mirror ring parameters, mirror foot lengths, pile head sites and angles and mirror foot radians;
processing the glasses frame according to the three-dimensional structure information of the glasses frame and performing post-treatment to finish the preparation of the glasses frame;
the selecting of the plurality of fixed points of the mirror frame of the face, and the obtaining of the radian of the position of each fixed point specifically comprises the following steps:
Selecting a left nasal bone of a face as a first fixed point, a right nasal bone as a second fixed point, a left top auricle as a third fixed point and a right top auricle as a fourth fixed point;
acquiring left side eyebrow radian as a first radian, right side eyebrow radian as a second radian, left side temporal bone radian as a third radian and right side temporal bone radian as a fourth radian;
The original mirror frame template is adjusted according to the fixed point position and the face radian data, and the determining of the mirror frame three-dimensional structure information specifically comprises the following steps:
respectively taking point location coordinates of the first fixed point and the second fixed point as arc top coordinates of the left nose pad and the right nose pad, and updating parameters of the left nose pad, the right nose pad, the inner side frame of the mirror ring and the lower edge frame of the mirror ring in an original mirror frame template;
Extracting the midpoint coordinates of the eyebrows at the left side and the right side, according to the middle points of the eyebrows on the left side and the right side calculating the height of the mirror ring by coordinates;
determining the widths of the left and right mirror circles according to the point coordinates of the third fixed point and the fourth fixed point;
Determination of radian of left and right eyebrows the left surface and the right surface of the mirror ring are outwards curved in radian;
Determining optical lens pits according to an individual optometry report, determining an optimal inclination angle of a lens by taking left and right lens pits as lens centers, and determining an inclination angle of an inner groove of a lens ring according to the lens inclination angle;
according to the height of the rim frame, the width of the left and right rims, the outer bending radian of the left and right surfaces of the rims the inclination angle of the inner groove of the mirror ring updates the original mirror frame template, obtaining mirror circle space point set information; determining the length of the glasses leg, the pile head locus and the angle according to the information of the space point set of the glasses ring and the third and fourth fixed points;
determining the radian of the mirror foot according to the radian of the temporal bone;
the calculating the height of the mirror ring according to the midpoint coordinates of the eyebrows at the left side and the right side specifically comprises the following steps:
taking the connecting line of the middle points of the left and right eyebrows as an eyebrow base line
Obtaining the upper and lower edge frames of the lens from the original lens frame template, and determining the upper edge base line of the lens according to the upper and lower edge frames of the lensLower edge base line of mirror ring
Based on the eyebrow baselineAdjusting the rim along the base lineLower edge base line of mirror ringMake it all in line with the eyebrow base lineParallel;
According to the adjusted rim edge base line Lower edge base line of mirror ringThe distance in the direction of the Z axis of the straight line determines the height of the mirror ring;
The step of determining the length of the lens foot, the pile head locus and the angle according to the information of the space point set of the lens ring and the third and fourth fixed points specifically comprises the following steps:
determining left and right pile head sites according to the space point set information of the mirror rim, wherein the pile heads are connecting pieces of the mirror feet and the mirror rim;
Taking the space distance between the left pile head locus and the third fixed point as the left temple length L1, and taking the space distance between the right pile head locus and the fourth fixed point as the right temple length L3;
Determining included angles between left and right pile heads and a Z-axis direction, wherein the included angles are respectively θ1=arcsin (L2/L1) and θ2=arcsin (L4/L3), L2= |X2-X1|+L0 and L4= |X4-X2|+L0, wherein X1, X2, X3 and X4 are coordinate values of a first fixed point, a second fixed point, a third fixed point and a fourth fixed point on the X-axis, and L0 is nose pad height;
According to the upper edge beam base line of the mirror frame And the included angle between the left and right glasses legs determines the included angle of the left and right pile heads along the Y-axis direction.
2. A method of manufacturing an eyeglass frame based on reverse engineering according to claim 1, wherein the data in the original frame template comprises the material, color, pattern, original three-dimensional shape of the frame.
3. The method of manufacturing an eyeglass frame based on reverse engineering according to claim 1, wherein the post-treatment comprises polishing, painting, electroplating, and assembling the rim and the link hinge of the temple and the pile head;
The paint spraying treatment effect comprises one or more of surface color mixing, high gloss and matte treatment effects; the electroplating treatment effect comprises one or more of bright chromium, matte chromium and laser engraving.
4. A system for manufacturing an eyeglass frame based on reverse engineering using the method according to any one of claims 1 to 3, characterized in that the system comprises:
And a data acquisition module: collecting three-dimensional point set information of a human face;
And a template selection module: selecting an original picture frame template meeting individual personalized requirements from a database;
And the information extraction module is used for: based on three-dimensional point set information of the human face, selecting a plurality of fixed points of a mirror frame of the face, and obtaining radian data of positions of eyebrows and temporal bones of the face;
And a structure determining module: adjusting an original mirror frame template according to the fixed point position and the face radian data, and determining mirror frame three-dimensional structure information; the three-dimensional structure information of the mirror frame comprises mirror frame nose support parameters, mirror ring parameters, mirror foot lengths, pile head sites and angles and mirror foot radians;
The picture frame preparation module: and processing the glasses frame according to the three-dimensional structure information of the glasses frame and performing post-treatment to finish the preparation of the glasses frame.
5. An electronic device, comprising: at least one processor, at least one memory, a communication interface, and a bus;
the processor, the memory and the communication interface complete communication with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to implement the method of any of claims 1-3.
6. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, the computer instructions causing the computer to implement the method of any one of claims 1 to 3.
CN202110229106.9A 2021-03-02 2021-03-02 Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering Active CN113034220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110229106.9A CN113034220B (en) 2021-03-02 2021-03-02 Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110229106.9A CN113034220B (en) 2021-03-02 2021-03-02 Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering

Publications (2)

Publication Number Publication Date
CN113034220A CN113034220A (en) 2021-06-25
CN113034220B true CN113034220B (en) 2024-08-13

Family

ID=76465337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110229106.9A Active CN113034220B (en) 2021-03-02 2021-03-02 Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering

Country Status (1)

Country Link
CN (1) CN113034220B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105842875A (en) * 2016-06-07 2016-08-10 杭州美戴科技有限公司 Method for designing glasses frame based on facial three-dimensional measurement
CN109460635A (en) * 2018-12-29 2019-03-12 陈星原 For generating the method and system of mirror holder

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3016052B1 (en) * 2014-01-02 2018-03-30 Essilor International METHOD FOR DETERMINING A GEOMETRIC DEFINITION OF A CUSTOM OPTICAL EQUIPMENT
FR3016051B1 (en) * 2014-01-02 2017-06-16 Essilor Int METHOD FOR DETERMINING AT LEAST ONE GEOMETRIC PARAMETER OF A PERSONALIZED FRAME OF EYEWEAR AND METHOD OF DETERMINING THE ASSOCIATED CUSTOM FRAME
WO2017196948A1 (en) * 2016-05-10 2017-11-16 Materialise N.V. Method of designing and placing a lens within a spectacles frame
FR3065295A1 (en) * 2017-04-12 2018-10-19 Frederic Clodion DEVICE FOR MEASURING 3D MEASUREMENTS AND VIEWS FOR DETERMINING THE MORPHOLOGICAL PARAMETERS OF THE FACE AND MANUFACTURING SUNGLASSES TO MEASURE
EP3410178A1 (en) * 2017-06-01 2018-12-05 Carl Zeiss Vision International GmbH Method, device and computer program for virtual adapting of a spectacle frame
CN108490642A (en) * 2018-02-14 2018-09-04 天目爱视(北京)科技有限公司 Glasses automatic design method based on 3D header datas
CN110533775B (en) * 2019-09-18 2023-04-18 广州智美科技有限公司 Glasses matching method and device based on 3D face and terminal
CN111461814B (en) * 2020-03-11 2024-03-26 深圳市新镜介网络有限公司 Virtual glasses try-on method, terminal equipment and storage medium
CN111467131B (en) * 2020-04-30 2022-05-27 浙江大学 Automatic design method for 3D printing customized goggles frame

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105842875A (en) * 2016-06-07 2016-08-10 杭州美戴科技有限公司 Method for designing glasses frame based on facial three-dimensional measurement
CN109460635A (en) * 2018-12-29 2019-03-12 陈星原 For generating the method and system of mirror holder

Also Published As

Publication number Publication date
CN113034220A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN114730101B (en) System and method for adjusting inventory eyeglass frames using 3D scanning of facial features
US11914226B2 (en) Method and system to create custom, user-specific eyewear
CN105842875B (en) A kind of spectacle frame design method based on face three-dimensional measurement
JP3537831B2 (en) Bespoke glasses system
CN109460635B (en) Method and system for generating a frame
US9341867B1 (en) Methods of designing and fabricating custom-fit eyeglasses using a 3D printer
EP3455671A1 (en) Method of designing and placing a lens within a spectacles frame
WO2001088654A2 (en) Spectacles fitting system and fitting methods
CN105874378A (en) Method for determining a geometric definition of a customized optical device
EP3214595A1 (en) Procedure for ordering glasses, and corresponding procedures for manufacturing, supply and device
US20220148262A1 (en) Method for generating geometric data for a personalized spectacles frame
CN117077479B (en) Ergonomic eyeglass design and manufacturing method and Ergonomic eyeglass
CN113034220B (en) Method, system, equipment and storage medium for preparing glasses frame based on reverse engineering
CN113223154A (en) Personalized spectacle frame three-dimensional model generation method and personalized spectacle frame manufacturing method
JP2019109491A (en) Method of setting reference front of three-dimensional facial image, method of selecting spectacles using the same, and method of generating customer records using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant