CN112785633A - Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium - Google Patents

Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112785633A
CN112785633A CN202011613031.6A CN202011613031A CN112785633A CN 112785633 A CN112785633 A CN 112785633A CN 202011613031 A CN202011613031 A CN 202011613031A CN 112785633 A CN112785633 A CN 112785633A
Authority
CN
China
Prior art keywords
cultural relic
repaired
acquiring
cultural
quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011613031.6A
Other languages
Chinese (zh)
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.)
Shenlan Intelligent Technology (Shanghai) Co.,Ltd.
Original Assignee
DeepBlue AI Chips Research Institute Jiangsu 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 DeepBlue AI Chips Research Institute Jiangsu Co Ltd filed Critical DeepBlue AI Chips Research Institute Jiangsu Co Ltd
Priority to CN202011613031.6A priority Critical patent/CN112785633A/en
Publication of CN112785633A publication Critical patent/CN112785633A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection

Abstract

The application aims to provide a cultural relic repair strategy acquisition method, a cultural relic repair strategy acquisition device, electronic equipment and a computer-readable storage medium, wherein the method comprises the following steps: acquiring visual detection data of the cultural relic to be repaired, wherein the visual detection data of the cultural relic to be repaired is obtained by detecting the cultural relic to be repaired by visual detection equipment; and acquiring a repairing strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired, wherein the repairing strategy comprises material information required for repairing the cultural relic to be repaired and the quality corresponding to each material, and the material information comprises a material identifier of at least one material. According to the method, the repairing strategy is obtained through the visual detection technology, the repairing strategy comprises the material information required by the cultural relic to be repaired and the quality corresponding to each material, the method can accurately determine the material of the cultural relic and the quality corresponding to each material, and the accurate repairing effect is achieved, so that the original appearance of the cultural relic is restored, and the historical value of the cultural relic is realized.

Description

Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer vision technology and industrial detection technology, and in particular, to a method and an apparatus for acquiring a cultural relic repair strategy, an electronic device, and a computer-readable storage medium.
Background
China is a large cultural relic country, and with the improvement of the importance degree of the country to the cultural relic, the high-quality restoration of the cultural relic forms a great contradiction with the laggard of the related technology and the lack of the related talents.
The prior art discloses a recognizable fluorescent pigment for bronze cultural relic repair, a preparation method thereof and a repair method of bronze cultural relics, and the fluorescent pigment is used for the bronze cultural relic repair with remarkable effect. The fluorescent pigment provided by the method is adopted to repair the bronze cultural relics, the repaired parts are difficult to see under sunlight, and are easy to identify under ultraviolet light, so that the effective achievement of recognizable and beautiful cultural relic repair is achieved.
However, for many cultural relics made of non-bronze materials, accurate selection of materials to accurate matching of structures is difficult to achieve by using a common method, and high-quality, low-cost and high-efficiency repair is realized. The invention applies the visual technology to carry out accurate material and quality estimation, thereby overcoming the problem.
Disclosure of Invention
The application aims to provide a cultural relic repair strategy acquisition method, a cultural relic repair strategy acquisition device, electronic equipment and a computer-readable storage medium, and the cultural relic repair strategy can be effectively repaired with high quality, low cost and high efficiency from accurate material selection to accurate structure matching.
The purpose of the application is realized by adopting the following technical scheme:
in a first aspect, the present application provides a method for acquiring a cultural relic repair strategy, where the method includes: acquiring visual detection data of the cultural relic to be repaired, wherein the visual detection data of the cultural relic to be repaired is obtained by detecting the cultural relic to be repaired by visual detection equipment; and acquiring a repairing strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired, wherein the repairing strategy comprises material information required for repairing the cultural relic to be repaired and the quality corresponding to each material, and the material information comprises a material identifier of at least one material. The technical scheme has the advantages that the repairing strategy is obtained through the visual detection technology, the repairing strategy comprises material information required by the cultural relic to be repaired and the quality corresponding to each material, the method can accurately determine the material of the cultural relic and the quality corresponding to each material, and an accurate repairing effect is achieved, so that the original appearance of the cultural relic is restored, and the historical value of the cultural relic is realized.
In some optional embodiments, the visual inspection data of the to-be-repaired cultural relic comprises visual inspection data of a plurality of scanning points of the to-be-repaired cultural relic; the material information required by repairing the cultural relic to be repaired comprises material information corresponding to at least one scanning point of the cultural relic to be repaired. The technical scheme has the advantages that the visual detection data of the cultural relic to be repaired comprises detection data of a plurality of scanning points of the cultural relic, the adopted materials of all the points are different due to different existing positions, corresponding repair is carried out according to the material information corresponding to the scanning points, the matching degree with raw materials is high, and the result accuracy is high; the material information is, for example, color, texture, and roughness of the material.
In some optional embodiments, the visual detection data of the cultural relic to be repaired comprises 2D detection data of the cultural relic to be repaired; the acquiring the repair strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired comprises the following steps: acquiring texture information of the cultural relic to be repaired according to the 2D detection data of the cultural relic to be repaired; according to the texture information of the cultural relic to be repaired, acquiring material information of the cultural relic to be repaired and a mass ratio corresponding to each material; acquiring the current quality and the expected quality of the cultural relic to be repaired; and obtaining the quality corresponding to each material required for repairing the cultural relic to be repaired according to the current quality and the expected quality of the cultural relic to be repaired and the mass ratio corresponding to each material. The technical scheme has the advantages that the repairing strategy is obtained according to the visual detection data of the cultural relic to be repaired, the quality corresponding to each material required by the cultural relic to be repaired is obtained, and the repairing cost in the aspects of planning and controlling the quality is facilitated.
In some optional embodiments, the obtaining, according to the texture information of the cultural relic to be repaired, the material information of the cultural relic to be repaired and the mass ratio corresponding to each material includes: acquiring texture information and material marking data of a plurality of samples, wherein the material marking data of each sample comprises material information of the sample and a mass ratio corresponding to each material; using the texture information and the material marking data of the multiple samples, and training by using a deep learning model to obtain a material classification model; and inputting the texture information of the cultural relic to be repaired into the material classification model to obtain the material information of the cultural relic to be repaired and the mass ratio corresponding to each material. The technical scheme has the advantages that the texture information and the material marking data of the samples are trained by using the deep learning model to obtain the material classification model, so that the material information of the cultural relic to be repaired and the mass ratio corresponding to each material are obtained, namely, after the texture information of the cultural relic to be repaired is obtained, the relevant information of the material required by the cultural relic to be repaired can be obtained, and the damage or the damage to the cultural relic in the detection process is avoided.
In some optional embodiments, the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the method for acquiring the current quality of the cultural relic to be repaired comprises the following steps: acquiring the density of the cultural relic to be repaired; acquiring the current volume of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired; and obtaining the current quality of the cultural relic to be repaired according to the density and the current volume of the cultural relic to be repaired. The technical scheme has the advantages that the current volume of the cultural relic to be repaired is obtained according to the visual detection data of the cultural relic to be repaired, the current quality of the cultural relic to be repaired is obtained by combining the density, namely, quantitative analysis is carried out under the condition that the cultural relic to be repaired is not damaged, and accurate quality information of the cultural relic to be repaired is obtained.
In some optional embodiments, the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the method for acquiring the expected quality of the cultural relic to be repaired comprises the following steps: acquiring the density of the cultural relic to be repaired; establishing a three-dimensional contour model of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired; detecting defects of the three-dimensional outline model of the cultural relic to be repaired, and repairing a region with the defects in the three-dimensional outline model; obtaining the expected volume of the cultural relic to be repaired according to the repaired three-dimensional contour model; and obtaining the expected quality of the cultural relic to be repaired according to the density and the expected volume of the cultural relic to be repaired. The technical scheme has the advantages that 3D detection data and/or ray detection data of the cultural relic to be repaired are obtained through a vision technology, a three-dimensional contour model is established, appropriate defect detection and curved surface repair are carried out on the three-dimensional model on the basis of reasonability and reducibility, the expected volume of the cultural relic to be repaired is obtained, and accurate expected quality is obtained by combining density.
In some optional embodiments, the obtaining the density of the cultural relic to be repaired includes: and estimating the density of the cultural relic to be repaired according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material. The technical scheme has the advantages that the density is estimated according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material, and a basis is provided for subsequently acquiring the quality of the cultural relic to be repaired.
In some optional embodiments, the repair policy further comprises at least one of: repair process information, repair cost, and repair duration. The technical scheme has the advantages that materials are properly selected, the process information which can meet the current repair requirement and is beneficial to long-term preservation of the cultural relic is determined according to the structure of the cultural relic to be repaired, reasonable repair of the outline and accurate estimation of the quality are carried out through the vision technology, reasonable planning can be carried out on the repair cost and the repair duration, in addition, the quality estimation is completed through the vision technology, and the repair time is shortened.
In a second aspect, the present application provides an apparatus for acquiring a cultural relic repair strategy, the apparatus comprising: the visual detection module is used for detecting the cultural relic to be repaired by the visual detection equipment; the strategy obtaining module is used for obtaining a repairing strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired, the repairing strategy comprises material information required by repairing the cultural relic to be repaired and the quality corresponding to each material, and the material information comprises a material identifier of at least one material.
In some optional embodiments, the visual inspection data of the to-be-repaired cultural relic comprises visual inspection data of a plurality of scanning points of the to-be-repaired cultural relic; the material information required by repairing the cultural relic to be repaired comprises material information corresponding to at least one scanning point of the cultural relic to be repaired.
In some optional embodiments, the visual detection data of the cultural relic to be repaired comprises 2D detection data of the cultural relic to be repaired; the policy acquisition module includes: the texture obtaining unit is used for obtaining texture information of the cultural relic to be repaired according to the 2D detection data of the cultural relic to be repaired; the material obtaining unit is used for obtaining the material information of the cultural relic to be repaired and the mass ratio corresponding to each material according to the texture information of the cultural relic to be repaired; the quality obtaining unit is used for obtaining the current quality and the expected quality of the cultural relic to be repaired; and the material quality unit is used for obtaining the quality corresponding to each material required by repairing the cultural relic to be repaired according to the current quality and the expected quality of the cultural relic to be repaired and the mass ratio corresponding to each material.
In some optional embodiments, the material obtaining unit includes: the system comprises a sample obtaining subunit, a texture analyzing subunit and a quality calculating subunit, wherein the sample obtaining subunit is used for obtaining texture information and material marking data of a plurality of samples, and the material marking data of each sample comprises material information of the sample and a mass ratio corresponding to each material; the model training subunit is used for using the texture information and the material marking data of the plurality of samples to train by using a deep learning model to obtain a material classification model; and the information input subunit is used for inputting the texture information of the cultural relic to be repaired into the material classification model to obtain the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
In some optional embodiments, the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the quality acquisition unit includes: the density acquisition subunit is used for acquiring the density of the cultural relic to be repaired; the current volume subunit is used for acquiring the current volume of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired; and the current mass subunit is used for obtaining the current mass of the cultural relic to be repaired according to the density and the current volume of the cultural relic to be repaired.
In some optional embodiments, the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the quality acquisition unit includes: the density acquisition subunit is used for acquiring the density of the cultural relic to be repaired; the three-dimensional model subunit is used for establishing a three-dimensional contour model of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired; the model repairing subunit is used for detecting the defects of the three-dimensional outline model of the cultural relic to be repaired and repairing the area with the defects in the three-dimensional outline model; the expected volume subunit is used for acquiring the expected volume of the cultural relic to be repaired according to the repaired three-dimensional contour model; and the expected mass subunit is used for obtaining the expected mass of the cultural relic to be repaired according to the density and the expected volume of the cultural relic to be repaired.
In some optional embodiments, the density obtaining subunit is configured to estimate the density of the cultural relic to be repaired according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
In some optional embodiments, the repair policy further comprises at least one of: repair process information, repair cost, and repair duration.
In a third aspect, the present application provides an electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of any of the above methods when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of any of the methods described above.
Drawings
The present application is further described below with reference to the drawings and examples.
Fig. 1 is a schematic flowchart of a method for acquiring a cultural relic repair strategy according to an embodiment of the present application;
fig. 2 is a schematic flowchart of acquiring a repair policy according to an embodiment of the present application;
fig. 3 is a schematic flowchart of obtaining material related information according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a process for obtaining the current quality of a cultural relic to be repaired according to an embodiment of the present application;
FIG. 5 is a schematic flow chart for obtaining the expected quality of the cultural relic to be repaired according to the embodiment of the application;
fig. 6 is a schematic structural diagram of an apparatus for acquiring a cultural relic repair strategy according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an acquisition module according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of a material obtaining unit according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a quality obtaining unit according to an embodiment of the present application
Fig. 10 is a schematic structural diagram of a quality obtaining unit according to an embodiment of the present application
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a program product for implementing an acquisition method of a cultural relic repair strategy according to an embodiment of the present application.
Detailed Description
The present application is further described with reference to the accompanying drawings and the detailed description, and it should be noted that, in the present application, the embodiments or technical features described below may be arbitrarily combined to form a new embodiment without conflict.
Referring to fig. 1, an embodiment of the present application provides a method for acquiring a cultural relic repair strategy, where the method includes steps S101 to S102.
Step S101: and acquiring the visual detection data of the cultural relic to be repaired, wherein the visual detection data of the cultural relic to be repaired is obtained by detecting the cultural relic to be repaired by a visual detection device.
Step S102: and acquiring a repairing strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired, wherein the repairing strategy comprises material information required for repairing the cultural relic to be repaired and the quality corresponding to each material, and the material information comprises a material identifier of at least one material.
According to the method, the materials of the cultural relics and the quality corresponding to each material can be accurately determined, an accurate repairing effect is achieved, and therefore the original appearance of the cultural relics is restored and the historical value of the cultural relics is achieved.
In a specific implementation, the visual inspection data of the cultural relic to be repaired comprises the visual inspection data of a plurality of scanning points of the cultural relic to be repaired; the material information required by repairing the cultural relic to be repaired comprises material information corresponding to at least one scanning point of the cultural relic to be repaired.
In the steps of the embodiment of the application, the visual detection data of the cultural relic to be repaired comprises the detection data of a plurality of scanning points, each point is different in material due to different existing parts, the corresponding repair is carried out according to the material information corresponding to the scanning points, the matching degree with the raw materials is high, and the result accuracy is also high; the material information is, for example, color, texture, and roughness of the material.
Referring to fig. 2, in a specific implementation, the visual inspection data of the cultural relic to be repaired includes 2D inspection data of the cultural relic to be repaired; the step S102 may include steps S201 to S204.
Step S201: and acquiring texture information of the cultural relic to be repaired according to the 2D detection data of the cultural relic to be repaired.
Step S202: and acquiring the material information of the cultural relic to be repaired and the mass ratio corresponding to each material according to the texture information of the cultural relic to be repaired.
Step S203: and acquiring the current quality and the expected quality of the cultural relic to be repaired.
Step S204: and obtaining the quality corresponding to each material required for repairing the cultural relic to be repaired according to the current quality and the expected quality of the cultural relic to be repaired and the mass ratio corresponding to each material.
According to the steps of the embodiment of the application, the repairing strategy is obtained according to the visual detection data of the cultural relic to be repaired, the quality corresponding to each material required by the cultural relic to be repaired is obtained, and the repairing cost in the aspects of planning and controlling the quality is facilitated.
Referring to fig. 3, in a specific implementation, the step S202 may include steps S301 to S303.
Step S301: and acquiring texture information and material marking data of a plurality of samples, wherein the material marking data of each sample comprises the material information of the sample and the mass ratio corresponding to each material.
Step S302: and training by using the texture information and the material marking data of the plurality of samples and utilizing a deep learning model to obtain a material classification model.
Step S303: and inputting the texture information of the cultural relic to be repaired into the material classification model to obtain the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
The above-mentioned step of this application embodiment, through texture information and the material mark data of a plurality of samples utilize the degree of depth learning model to train, obtain material classification model, and then obtain the quality that waits to restore the material information of historical relic and every kind of material correspond accounts for the ratio, namely after obtaining the texture information of waiting to restore the historical relic, just can obtain the relevant information of the required material of restoration historical relic, has avoided the damage or the destruction to the historical relic in the testing process.
Referring to fig. 4, in a specific implementation, the visual inspection data of the cultural relic to be repaired further includes 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the method for acquiring the current quality of the cultural relic to be repaired in the step S203 can comprise the steps S401 to S403.
In a specific embodiment, after the 3D detection data and/or the ray detection data of the cultural relic to be repaired are obtained, the data can be uploaded to a cloud server and stored in an online digital library, so that users at various physical positions can conveniently look up related resources.
Step S401: and acquiring the density of the cultural relic to be repaired.
Step S402: and acquiring the current volume of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired.
Step S403: and obtaining the current quality of the cultural relic to be repaired according to the density and the current volume of the cultural relic to be repaired.
According to the steps of the embodiment of the application, the current volume of the cultural relic to be repaired is obtained according to the visual detection data of the cultural relic to be repaired, and the current quality of the cultural relic to be repaired is obtained by combining the density, namely, quantitative analysis is carried out under the condition that the cultural relic to be repaired is not damaged, so that accurate quality information of the cultural relic to be repaired is obtained.
Referring to fig. 5, in a specific implementation, the visual inspection data of the cultural relic to be repaired further includes 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the method for acquiring the expected quality of the cultural relic to be repaired in the step S203 can comprise the steps S501 to S505.
Step S501: and acquiring the density of the cultural relic to be repaired.
Step S502: and establishing a three-dimensional contour model of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired.
Step S503: and detecting the defects of the three-dimensional outline model of the cultural relic to be repaired, and repairing the area with the defects in the three-dimensional outline model.
Step S504: and obtaining the expected volume of the cultural relic to be repaired according to the repaired three-dimensional contour model.
Step S505: and obtaining the expected quality of the cultural relic to be repaired according to the density and the expected volume of the cultural relic to be repaired.
In the steps of the embodiment of the application, the 3D detection data and/or the ray detection data of the cultural relic to be repaired are obtained through a vision technology, the three-dimensional outline model is established, appropriate defect detection and curved surface repair are carried out on the three-dimensional model on the basis of reasonability and reducibility, the expected volume of the cultural relic to be repaired is obtained, and the accurate expected quality is obtained by combining the density.
In a specific implementation, the step S501 may include: and estimating the density of the cultural relic to be repaired according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
In the steps of the embodiment of the application, the density is estimated according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material, so that a basis is provided for subsequently acquiring the quality of the cultural relic to be repaired.
In a specific implementation, the repair strategy further comprises at least one of: repair process information, repair cost, and repair duration.
The above-mentioned step of this application embodiment, suitably select the material, and according to treat the structure of restoreing the historical relic, confirm that can satisfy current restoration demand, be favorable to the technological information that the historical relic was preserved for a long time again, carry out reasonable restoration of outline and the accurate estimation of quality through the vision technique simultaneously, can carry out reasonable planning to restoration cost and restoration duration, in addition accomplish the estimation of quality with the help of the vision technique, shortened the restoration time.
Referring to fig. 6, the present application example further provides an apparatus for acquiring a cultural relic repair strategy, and a specific implementation manner of the apparatus is consistent with the implementation manner and the achieved technical effect described in the above embodiment of the method, and a part of the contents are not described again.
The device comprises: the visual acquisition module 101 is configured to acquire visual detection data of the cultural relic to be repaired, where the visual detection data of the cultural relic to be repaired is obtained by detecting the cultural relic to be repaired by a visual detection device; the strategy obtaining module 102 is configured to obtain a repair strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired, where the repair strategy includes material information required for repairing the cultural relic to be repaired and quality corresponding to each material, and the material information includes a material identifier of at least one material.
In a specific implementation, the visual inspection data of the cultural relic to be repaired comprises the visual inspection data of a plurality of scanning points of the cultural relic to be repaired; the material information required by repairing the cultural relic to be repaired comprises material information corresponding to at least one scanning point of the cultural relic to be repaired.
Referring to fig. 7, in an implementation, the visual inspection data of the cultural relic to be repaired includes 2D inspection data of the cultural relic to be repaired; the policy acquisition module 102 may include: the texture obtaining unit 201 is configured to obtain texture information of the cultural relic to be repaired according to the 2D detection data of the cultural relic to be repaired; a material obtaining unit 202, configured to obtain, according to the texture information of the cultural relic to be repaired, material information of the cultural relic to be repaired and a mass ratio corresponding to each material; the quality obtaining unit 203 is used for obtaining the current quality and the expected quality of the cultural relic to be repaired; and the material quality unit 204 is configured to obtain the quality corresponding to each material required for repairing the cultural relic to be repaired according to the current quality and the expected quality of the cultural relic to be repaired and the mass ratio corresponding to each material.
Referring to fig. 8, in a specific implementation, the material obtaining unit 202 may include: a sample obtaining subunit 301, configured to obtain texture information and material labeling data of multiple samples, where the material labeling data of each sample includes material information of the sample and a mass ratio corresponding to each material; a model training subunit 302, configured to use texture information and material labeling data of the multiple samples to perform training by using a deep learning model, so as to obtain a material classification model; and an information input subunit 303, configured to input the texture information of the to-be-repaired cultural relic into the material classification model, so as to obtain the material information of the to-be-repaired cultural relic and the mass ratio corresponding to each material.
Referring to fig. 9, in a specific implementation, the visual inspection data of the cultural relic to be repaired further includes 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the quality acquisition unit 203 may include: a density obtaining subunit 401, configured to obtain a density of the cultural relic to be repaired; a current volume subunit 402, configured to obtain a current volume of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired; and the current mass quantum unit 403 is configured to obtain a current mass of the cultural relic to be repaired according to the density and the current volume of the cultural relic to be repaired.
Referring to fig. 10, in a specific implementation, the visual inspection data of the cultural relic to be repaired further includes 3D inspection data and/or ray inspection data of the cultural relic to be repaired; the quality acquisition unit 203 may include: a density obtaining subunit 401, configured to obtain a density of the cultural relic to be repaired; the three-dimensional model subunit 501 is configured to establish a three-dimensional contour model of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired; a model repairing subunit 502, configured to perform defect detection on the three-dimensional contour model of the cultural relic to be repaired, and repair a region with a defect in the three-dimensional contour model; an expected volume subunit 503, configured to obtain an expected volume of the cultural relic to be repaired according to the repaired three-dimensional contour model; and the expected mass quantum unit 504 is used for obtaining the expected mass of the cultural relic to be repaired according to the density and the expected volume of the cultural relic to be repaired.
In a specific implementation, the density obtaining subunit 401 may further be configured to estimate the density of the cultural relic to be repaired according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
In particular implementations, the repair strategy can further include at least one of: repair process information, repair cost, and repair duration.
Referring to fig. 11, an embodiment of the present application further provides an electronic device 200, where the electronic device 200 includes at least one memory 210, at least one processor 220, and a bus 230 connecting different platform systems.
The memory 210 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)211 and/or cache memory 212, and may further include Read Only Memory (ROM) 213.
The memory 210 further stores a computer program, and the computer program can be executed by the processor 220, so that the processor 220 executes the steps of the method for acquiring a cultural relic repair strategy in the embodiment of the present application, and a specific implementation manner of the method is consistent with the implementation manner and the achieved technical effect described in the embodiment of the method for acquiring a cultural relic repair strategy, and details of the implementation manner are omitted.
Memory 210 may also include a program/utility 214 having a set (at least one) of program modules 215, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Accordingly, processor 220 may execute the computer programs described above, as well as may execute programs/utilities 214.
Bus 230 may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any other type of bus structure.
The electronic device 200 may also communicate with one or more external devices 240, such as a keyboard, pointing device, Bluetooth device, etc., and may also communicate with one or more devices capable of interacting with the electronic device 200, and/or with any devices (e.g., routers, modems, etc.) that enable the electronic device 200 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 250. Also, the electronic device 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 260. The network adapter 260 may communicate with other modules of the electronic device 200 via the bus 230. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and when the computer program is executed, the steps of the method for acquiring a cultural relic repair strategy in the embodiment of the present application are implemented, and a specific implementation manner of the method is consistent with the implementation manner and the achieved technical effect described in the embodiment of the method for acquiring a cultural relic repair strategy, and some contents are not described again.
Fig. 12 shows a program product 300 for implementing the above-mentioned cultural relic repair strategy acquisition method provided by the embodiment, which can adopt a portable compact disc read only memory (CD-ROM) and include program codes, and can be run on a terminal device, such as a personal computer. However, the program product 300 of the present invention is not so limited, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Program product 300 may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The foregoing description and drawings are only for purposes of illustrating the preferred embodiments of the present application and are not intended to limit the present application, which is, therefore, to the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present application.

Claims (18)

1. A cultural relic repair strategy acquisition method is characterized by comprising the following steps:
acquiring visual detection data of the cultural relic to be repaired, wherein the visual detection data of the cultural relic to be repaired is obtained by detecting the cultural relic to be repaired by visual detection equipment;
and acquiring a repairing strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired, wherein the repairing strategy comprises material information required for repairing the cultural relic to be repaired and the quality corresponding to each material, and the material information comprises a material identifier of at least one material.
2. The method for acquiring the cultural relic repair strategy according to claim 1, wherein the visual inspection data of the cultural relic to be repaired comprises the visual inspection data of a plurality of scanning points of the cultural relic to be repaired;
the material information required by repairing the cultural relic to be repaired comprises material information corresponding to at least one scanning point of the cultural relic to be repaired.
3. The method for acquiring the cultural relic repair strategy according to claim 1, wherein the visual detection data of the cultural relic to be repaired comprises 2D detection data of the cultural relic to be repaired;
the acquiring the repair strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired comprises the following steps:
acquiring texture information of the cultural relic to be repaired according to the 2D detection data of the cultural relic to be repaired;
according to the texture information of the cultural relic to be repaired, acquiring material information of the cultural relic to be repaired and a mass ratio corresponding to each material;
acquiring the current quality and the expected quality of the cultural relic to be repaired;
and obtaining the quality corresponding to each material required for repairing the cultural relic to be repaired according to the current quality and the expected quality of the cultural relic to be repaired and the mass ratio corresponding to each material.
4. The method for acquiring the cultural relic repair strategy according to claim 3, wherein the acquiring the material information of the cultural relic to be repaired and the mass ratio corresponding to each material according to the texture information of the cultural relic to be repaired comprises:
acquiring texture information and material marking data of a plurality of samples, wherein the material marking data of each sample comprises material information of the sample and a mass ratio corresponding to each material;
using the texture information and the material marking data of the multiple samples, and training by using a deep learning model to obtain a material classification model;
and inputting the texture information of the cultural relic to be repaired into the material classification model to obtain the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
5. The cultural relic repair strategy acquisition method according to claim 3, wherein the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired;
the method for acquiring the current quality of the cultural relic to be repaired comprises the following steps:
acquiring the density of the cultural relic to be repaired;
acquiring the current volume of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired;
and obtaining the current quality of the cultural relic to be repaired according to the density and the current volume of the cultural relic to be repaired.
6. The cultural relic repair strategy acquisition method according to claim 3, wherein the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired;
the method for acquiring the expected quality of the cultural relic to be repaired comprises the following steps:
acquiring the density of the cultural relic to be repaired;
establishing a three-dimensional contour model of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired;
detecting defects of the three-dimensional outline model of the cultural relic to be repaired, and repairing a region with the defects in the three-dimensional outline model;
obtaining the expected volume of the cultural relic to be repaired according to the repaired three-dimensional contour model;
and obtaining the expected quality of the cultural relic to be repaired according to the density and the expected volume of the cultural relic to be repaired.
7. The method for acquiring cultural relic repair strategy according to claim 5 or 6, wherein the acquiring the density of the cultural relic to be repaired comprises the following steps:
and estimating the density of the cultural relic to be repaired according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
8. The method for acquiring cultural relic repair strategy according to claim 1, wherein the repair strategy further comprises at least one of the following: repair process information, repair cost, and repair duration.
9. An apparatus for acquiring cultural relic repair strategy, the apparatus comprising:
the visual detection module is used for detecting the cultural relic to be repaired by the visual detection equipment;
the strategy obtaining module is used for obtaining a repairing strategy of the cultural relic to be repaired according to the visual detection data of the cultural relic to be repaired, the repairing strategy comprises material information required by repairing the cultural relic to be repaired and the quality corresponding to each material, and the material information comprises a material identifier of at least one material.
10. The device for acquiring the cultural relic repair strategy according to claim 9, wherein the visual inspection data of the cultural relic to be repaired comprises the visual inspection data of a plurality of scanning points of the cultural relic to be repaired;
the material information required by repairing the cultural relic to be repaired comprises material information corresponding to at least one scanning point of the cultural relic to be repaired.
11. The device for acquiring the cultural relic repair strategy according to claim 9, wherein the visual detection data of the cultural relic to be repaired comprises 2D detection data of the cultural relic to be repaired;
the policy acquisition module includes:
the texture obtaining unit is used for obtaining texture information of the cultural relic to be repaired according to the 2D detection data of the cultural relic to be repaired;
the material obtaining unit is used for obtaining the material information of the cultural relic to be repaired and the mass ratio corresponding to each material according to the texture information of the cultural relic to be repaired;
the quality obtaining unit is used for obtaining the current quality and the expected quality of the cultural relic to be repaired;
and the material quality unit is used for obtaining the quality corresponding to each material required by repairing the cultural relic to be repaired according to the current quality and the expected quality of the cultural relic to be repaired and the mass ratio corresponding to each material.
12. The apparatus for acquiring cultural relic repair strategy according to claim 11, wherein the material acquiring unit comprises:
the system comprises a sample obtaining subunit, a texture analyzing subunit and a quality calculating subunit, wherein the sample obtaining subunit is used for obtaining texture information and material marking data of a plurality of samples, and the material marking data of each sample comprises material information of the sample and a mass ratio corresponding to each material;
the model training subunit is used for using the texture information and the material marking data of the plurality of samples to train by using a deep learning model to obtain a material classification model;
and the information input subunit is used for inputting the texture information of the cultural relic to be repaired into the material classification model to obtain the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
13. The device for acquiring the cultural relic repair strategy according to claim 11, wherein the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired;
the quality acquisition unit includes:
the density acquisition subunit is used for acquiring the density of the cultural relic to be repaired;
the current volume subunit is used for acquiring the current volume of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired;
and the current mass subunit is used for obtaining the current mass of the cultural relic to be repaired according to the density and the current volume of the cultural relic to be repaired.
14. The device for acquiring the cultural relic repair strategy according to claim 11, wherein the visual inspection data of the cultural relic to be repaired further comprises 3D inspection data and/or ray inspection data of the cultural relic to be repaired;
the quality acquisition unit includes:
the density acquisition subunit is used for acquiring the density of the cultural relic to be repaired;
the three-dimensional model subunit is used for establishing a three-dimensional contour model of the cultural relic to be repaired according to the 3D detection data and/or the ray detection data of the cultural relic to be repaired;
the model repairing subunit is used for detecting the defects of the three-dimensional outline model of the cultural relic to be repaired and repairing the area with the defects in the three-dimensional outline model;
the expected volume subunit is used for acquiring the expected volume of the cultural relic to be repaired according to the repaired three-dimensional contour model;
and the expected mass subunit is used for obtaining the expected mass of the cultural relic to be repaired according to the density and the expected volume of the cultural relic to be repaired.
15. The device for acquiring cultural relic repair strategy according to claim 13 or 14, wherein the density acquiring subunit is configured to estimate the density of the cultural relic to be repaired according to the material information of the cultural relic to be repaired and the mass ratio corresponding to each material.
16. The cultural relic repair strategy acquisition device of claim 9, wherein the repair strategy further comprises at least one of: repair process information, repair cost, and repair duration.
17. An electronic device, characterized in that the electronic device comprises a memory storing a computer program and a processor implementing the steps of the method according to any of claims 1-8 when the processor executes the computer program.
18. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202011613031.6A 2020-12-30 2020-12-30 Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium Pending CN112785633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011613031.6A CN112785633A (en) 2020-12-30 2020-12-30 Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011613031.6A CN112785633A (en) 2020-12-30 2020-12-30 Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112785633A true CN112785633A (en) 2021-05-11

Family

ID=75754017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011613031.6A Pending CN112785633A (en) 2020-12-30 2020-12-30 Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112785633A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274111A (en) * 2017-07-07 2017-10-20 南京博物院 Historical relic's protection repair system
CN108765321A (en) * 2018-05-16 2018-11-06 Oppo广东移动通信有限公司 It takes pictures restorative procedure, device, storage medium and terminal device
CN111861970A (en) * 2019-04-23 2020-10-30 天和防务技术(北京)有限公司 Ancient cultural relic restoration processing method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274111A (en) * 2017-07-07 2017-10-20 南京博物院 Historical relic's protection repair system
CN108765321A (en) * 2018-05-16 2018-11-06 Oppo广东移动通信有限公司 It takes pictures restorative procedure, device, storage medium and terminal device
CN111861970A (en) * 2019-04-23 2020-10-30 天和防务技术(北京)有限公司 Ancient cultural relic restoration processing method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
俞朝晖: "面向馆藏文物的三维数据获取及可视化研究", 《中国优秀博硕士学位论文全文数据库(博士)》 *
刘飞达: "浅析文物保护中数字图像修复技术的应用", 《中国民族博览》 *

Similar Documents

Publication Publication Date Title
JP7138753B2 (en) Image defect detection method, device, electronic device, storage medium and product
CN107067003B (en) Region-of-interest boundary extraction method, device, equipment and computer storage medium
CN107679189A (en) A kind of point of interest update method, device, server and medium
CN112580623A (en) Image generation method, model training method, related device and electronic equipment
CN110910343A (en) Method and device for detecting pavement cracks and computer equipment
CN111259663B (en) Information processing method and device
CA3097338A1 (en) Automated analysis of petrographic thin section images using advanced machine learning techniques
CN109657675B (en) Image annotation method and device, computer equipment and readable storage medium
CN113221565A (en) Entity recognition model training method and device, electronic equipment and storage medium
CN111401228A (en) Video target labeling method and device and electronic equipment
CN110727816A (en) Method and device for determining interest point category
CN110874591A (en) Image positioning method, device, equipment and storage medium
CN112967248A (en) Method, apparatus, medium, and program product for generating defect image sample
CN114782530A (en) Three-dimensional semantic map construction method, device, equipment and medium under indoor scene
JP2022185143A (en) Text detection method, and text recognition method and device
CN115311469A (en) Image labeling method, training method, image processing method and electronic equipment
EP3282351A1 (en) System and method for facilitating an inspection process
CN116721104B (en) Live three-dimensional model defect detection method and device, electronic equipment and storage medium
CN116071651B (en) Voltage equalizing field identification method and device, storage medium and terminal
CN110334818B (en) Method and system for automatically identifying pipeline
CN112785633A (en) Cultural relic repair strategy acquisition method and device, electronic equipment and storage medium
CN115640372A (en) Method, device, system, equipment and medium for guiding area of indoor plane
CN113592981B (en) Picture labeling method and device, electronic equipment and storage medium
CN113298112B (en) Integrated data intelligent labeling method and system
CN111696154B (en) Coordinate positioning method, device, equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20220329

Address after: Building C, No.888, Huanhu West 2nd Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shenlan Intelligent Technology (Shanghai) Co.,Ltd.

Address before: 213000 No.103, building 4, Chuangyan port, Changzhou science and Education City, No.18, middle Changwu Road, Wujin District, Changzhou City, Jiangsu Province

Applicant before: SHENLAN ARTIFICIAL INTELLIGENCE CHIP RESEARCH INSTITUTE (JIANGSU) Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20210511

RJ01 Rejection of invention patent application after publication