CN115618282A - Synthetic gem identification method, device and storage medium - Google Patents

Synthetic gem identification method, device and storage medium Download PDF

Info

Publication number
CN115618282A
CN115618282A CN202211617383.8A CN202211617383A CN115618282A CN 115618282 A CN115618282 A CN 115618282A CN 202211617383 A CN202211617383 A CN 202211617383A CN 115618282 A CN115618282 A CN 115618282A
Authority
CN
China
Prior art keywords
gemstone
data
layer
characteristic data
synthetic
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.)
Granted
Application number
CN202211617383.8A
Other languages
Chinese (zh)
Other versions
CN115618282B (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.)
Guo Jian Center Shenzhen Jewelry Inspection Laboratory Co ltd
Original Assignee
Guo Jian Center Shenzhen Jewelry Inspection Laboratory Co ltd
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 Guo Jian Center Shenzhen Jewelry Inspection Laboratory Co ltd filed Critical Guo Jian Center Shenzhen Jewelry Inspection Laboratory Co ltd
Priority to CN202211617383.8A priority Critical patent/CN115618282B/en
Publication of CN115618282A publication Critical patent/CN115618282A/en
Application granted granted Critical
Publication of CN115618282B publication Critical patent/CN115618282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention discloses a synthetic gem identification method, a synthetic gem identification device and a synthetic gem storage medium, wherein the synthetic gem identification method comprises the following steps: acquiring original characteristic data of a target gemstone, and inputting the original characteristic data into a multilayer perceptron to enable the multilayer perceptron to perform characteristic extraction on the original characteristic data to obtain classified characteristic data; inputting the classified feature data into a support vector machine, so that the support vector machine calculates a classification decision function according to the classified feature data and a hyperplane equation to obtain an identification result of the target gemstone, wherein the identification result comprises: the target gemstone is a synthetic gemstone or a natural gemstone, and the original characteristic data of the target gemstone is analyzed and operated through the multilayer sensing machine and the support vector machine so as to realize the automatic identification of the synthetic gemstone.

Description

Synthetic gem identification method, synthetic gem identification device and storage medium
Technical Field
The invention relates to the technical field of gem identification, in particular to a synthetic gem identification method, a synthetic gem identification device and a storage medium.
Background
The current main detection means of the identification of the synthesized gem comprises microscopic amplification, conventional instrument parameters, infrared spectrum test, ultraviolet visible spectrum test and the like, and then comprehensive judgment is carried out by detection personnel to give a result. Due to the wide variety of synthetic methods, there are different methods of identification for different methods, such as: the identification of the sapphire synthesized by the fluxing agent is based on the fact that the internal inclusion is fluxing agent residue, platinum sheet, strong fluorescence and 460nm and 470nm of ultraviolet visible possible deletion; the identification basis for synthesizing the emerald by a hydrothermal method comprises saw-toothed growth lines, a nail-shaped bag body and an infrared spectrum which have certain difference with the natural emerald; these criteria do not necessarily exist, however, and the test person may make a comprehensive empirical determination based on one or both of the unobvious identifying characteristics. Overall, the whole identification process is lack of systematicness, and the detection process is complex, tedious, time-consuming and labor-consuming; and certain subjective experience judgment components are provided, and misjudgment may occur in the identification result. Meanwhile, with the increasing development of synthetic technology, the identification of synthetic gems is more and more difficult, gems with unobvious identification characteristics often appear, and the identification becomes difficult without the need of next step or identification.
Disclosure of Invention
The invention provides a synthetic gem identification method, a synthetic gem identification device and a storage medium, wherein the synthetic gem automatic identification method is realized by analyzing and operating the original characteristic data of a target gem through a multilayer perceptron and a support vector machine.
In order to realize the automatic identification of the synthetic gemstones, the embodiment of the invention provides an identification method of the synthetic gemstones, which comprises the following steps: acquiring original characteristic data of a target gemstone, and inputting the original characteristic data into a multilayer perceptron to enable the multilayer perceptron to perform characteristic extraction on the original characteristic data to obtain classified characteristic data;
inputting the classified feature data into a support vector machine, so that the support vector machine calculates a classification decision function according to the classified feature data and a hyperplane equation to obtain an identification result of the target gemstone, wherein the identification result comprises: the target gemstone is a synthetic gemstone or the target gemstone is a natural gemstone.
As a preferred scheme, the synthetic gemstone identification method of the invention utilizes a multilayer perceptron to extract and screen the original characteristic data of a target gemstone, the classification characteristic data extracted by the multilayer perceptron has higher classification accuracy than the original characteristic data, then the classification characteristic data is input into a support vector machine to identify whether the target gemstone is a synthetic gemstone or a natural gemstone, a user tests the original characteristic of the target gemstone to obtain the original characteristic data, and the original characteristic data is input into an identification system, so that the identification system performs analysis and classification calculation processing on the original characteristic data through the multilayer perceptron and the support vector machine to obtain an identification result.
As a preferred scheme, the original feature data is input into a multilayer perceptron, so that the multilayer perceptron performs feature extraction on the original feature data to obtain classification feature data, specifically:
setting weight for original characteristic data; inputting the original feature data into a multilayer perceptron according to the weight;
the multilayer perceptron comprises a plurality of layers of single-layer full-connection modules, the original characteristic data is used as the input of a first layer of single-layer full-connection module, and the output of an upper layer of single-layer full-connection module is used as the input of a lower layer of single-layer full-connection module; outputting a preliminary identification result of the target gem by the last layer of single-layer full-connection module;
and acquiring the output of the first preset layer single-layer full-connection module as classification characteristic data.
As a preferred scheme, the multilayer sensing machine of the synthetic gemstone identification method extracts the features by using the plurality of single-layer full-connection modules, the extracted classification feature data has higher classification accuracy than the original feature data through the analysis and calculation of the multilayer single-layer full-connection modules on the original feature data, the identification result obtained by inputting the classification feature data into the support vector machine is more reliable, and the identification accuracy of the synthetic gemstone is improved.
As a preferred scheme, the multilayer perceptron comprises a plurality of layers of single-layer full-connection modules, which specifically comprise:
the first four layers of single-layer full-connection modules of the multilayer perceptron are as follows:
Figure 482837DEST_PATH_IMAGE001
Figure 52752DEST_PATH_IMAGE002
Figure 801396DEST_PATH_IMAGE003
Figure 837354DEST_PATH_IMAGE004
the last layer of single-layer full-connection module of the multilayer perceptron is as follows:
Figure 791797DEST_PATH_IMAGE005
wherein ,
Figure 386858DEST_PATH_IMAGE006
the sizes of the hidden layers from 1 st to nth layers;
Figure 8201DEST_PATH_IMAGE007
the ith original characteristic data;
Figure 141242DEST_PATH_IMAGE008
the ith input of the nth layer of single-layer full-connection module;
Figure 194649DEST_PATH_IMAGE009
the ith weight vector is the nth single-layer full-connection module; n is a natural number;
Figure 847478DEST_PATH_IMAGE010
to activate the function:
Figure 390455DEST_PATH_IMAGE011
as a preferred scheme, the multilayer sensing machine of the synthetic gemstone identification method extracts the features by using the plurality of single-layer full-connection modules, the extracted classification feature data has higher classification accuracy than the original feature data through the analysis and calculation of the multilayer single-layer full-connection modules on the original feature data, the identification result obtained by inputting the classification feature data into the support vector machine is more reliable, and the identification accuracy of the synthetic gemstone is improved.
Preferably, before inputting the raw feature data into the multi-layer perceptron, the method further includes:
acquiring original characteristic data of a plurality of natural gems and synthetic gems as training data, and setting corresponding verification data;
setting a plurality of weights for training data; inputting the training data into an initial multi-layer perceptron according to the weight;
calculating partial derivatives of the loss functions to the weight parameters of the initial multilayer perceptron by utilizing back propagation to obtain the gradient of the weight parameters, and updating the weight parameters by using a random gradient descent method; and until the initial multilayer perceptron calculates and verifies that the accuracy is higher than a preset value according to the verification data, and the trained multilayer perceptron is obtained.
As a preferred scheme, before the original characteristic data is input into the multilayer perceptron, the original multilayer perceptron is trained by using the original characteristic data of a plurality of natural gems and synthetic gems, the weight parameters of the multilayer perceptron are optimized, and the classification accuracy of the multilayer perceptron is improved.
As a preferred scheme, the support vector machine calculates a classification decision function according to the classification feature data and the hyperplane equation to obtain the identification result of the target gemstone, and specifically comprises the following steps:
inputting the feature vectors of the classified feature data into a hyperplane equation of a support vector machine, wherein the hyperplane equation is calculated from a training data set;
the hyperplane equation is:
Figure 948475DEST_PATH_IMAGE012
wherein ,
Figure 854507DEST_PATH_IMAGE013
and
Figure 548794DEST_PATH_IMAGE014
calculating from the training data set a hyperplane parameter;
and further calculating a classification decision function, wherein the classification decision function is as follows:
Figure 528251DEST_PATH_IMAGE015
wherein ,
Figure 307988DEST_PATH_IMAGE016
is a sign function;
obtaining an identification result of the target gem according to the result of the classification decision function;
when in use
Figure 516247DEST_PATH_IMAGE017
The target gemstone is a synthetic gemstone;
when in use
Figure 392936DEST_PATH_IMAGE018
The target gemstone is a natural gemstone.
As a preferred scheme, the method inputs the classification characteristic data into the support vector machine to identify whether the target gemstone is a synthetic gemstone or a natural gemstone, the user tests the original characteristic of the target gemstone to obtain the original characteristic data, and inputs the original characteristic data into the identification system, so that the identification system obtains an identification result by the calculation processing of the analysis and classification of the original characteristic data through the multilayer perceptron and the support vector machine.
As a preferred scheme, before inputting the classification feature data into a support vector machine, the method further comprises:
constructing a training data set as
Figure 526983DEST_PATH_IMAGE019
wherein
Figure 794016DEST_PATH_IMAGE020
Figure 55233DEST_PATH_IMAGE021
For the feature vector of the nth classified feature data,
Figure 537162DEST_PATH_IMAGE022
the designation +1 is for a synthetic gemstone,
Figure 895638DEST_PATH_IMAGE022
1 represents a natural gemstone;
according to penalty parameter
Figure 525333DEST_PATH_IMAGE023
And calculating a quadratic programming problem:
Figure 763810DEST_PATH_IMAGE024
Figure 661097DEST_PATH_IMAGE025
Figure 280821DEST_PATH_IMAGE026
wherein ,
Figure 834031DEST_PATH_IMAGE027
and
Figure 171472DEST_PATH_IMAGE028
is a lagrange multiplier;
Figure 4823DEST_PATH_IMAGE029
is the feature vector of the ith classification feature data,
Figure 402306DEST_PATH_IMAGE022
feature vector for jth classification feature data
Get the optimal solution
Figure 6594DEST_PATH_IMAGE030
Computing hyperplane parameters from an optimal solution
Figure 723226DEST_PATH_IMAGE013
And
Figure 408154DEST_PATH_IMAGE014
Figure 310294DEST_PATH_IMAGE031
selecting
Figure 697151DEST_PATH_IMAGE032
A component of
Figure 820135DEST_PATH_IMAGE033
Satisfies the conditions
Figure 359569DEST_PATH_IMAGE034
Calculating
Figure 177484DEST_PATH_IMAGE035
Obtaining a hyperplane equation:
Figure 992249DEST_PATH_IMAGE012
as a preferred scheme, before the classification characteristic data is input into a support vector machine, a training data set is constructed to calculate parameters of a hyperplane, a hyperplane equation is obtained, a support vector machine model with the best classification effect is obtained, the classification characteristic data input into the target gemstone is processed, and finally the gemstone is identified according to a classification decision function to obtain an identification result.
Accordingly, the present invention also provides an apparatus for authenticating a synthetic gemstone, comprising: the device comprises a feature extraction module and an identification module;
the characteristic extraction module is used for acquiring original characteristic data of a target gemstone and inputting the original characteristic data into the multilayer perceptron so as to enable the multilayer perceptron to extract characteristics of the original characteristic data and acquire classified characteristic data;
the identification module is used for inputting the classification characteristic data into a support vector machine, so that the support vector machine calculates a classification decision function according to the classification characteristic data and a hyperplane equation to obtain an identification result of the target gemstone, wherein the identification result comprises: the target gemstone is a synthetic gemstone or the target gemstone is a natural gemstone.
As a preferred scheme, the characteristic extraction module of the synthetic gemstone identification device of the invention utilizes a multilayer perceptron to extract and screen the original characteristic data of a target gemstone, the classification characteristic data extracted by the multilayer perceptron has higher classification accuracy than the original characteristic data, the identification module inputs the classification characteristic data into a support vector machine to identify whether the target gemstone is a synthetic gemstone or a natural gemstone, a user tests the original characteristic of the target gemstone to obtain the original characteristic data, and inputs the original characteristic data into an identification system, so that the identification system performs analysis and classification calculation processing on the original characteristic data through the multilayer perceptron and the support vector machine to obtain an identification result.
Preferably, the feature extraction module includes: a first training unit and an extraction unit;
the first training unit is used for acquiring original characteristic data of a plurality of natural gems and synthetic gems as training data and setting corresponding verification data; setting a plurality of weight parameters for training data; inputting the training data into an initial multi-layer perceptron according to the weight parameters; calculating partial derivatives of the loss function to the weight parameters of the initial multilayer perceptron by utilizing back propagation to obtain the gradient of the weight parameters, and updating the weight parameters by using a random gradient descent method; until the initial multilayer perceptron calculates that the verification accuracy is higher than a preset value according to the verification data, and the trained multilayer perceptron is obtained;
the extraction unit is used for setting weight to the original characteristic data; inputting the original feature data into a multilayer perceptron according to the weight; the multilayer perceptron comprises a plurality of layers of single-layer full-connection modules, the original characteristic data is used as the input of a first layer of single-layer full-connection module, and the output of an upper layer of single-layer full-connection module is used as the input of a lower layer of single-layer full-connection module; outputting a preliminary identification result of the target gem by the last layer of single-layer full-connection module; and acquiring the output of the first preset layer single-layer full-connection module as classification characteristic data.
As a preferred scheme, the extraction module of the synthetic gemstone identification device extracts the features by utilizing a plurality of single-layer full-connection modules of the multilayer perceptron, the extracted classification feature data has higher classification accuracy than the original feature data through the analysis and calculation of the original feature data by the multilayer single-layer full-connection modules, the identification result obtained by inputting the classification feature data into the support vector machine is more reliable, and the identification accuracy of the synthetic gemstone is improved.
Preferably, the identification module comprises a second training unit and an identification unit;
the second training unit is used for constructing a training data set as
Figure 475183DEST_PATH_IMAGE019
wherein
Figure 947753DEST_PATH_IMAGE020
Figure 874252DEST_PATH_IMAGE021
For the feature vector of the nth classified feature data,
Figure 799482DEST_PATH_IMAGE022
the designation +1 is for a synthetic gemstone,
Figure 86107DEST_PATH_IMAGE022
1 represents a natural gemstone;
according to penalty parameter
Figure 459189DEST_PATH_IMAGE023
Calculating a quadratic programming problem:
Figure 743539DEST_PATH_IMAGE024
Figure 218383DEST_PATH_IMAGE025
Figure 246382DEST_PATH_IMAGE026
wherein ,
Figure 241014DEST_PATH_IMAGE027
and
Figure 430687DEST_PATH_IMAGE028
is a lagrange multiplier;
Figure 392827DEST_PATH_IMAGE029
is the feature vector of the ith classification feature data,
Figure 273451DEST_PATH_IMAGE022
feature vector for jth classification feature data
Obtaining an optimal solution
Figure 637437DEST_PATH_IMAGE030
Computing hyperplane parameters from an optimal solution
Figure 184961DEST_PATH_IMAGE013
And
Figure 447447DEST_PATH_IMAGE014
Figure 381030DEST_PATH_IMAGE031
selecting
Figure 472675DEST_PATH_IMAGE032
A component of
Figure 456681DEST_PATH_IMAGE033
Satisfy the condition
Figure 3200DEST_PATH_IMAGE034
Calculating
Figure 176692DEST_PATH_IMAGE035
Obtaining a hyperplane equation:
Figure 564204DEST_PATH_IMAGE012
the identification unit is used for inputting the feature vectors of the classified feature data into a hyperplane equation of a support vector machine, and the hyperplane equation is calculated from a training data set;
the hyperplane equation is:
Figure 719111DEST_PATH_IMAGE012
wherein ,
Figure 457653DEST_PATH_IMAGE013
and
Figure 218192DEST_PATH_IMAGE014
calculating from the training data set a hyperplane parameter;
and further calculating a classification decision function, wherein the classification decision function is as follows:
Figure 270331DEST_PATH_IMAGE015
wherein ,
Figure 471505DEST_PATH_IMAGE016
is a sign function;
obtaining an identification result of the target gem according to the result of the classification decision function;
when the temperature is higher than the set temperature
Figure 258195DEST_PATH_IMAGE017
The target gemstone is a synthetic gemstone;
when in use
Figure 873024DEST_PATH_IMAGE018
And the target gemstone is a natural gemstone.
As a preferred scheme, the identification module inputs the classified characteristic data into the support vector machine to identify whether the target gemstone is a synthetic gemstone or a natural gemstone, the user tests the original characteristic of the target gemstone to obtain the original characteristic data, and inputs the original characteristic data into the identification system, so that the identification system performs calculation processing of analysis and classification on the original characteristic data through the multilayer perceptron and the support vector machine to obtain an identification result.
Accordingly, the present invention also provides a computer readable storage medium comprising a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer readable storage medium is located to perform a method of synthetic gemstone authentication according to the present disclosure.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a method for identifying a synthetic gemstone according to the present invention;
fig. 2 is a schematic structural view of an embodiment of an apparatus for authenticating a synthetic gemstone according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a method for identifying a synthetic gemstone according to an embodiment of the present invention includes steps S101-S102:
in this embodiment, the synthetic gemstones include synthetic ruby, synthetic sapphire, and synthetic emerald.
Step S101: the method comprises the steps of obtaining original characteristic data of a target gem, inputting the original characteristic data into a multilayer perceptron, and enabling the multilayer perceptron to conduct characteristic extraction on the original characteristic data to obtain classified characteristic data.
In this embodiment, the original feature data of the target gemstone specifically includes: carrying out amplification inspection, fluorescence test, infrared spectrum test, ultraviolet-visible spectrum test and Raman spectrum test on the target gemstone; and chemical composition testing; and obtaining data of characteristic absorption peaks, main chemical component content, trace elements and contents of the spectral data as original characteristic data.
In this embodiment, the original feature data is input into a multi-layer perceptron, so that the multi-layer perceptron performs feature extraction on the original feature data to obtain classification feature data, which specifically includes:
setting weight for the original characteristic data; inputting the original feature data into a multilayer perceptron according to the weight;
the multilayer perceptron comprises a plurality of layers of single-layer full-connection modules, the original characteristic data is used as the input of a first layer of single-layer full-connection module, and the output of an upper layer of single-layer full-connection module is used as the input of a lower layer of single-layer full-connection module; outputting a preliminary identification result of the target gem by the last layer of single-layer full-connection module;
and acquiring the output of the first preset layer single-layer full-connection module as classification characteristic data.
In this embodiment, the multilayer perceptron includes a plurality of layers of single-layer full-connection modules, specifically:
the first four layers of single-layer full-connection modules of the multilayer perceptron are as follows:
Figure 841985DEST_PATH_IMAGE001
Figure 292689DEST_PATH_IMAGE002
Figure 740245DEST_PATH_IMAGE003
Figure 465755DEST_PATH_IMAGE004
the last layer of single-layer full-connection module of the multilayer perceptron is as follows:
Figure 492486DEST_PATH_IMAGE005
wherein ,
Figure 176408DEST_PATH_IMAGE006
the sizes of the hidden layers from 1 st to nth layers;
Figure 94948DEST_PATH_IMAGE007
the ith original characteristic data;
Figure 204243DEST_PATH_IMAGE008
the ith input of the nth layer single-layer full-connection module;
Figure 960846DEST_PATH_IMAGE009
the ith weight vector is the nth single-layer full-connection module; n is a natural number;
Figure 187908DEST_PATH_IMAGE010
to activate the function:
Figure 233224DEST_PATH_IMAGE011
in the present embodiment, the multilayer perceptron includes 5 layers of single-layer fully-connected modules, i.e. n =5;
the sizes of the different hidden layers are respectively:
Figure DEST_PATH_IMAGE036
obtaining output x of layer 4 single-layer full-connection module 4 As classification characteristic data.
In this embodiment, before inputting the raw feature data into the multi-layer perceptron, the method further includes:
acquiring original characteristic data of a plurality of natural gems and synthetic gems as training data, and setting corresponding verification data;
setting a plurality of weights for training data; inputting the training data into an initial multi-layer perceptron according to the weight;
calculating partial derivatives of the loss functions to the weight parameters of the initial multilayer perceptron by utilizing back propagation to obtain the gradient of the weight parameters, and updating the weight parameters by using a random gradient descent method; and until the initial multi-layer perceptron calculates and verifies that the accuracy is higher than a preset value according to the verification data, and the trained multi-layer perceptron is obtained.
In this example, natural gems of 6 different places (Burma, vietnam, thailand, mosangbisk, tanzania, mogarska) and synthetic gems synthesized by 4 synthesis methods (flame fusion, czochralski, hydrothermal, flux) were collected as training library samples;
and testing the training library samples to obtain inclusion data and spectral data of different types of samples, wherein the spectral data comprise fluorescence characteristic spectra, reflection and transmission characteristic infrared spectra, raman spectra and ultraviolet visible spectra, and reading characteristic absorption peaks and inclusion data of the spectral data as basic characteristic training data.
Illustratively, natural ruby and synthetic ruby of a training library sample are tested, and basic feature training data for obtaining spectral data of the natural ruby and synthetic ruby are as follows:
Figure 569046DEST_PATH_IMAGE037
and (3) carrying out chemical component test on partial training library samples to obtain the main chemical components and contents and trace elements and contents of different types of samples as chemical characteristic training data.
Illustratively, destructive testing of a portion of natural ruby and a portion of synthetic ruby was conducted to determine that the major chemical constituent of natural ruby and synthetic ruby was Al 2 O 3 The contents of K, ca, cr, fe, ti, V, ga, zr, mo and Pb, and the main quantity of Al on the energy spectrum 2 O 3 And a nondestructive test curve of the trace elements; and (3) carrying out primary chemical component content, trace element content and content test on the natural ruby and the synthetic ruby of the training library sample by using energy spectrum test to obtain chemical element characteristic training data of the natural ruby and the synthetic ruby.
And taking the basic characteristic training data and the chemical element characteristic training data of the training library samples as the original characteristic data of the training library samples.
In this embodiment, the original feature data of the training library sample is obtained and stored as a numpy file, and a corresponding label document is constructed, where the label document of the synthetic gemstone is marked as 1, and the label document of the natural gemstone is marked as 0;
the basic feature training data and the chemical element feature training data are calculated by a ratio of 15%: inputting 85% of weight proportion into an initial multilayer perceptron, and obtaining an output value through forward propagation;
according to BP objective function
Figure DEST_PATH_IMAGE038
Obtaining the gradient of each weight parameter of the initial multilayer perceptron, and updating the weight parameter of the initial multilayer perceptron by using a random gradient descent method; until the initial multilayer perceptron calculates and verifies the accuracy rate to be higher than 80% according to the label file, obtain the multilayer perceptron after training;
Figure 930889DEST_PATH_IMAGE039
where t is the desired output and z is the actual output. The desired output of the synthetic stone t =1 and the desired output of the natural stone t =0 are set.
The architecture of the initial multi-tier perceptron is as follows:
Figure 268198DEST_PATH_IMAGE040
Figure 597548DEST_PATH_IMAGE041
Figure 110962DEST_PATH_IMAGE042
Figure 514262DEST_PATH_IMAGE043
Figure 835522DEST_PATH_IMAGE044
wherein, the sizes of different hidden layers are respectively as follows:
Figure 402901DEST_PATH_IMAGE045
Figure 139912DEST_PATH_IMAGE046
Figure 725614DEST_PATH_IMAGE047
Figure 467043DEST_PATH_IMAGE048
Figure 505406DEST_PATH_IMAGE049
step S102: inputting the classified feature data into a support vector machine, so that the support vector machine calculates a classification decision function according to the classified feature data and a hyperplane equation to obtain an identification result of the target gemstone, wherein the identification result comprises: the target gemstone is a synthetic gemstone or the target gemstone is a natural gemstone.
In this embodiment, the support vector machine calculates a classification decision function according to the classification feature data and the hyperplane equation, and obtains an identification result of the target gemstone, specifically:
inputting the feature vectors of the classified feature data into a hyperplane equation of a support vector machine, wherein the hyperplane equation is calculated from a training data set;
the hyperplane equation is:
Figure 224271DEST_PATH_IMAGE012
wherein ,
Figure 117009DEST_PATH_IMAGE013
and
Figure 514493DEST_PATH_IMAGE014
calculating from the training data set a hyperplane parameter;
and further calculating a classification decision function, wherein the classification decision function is as follows:
Figure 118780DEST_PATH_IMAGE015
wherein ,
Figure 138208DEST_PATH_IMAGE016
is a sign function;
obtaining an identification result of the target gemstone according to the result of the classification decision function;
when in use
Figure 698502DEST_PATH_IMAGE017
The target gemstone is a synthetic gemstone;
when the temperature is higher than the set temperature
Figure 581401DEST_PATH_IMAGE018
The target gemstone is a natural gemstone.
In this embodiment, the outputs of the support vector machine "+1" and "-1" are mapped to "synthetic ruby" and "natural ruby", respectively; and writing the identification result into a fixed text file.
In this embodiment, before inputting the classification feature data into the support vector machine, the method further includes:
constructing a training data set as
Figure 984569DEST_PATH_IMAGE019
wherein
Figure 742441DEST_PATH_IMAGE020
Figure 545791DEST_PATH_IMAGE021
For the feature vector of the nth classified feature data,
Figure 363706DEST_PATH_IMAGE022
is given as a +1 representation of a synthetic gemstone,
Figure 175542DEST_PATH_IMAGE022
is-1 represents a natural gemstone;
according to penalty parameter
Figure 596159DEST_PATH_IMAGE023
Calculating a quadratic programming problem:
Figure 881778DEST_PATH_IMAGE024
Figure 729648DEST_PATH_IMAGE025
Figure 717196DEST_PATH_IMAGE026
wherein ,
Figure 941504DEST_PATH_IMAGE027
and
Figure 583094DEST_PATH_IMAGE028
is a lagrange multiplier;
Figure 929762DEST_PATH_IMAGE029
is the feature vector of the ith classification feature data,
Figure 342288DEST_PATH_IMAGE022
feature vector for jth classification feature data
Obtaining an optimal solution
Figure 917757DEST_PATH_IMAGE030
Calculating hyperplane parameters from the optimal solution
Figure 99340DEST_PATH_IMAGE013
And
Figure 616909DEST_PATH_IMAGE014
Figure 828316DEST_PATH_IMAGE031
selecting
Figure 394427DEST_PATH_IMAGE032
A component of
Figure 492833DEST_PATH_IMAGE033
Satisfies the conditions
Figure 994352DEST_PATH_IMAGE034
Calculating
Figure 758303DEST_PATH_IMAGE035
Obtaining a hyperplane equation:
Figure 737891DEST_PATH_IMAGE012
in the present embodiment, the basic feature training data and the chemical element feature training data are set at 15%: after 85% of weight proportion is input into the trained multilayer perceptron, the output of a plurality of 4 th layer single-layer full-connection modules is obtained and used as the training data of a training data set, and the training data set is constructed as
Figure 520164DEST_PATH_IMAGE050
wherein ,
Figure 130268DEST_PATH_IMAGE051
,
Figure 801421DEST_PATH_IMAGE052
for the feature vector of the nth classified feature data,
Figure 348815DEST_PATH_IMAGE053
the designation +1 is for a synthetic gemstone,
Figure 662292DEST_PATH_IMAGE053
1 represents a natural gemstone;
setting penalty parameter set
Figure 692565DEST_PATH_IMAGE054
Use of
Figure 103211DEST_PATH_IMAGE055
Respectively solving a quadratic programming problem, training the support vector machine, selecting a hyperplane equation corresponding to the optimal solution as a hyperplane square of the trained support vector machineThe process.
In this embodiment, the training targets of the support vector machine are: for a given data set T and hyperplane
Figure 424602DEST_PATH_IMAGE056
Maximizing the geometrical spacing of the hyperplane with respect to all sample points
Figure 929270DEST_PATH_IMAGE057
wherein ,
Figure 258008DEST_PATH_IMAGE058
Figure 28387DEST_PATH_IMAGE059
can be simplified to a convex quadratic programming problem with inequality constraints, i.e.
Figure 496013DEST_PATH_IMAGE060
Figure 421899DEST_PATH_IMAGE061
Using a lagrange multiplier method, constructing a lagrange objective function as:
Figure 607024DEST_PATH_IMAGE062
;
wherein ,
Figure 113967DEST_PATH_IMAGE063
in order to be a lagrange multiplier,
Figure 544204DEST_PATH_IMAGE064
the final optimization objective was:
Figure 749097DEST_PATH_IMAGE065
Figure 42806DEST_PATH_IMAGE066
Figure 335247DEST_PATH_IMAGE067
the embodiment of the invention has the following effects:
the synthetic gemstone identification method of the invention utilizes the multilayer perceptron to extract and screen the original characteristic data of the target gemstone, the classification characteristic data extracted by the multilayer perceptron has higher classification accuracy than the original characteristic data, then the classification characteristic data is input into the support vector machine to identify whether the target gemstone is a synthetic gemstone or a natural gemstone, a user tests the original characteristic of the target gemstone to obtain the original characteristic data, and the original characteristic data is input into the identification system, so that the identification system performs the analysis and classification calculation processing on the original characteristic data through the multilayer perceptron and the support vector machine to obtain the identification result.
Example two
Referring to fig. 2, an apparatus for identifying a synthetic gemstone according to an embodiment of the present invention includes: a feature extraction module 201 and an identification module 202;
the feature extraction module 201 is configured to obtain original feature data of a target gemstone, and input the original feature data into a multilayer perceiving machine, so that the multilayer perceiving machine performs feature extraction on the original feature data to obtain classified feature data;
the identification module 202 is configured to input the classification feature data into a support vector machine, so that the support vector machine calculates a classification decision function according to the classification feature data and a hyperplane equation, and obtains an identification result of the target gemstone, where the identification result includes: the target gemstone is a synthetic gemstone or the target gemstone is a natural gemstone.
The feature extraction module includes: a first training unit and an extraction unit;
the first training unit is used for acquiring original characteristic data of a plurality of natural gems and synthetic gems as training data and setting corresponding verification data; setting a plurality of weight parameters for training data; inputting the training data into an initial multi-layer perceptron according to the weight parameters; calculating partial derivatives of the loss functions to the weight parameters of the initial multilayer perceptron by utilizing back propagation to obtain the gradient of the weight parameters, and updating the weight parameters by using a random gradient descent method; until the initial multilayer perceptron calculates that the verification accuracy is higher than a preset value according to the verification data, and the trained multilayer perceptron is obtained;
the extraction unit is used for setting weight for the original characteristic data; inputting the original feature data into a multilayer perceptron according to the weight; the multilayer perceptron comprises a plurality of layers of single-layer full-connection modules, the original characteristic data is used as the input of a first layer of single-layer full-connection module, and the output of an upper layer of single-layer full-connection module is used as the input of a lower layer of single-layer full-connection module; outputting a preliminary identification result of the target gem by the last layer of single-layer full-connection module; and acquiring the output of the first preset layer single-layer full-connection module as classification characteristic data.
The identification module comprises a second training unit and an identification unit;
the second training unit is used for constructing a training data set as
Figure 254662DEST_PATH_IMAGE019
wherein
Figure 260533DEST_PATH_IMAGE020
Figure 974411DEST_PATH_IMAGE021
For the feature vector of the nth classified feature data,
Figure 832776DEST_PATH_IMAGE022
the designation +1 is for a synthetic gemstone,
Figure 227986DEST_PATH_IMAGE022
1 represents a natural gemstone;
according to penalty parameter
Figure 839096DEST_PATH_IMAGE023
Calculating a quadratic programming problem:
Figure 241651DEST_PATH_IMAGE024
Figure 571002DEST_PATH_IMAGE025
Figure 317372DEST_PATH_IMAGE026
wherein ,
Figure 986251DEST_PATH_IMAGE027
and
Figure 307510DEST_PATH_IMAGE028
is a lagrange multiplier;
Figure 107845DEST_PATH_IMAGE029
is the feature vector of the ith classification feature data,
Figure 110436DEST_PATH_IMAGE022
feature vector for jth classification feature data
Obtaining an optimal solution
Figure 696138DEST_PATH_IMAGE030
Calculating hyperplane parameters from the optimal solution
Figure 673453DEST_PATH_IMAGE013
And
Figure 977395DEST_PATH_IMAGE014
Figure 832612DEST_PATH_IMAGE031
selecting
Figure 210504DEST_PATH_IMAGE032
A component of
Figure 873566DEST_PATH_IMAGE033
Satisfies the conditions
Figure 336909DEST_PATH_IMAGE034
Calculating
Figure 494352DEST_PATH_IMAGE035
Obtaining a hyperplane equation:
Figure 992329DEST_PATH_IMAGE012
the identification unit is used for inputting the feature vectors of the classified feature data into a hyperplane equation of a support vector machine, and the hyperplane equation is calculated from a training data set;
the hyperplane equation is:
Figure 560714DEST_PATH_IMAGE012
wherein ,
Figure 88516DEST_PATH_IMAGE013
and
Figure 971021DEST_PATH_IMAGE014
calculated from the training data set as hyperplane parameters;
And further calculating a classification decision function, wherein the classification decision function is as follows:
Figure 385822DEST_PATH_IMAGE015
wherein ,
Figure 62791DEST_PATH_IMAGE016
is a sign function;
obtaining an identification result of the target gem according to the result of the classification decision function;
when in use
Figure 313775DEST_PATH_IMAGE017
The target gemstone is a synthetic gemstone;
when the temperature is higher than the set temperature
Figure 62288DEST_PATH_IMAGE018
The target gemstone is a natural gemstone.
The synthetic gemstone authentication device may implement the synthetic gemstone authentication method of the above method embodiments. The alternatives in the above-described method embodiments are also applicable to this embodiment and will not be described in detail here. The rest of the embodiments of the present application may refer to the contents of the above method embodiments, and in this embodiment, details are not repeated.
The embodiment of the invention has the following effects:
the characteristic extraction module of the synthetic gemstone identification device extracts and screens original characteristic data of a target gemstone by using the multilayer perceptron, the classification characteristic data extracted by the multilayer perceptron has higher classification accuracy than the original characteristic data, the identification module inputs the classification characteristic data into the support vector machine to identify whether the target gemstone is a synthetic gemstone or a natural gemstone, and a user tests the original characteristic of the target gemstone to obtain the original characteristic data and inputs the original characteristic data into the identification system, so that the identification system performs analysis and classification calculation processing on the original characteristic data by using the multilayer perceptron and the support vector machine to obtain an identification result.
EXAMPLE III
Accordingly, the present invention also provides a computer readable storage medium comprising a stored computer program, wherein the computer program when executed controls an apparatus in which the computer readable storage medium is located to perform a method of authenticating a synthetic gemstone according to any one of the embodiments above.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device.
The terminal device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The terminal device may include, but is not limited to, a processor, a memory.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, said processor being the control center of said terminal device, and various interfaces and lines are used to connect the various parts of the whole terminal device.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the terminal device by executing or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile terminal, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the terminal device integrated module/unit can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. It should be understood that any modifications, equivalents, improvements and the like, which come within the spirit and principle of the invention, may occur to those skilled in the art and are intended to be included within the scope of the invention.

Claims (10)

1. A method of identifying a synthetic gemstone, comprising:
acquiring original characteristic data of a target gemstone, and inputting the original characteristic data into a multilayer perceptron to enable the multilayer perceptron to perform characteristic extraction on the original characteristic data to obtain classified characteristic data;
inputting the classified feature data into a support vector machine, so that the support vector machine calculates a classification decision function according to the classified feature data and a hyperplane equation to obtain an identification result of the target gemstone, wherein the identification result comprises: the target gemstone is a synthetic gemstone or the target gemstone is a natural gemstone.
2. A method for authenticating a synthetic gemstone according to claim 1, wherein said raw characteristic data is inputted into a multi-layered perceiver, so that said multi-layered perceiver performs characteristic extraction on said raw characteristic data to obtain classified characteristic data, in particular:
setting weight for the original characteristic data; inputting the original feature data into a multilayer perceptron according to the weight;
the multilayer perceptron comprises a plurality of layers of single-layer full-connection modules, the original characteristic data is used as the input of a first layer of single-layer full-connection module, and the output of an upper layer of single-layer full-connection module is used as the input of a lower layer of single-layer full-connection module; outputting a preliminary identification result of the target gem by the last layer of single-layer full-connection module;
and acquiring the output of the first preset layer single-layer full-connection module as classification characteristic data.
3. A method of authenticating a synthetic gemstone according to claim 2, wherein said multilayer perceptron comprises a plurality of layers of single-layer fully-connected modules, in particular:
the first four layers of single-layer full-connection modules of the multilayer perceptron are as follows:
Figure 904361DEST_PATH_IMAGE001
Figure 687640DEST_PATH_IMAGE002
Figure 75153DEST_PATH_IMAGE003
Figure 918475DEST_PATH_IMAGE004
the last layer of single-layer full-connection module of the multilayer perceptron is as follows:
Figure 388508DEST_PATH_IMAGE005
wherein ,
Figure 975478DEST_PATH_IMAGE006
the sizes of the hidden layers of the 1 st layer to the nth layer;
Figure 471358DEST_PATH_IMAGE007
the ith original characteristic data;
Figure 485581DEST_PATH_IMAGE008
the ith input of the nth layer single-layer full-connection module;
Figure 177332DEST_PATH_IMAGE009
the ith weight vector is the nth single-layer full-connection module; n is a natural number;
Figure 754943DEST_PATH_IMAGE010
to activate the function:
Figure 992414DEST_PATH_IMAGE011
4. a method of authenticating a synthetic gemstone according to claim 1, wherein said inputting said raw characteristic data to a multilayer perceptron further comprises:
acquiring original characteristic data of a plurality of natural gems and synthetic gems as training data, and setting corresponding verification data;
setting a plurality of weights for training data; inputting the training data into an initial multi-layer perceptron according to the weights;
calculating partial derivatives of the loss functions to the weight parameters of the initial multilayer perceptron by utilizing back propagation to obtain the gradient of the weight parameters, and updating the weight parameters by using a random gradient descent method; and until the initial multi-layer perceptron calculates and verifies that the accuracy is higher than a preset value according to the verification data, and the trained multi-layer perceptron is obtained.
5. The method of claim 1, wherein said support vector machine calculates a classification decision function based on said classification characteristic data and a hyperplane equation to obtain an identification result of the target gemstone, and specifically comprises:
inputting the feature vectors of the classified feature data into a hyperplane equation of a support vector machine, wherein the hyperplane equation is calculated from a training data set;
the hyperplane equation is:
Figure 115222DEST_PATH_IMAGE012
wherein ,
Figure 294268DEST_PATH_IMAGE013
and
Figure 223041DEST_PATH_IMAGE014
calculating from the training data set a hyperplane parameter;
and further calculating a classification decision function, wherein the classification decision function is as follows:
Figure 439652DEST_PATH_IMAGE015
wherein ,
Figure 795678DEST_PATH_IMAGE016
is a sign function;
obtaining an identification result of the target gem according to the result of the classification decision function;
when in use
Figure 416016DEST_PATH_IMAGE017
The target gemstone is a synthetic gemstone;
when in use
Figure 381435DEST_PATH_IMAGE018
And the target gemstone is a natural gemstone.
6. A method of identifying a synthetic gemstone according to claim 1, wherein prior to inputting said classification characteristic data into a support vector machine, further comprising:
constructing a training data set as
Figure 216667DEST_PATH_IMAGE019
wherein
Figure 245060DEST_PATH_IMAGE020
Figure 900163DEST_PATH_IMAGE021
For the feature vector of the nth classified feature data,
Figure 482323DEST_PATH_IMAGE022
the designation +1 is for a synthetic gemstone,
Figure 359012DEST_PATH_IMAGE022
1 represents a natural gemstone;
according to penalty parameter
Figure 570024DEST_PATH_IMAGE023
Calculating a quadratic programming problem:
Figure 650107DEST_PATH_IMAGE024
Figure 19646DEST_PATH_IMAGE025
Figure 143984DEST_PATH_IMAGE026
wherein ,
Figure 747135DEST_PATH_IMAGE027
and
Figure 829361DEST_PATH_IMAGE028
is a lagrange multiplier;
Figure 940274DEST_PATH_IMAGE029
is the feature vector of the ith classification feature data,
Figure 542288DEST_PATH_IMAGE022
feature vector for jth classification feature data
Get the optimal solution
Figure 145701DEST_PATH_IMAGE030
Computing hyperplane parameters from an optimal solution
Figure 371015DEST_PATH_IMAGE013
And
Figure 367177DEST_PATH_IMAGE014
Figure 541806DEST_PATH_IMAGE031
selecting
Figure 267186DEST_PATH_IMAGE032
A component of
Figure 95640DEST_PATH_IMAGE033
Satisfies the conditions
Figure 253083DEST_PATH_IMAGE034
Calculating
Figure 921700DEST_PATH_IMAGE035
Obtaining a hyperplane equation:
Figure 568713DEST_PATH_IMAGE012
7. an apparatus for authenticating a synthetic gemstone, comprising: the device comprises a feature extraction module and an identification module;
the characteristic extraction module is used for acquiring original characteristic data of a target gemstone and inputting the original characteristic data into the multilayer perceptron so as to enable the multilayer perceptron to perform characteristic extraction on the original characteristic data and acquire classified characteristic data;
the identification module is used for inputting the classification characteristic data into a support vector machine so that the support vector machine calculates a classification decision function according to the classification characteristic data and a hyperplane equation to obtain an identification result of the target gemstone, wherein the identification result comprises: the target gemstone is a synthetic gemstone or the target gemstone is a natural gemstone.
8. A synthetic gemstone authentication apparatus as recited in claim 7, wherein said feature extraction module includes: a first training unit and an extraction unit;
the first training unit is used for acquiring original characteristic data of a plurality of natural gems and synthetic gems as training data and setting corresponding verification data; setting a plurality of weight parameters for training data; inputting the training data into an initial multi-layer perceptron according to the weight parameters; calculating partial derivatives of the loss function to the weight parameters of the initial multilayer perceptron by utilizing back propagation to obtain the gradient of the weight parameters, and updating the weight parameters by using a random gradient descent method; until the initial multi-layer perceptron calculates the verification accuracy rate to be higher than the preset value according to the verification data, and the trained multi-layer perceptron is obtained;
the extraction unit is used for setting weight to the original characteristic data; inputting the original feature data into a multilayer perceptron according to the weight; the multilayer perceptron comprises a plurality of layers of single-layer full-connection modules, the original characteristic data is used as the input of a first layer of single-layer full-connection module, and the output of an upper layer of single-layer full-connection module is used as the input of a lower layer of single-layer full-connection module; outputting a preliminary identification result of the target gem by the last layer of single-layer full-connection module; and acquiring the output of the first preset layer single-layer full-connection module as classification characteristic data.
9. A synthetic gemstone authentication apparatus as recited in claim 7, wherein said authentication module includes a second training unit and an authentication unit;
the second training unit is used for constructing a training data set as
Figure 145450DEST_PATH_IMAGE019
wherein
Figure 217836DEST_PATH_IMAGE020
Figure 508003DEST_PATH_IMAGE021
For the feature vector of the nth classified feature data,
Figure 14333DEST_PATH_IMAGE022
the designation +1 is for a synthetic gemstone,
Figure 389951DEST_PATH_IMAGE022
1 represents a natural gemstone;
according to penalty parameter
Figure 450048DEST_PATH_IMAGE023
And calculating a quadratic programming problem:
Figure 858638DEST_PATH_IMAGE024
Figure 847453DEST_PATH_IMAGE025
Figure 21952DEST_PATH_IMAGE026
wherein ,
Figure 623091DEST_PATH_IMAGE027
and
Figure 199434DEST_PATH_IMAGE028
is a lagrange multiplier;
Figure 280523DEST_PATH_IMAGE029
for the feature vector of the ith classification feature data,
Figure 882930DEST_PATH_IMAGE022
feature vector for jth classification feature data
Obtaining an optimal solution
Figure 160197DEST_PATH_IMAGE030
Computing hyperplane parameters from an optimal solution
Figure 279462DEST_PATH_IMAGE013
And
Figure 924595DEST_PATH_IMAGE014
Figure 932740DEST_PATH_IMAGE031
selecting
Figure 614695DEST_PATH_IMAGE032
A component of
Figure 352582DEST_PATH_IMAGE033
Satisfies the conditions
Figure 43982DEST_PATH_IMAGE034
Calculating
Figure 539423DEST_PATH_IMAGE035
Obtaining a hyperplane equation:
Figure 161422DEST_PATH_IMAGE012
the identification unit is used for inputting the feature vectors of the classified feature data into a hyperplane equation of a support vector machine, and the hyperplane equation is calculated from a training data set;
the hyperplane equation is:
Figure 504547DEST_PATH_IMAGE012
wherein ,
Figure 616116DEST_PATH_IMAGE013
and
Figure 100318DEST_PATH_IMAGE014
calculating from the training data set a hyperplane parameter;
and further calculating a classification decision function, wherein the classification decision function is as follows:
Figure 70548DEST_PATH_IMAGE015
wherein ,
Figure 392814DEST_PATH_IMAGE016
is a sign function;
obtaining an identification result of the target gemstone according to the result of the classification decision function;
when in use
Figure 687003DEST_PATH_IMAGE017
The target gemstone is a synthetic gemstone;
when the temperature is higher than the set temperature
Figure 658501DEST_PATH_IMAGE018
And the target gemstone is a natural gemstone.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer readable storage medium is located to perform a method of authenticating a synthetic gemstone according to any one of claims 1 to 6.
CN202211617383.8A 2022-12-16 2022-12-16 Identification method, device and storage medium for synthetic precious stone Active CN115618282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211617383.8A CN115618282B (en) 2022-12-16 2022-12-16 Identification method, device and storage medium for synthetic precious stone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211617383.8A CN115618282B (en) 2022-12-16 2022-12-16 Identification method, device and storage medium for synthetic precious stone

Publications (2)

Publication Number Publication Date
CN115618282A true CN115618282A (en) 2023-01-17
CN115618282B CN115618282B (en) 2023-06-06

Family

ID=84881008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211617383.8A Active CN115618282B (en) 2022-12-16 2022-12-16 Identification method, device and storage medium for synthetic precious stone

Country Status (1)

Country Link
CN (1) CN115618282B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116777915A (en) * 2023-08-23 2023-09-19 国检中心深圳珠宝检验实验室有限公司 Method and device for identifying sub-class of sapphire and storage medium
CN116818761A (en) * 2023-08-16 2023-09-29 国检中心深圳珠宝检验实验室有限公司 Method and equipment for detecting color cause of single crystal color precious stone

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020221278A1 (en) * 2019-04-29 2020-11-05 北京金山云网络技术有限公司 Video classification method and model training method and apparatus thereof, and electronic device
CN114997287A (en) * 2022-05-19 2022-09-02 浙江商汤科技开发有限公司 Model training and data processing method, device, equipment and storage medium
CN115186776A (en) * 2022-09-13 2022-10-14 国检中心深圳珠宝检验实验室有限公司 Method, device and storage medium for classifying ruby producing areas
CN115205255A (en) * 2022-07-15 2022-10-18 广东恒利混凝土制品有限公司 Stone automatic grading method and system based on deep learning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020221278A1 (en) * 2019-04-29 2020-11-05 北京金山云网络技术有限公司 Video classification method and model training method and apparatus thereof, and electronic device
CN114997287A (en) * 2022-05-19 2022-09-02 浙江商汤科技开发有限公司 Model training and data processing method, device, equipment and storage medium
CN115205255A (en) * 2022-07-15 2022-10-18 广东恒利混凝土制品有限公司 Stone automatic grading method and system based on deep learning
CN115186776A (en) * 2022-09-13 2022-10-14 国检中心深圳珠宝检验实验室有限公司 Method, device and storage medium for classifying ruby producing areas

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
乔淑君: "地质样品的激光诱导击穿光谱数据库和分类方法的研究" *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116818761A (en) * 2023-08-16 2023-09-29 国检中心深圳珠宝检验实验室有限公司 Method and equipment for detecting color cause of single crystal color precious stone
CN116818761B (en) * 2023-08-16 2024-04-19 国检中心深圳珠宝检验实验室有限公司 Method and equipment for detecting color cause of single crystal color precious stone
CN116777915A (en) * 2023-08-23 2023-09-19 国检中心深圳珠宝检验实验室有限公司 Method and device for identifying sub-class of sapphire and storage medium

Also Published As

Publication number Publication date
CN115618282B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN115618282A (en) Synthetic gem identification method, device and storage medium
CN107690671B (en) Method and system for the classification of iteration defect
Feilhauer et al. Multi-method ensemble selection of spectral bands related to leaf biochemistry
CN103597346B (en) Use the analogy method of Non-Destructive Testing operation under the full-scale condition of composite signal
CN107820620A (en) Method and system for defect classification
Koch et al. Automated drill core mineralogical characterization method for texture classification and modal mineralogy estimation for geometallurgy
CN108596246A (en) The method for building up of soil heavy metal content detection model based on deep neural network
CN105043998B (en) One kind differentiates the haploid method of corn
US8532256B1 (en) Method and apparatus for the automated assay and valuation of precious metal objects
McMillan et al. Correlation of limestone beds using laser-induced breakdown spectroscopy and chemometric analysis
Jayakody et al. A generalised approach for high-throughput instance segmentation of stomata in microscope images
CN112215696A (en) Personal credit evaluation and interpretation method, device, equipment and storage medium based on time sequence attribution analysis
JP7076463B2 (en) Spectrum analyzer and spectrum analysis method
Marschalek et al. Image-Rice Grain Scanner: a three-dimensional fully automated assessment of grain size and quality traits
CN113008865A (en) Method, device, medium and equipment for identifying jewelry jade
Wang et al. Corn seed defect detection based on watershed algorithm and two-pathway convolutional neural networks
Chang et al. Time-series growth prediction model based on U-net and machine learning in Arabidopsis
CN105223140A (en) The method for quickly identifying of homology material
Duncan Multi-Sensor Fusion Technology, Visual Imagery and Predictive Modeling Tools, and Big Geospatial Data Analytics in the Virtual Economy of the Metaverse
CN115186776B (en) Method, device and storage medium for classifying ruby producing areas
Daunys et al. Comparison of computer vision models in application to pollen classification using light scattering
TW201321739A (en) Signal analysis device, signal analysis method and computer program product
De Castro et al. Novel technique for the preparation and analysis of powder-based polished sections by automated optical mineralogy: Part 2–Use of deep learning approach for transparent mineral detection
CN113125374B (en) Method, device and equipment for detecting REE content in carbonate type rare earth deposit sample
Melcher et al. Analytical proof of origin for raw materials

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