Method for establishing jewelry shape evaluation model and jewelry shape selection method
Through transfer learning and the adjustment of the pre-training model, the problem of low efficiency in jewelry three-dimensional form evaluation and selection is solved, and efficient and accurate jewelry form evaluation and selection is achieved to meet high appearance requirements.
Patent Information
- Application Number
- CN202210614841.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-31
AI Technical Summary
It is difficult for the existing technology to efficiently and accurately evaluate and select the three-dimensional shape of the generated jewelry, resulting in low efficiency and the possibility of failing to meet high appearance requirements.
The transfer learning method is used to train the jewelry morphology evaluation model based on the pre-training model. By obtaining and labeling the six-view data of the 3D morphology of jewelry, a data set is constructed and the model parameters are adjusted to avoid overfitting and improve the training speed and stability of the model, thereby achieving Efficient and accurate jewelry form selection.
It improves the efficiency and accuracy of jewelry form assessment, meets the high appearance requirements of jewelry, and helps choose the best wearing angle.
Smart Images

Figure CN115130155B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a jewelry form evaluation model establishment method and a jewelry form selection method. Background Art
[0002] In the field of jewelry design, designers used to design jewelry manually, but with the increasing needs of users, in order to adapt to the fast-paced development speed, a technology has been developed to batch generate three-dimensional jewelry using program tools. Since the number of generated jewelry is large and most of them may not meet the requirements of aesthetics and practicality, it is necessary to select the three-dimensional jewelry in batches.
[0003] Usually, designers need to make associations and comparisons based on their subjective feelings, past experiences, and many related things in their knowledge reserves, and finally evaluate and select the three-dimensional forms of batches of jewelry through reasoning and judgment. However, faced with a large number of three-dimensional jewelry forms, it is time-consuming, labor-intensive, and inefficient to select only one designer. If more manpower is added to the selection, due to different experiences and aesthetics of each person, there may be disagreements, resulting in the jewelry forms generated based on the selection results being unsatisfactory and unable to meet the higher appearance requirements of jewelry. Summary of the invention
[0004] The problem solved by the present invention is how to achieve efficient and accurate jewelry shape evaluation and selection.
[0005] In order to solve the above problems, the present invention provides a jewelry shape evaluation model establishment method and a jewelry shape selection method.
[0006] In a first aspect, the present invention provides a method for establishing a jewelry morphology evaluation model, comprising the following steps:
[0007] Acquire jewelry form pictures of different categories, wherein the jewelry form pictures are from six views of multiple jewelry three-dimensional forms generated in batches;
[0008] According to the jewelry shape picture, the pre-trained model is trained based on transfer learning to obtain a jewelry shape evaluation model, wherein the jewelry shape evaluation model is used to output a classification result corresponding to the three-dimensional shape of the jewelry.
[0009] Therefore, for jewelry three-dimensional forms generated in batches by software, for example, six views of different jewelry three-dimensional forms can be first obtained as jewelry form pictures, and can be classified. Then, based on the transfer learning method, the classified jewelry form pictures are used as the preset classification learning model, that is, the training data of the pre-trained model is used to train it, and finally a jewelry form evaluation model is obtained, wherein the overfitting problem can be effectively avoided, and the training speed and stability of the model can be improved. Further, when the model is used for jewelry form selection, the efficiency and accuracy of jewelry form evaluation can be effectively improved, and the appearance design scheme that meets the higher appearance form requirements of the jewelry can be obtained, so as to realize efficient and accurate jewelry form selection. In addition, by selecting the optimal jewelry form pictures from different perspectives, it is helpful to help users choose the best jewelry wearing angle.
[0010] Optionally, obtaining pictures of jewelry forms of different categories includes:
[0011] The three-dimensional forms of the jewelry are generated in batches using software, and each side of the three-dimensional forms of the jewelry is screenshotted respectively to obtain six views of multiple three-dimensional forms of the jewelry as the jewelry form pictures, and different jewelry form pictures are labeled.
[0012] Therefore, the software is used to batch generate jewelry three-dimensional shapes and capture six views of jewelry shapes, which effectively increases the efficiency and quantity of data set acquisition, thereby increasing the efficiency of establishing jewelry shape evaluation models. Batch jewelry shape images are labeled, data sets are constructed, and pre-trained models are trained to effectively improve the accuracy of jewelry shape evaluation models.
[0013] Optionally, the process of obtaining the pre-trained model includes:
[0014] The preset VGG16-BN model is trained with the ImageNet dataset to obtain the pre-trained model.
[0015] Therefore, using the ImageNet dataset VGG16-BN model for training and obtaining a pre-trained model can effectively increase the generalization ability of the training model and assist the subsequent transfer learning to proceed smoothly. At the same time, using the VGG16-BN model as the basic model of the pre-trained model can effectively avoid the overfitting phenomenon caused by different data set sizes during transfer learning, and ensure the detection accuracy of the pre-trained model.
[0016] Optionally, the construction process of the VGG16-BN model includes:
[0017] A batch normalization layer is added to the VGG16 model, and each convolutional layer is batch normalized to obtain the VGG16-BN model, wherein the batch normalization layer is located between the convolutional layer and the Relu activation function.
[0018] Therefore, a BN layer is added after each convolutional layer of the original VGG16 model to perform batch normalization on each convolutional layer to prevent overfitting while accelerating the convergence of the model and increasing the stability of the model.
[0019] Optionally, the construction process of the VGG16-BN model further includes:
[0020] According to the jewelry shape picture, the number of neurons in the fully connected layer is adjusted to a preset value, and the number of categories in the last layer is adjusted to a preset number of categories.
[0021] Therefore, according to the jewelry shape image dataset, the parameters of each fully connected layer in the VGG16-BN model are adjusted to the preset values, and a model matching the dataset is constructed, which can effectively prevent the occurrence of overfitting and ensure the accuracy of the jewelry shape evaluation model detection.
[0022] Optionally, the step of training a pre-trained model based on transfer learning according to the jewelry shape picture to obtain a jewelry shape evaluation model includes:
[0023] Freeze the shallow convolution layer of the pre-trained model, and train the pre-trained model after freezing the shallow convolution layer according to the jewelry shape picture to obtain the jewelry shape evaluation model.
[0024] Therefore, using jewelry shape pictures to train the training model after freezing the shallow convolutional layer can effectively improve the accuracy of the model and obtain a more accurate jewelry shape evaluation model.
[0025] In a second aspect, the present invention provides a jewelry form evaluation model establishment device, which includes a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to implement the jewelry form evaluation model establishment method as described above when executing the computer program.
[0026] The beneficial effects of the jewelry form evaluation model establishment device of the present invention and the jewelry form evaluation model establishment method described above are similar, and will not be described in detail herein.
[0027] In a third aspect, the present invention provides a jewelry shape selection method, comprising the following steps:
[0028] The three-dimensional shape of the jewelry is obtained, and a jewelry shape picture is generated based on the three-dimensional shape of the jewelry.
[0029] The jewelry shape picture is input into the jewelry shape evaluation model established according to the jewelry shape establishment method described above, to obtain a classification result corresponding to the three-dimensional shape of the jewelry.
[0030] According to the classification result, the optimal jewelry shape is selected from the multiple jewelry three-dimensional shapes.
[0031] Therefore, the jewelry shape picture captured from the three-dimensional shape of the jewelry is input into the jewelry shape evaluation model to obtain accurate jewelry shape evaluation results. On this basis, the optimal jewelry shape is selected to realize the intelligent selection of jewelry shape, which effectively improves the accuracy and efficiency of jewelry shape selection.
[0032] In a fourth aspect, the present invention provides a jewelry form selection device, which includes a memory and a processor; the memory is used to store a computer program; the processor is used to implement the jewelry form selection method described above when executing the computer program.
[0033] The beneficial effects of the jewelry shape selection device of the present invention are similar to those of the above-mentioned jewelry shape selection method, which will not be described in detail here.
[0034] In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the jewelry form evaluation model establishment method or the jewelry form selection method as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of a flow chart of a method for establishing a jewelry morphology evaluation model according to an embodiment of the present invention;
[0036] Figure 2 A schematic diagram of a process of transfer learning according to an embodiment of the present invention;
[0037] Figure 3 Schematic diagram of the structure of the VGG16-BN model of an embodiment of the present invention;
[0038] Figure 4 A flowchart of a jewelry shape selection method according to an embodiment of the present invention;
[0039] Figure 5 A schematic diagram of a three-dimensional linear form of jewelry according to an embodiment of the present invention;
[0040] Figure 6 A schematic diagram of the three-dimensional surface shape of jewelry according to an embodiment of the present invention;
[0041] Figure 7 It is a schematic diagram of the three-dimensional shape of jewelry according to an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0043] Reference Figure 1 As shown, a method for establishing a jewelry morphology evaluation model according to an embodiment of the present invention includes:
[0044] Step S100: acquiring jewelry form pictures of different categories, wherein the jewelry form pictures are from six views of a plurality of jewelry three-dimensional forms generated in batches.
[0045] Specifically, the software can be used to batch generate a variety of different types of jewelry 3D forms, or collect historical jewelry 3D forms produced in batches by designers, and classify each jewelry 3D form. Since jewelry design pays more attention to the appearance, the form of each face is very important, so screenshots are taken of each face of the jewelry 3D form, such as by rotating and browsing, screenshots are taken of the front, back, left, right, top, and bottom of the jewelry 3D form, and six views of each jewelry 3D form are obtained as jewelry form pictures.
[0046] Step S200: According to the jewelry shape picture, the pre-trained model is trained based on transfer learning to obtain a jewelry shape evaluation model, wherein the jewelry shape evaluation model is used to output a classification result corresponding to the three-dimensional shape of the jewelry.
[0047] Specifically, based on transfer learning, the existing trained model is called as the pre-trained model. After fine-tuning the pre-trained model, the pre-trained model is trained with batches of jewelry morphology images as data sets to obtain a jewelry morphology assessment model. According to the jewelry morphology image classification results output by the jewelry morphology assessment model, the jewelry morphology assessment model is adjusted, such as freezing some convolutional layers, adjusting classification parameters, etc., so that the jewelry morphology assessment model outputs classification results corresponding to the three-dimensional morphology of the jewelry, thereby increasing the accuracy of the model.
[0048] In this embodiment, for jewelry three-dimensional forms generated in batches by, for example, software, six views of different jewelry three-dimensional forms can be first obtained as jewelry form pictures, and can be classified. Then, based on the transfer learning method, the classified jewelry form pictures are used as the preset classification learning model, that is, the training data of the pre-trained model is used to train it, and finally a jewelry form evaluation model is obtained, wherein the overfitting problem can be effectively avoided, and the training speed and stability of the model can be improved. Further, when the model is used for jewelry form selection, the efficiency and accuracy of jewelry form evaluation can be effectively improved, and an appearance design scheme that meets the higher appearance form requirements of the jewelry can be obtained, thereby achieving efficient and accurate jewelry form selection. In addition, by selecting the optimal jewelry form pictures from different perspectives, it is helpful to help users choose the best jewelry wearing angle.
[0049] Optionally, obtaining pictures of jewelry forms of different categories includes:
[0050] The three-dimensional forms of the jewelry are generated in batches using software, and each side of the three-dimensional forms of the jewelry is screenshotted respectively to obtain six views of multiple three-dimensional forms of the jewelry as the jewelry form pictures, and different jewelry form pictures are labeled.
[0051] Specifically, the three-dimensional shapes of jewelry are obtained in batches using three-dimensional generative design software, wherein the three-dimensional shapes of jewelry include: Figures 5 to 7 The three-dimensional linear form, three-dimensional surface form and three-dimensional body form shown in the figure are shown in the figure. By rotating and browsing, the front, back, left, right, top and bottom of the jewelry three-dimensional form are screenshotted to obtain six views of each jewelry three-dimensional form, that is, jewelry form pictures, and batches of jewelry form pictures are annotated and classified to construct a data set to train the pre-trained model and obtain an accurate jewelry form evaluation model. For example, 13,104 jewelry form pictures are obtained, and these pictures are divided into three categories: excellent, qualified and unqualified, and a similar three-classification data set is constructed, including 4,785 excellent jewelry form photos, 3,333 qualified jewelry form photos, and 4,986 unqualified jewelry form photos; a total of 9,771 excellent jewelry form photos and unqualified jewelry form photos are retrieved to construct a similar two-classification data set for training the pre-training model; at the same time, in order to verify the correlation between the jewelry form picture classification effect and the jewelry three-dimensional form, 500 jewelry form pictures with large morphological differences are selected from the similar two-classification data set as the dissimilar two-classification data set for comparison experiments.
[0052] In this embodiment, the software can be used to batch generate jewelry three-dimensional shapes and capture six views of jewelry shapes, effectively increasing the efficiency and quantity of data set acquisition, thereby increasing the efficiency of establishing a jewelry shape evaluation model. Batch jewelry shape pictures are labeled, data sets are constructed, and pre-trained models are trained to effectively improve the accuracy of the jewelry shape evaluation model.
[0053] Optionally, the process of obtaining the pre-trained model includes:
[0054] The preset VGG16-BN model is trained with the ImageNet dataset to obtain the pre-trained model.
[0055] Specifically, Figure 2As shown, since the ImageNet dataset itself has more than 14 million images and more than 20,000 categories, of which more than 1 million images have clear category annotations and object location annotations, it is one of the most commonly used datasets for image classification and detection. The model trained on the ImageNet dataset has good generalization ability and plays an auxiliary role in subsequent transfer learning. Considering that the jewelry form image dataset constructed in the field of jewelry form design is smaller than the ImageNet dataset, if the training method of initializing model parameters is adopted, it is easy to cause overfitting and affect the accuracy of model detection. Therefore, the VGG16-BN model after fine-tuning the more mature VGG16 model is selected, and the model training is combined with transfer learning. Therefore, this embodiment uses the ImageNet dataset to train the pre-constructed VGG16-BN model to obtain a preset model.
[0056] In this embodiment, the ImageNet dataset VGG16-BN model is used for training to obtain a pre-trained model, which can effectively increase the generalization ability of the training model and assist the subsequent transfer learning to proceed smoothly. At the same time, the VGG16-BN model is used as the basic model of the pre-trained model to effectively avoid overfitting caused by different dataset sizes during transfer learning, thereby ensuring the detection accuracy of the pre-trained model.
[0057] Optionally, the construction process of the VGG16-BN model includes:
[0058] A batch normalization layer is added to the VGG16 model, and each convolutional layer is batch normalized to obtain the VGG16-BN model, wherein the batch normalization layer is located between the convolutional layer and the Relu activation function.
[0059] Specifically, during the neural network training process, as the neural network continues to deepen, changes in the training parameters of the front multi-layer convolutional layers will cause changes in the data imported by the subsequent convolutional layers, which will inevitably change the distribution of input data of each subsequent convolutional layer. At this time, more reasonable initial trainable parameters and a smaller learning rate are required to ensure that the gradient can be reasonably propagated. This process will not only reduce the training efficiency but also have a certain degree of randomness. Therefore, in order to prevent the change of intermediate layer data during training, batch normalization is introduced. That is, in this embodiment, a BN layer (batch normalization layer) is added to the original VGG16 model to generate a VGG16-BN model, and batch normalization is performed on each convolutional layer to make the model training more stable and converge faster.
[0060] The specific structure of the VGG16-BN model is as follows Figure 3As shown in the figure, there are thirteen convolutional layers and three fully connected layers, where input[224*224*3] is a color image with a size of 224*244 and 3 channels; conv3-64[224*224*64] is the first and second convolutional layers, which means that a color image with a size of 224*224 is convolved with 64 3*3 convolution kernels; BN is a batch normalization layer, Relu is an activation function, and the batch normalization layer is set after each convolutional layer to batch normalize the image output by the convolutional layer. processing; pool[112*112*64] is the pooling layer, and the image size becomes 112*112*64 after pooling; conv3-128[112*112*128] is the third and fourth convolutional layers, which means that the color image of size 112*112 is convolved by 128 3*3 convolution kernels; pool[56*56*128] is the pooling layer, and the image size becomes 56*56*128 after pooling; conv3-256[56*56*256] is the fifth and fourth convolutional layers. The sixth and seventh convolutional layers refer to the convolution of a color image of size 56*56 with 256 3*3 convolution kernels; pool[28*28*256] is a pooling layer, and the image size becomes 28*28*256 after pooling; conv3-512[28*28*512] is the eighth, ninth and tenth convolutional layers, which refer to the convolution of a color image of size 28*28 with 512 3*3 convolution kernels; pool[14*14*512] is a pooling layer, and the image size becomes 28*28*256 after pooling. The size becomes 14*14*512; conv3-512[14*14*512] is the eleventh, twelfth and thirteenth convolution layers, which means that a color image of size 14*14 is convolved by 512 3*3 convolution kernels; pool[7*7*512] is the pooling layer, and the image size becomes 7*7*512 after pooling; fc,2048 is the first fully connected layer and the second fully connected layer; fc,num-class is the third convolution layer; finally, it is output through softmax.
[0061] In this embodiment, the specific algorithm for batch normalization of the BN layer is as follows:
[0062] Input m samples x={x1,…,m} and calculate the batch data mean μ:
[0063]
[0064] Where m represents the number of samples, x represents the sample, and μ represents the batch data mean.
[0065] Calculate the variance:
[0066]
[0067] Where σ represents the variance.
[0068] Normalization:
[0069]
[0070] Where ε is a constant to prevent the equation from breaking when σ=0.
[0071] Restore the normalized features (parameter γ i and β i obtained during training):
[0072]
[0073] In this embodiment, a BN layer is added after each convolution layer of the original VGG16 model, and batch normalization is performed on each convolution layer to prevent overfitting, accelerate the convergence speed of the model, and increase the stability of the model.
[0074] Optionally, the construction process of the VGG16-BN model further includes:
[0075] According to the jewelry shape picture, the number of neurons in the fully connected layer is adjusted to a preset value, and the number of categories in the last layer is adjusted to a preset number of categories.
[0076] Specifically, in order to prevent overfitting, the parameters of the fully connected layer are adjusted according to the scale of the data set. For example, the number of neurons in the first and second fully connected layers in the VGG16-BN model is adjusted according to the ImageNet data set, and the third fully connected layer is adjusted to the same number of categories as the ImageNet data set. It can be further understood that when establishing a jewelry morphology evaluation model, the VGG16-BN model is fine-tuned according to the established jewelry morphology image data set, including adjusting the number of neurons in the first and second fully connected layers to a preset value of 2048, and adjusting the number of categories in the third fully connected layer to the corresponding number of categories 3, number of categories 2, and number of categories 2 according to the similar three-category data set, similar two-category data set, and dissimilar two-category data set.
[0077] In this embodiment, the parameters of each fully connected layer in the VGG16-BN model are adjusted to preset values according to the jewelry shape image dataset, and a model matching the dataset is constructed, which can effectively prevent the occurrence of overfitting and ensure the accuracy of the jewelry shape evaluation model detection.
[0078] Optionally, the step of training a pre-trained model based on transfer learning according to the jewelry shape picture to obtain a jewelry shape evaluation model includes:
[0079] Freeze the shallow convolution layer of the pre-trained model, and train the pre-trained model after freezing the shallow convolution layer according to the jewelry shape picture to obtain the jewelry shape evaluation model.
[0080] Specifically, since the ImageNet dataset is large in scale and mainly consists of natural pictures, and the image features of jewelry morphology pictures are mainly morphological structures, which are somewhat different from the pictures in the ImageNet dataset, in order to prevent overfitting, when training the pre-trained model based on transfer learning according to jewelry morphology pictures and obtaining the training results, the model needs to be adjusted according to the training results.
[0081] This embodiment conducts the following experiments: the original VGG model, the pre-trained model with all convolutional layers frozen, and the pre-trained model with the first 7 convolutional layers frozen are trained using a similar three-classification data set, a similar two-classification data set, and a dissimilar two-classification data set to obtain training results. When the original VGG model is trained, the accuracy of the validation set on the similar two-classification data set is 79.98%, the accuracy on the dissimilar data set is 88.34%, and the accuracy on the similar three-classification data set is 89.13%, and the accuracy of the training result is low. Therefore, the structure is adjusted and all convolutional layers are frozen for training. When training the pre-trained model with all convolutional layers frozen, the accuracy of the training set on the similar two-classification data set is 99.67%, and the accuracy on the validation set is 82.56%; the accuracy of the training set on the dissimilar two-classification data set is 99.61%, and the accuracy on the validation set is 90.58%; the similar three-classification data set is divided into a training set and a validation set in a ratio of 8:2, and the accuracy of the training set is 99.23%, and the accuracy on the validation set is 91.28%. The training results have low accuracy on the validation set, so the structure is adjusted and the first 7 convolutional layers are frozen for training. The pre-trained model with the first 7 convolutional layers frozen is trained, and the training accuracy is 99.12% on the similar two-classification dataset and 86% on the validation set; the training set accuracy is 99.39% on the dissimilar dataset and 92.98% on the validation set; the training set and validation set are divided into 8:2 on the similar three-classification dataset, and the accuracy on the training set is 98.09% and the accuracy on the validation set is 93.29%. The above experimental results show that the training effect is best when the first 7 convolutional layers are frozen, and the accuracy on the three datasets is improved, and the training results obtained are the most accurate. Therefore, the first 7 convolutional layers of the frozen pre-trained model are selected to train and construct the jewelry morphology evaluation model.
[0082] In this embodiment, the pre-trained model after freezing the shallow convolutional layer is trained using jewelry shape pictures, which can effectively improve the accuracy of the model and obtain a jewelry shape evaluation model with higher accuracy.
[0083] In another embodiment of the present invention, a jewelry form evaluation model establishment device includes a memory and a processor; the memory is used to store a computer program; the processor is used to implement the jewelry form evaluation model establishment method as described above when executing the computer program.
[0084] The beneficial effects of the jewelry morphology evaluation model establishment device of the embodiment of the present invention and the jewelry morphology evaluation model establishment method described above are similar, and will not be described in detail herein.
[0085] like Figure 4 As shown, a jewelry shape selection method according to another embodiment of the present invention comprises the following steps:
[0086] The three-dimensional shape of the jewelry is obtained, and a jewelry shape picture is generated based on the three-dimensional shape of the jewelry.
[0087] The jewelry shape picture is input into the jewelry shape evaluation model established according to the jewelry shape establishment method described above, to obtain a classification result corresponding to the three-dimensional shape of the jewelry.
[0088] According to the classification result, the optimal jewelry shape is selected from the multiple jewelry three-dimensional shapes.
[0089] Specifically, obtain Figures 5 to 7 For any of the three-dimensional jewelry forms shown, six views of the three-dimensional jewelry form are captured as jewelry form images, the jewelry form images are input into the above-mentioned trained jewelry form evaluation model, the classification results are output, and the optimal jewelry form is selected according to the classification results to generate the optimal finished jewelry form.
[0090] In addition, based on the optimal finished jewelry shape, the finished jewelry shape can be materialized through 3D printing technology.
[0091] In this embodiment, the jewelry shape picture intercepted from the jewelry three-dimensional shape is input into the jewelry shape evaluation model to obtain accurate jewelry shape evaluation results. On this basis, the optimal jewelry shape is selected to achieve intelligent selection of jewelry shape, which effectively improves the accuracy and efficiency of jewelry shape selection.
[0092] In another embodiment of the present invention, a jewelry form selection device includes a memory and a processor; the memory is used to store a computer program; the processor is used to implement the jewelry form evaluation model establishment method as described above when executing the computer program.
[0093] The beneficial effects of the jewelry form selection device of the embodiment of the present invention are similar to those of the jewelry form selection method and the jewelry form selection system described above, and will not be described in detail herein.
[0094] In another embodiment of the present invention, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the jewelry form evaluation model establishment method or the jewelry form selection method as described above.
[0095] Although the disclosure is disclosed as above, the protection scope of the disclosure is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the disclosure, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A method for establishing a jewelry morphology evaluation model, characterized in that: include: Acquire jewelry form pictures of different categories, wherein the jewelry form pictures are from six views of multiple jewelry three-dimensional forms generated in batches; According to the jewelry shape picture, the pre-trained model is trained based on transfer learning to obtain a jewelry shape evaluation model, wherein the jewelry shape evaluation model is used to output a classification result corresponding to the three-dimensional shape of the jewelry; The process of obtaining the pre-trained model includes: The preset VGG16-BN model is trained with the ImageNet dataset to obtain the pre-trained model. The construction process of the VGG16-BN model includes: Add a batch normalization layer to the VGG16 model, perform batch normalization on each convolutional layer, and obtain the VGG16-BN model, wherein the batch normalization layer is located between the convolutional layer and the Relu activation function; The construction process of the VGG16-BN model also includes: According to the jewelry shape picture, the number of neurons in the fully connected layer is adjusted to a preset value, and the number of categories in the last layer is adjusted to a preset number of categories; The step of training the pre-trained model based on transfer learning according to the jewelry shape picture to obtain the jewelry shape evaluation model comprises: Freeze the shallow convolution layer of the pre-trained model, and train the pre-trained model after freezing the shallow convolution layer according to the jewelry shape picture to obtain the jewelry shape evaluation model.
2. The method for establishing a jewelry morphology evaluation model according to claim 1, characterized in that: The obtaining of pictures of jewelry forms of different categories includes: The three-dimensional forms of the jewelry are generated in batches using software, and each side of the three-dimensional forms of the jewelry is screenshotted respectively to obtain six views of multiple three-dimensional forms of the jewelry as the jewelry form pictures, and different jewelry form pictures are labeled.
3. A jewelry morphology evaluation model building device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the jewelry form evaluation model establishment method according to any one of claims 1 to 2 when executing the computer program.
4. A jewelry shape selection method, characterized in that: include: Acquire the three-dimensional shape of the jewelry, and generate a jewelry shape image based on the three-dimensional shape of the jewelry; Inputting the jewelry shape picture into the jewelry shape evaluation model established by the jewelry shape evaluation model establishment method according to any one of claims 1 to 2 to obtain a classification result corresponding to the three-dimensional shape of the jewelry; According to the classification result, the optimal jewelry shape is selected from the multiple jewelry three-dimensional shapes.
5. A jewelry shape selection device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the jewelry form selection method as claimed in claim 4 when executing the computer program.
6. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the jewelry form evaluation model establishment method according to any one of claims 1 to 2 or the jewelry form selection method according to claim 4 is implemented.
