CN107816953A - Three-dimensional scanner, threedimensional model generation method and application process - Google Patents
Three-dimensional scanner, threedimensional model generation method and application process Download PDFInfo
- Publication number
- CN107816953A CN107816953A CN201711242294.9A CN201711242294A CN107816953A CN 107816953 A CN107816953 A CN 107816953A CN 201711242294 A CN201711242294 A CN 201711242294A CN 107816953 A CN107816953 A CN 107816953A
- Authority
- CN
- China
- Prior art keywords
- pillar
- plane
- camera
- fixation
- degree
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Studio Devices (AREA)
Abstract
本发明提供了一种三维扫描装置、三维模型生成方法及应用方法,其中三维扫描装置包括:固定结构、至少六个设置在固定结构上的第一摄影单元、至少六个设置在所述固定结构上的第二摄影单元、至少三个设置在所述固定结构上的第三摄影单元、至少六个设置在所述固定结构上的第四摄影单元、至少三个设置在所述固定结构上的第五摄影单元及控制模块,本发明所提供的三维扫描装置,提供新的相机布局,各相机布局疏密不均,能够以较少的相机和更低的价格,做出优质的模型,可以根据使用者的需求及特点进行调整,便于推广使用。
The present invention provides a three-dimensional scanning device, a method for generating a three-dimensional model and an application method, wherein the three-dimensional scanning device includes: a fixed structure, at least six first imaging units arranged on the fixed structure, at least six first imaging units arranged on the fixed structure the second photography unit on the fixed structure, at least three third photography units on the fixed structure, at least six fourth photography units on the fixed structure, at least three fourth photography units on the fixed structure The fifth camera unit and control module, the three-dimensional scanning device provided by the present invention, provides a new camera layout, and the layout of each camera is uneven, and can make high-quality models with fewer cameras and lower prices, and can It is adjusted according to the needs and characteristics of users, which is convenient for popularization and use.
Description
技术领域technical field
本发明涉及三维扫描领域,特别涉及一种三维扫描装置、三维模型生成方法及应用方法。The invention relates to the field of three-dimensional scanning, in particular to a three-dimensional scanning device, a three-dimensional model generation method and an application method.
背景技术Background technique
当今,对物体表面的三维测量,其本质和目标就是获取表面各点的深度信息,按照实现方式的不同可以简单分为接触式三维测量技术和非接触式三维测量技术两大类。Today, the essence and goal of three-dimensional measurement on the surface of an object is to obtain the depth information of each point on the surface. According to the different implementation methods, it can be simply divided into two categories: contact three-dimensional measurement technology and non-contact three-dimensional measurement technology.
目前接触式三维扫描的精度已经可以达到微米级别,整个系统稳定性高,重复率好,但是接触式三维扫描存在如下缺点:对柔软物体表面有损耗,测量时间过长、需进行探针半径三维补偿,且设备移动不便、价格昂贵;At present, the accuracy of contact 3D scanning can reach the micron level. The whole system has high stability and good repetition rate. However, contact 3D scanning has the following disadvantages: loss to the surface of soft objects, long measurement time, and 3D measurement of probe radius. Compensation, and the equipment is inconvenient to move and expensive;
非接触式三维扫描不需要与被测物体表面接触,与接触式三维扫描相比:保护了被测物体表面不会被造成破坏、测量速度快效率高、工作距离灵活可变,受环境影响较小。其中非接触式三维扫描的一种方式就是广泛使用激光、白色光、红外线等的非接触式主动方式的扫描和利用立体图像或多个图片的非接触被动方式的扫描方式。Non-contact 3D scanning does not need to be in contact with the surface of the measured object. Compared with contact 3D scanning: the surface of the measured object is protected from damage, the measurement speed is fast and the efficiency is high, the working distance is flexible and variable, and it is less affected by the environment. Small. Among them, one method of non-contact three-dimensional scanning is a non-contact active scanning method that widely uses laser light, white light, infrared rays, etc., and a non-contact passive scanning method that uses a three-dimensional image or multiple pictures.
现有的图片扫描方式大部分都利用50~130台高价数码单反相机(DigitalSingle Lens Reflex),需要直径约3m以上的较宽的空间,相比于三维图片摄影棚的概念,更趋于三维图片摄影馆(三维照相馆)的概念。而且,如此数量众多的高价数码单反相机费用十分高昂,不适合一般中小企业或个人使用。因此,有必要设计一种平价且适合大范围推广使用的三维扫描装置、三维模型生成方法及应用方法。Most of the existing image scanning methods use 50 to 130 high-priced Digital Single Lens Reflex cameras (Digital Single Lens Reflex), which require a wider space with a diameter of more than 3m. Compared with the concept of a 3D photo studio, it tends to be more 3D Concept of photo studio (3D photo studio). Moreover, such a large number of high-priced digital single-lens reflex cameras are very expensive, and are not suitable for general small and medium-sized enterprises or personal use. Therefore, it is necessary to design a 3D scanning device, a 3D model generation method and an application method that are cheap and suitable for widespread use.
发明内容Contents of the invention
为了克服现有技术的不足,本发明提供了一种三维扫描装置、三维模型生成方法及应用方法,能够以较少的相机和更低的价格,做出优质的模型,可以根据使用者的需求及特点进行调整,且便于推广使用。In order to overcome the deficiencies of the prior art, the present invention provides a 3D scanning device, a 3D model generation method and an application method, which can produce high-quality models with fewer cameras and lower prices, and can And features to adjust, and easy to promote the use of.
为实现上述目的,本发明的技术方案如下:To achieve the above object, the technical scheme of the present invention is as follows:
第一方面,本发明所提供的三维扫描装置包括固定结构、至少六个设置在所述固定结构上的第一摄影单元、至少六个设置在所述固定结构上的第二摄影单元、至少三个设置在所述固定结构上的第三摄影单元、至少六个设置在所述固定结构上的第四摄影单元、至少三个设置在所述固定结构上的第五摄影单元及控制模块;In the first aspect, the three-dimensional scanning device provided by the present invention includes a fixed structure, at least six first imaging units arranged on the fixed structure, at least six second imaging units arranged on the fixed structure, at least three a third photographing unit arranged on the fixed structure, at least six fourth photographing units arranged on the fixed structure, at least three fifth photographing units arranged on the fixed structure and a control module;
其中,所有所述第一摄影单元穿过其镜头中心点的法线均处于同一平面中,记该平面为第一平面;任意两个相邻所述第一摄影单元的穿过其镜头的法线的夹角不大于30度;被摄体的中心点位于所述第一平面上;所述第二摄影单元设置于第一摄影单元的上方,所有所述第二摄影单元穿过其镜头中心点的法线均处于同一平面中,记该平面为第二平面,所述第二平面与所述第一平面的夹角为10-20度;任意两个所述相邻第二摄影单元的穿过其镜头的法线的夹角不大于30度;所有所述第三摄影单元设置于第二摄影单元的上方,所有所述第三摄影单元穿过其镜头中心点的法线均处于同一平面中,记该平面为第三平面,所述第三平面与所述第二平面的夹角为10-20度;所有所述第四摄影单元设置于第一摄影单元的下方,所有所述第四摄影单元穿过其镜头中心点的法线均处于同一平面中,记该平面为第四平面,所述第四平面与所述第一平面的夹角为-20度到-10度;任意两个相邻所述第四摄影单元的穿过其镜头的法线的夹角不大于30度;所有所述第五摄影单元设置于第四摄影单元的下方,所有所述第五摄影单元穿过其镜头中心点的法线均处于同一平面中,记该平面为第五平面,且所述第五平面与所述第四平面的夹角为-20度到-10度。Wherein, the normals of all the first photographing units passing through the center of their lenses are in the same plane, and this plane is recorded as the first plane; the normals of any two adjacent first photographing units passing through their lenses The angle between the lines is not greater than 30 degrees; the center point of the subject is located on the first plane; the second photography unit is arranged above the first photography unit, and all the second photography units pass through the lens center The normal lines of the points are all in the same plane, and this plane is recorded as the second plane, and the angle between the second plane and the first plane is 10-20 degrees; The included angle of the normal line passing through its lens is not more than 30 degrees; all the third photographing units are arranged above the second photographing unit, and the normal lines passing through the center point of the lens of all the third photographing units are at the same In the plane, record this plane as the third plane, and the angle between the third plane and the second plane is 10-20 degrees; all the fourth photographing units are arranged below the first photographing unit, and all the The normal line passing through the center point of the lens of the fourth photographing unit is all in the same plane, and this plane is recorded as the fourth plane, and the angle between the fourth plane and the first plane is -20 degrees to -10 degrees; The included angle between the normal lines passing through the lens of any two adjacent fourth photographing units is not greater than 30 degrees; all the fifth photographing units are arranged below the fourth photographing unit, and all the fifth photographing units The normal lines passing through the center point of the lens are all in the same plane, and this plane is recorded as the fifth plane, and the included angle between the fifth plane and the fourth plane is -20 degrees to -10 degrees.
在本发明一实施例中,任意两个相邻所述第三摄影单元穿过其镜头的法线的夹角为30-60度,任意两个相邻所述第五摄影单元穿过其镜头的法线的夹角为30-60度。In one embodiment of the present invention, the angle between the normal of any two adjacent third photographing units passing through their lenses is 30-60 degrees, and any two adjacent fifth photographing units passing through their lenses The included angle of the normal line is 30-60 degrees.
在本发明一实施例中,所述固定结构包括至少七个固定支柱,所述固定支柱从左到右分别包括第一固定支柱、第二固定支柱、第三固定支柱、第四固定支柱、第五固定支柱、第六固定支柱、第七固定支柱;所有所述第一摄影单元分别设置在所述第一固定支柱、所述第二固定支柱、所述第三固定支柱、所述第五固定支柱、所述第六固定支柱、所述第七固定支柱上,所有所述第二摄影单元分别设置在所述第一固定支柱、所述第二固定支柱、所述第三固定支柱、所述第五固定支柱、所述第六固定支柱、所述第七固定支柱上,三个所述第三摄影单元分别设置在所述第三固定支柱、所述第四固定支柱、所述第五固定支柱上,所有所述第四摄影单元分别设置在所述第一固定支柱、所述第二固定支柱、所述第三固定支柱、所述第五固定支柱、所述第六固定支柱、所述第七固定支柱上,三个所述第五摄影单元分别设置在所述第三固定支柱、所述第四固定支柱、所述第五固定支柱上。In an embodiment of the present invention, the fixing structure includes at least seven fixing posts, and the fixing posts respectively include a first fixing post, a second fixing post, a third fixing post, a fourth fixing post, a Five fixed pillars, sixth fixed pillars, and seventh fixed pillars; all the first photographing units are respectively arranged on the first fixed pillar, the second fixed pillar, the third fixed on the pillar, the sixth fixed pillar, and the seventh fixed pillar, all the second photographing units are respectively arranged on the first fixed pillar, the second fixed pillar, the third fixed pillar, the On the fifth fixed pillar, the sixth fixed pillar, and the seventh fixed pillar, the three third photographing units are respectively arranged on the third fixed pillar, the fourth fixed pillar, and the fifth fixed pillar. On the pillars, all the fourth photographing units are respectively arranged on the first fixed pillar, the second fixed pillar, the third fixed pillar, the fifth fixed pillar, the sixth fixed pillar, the On the seventh fixed pillar, the three fifth photographing units are respectively arranged on the third fixed pillar, the fourth fixed pillar, and the fifth fixed pillar.
在本发明一实施例中,所述第一固定支柱远离所述第二固定支柱的一侧设有第八固定支柱,第七固定支柱远离所述第六固定支柱的一侧设有第九固定支柱,所述第八固定支柱上设有至少两个用来拍摄被摄体一侧耳朵的所述第六摄影单元,所述第九固定支柱上设有至少两个用来拍摄被摄体另一侧耳朵的所述第七摄影单元。In an embodiment of the present invention, an eighth fixing strut is provided on a side of the first fixing strut away from the second fixing strut, and a ninth fixing strut is disposed on a side of the seventh fixing strut away from the sixth fixing strut. The eighth fixed pillar is provided with at least two sixth photographing units for photographing one side of the subject's ear, and the ninth fixed pillar is provided with at least two photographing units for photographing the other ear of the subject. The seventh camera unit on one side of the ear.
在本发明一实施例中,所述第一平面和所述第二平面之间的空间内以及所述第一平面和所述第四平面之间的空间内各分别设置有至少一个所述第六摄影单元;所述第一平面和所述第二平面之间的空间内以及所述第一平面和所述第四平面之间的空间内各分别设置有至少一个所述第七摄影单元。In an embodiment of the present invention, at least one of the first planes is respectively arranged in the space between the first plane and the second plane and in the space between the first plane and the fourth plane. Six photographing units; at least one seventh photographing unit is respectively arranged in the space between the first plane and the second plane and in the space between the first plane and the fourth plane.
在本发明一实施例中,任意两个相邻的所述第六摄影单元穿过其镜头的法线的夹角为20-40度;任意两个相邻的所述第七摄影单元穿过其镜头的法线的夹角为20-40度。In an embodiment of the present invention, the included angle between any two adjacent sixth photographing units passing through the normal of their lenses is 20-40 degrees; any two adjacent seventh photographing units passing through The angle between the normal of the lens is 20-40 degrees.
在本发明一实施例中,所述控制模块用于获取所述第一摄影单元、所述第二摄影单元、所述第三摄影单元、所述第四摄影单元、所述第五摄影单元、所述第六摄影单元、所述第七摄影单元发送的图片;In an embodiment of the present invention, the control module is used to acquire the first photographing unit, the second photographing unit, the third photographing unit, the fourth photographing unit, the fifth photographing unit, The pictures sent by the sixth photography unit and the seventh photography unit;
所述控制模块还用于根据所获取的图片生成三维模型。The control module is also used to generate a three-dimensional model according to the acquired pictures.
在本发明一实施例中,所述三维扫描装置还包括照明单元,固定结构的上方设有至少一个照明单元。In an embodiment of the present invention, the three-dimensional scanning device further includes an illumination unit, and at least one illumination unit is arranged above the fixed structure.
第二方面,本发明还提供了一种三维模型生成方法,包括:In a second aspect, the present invention also provides a method for generating a three-dimensional model, including:
获取被摄体的照片及与所述照片匹配的编号;Obtain a photo of the subject and a serial number matching the photo;
根据所述编号,对所获取的照片进行分组;grouping the acquired photos according to the numbers;
获取与各个所述分组匹配的预设照片数量;Acquiring the number of preset photos matching each of the groups;
当各个分组中的照片数量均不小于所述预设照片数量时;When the number of photos in each group is not less than the preset number of photos;
对所获取的照片进行解算,并根据解算结果生成所述被摄体的三维模型;Perform calculations on the acquired photos, and generate a three-dimensional model of the subject according to the calculation results;
对所述三维模型进行烘焙。The three-dimensional model is baked.
在本发明一实施例中,所述烘焙为对获取的三维模型上色,使三维模型拥有色彩和纹理。In an embodiment of the present invention, the baking is to color the acquired 3D model, so that the 3D model has color and texture.
在本发明一实施例中,所述三维模型生成方法还包括:In an embodiment of the present invention, the 3D model generation method further includes:
当任意一个分组中的照片数量小于预设照片数量时时,重新获取被摄体的照片及与所述照片匹配的编号。When the number of photos in any group is less than the preset number of photos, the photos of the subject and the numbers matching the photos are reacquired.
在本发明一实施例中,所述获取被摄体的照片及与所述照片匹配的编号之后,还包括:In an embodiment of the present invention, after the acquisition of the photo of the subject and the number matched with the photo, it further includes:
根据所获取的照片,获取被摄体的面部特征点;Acquiring the facial feature points of the subject according to the obtained photos;
根据所获取的面部特征点生成脸型标签;Generate a face label based on the acquired facial feature points;
则,所述对所述三维模型进行烘焙之后,还包括:Then, after the said three-dimensional model is baked, it also includes:
从预设数据库中获取与所述脸型标签匹配的预设模型;Obtaining a preset model matching the face tag from a preset database;
根据所述预设模型修正所述三维模型。The three-dimensional model is corrected according to the preset model.
在本发明一实施例中,所述根据所获取的照片,获取被摄体的面部特征点,可以基于单张或者多张照片获取。In an embodiment of the present invention, the acquisition of the subject's facial feature points based on the acquired photos may be based on a single or multiple photos.
第三方面,本发明还提供了一种三维模型应用方法,包括:In the third aspect, the present invention also provides a method for applying a three-dimensional model, including:
获取用户的三维模型;Obtain the user's 3D model;
获取预设发型数据库,将预设发型数据库中发型信息发送给用户;Obtain the preset hairstyle database, and send the hairstyle information in the preset hairstyle database to the user;
获取用户选择的发型信息,记为预览发型;Obtain the hairstyle information selected by the user and record it as the preview hairstyle;
根据用户的三维模型和所述预览发型,生成发型设计效果,并将所述发型设计效果发送给用户。Generate a hair styling effect according to the user's three-dimensional model and the preview hairstyle, and send the hair styling effect to the user.
与现有技术相比,本发明的有益效果在于:Compared with prior art, the beneficial effect of the present invention is:
现有的利用多个相机且相机均匀摆放,价格昂贵,且占地面积大,使用不便,不利于推广,本发明所提供的三维扫描装置,提供新型的相机新型的相机结构设置,各相机布局疏密不均,能够以较少的相机和更低的价格,做出优质的模型,可以根据使用者的需求及特点进行调整,且便于推广使用。The existing method uses multiple cameras and the cameras are evenly placed, which is expensive, occupies a large area, is inconvenient to use, and is not conducive to popularization. The three-dimensional scanning device provided by the present invention provides a new type of camera and a new type of camera structure. The uneven density of the layout can make high-quality models with fewer cameras and lower prices, and can be adjusted according to the needs and characteristics of users, and it is easy to promote and use.
附图说明Description of drawings
图1是本发明一实施例中的三维扫描装置的一种结构主视图;Fig. 1 is a structural front view of a three-dimensional scanning device in an embodiment of the present invention;
图2是本发明一实施例中的三维模型生成方法的流程示意图;Fig. 2 is a schematic flow chart of a three-dimensional model generation method in an embodiment of the present invention;
其中:固定结构100、第一摄影单元200、第二摄影单元300、第三摄影单元400、第四摄影单元500、第五摄影单元600、第一固定支柱110、第二固定支柱120、第三固定支柱130、第四固定支柱140、第五固定支柱150、第六固定支柱160、第七固定支柱170。Among them: the fixed structure 100, the first photographing unit 200, the second photographing unit 300, the third photographing unit 400, the fourth photographing unit 500, the fifth photographing unit 600, the first fixed support 110, the second fixed support 120, the third The fixed support 130 , the fourth fixed support 140 , the fifth fixed support 150 , the sixth fixed support 160 , and the seventh fixed support 170 .
具体实施方式Detailed ways
下面通过具体实施方式对本发明进行详细说明。The present invention will be described in detail below through specific embodiments.
根据本发明所公开的技术内容,本领域技术人员将很清楚本发明的其他实施方案,下述实施方案仅作示例。在不违反本发明主旨及范围的情况下,可对本发明进行各种改变和改进。这些改变和改进均应在本发明的保护范围之内。According to the technical contents disclosed in the present invention, other embodiments of the present invention will be apparent to those skilled in the art, and the following embodiments are only examples. Various changes and improvements can be made to the present invention without departing from the spirit and scope of the present invention. These changes and improvements should all fall within the protection scope of the present invention.
第一方面,如图1所示,本发明所提供的三维扫描装置包括固定结构100、至少六个设置在固定结构100上的第一摄影单元200、至少六个设置在固定结构100上的第二摄影单元300、至少三个设置在固定结构100上的第三摄影单元400、至少六个设置在固定结构100上的第四摄影单元500、至少三个设置在固定结构100上的第五摄影单元600及控制模块(未图示);In the first aspect, as shown in FIG. 1 , the three-dimensional scanning device provided by the present invention includes a fixed structure 100 , at least six first imaging units 200 arranged on the fixed structure 100 , at least six first imaging units 200 arranged on the fixed structure 100 Two camera units 300, at least three third camera units 400 arranged on the fixed structure 100, at least six fourth camera units 500 arranged on the fixed structure 100, at least three fifth camera units arranged on the fixed structure 100 Unit 600 and a control module (not shown);
其中,所有第一摄影单元200穿过其镜头中心点的法线均处于同一平面中,记该平面为第一平面;任意两个相邻第一摄影单元200的穿过其镜头的法线的夹角不大于30度;被摄体的中心点位于所述第一平面上;第二摄影单元300设置于第一摄影单元200的上方,所有第二摄影单元300穿过其镜头中心点的法线均处于同一平面中,记该平面为第二平面,所述第二平面与所述第一平面的夹角为10-20度;任意两个相邻第二摄影单元300的穿过其镜头的法线的夹角不大于30度;所有第三摄影单元400设置于第二摄影单元300的上方,所有第三摄影单元400穿过其镜头中心点的法线均处于同一平面中,记该平面为第三平面,所述第三平面与所述第二平面的夹角为10-20度;所有第四摄影单元500设置于第一摄影单元200的下方,所有第四摄影单元500穿过其镜头中心点的法线均处于同一平面中,记该平面为第四平面,所述第四平面与所述第一平面的夹角为-20度到-10度;任意两个相邻第四摄影单元500的穿过其镜头的法线的夹角不大于30度;所有第五摄影单元600设置于第四摄影单元500的下方,所有第五摄影单元600穿过其镜头中心点的法线均处于同一平面中,记该平面为第五平面,且第五平面与第四平面的夹角为-20度到-10度。Wherein, the normals of all the first photographing units 200 passing through the central points of their lenses are in the same plane, and this plane is recorded as the first plane; the normals of any two adjacent first photographing units 200 passing through their lenses The included angle is not more than 30 degrees; the center point of the object is located on the first plane; the second camera unit 300 is arranged above the first camera unit 200, and all the second camera units 300 pass through the center point of their lenses. The lines are all in the same plane, and this plane is recorded as the second plane, and the angle between the second plane and the first plane is 10-20 degrees; The included angle of the normal line is not more than 30 degrees; all the third photographing units 400 are arranged above the second photographing unit 300, and the normals of all the third photographing units 400 passing through the center point of their lenses are in the same plane, and the The plane is the third plane, and the angle between the third plane and the second plane is 10-20 degrees; all the fourth photographing units 500 are arranged below the first photographing unit 200, and all the fourth photographing units 500 pass through The normals of the center point of the lens are all in the same plane, and this plane is recorded as the fourth plane, and the angle between the fourth plane and the first plane is -20 degrees to -10 degrees; any two adjacent first planes The included angle of the normal line passing through the lens of the four photographing units 500 is not more than 30 degrees; all the fifth photographing units 600 are arranged below the fourth photographing unit 500, and all the fifth photographing units 600 pass through the normal of the lens center point. The lines are all in the same plane, and this plane is recorded as the fifth plane, and the angle between the fifth plane and the fourth plane is -20 degrees to -10 degrees.
在本发明一实施例中,任意两个相邻第三摄影单元400穿过其镜头的法线的夹角为30-60度,任意两个相邻第五摄影单元600穿过其镜头的法线的夹角为30-60度。In an embodiment of the present invention, the angle between the normals of any two adjacent third photographing units 400 passing through their lenses is 30-60 degrees, and the normal of any two adjacent fifth photographing units 600 passing through their lenses The angle between the lines is 30-60 degrees.
在本发明一实施例中,固定结构100包括至少七个固定支柱,所述固定支柱从左到右分别包括第一固定支柱110、第二固定支柱120、第三固定支柱130、第四固定支柱140、第五固定支柱150、第六固定支柱160、第七固定支柱170;所有第一摄影单元200分别设置在第一固定支柱110、第二固定支柱120、第三固定支柱130、第五固定支柱150、第六固定支柱160、第七固定支柱170上,所有第二摄影单元300分别设置在第一固定支柱110、第二固定支柱120、第三固定支柱130、第五固定支柱150、第六固定支柱160、第七固定支柱170上,三个第三摄影单元400分别设置在第三固定支柱130、第四固定支柱140、第五固定支柱150上,所有第四摄影单元500分别设置在第一固定支柱110、第二固定支柱120、第三固定支柱130、第五固定支柱150、第六固定支柱160、第七固定支柱170上,三个第五摄影单元600分别设置在第三固定支柱130、第四固定支柱140、第五固定支柱150上。In an embodiment of the present invention, the fixing structure 100 includes at least seven fixing posts, and the fixing posts respectively include a first fixing post 110, a second fixing post 120, a third fixing post 130, and a fourth fixing post from left to right. 140, the fifth fixed pillar 150, the sixth fixed pillar 160, and the seventh fixed pillar 170; On the pillar 150, the sixth fixed pillar 160, and the seventh fixed pillar 170, all the second photographing units 300 are respectively arranged on the first fixed pillar 110, the second fixed pillar 120, the third fixed pillar 130, the fifth fixed pillar 150, the On the six fixed pillars 160 and the seventh fixed pillar 170, three third photographic units 400 are respectively arranged on the third fixed pillar 130, the fourth fixed pillar 140, and the fifth fixed pillar 150, and all the fourth photographic units 500 are respectively arranged on On the first fixed pillar 110, the second fixed pillar 120, the third fixed pillar 130, the fifth fixed pillar 150, the sixth fixed pillar 160, and the seventh fixed pillar 170, three fifth photographing units 600 are respectively arranged on the third fixed pillar. on the pillar 130 , the fourth fixed pillar 140 , and the fifth fixed pillar 150 .
在本发明一实施例中,第一固定支柱110的远离第二固定支柱120的一侧设有第八固定支柱,第七固定支柱170的远离第六固定支柱160的一侧设有第九固定支柱,所述第八固定支柱上设有至少两个用来拍摄被摄体一侧耳朵的第六摄影单元,所述第九固定支柱上设有至少两个用来拍摄被摄体另一侧耳朵的第七摄影单元。In an embodiment of the present invention, an eighth fixing strut is provided on a side of the first fixing strut 110 away from the second fixing strut 120 , and a ninth fixing strut is provided on a side of the seventh fixing strut 170 away from the sixth fixing strut 160 . The eighth fixed pillar is provided with at least two sixth photographing units for photographing one side of the subject's ear, and the ninth fixed pillar is provided with at least two sixth photographing units for photographing the other side of the subject The seventh photographic unit of the ear.
在本发明一实施例中,所述第一平面和所述第二平面之间的空间内以及所述第一平面和所述第四平面之间的空间内各分别设置有至少一个第六摄影单元;所述第一平面和所述第二平面之间的空间内以及所述第一平面和所述第四平面之间的空间内各分别设置有至少一个第七摄影单元。In an embodiment of the present invention, at least one sixth camera is respectively arranged in the space between the first plane and the second plane and in the space between the first plane and the fourth plane. Units; at least one seventh photographing unit is respectively arranged in the space between the first plane and the second plane and in the space between the first plane and the fourth plane.
在本发明一实施例中,任意两个相邻的所述第六摄影单元穿过其镜头的法线的夹角为20-40度;任意两个相邻的所述第七摄影单元穿过其镜头的法线的夹角为20-40度。In an embodiment of the present invention, the included angle between any two adjacent sixth photographing units passing through the normal of their lenses is 20-40 degrees; any two adjacent seventh photographing units passing through The angle between the normal of the lens is 20-40 degrees.
在本发明一实施例中,所述控制模块用于获取所述第一摄影单元200、第二摄影单元300、第三摄影单元400、第四摄影单元500、第五摄影单元600、所述第六摄影单元、所述第七摄影单元发送的图片;In an embodiment of the present invention, the control module is used to obtain the first photographing unit 200, the second photographing unit 300, the third photographing unit 400, the fourth photographing unit 500, the fifth photographing unit 600, the The pictures sent by the sixth photography unit and the seventh photography unit;
所述控制模块还用于根据所获取的图片生成三维模型。The control module is also used to generate a three-dimensional model according to the acquired pictures.
在本发明一实施例中,所述三维扫描装置还包括照明单元,固定结构100的上方设有至少一个照明单元。In an embodiment of the present invention, the three-dimensional scanning device further includes an illumination unit, and at least one illumination unit is disposed above the fixing structure 100 .
第二方面,本发明还提供了一种三维模型生成方法,包括:In a second aspect, the present invention also provides a method for generating a three-dimensional model, including:
S100:获取被摄体的照片及与所述照片匹配的编号;S100: Obtain a photo of the subject and a number matching the photo;
S200:根据所述编号,对所获取的照片进行分组;S200: Group the acquired photos according to the numbers;
S300:获取与各个所述分组匹配的预设照片数量;S300: Acquiring the number of preset photos matching each of the groups;
S400:当各个分组中的照片数量均不小于所述预设照片数量时;S400: When the number of photos in each group is not less than the preset number of photos;
S500:对所获取的照片进行解算,并根据解算结果生成所述被摄体的三维模型;S500: Perform calculation on the acquired photo, and generate a three-dimensional model of the subject according to the calculation result;
S600:对所述三维模型进行烘焙。S600: Baking the three-dimensional model.
具体地,所述烘焙为对获取的三维模型上色,使三维模型拥有色彩和纹理。Specifically, the baking is to color the acquired 3D model, so that the 3D model has color and texture.
在本发明一应用场景中,本发明第一方面所提供的三维扫描装置将扫描的人脸的照片按照相机编号依次导入至控制计算机中,控制计算机对按相机编号的照片进行分组,如额头照片、眉毛照片、眼睛照片、鼻子照片、嘴巴照片、脸颊照片、耳朵照片等,当判断每组照片数量都不小于各个分组预设的照片数量时,控制计算机对所获取的各组照片进行解算,并根据解算结果生成人脸的三维模型,控制计算机再使用软件对三维模型进行烘焙上色,使三维模型拥有色彩和纹理。In an application scenario of the present invention, the three-dimensional scanning device provided by the first aspect of the present invention imports the scanned photos of human faces into the control computer sequentially according to the camera numbers, and the control computer groups the photos according to the camera numbers, such as forehead photos , eyebrow photos, eye photos, nose photos, mouth photos, cheek photos, ear photos, etc., when it is judged that the number of photos in each group is not less than the number of photos preset for each group, the control computer performs calculations on the obtained photos of each group , and generate a 3D model of the face according to the calculation results, control the computer and use software to bake and color the 3D model, so that the 3D model has color and texture.
在本发明一实施例中,所述三维模型生成方法还包括:In an embodiment of the present invention, the 3D model generation method further includes:
当任意一个分组中的照片数量小于预设照片数量时时,重新获取被摄体的照片及与所述照片匹配的编号。When the number of photos in any group is less than the preset number of photos, the photos of the subject and the numbers matching the photos are reacquired.
在本发明另一应用场景中,本发明第一方面所提供的三维扫描装置将扫描的人脸的照片按照相机编号依次导入至控制计算机中,控制计算机对按相机编号的照片进行分组,如额头照片、眉毛照片、眼睛照片、鼻子照片、嘴巴照片、脸颊照片、耳朵照片等,控制计算机判断眼睛组照片数量为6张,小于眼睛组预设照片数量8张,其他组照片均不小于预设的照片数量,控制计算机重新获取所有扫描的人脸的照片及与所述照片匹配的编号,对按相机编号的照片进行分组,如额头照片、眉毛照片、眼睛照片、鼻子照片、嘴巴照片、脸颊照片、耳朵照片等当判断每组照片数量都不小于各个分组预设的照片数量时,控制计算机对所获取的各组照片进行解算,并根据解算结果生成人脸的三维模型,控制计算机再使用软件对三维模型进行烘焙上色,使三维模型拥有色彩和纹理。In another application scenario of the present invention, the three-dimensional scanning device provided by the first aspect of the present invention imports the scanned photos of human faces into the control computer sequentially according to the camera numbers, and the control computer groups the photos according to the camera numbers, such as forehead Photos, eyebrow photos, eye photos, nose photos, mouth photos, cheek photos, ear photos, etc., the control computer judges that the number of photos in the eye group is 6, which is less than the preset number of 8 photos in the eye group, and the photos in other groups are not smaller than the preset number. number of photos, control the computer to re-acquire all scanned face photos and numbers that match said photos, and group photos by camera number, such as forehead photos, eyebrow photos, eye photos, nose photos, mouth photos, cheek photos Photos, ear photos, etc. When it is judged that the number of photos in each group is not less than the preset number of photos in each group, the control computer solves each group of photos obtained, and generates a three-dimensional model of the face according to the result of the calculation, and controls the computer. Then use the software to bake and color the 3D model, so that the 3D model has color and texture.
在本发明一实施例中,步骤S100之后还包括:In an embodiment of the present invention, after step S100, it also includes:
根据所获取的照片,获取被摄体的面部特征点;Acquiring the facial feature points of the subject according to the obtained photos;
根据所获取的面部特征点生成脸型标签;Generate a face label based on the acquired facial feature points;
则,步骤S600之后还包括:Then, after step S600, it also includes:
从预设数据库中获取与所述脸型标签匹配的预设模型;Obtaining a preset model matching the face tag from a preset database;
根据所述预设模型修正所述三维模型。The three-dimensional model is corrected according to the preset model.
在本发明一实施例中,所述根据所获取的照片,获取被摄体的面部特征点,可以基于单张或者多张照片获取。In an embodiment of the present invention, the acquisition of the subject's facial feature points based on the acquired photos may be based on a single or multiple photos.
在本发明又一应用场景中,本发明第一方面所提供的三维扫描装置将扫描的人脸的照片按照相机编号依次导入至控制计算机中,控制计算机获取被摄人脸的脸颊和下巴的照片,根据所述脸颊和下巴的照片,判断该人脸为鹅蛋脸,生成脸型标签为1号脸型,控制计算机对按相机编号的照片进行分组,如额头照片、眉毛照片、眼睛照片、鼻子照片、嘴巴照片、脸颊照片、耳朵照片等,当判断每组照片数量都不小于各个分组预设的照片数量时,控制计算机对所获取的各组照片进行解算,并根据解算结果生成人脸的三维模型,控制计算机再使用软件对三维模型进行烘焙上色,使三维模型拥有色彩和纹理,烘焙之后,控制计算机从预设数据库中获取1号脸型的预设模型,并根据所述预设模型修正所生成的三维模型,把人脸的形状做成一个完整的没有瑕疵的模型。In yet another application scenario of the present invention, the three-dimensional scanning device provided in the first aspect of the present invention imports the scanned photos of human faces into the control computer in sequence according to the camera numbers, and the control computer acquires photos of the cheeks and chin of the photographed human face , according to the photos of the cheeks and chin, it is judged that the face is an oval face, and the generated face label is No. 1 face shape, and the control computer groups the photos according to the camera number, such as forehead photos, eyebrow photos, eye photos, nose photos, mouth photos, etc. Photos, cheek photos, ear photos, etc., when it is judged that the number of photos in each group is not less than the preset number of photos in each group, the control computer performs calculations on each group of photos obtained, and generates a three-dimensional face according to the results of the calculation. Model, the control computer uses software to bake and color the 3D model, so that the 3D model has color and texture. After baking, the control computer obtains the preset model of No. 1 face shape from the preset database, and corrects it according to the preset model The generated 3D model makes the shape of the face into a complete and flawless model.
第三方面,本发明还提供了一种三维模型应用方法,包括:In the third aspect, the present invention also provides a method for applying a three-dimensional model, including:
获取用户的三维模型;Obtain the user's 3D model;
获取预设发型数据库,将预设发型数据库中发型信息发送给用户;Obtain the preset hairstyle database, and send the hairstyle information in the preset hairstyle database to the user;
获取用户选择的发型信息,记为预览发型;Obtain the hairstyle information selected by the user and record it as the preview hairstyle;
根据用户的三维模型和所述预览发型,生成发型设计效果,并将所述发型设计效果发送给用户。Generate a hair styling effect according to the user's three-dimensional model and the preview hairstyle, and send the hair styling effect to the user.
在本发明一应用场景中,后台服务器获取用户脸部的三维模型,后台服务器获取预设发型数据库,并将预设发型数据库中地发型设计发送给用户,后台服务器获取用户选择的发型设计为烫大卷和染浅酒红色,后台服务器生成用户的三维模型烫大卷和染浅酒红色后的发型设计效果,并将所述发型设计效果发送给用户。In an application scenario of the present invention, the background server obtains the three-dimensional model of the user's face, the background server obtains the preset hairstyle database, and sends the hairstyle design in the preset hairstyle database to the user, and the background server obtains the hairstyle selected by the user as perm Big curls and dyed light wine red, the background server generates the hair design effect of the user's three-dimensional model after perming the big curls and dyed light wine red, and sends the hair design effect to the user.
以上述依据本发明的理想实施例为启示,通过上述的说明内容,本领域技术人员完全可以在不偏离本发明技术思想的范围内,进行多样的变更以及修改。本发明的技术性范围并不局限于说明书上的内容,必须要根据权利要求书范围来确定其技术性范围。Inspired by the above ideal embodiment according to the present invention, through the above description, those skilled in the art can make various changes and modifications without departing from the technical idea of the present invention. The technical scope of the present invention is not limited to the contents in the description, and must be determined according to the scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711242294.9A CN107816953A (en) | 2017-11-30 | 2017-11-30 | Three-dimensional scanner, threedimensional model generation method and application process |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711242294.9A CN107816953A (en) | 2017-11-30 | 2017-11-30 | Three-dimensional scanner, threedimensional model generation method and application process |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107816953A true CN107816953A (en) | 2018-03-20 |
Family
ID=61605188
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711242294.9A Pending CN107816953A (en) | 2017-11-30 | 2017-11-30 | Three-dimensional scanner, threedimensional model generation method and application process |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107816953A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105164686A (en) * | 2013-02-07 | 2015-12-16 | 克里赛利克斯有限公司 | 3D platform for aesthetic simulation |
| CN208780149U (en) * | 2017-11-30 | 2019-04-23 | 广州星天空信息科技有限公司 | Three-dimensional scanner |
-
2017
- 2017-11-30 CN CN201711242294.9A patent/CN107816953A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105164686A (en) * | 2013-02-07 | 2015-12-16 | 克里赛利克斯有限公司 | 3D platform for aesthetic simulation |
| CN208780149U (en) * | 2017-11-30 | 2019-04-23 | 广州星天空信息科技有限公司 | Three-dimensional scanner |
Non-Patent Citations (1)
| Title |
|---|
| DEREK BRADLEY, ET AL: "High Resolution Passive Facial Performance Capture", 《ACM TRANSACTIONS ON GRAPHICS》, vol. 29, no. 4, pages 1 - 10 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6507046B2 (en) | Three-dimensional object detection device and three-dimensional object authentication device | |
| CN104599317B (en) | A kind of mobile terminal and method for realizing 3D scanning modeling functions | |
| WO2017026839A1 (en) | 3d face model obtaining method and device using portable camera | |
| CN107358648A (en) | Real-time full-automatic high quality three-dimensional facial reconstruction method based on individual facial image | |
| CN108810406B (en) | Portrait light effect processing method, device, terminal and computer-readable storage medium | |
| CN109711472B (en) | Training data generation method and device | |
| CN108615256B (en) | Human face three-dimensional reconstruction method and device | |
| CN114586069A (en) | Method for generating dental images | |
| CN108961149A (en) | Image processing method, device and system and storage medium | |
| CN113902849A (en) | Three-dimensional face model reconstruction method and device, electronic equipment and storage medium | |
| WO2019157989A1 (en) | Biological feature 3d data acquisition method and biological feature 3d data recognition method | |
| CN116074618B (en) | Intelligent photographing service method, system and storage medium for preventing portrait information leakage | |
| CN107993280A (en) | Beauty method and system based on threedimensional model | |
| CN105761243A (en) | Three-dimensional full face photographing system based on structured light projection and photographing method thereof | |
| CN104661585B (en) | The method for characterizing skin volume | |
| JPWO2006049147A1 (en) | Three-dimensional shape estimation system and image generation system | |
| CN113902781B (en) | Three-dimensional face reconstruction method, device, equipment and medium | |
| CN108550184A (en) | A kind of biological characteristic 3D 4 D datas recognition methods and system based on light-field camera | |
| KR102387492B1 (en) | Method for facial authentication of a wearer of a watch | |
| CN114820907A (en) | Human face image cartoon processing method and device, computer equipment and storage medium | |
| CN113902855A (en) | 3D face reconstruction method and related equipment based on camera equipment | |
| CN108520230A (en) | A kind of 3D four-dimension hand images data identification method and equipment | |
| CN107816953A (en) | Three-dimensional scanner, threedimensional model generation method and application process | |
| JP2022137198A (en) | Image processing device, image processing method, and image processing program | |
| CN107154073A (en) | A kind of three-dimensional modeling device and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180320 |