A method for establishing a three-dimensional model database of guns and parts and a database system
By establishing a three-dimensional model database of guns and parts, collecting and matching attributes, images and three-dimensional structural information, the problem of lack of database in the existing technology is solved, rapid and accurate inspection and management of guns and parts are realized, and the retrieval function is improved. Accuracy and reliability.
Patent Information
- Application Number
- CN202011008704.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-09-23
AI Technical Summary
The existing technology lacks a database of guns and parts, which makes it difficult to manage and quickly and accurately search illegal guns and parts, and brings difficulties to the detection of smuggling cases.
Establish a three-dimensional model database of firearms and parts. By collecting attribute information, plane image information and three-dimensional structural models, the database is formed, and matched when receiving a retrieval request, and the retrieval results are provided. Specific methods include 3D structural model modeling of standard and non-standard parts, using surface structured light 3D scanners and handheld scanners to obtain point cloud data, combining graphics processing and inverse modeling technology, and using convolutional neural networks and ORB algorithms. Perform feature extraction.
It realizes the three-dimensional reconstruction and database establishment of guns and parts, enriches the search methods, improves the accuracy and reliability of the search function, and simplifies the management and quick search of illegal guns and parts.
Smart Images

Figure CN112116706B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of gun data management, and in particular to a method for establishing a three-dimensional model database of guns and parts and a database system. Background Art
[0002] Guns are powerful. Every year, my country's customs seizes a large number of illegal smuggled guns and bullets. In order to evade law enforcement supervision, criminals often use various methods to disassemble, break up or modify guns and smuggle them into the country. These guns and parts are not easy to identify. For example, is it a gun part? If so, which model of gun does it belong to? my country does not have a complete database of guns and their parts, which will require a lot of manpower and material resources for identification and verification, which brings great difficulties to the detection of smuggling cases. In today's rapidly developing digital age, it has become a popular method to quickly and accurately convert objects in the real world into computers to realize information identification and processing. Therefore, a method for establishing a three-dimensional model database of guns and parts and a database system are of great significance to the management, rapid and accurate search of illegal guns and parts.
[0003] The invention patent with application number 201810047270.6 discloses a gun safety control system. It includes a tracking and positioning module set on the gun, a human biometric sensor set on the gun storage device or the gun storage location, a removal position confirmation module set at the gun storage location, a background supervision command center, an authorized supervision platform and monitoring equipment. The invention patent with application number CN201911111508.8 proposes a gun control method based on the ZigBee protocol. The gun control method based on the ZigBee protocol can query and count the use information of guns, improve the efficiency of military gun management, and reduce the mistakes caused by manual management.
[0004] The above patents are all proposed for the safety control of guns, and the gun database is blank. Aiming at the blank of the existing gun database, the present invention provides a method and database system for establishing a three-dimensional database of guns and their parts, and establishes a variety of three-dimensional model database retrieval functions to achieve rapid and accurate inspection and identification of guns and their parts. Summary of the invention
[0005] In view of the defects in the prior art, the present invention proposes a method for establishing a three-dimensional model database of guns and parts and a database system.
[0006] Specifically, the present invention proposes the following specific embodiments:
[0007] The embodiment of the present invention also provides a method for establishing a three-dimensional model database of guns and parts, the method comprising:
[0008] Collect attribute information, plane image information and three-dimensional structure models of guns and parts;
[0009] The attribute information, the plane image information and the three-dimensional structure model are stored in a database to form a database of guns and parts;
[0010] When a search request including search data is received, a match is performed in the firearms and parts database based on the search data, and the result of the match is fed back.
[0011] In a specific embodiment,
[0012] The firearm's attribute information includes: serial number, quality, size, caliber, name, structure, country of production, manufacturer, model, year of production, surface markings, and material information;
[0013] The attribute information of the parts includes: serial number, quality, size, name, structure, country of production, manufacturer, model, year of production, surface marking, and material information.
[0014] In a specific embodiment, the parts include standard parts and non-standard parts;
[0015] The three-dimensional structural model of the standard part is obtained by selecting other standard parts of the same type in a preset three-dimensional model library and modifying parameters; or by feature forward modeling; or by combining mechanical measurement with forward modeling.
[0016] The 3D structure model of the non-standard part is obtained by first obtaining point cloud data through a surface structured light 3D scanner, then reconstructing the point cloud data through graphics processing on a graphics workstation to obtain 3D structure data, and then importing the 3D structure data into 3D modeling software for modeling processing; or obtaining point cloud data through scanning with a handheld scanner, and then using Geomagic Design X software to reverse model and feature process the point cloud data to obtain shape data, and then performing modeling processing based on the shape data through 3D modeling software to obtain the non-standard part.
[0017] In a specific embodiment, the planar image information is obtained based on projecting the three-dimensional structure model to reduce the dimension.
[0018] In a specific embodiment, the planar image information is based on projecting the three-dimensional structural model to obtain a two-dimensional projection image with no less than 6 viewing angles; and the two-dimensional projection image is first preprocessed based on a convolutional neural network, and then feature extraction is performed using a scale-invariant feature transformation algorithm and an ORB algorithm.
[0019] In a specific embodiment, it also includes:
[0020] After acquiring the newly added attribute information, the plane image information and the three-dimensional structure model, searching and matching is performed in the gun and parts database;
[0021] If the search result is that there is no matching data in the gun and parts database, the acquired attribute information, the plane image information and the three-dimensional structure model are stored in the gun and parts database.
[0022] In a specific embodiment, it also includes:
[0023] The firearms and parts database is updated based on the acquired attribute information, the plane image information, and the three-dimensional structure model; the data update includes data modification, data supplementation, and data deletion.
[0024] In a specific embodiment, it also includes:
[0025] Based on the firearms and parts database, the information of firearms and parts is queried, counted, supervised and analyzed.
[0026] In a specific embodiment, the retrieval includes: attribute information retrieval, plane image information matching screening, and three-dimensional model feature matching screening.
[0027] The embodiment of the present invention further provides a three-dimensional model database system of guns and parts, including:
[0028] The acquisition module is used to collect the attribute information, plane image information and three-dimensional structure model of the gun and its parts;
[0029] A database module, used to store the attribute information, the plane image information and the three-dimensional structure model in a database to form a database of guns and parts;
[0030] The search module is used to, when receiving a search request containing search data, perform a match in the firearms and parts database based on the search data, and feed back the matching result.
[0031] Therefore, compared with the prior art, the solution of the present invention has the following advantages:
[0032] (1) The three-dimensional reconstruction of guns and their parts was achieved; (2) A database of guns and their parts was established, which included various information such as attribute information, plane image information, and three-dimensional structure models; (3) In terms of database retrieval function, the retrieval methods were enriched, and three methods were available for retrieval selection, which improved the accuracy and reliability of the retrieval function. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 A schematic flow chart of a method for establishing a database of firearms and parts provided by an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of a framework for collecting attribute information, planar image information and a three-dimensional structure model of guns and parts in a method for establishing a three-dimensional model database of guns and parts proposed in an embodiment of the present invention;
[0036] Figure 3 A schematic diagram of a basic composition framework for collecting attribute information, planar image information and three-dimensional structure models of guns and parts in a method for establishing a three-dimensional model database of guns and parts proposed in an embodiment of the present invention;
[0037] Figure 4 A schematic diagram of a retrieval framework in a method for establishing a three-dimensional model database of guns and parts proposed in an embodiment of the present invention;
[0038] Figure 5 The present invention provides a schematic diagram of the structure of a three-dimensional model database of guns and parts. DETAILED DESCRIPTION
[0039] In the following, various embodiments of the present disclosure will be described more fully. The present disclosure may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but rather the present disclosure should be understood to cover all adjustments, equivalents and / or alternatives that fall within the spirit and scope of the various embodiments of the present disclosure.
[0040] The terms used in the various embodiments of the present disclosure are only used for the purpose of describing specific embodiments and are not intended to limit the various embodiments of the present disclosure. As used herein, the singular form is intended to also include the plural form, unless the context clearly indicates otherwise. Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as the meanings commonly understood by ordinary technicians in the field to which the various embodiments of the present disclosure belong. The terms (such as the terms defined in the generally used dictionary) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, unless clearly defined in the various embodiments of the present disclosure.
[0041] Example 1
[0042] Embodiment 1 of the present invention discloses a method for establishing a three-dimensional model database of guns and parts, such as Figure 1 As shown, the method comprises the following steps:
[0043] Step 101: Collecting attribute information, plane image information and three-dimensional structure models of guns and parts;
[0044] Step 102, storing the attribute information, the plane image information and the three-dimensional structure model in a database to form a database of guns and parts;
[0045] Step 103: When a search request including search data is received, a match is performed in the firearms and parts database based on the search data, and the matching result is fed back.
[0046] In a specific embodiment, the attribute information of the gun includes: serial number, quality, size, caliber, name, structure, country of manufacture, manufacturer, model, production year, surface marking, and material information; the attribute information of the parts includes: serial number, quality, size, name, structure, country of manufacture, manufacturer, model, production year, surface marking, and material information.
[0047] Specifically, the method of establishing a database is mainly to collect a variety of data, such as Figure 2 and Figure 3As shown, it includes attribute information collection, three-dimensional structure scanning and reconstruction, three-dimensional structure point cloud feature information collection, and two-dimensional image feature information collection. Among them, attribute information collection is responsible for collecting the basic attributes of guns and parts, and drawing them into text information. The basic attribute information of gun information data is as follows: For the whole gun, the text information data includes serial number, quality, size, caliber, material information, and name, structure, country of production, manufacturer, model, production year, surface identification and other information. For parts, the text information data includes serial number, quality, size, material information, and name, structure, country of production, manufacturer, model, production year, surface identification and other information. In addition, for some guns to be inspected, some are known and some are unknown, so the collection of attribute information is selective (fill in if you can be sure, and don’t fill in if you can’t be sure). However, the following types of attribute information must be collected: the quality of the parts and the quality, length, and caliber of the gun.
[0048] In a specific embodiment, the loose parts include standard parts (such as screws, springs, gun barrels, etc.) and non-standard parts (such as gun handles, gun barrel sleeves, etc.); therefore, when starting to scan and reconstruct the three-dimensional structure, the loose parts of the gun must first be classified into standard parts and non-standard parts.
[0049] The three-dimensional structural model of the standard parts is obtained by selecting other standard parts of the same type in the preset three-dimensional model library for parameter modification; or by feature forward modeling; or by modeling through a combination of mechanical measurement and forward modeling. For standard parts, some small parts used in daily life such as screws, nuts, bolts, etc. account for a large number of these parts in the disassembly of firearms. If they are remodeled one by one, it will take a long time and be meaningless. Therefore, standard parts of the same type can be selected in the Solidwork library for parameter modification to generate the required parts. Another part of the standard parts is not available in the Solidwork library, which requires simple feature forward modeling, such as pins. For these parts whose modeling features can be seen at a glance, a combination of mechanical measurement and forward modeling can be used to model them.
[0050] The three-dimensional structural model of the non-standard parts is obtained by first obtaining point cloud data through a surface structured light three-dimensional scanner, then reconstructing the point cloud data through graphics processing on a graphics workstation to obtain three-dimensional structural data, and then importing the three-dimensional structural data into a three-dimensional modeling software for modeling processing; or obtaining point cloud data through scanning with a handheld scanner, and then using Geomagic Design X software to reverse model and feature process the point cloud data to obtain shape data, and then modeling based on the shape data through a three-dimensional modeling software. For non-standard parts, local complex parts refer to parts with complex curves in certain local areas, such as spring leaves of firearms. Although the modeling features of these parts can be seen, it is not easy to obtain their local curves. Therefore, point cloud data can be obtained using a surface structured light three-dimensional scanner, and the three-dimensional structural data can be reconstructed through graphics processing on a graphics workstation and then imported into Solidworks for modeling processing to obtain a more refined three-dimensional structure. There are also overall complex parts, which refer to parts with complex curves and surfaces in many places and parts whose modeling features cannot be seen, such as large parts such as gun bodies. For such parts that cannot be measured and difficult to process features, they can be completely scanned by handheld scanners to obtain point cloud data STL files, and then reverse modeling and feature processing can be performed using Geomagic Design X software to obtain shape data, and modeling processing can be performed through SolidWorks to obtain a more refined three-dimensional structure.
[0051] Therefore, for standard parts, such as screws, springs, and gun barrels, mechanical modeling software is used to draw 3D structural models; for non-standard parts, such as gun handles and barrel sleeves, 3D scanning technology is used to reconstruct 3D structural models (including but not limited to line laser scanning and surface structured light scanning). When storing 3D structural models in the database, the file storage type must be unified, and basic attribute text descriptions must be provided for each 3D structural model, indicating the basic information such as the gun name, gun category, part name, part category, material, and size.
[0052] When performing 3D reconstruction of guns and their parts, their point cloud data will be obtained. The point cloud data is obtained through 3D data acquisition equipment. By measuring the surface information of the object through the data acquisition instrument and converting it into 3D coordinate data, the corresponding point cloud data set can be obtained. After obtaining the point cloud data set, it is necessary to extract features from the point cloud data. The main method of point cloud feature extraction is to extract the feature points of the parts through the geometric information and topological information of the mesh model based on mesh modeling. With the point cloud data of the object surface, the 3D structure model can be reconstructed quickly and accurately.
[0053] Furthermore, the three-dimensional structure scanning and reconstruction of the parts by surface structured light scanning or line laser scanning includes at least: a surface structured light three-dimensional scanner, a handheld three-dimensional scanner, a graphics workstation, and professional three-dimensional modeling software.
[0054] The surface structured light 3D scanner is used for digital 3D scanning of parts and bullets. It has the advantages of automation, speed and high precision. It can scan gun parts and bullets of different types and structures. The surface structured light 3D scanner consists of a projection device and a camera.
[0055] Handheld 3D scanners are line laser scanners that are small and easy to carry. They allow operators to scan objects from any angle and splice them into a 360° 3D model. They have excellent scanning accuracy and acquisition speed. Different scanners can be selected according to the type and size of guns and parts.
[0056] The graphics workstation has powerful graphics processing capabilities and is equipped with software supporting the 3D scanner. Based on the point cloud data obtained from the 3D scanner, the 3D structure data is reconstructed through graphics processing. At this time, the 3D structure data obtained is relatively rough and may have defects. It will be imported into professional 3D modeling software and a more refined 3D structure will be obtained through modeling processing. At the same time, the size and volume of the parts, the length, caliber and volume of the bullets can be directly obtained in professional 3D modeling software. Professional 3D modeling software such as Solidworks, 3D MAX, UG, ProE, etc., and other software such as Geomagic Studio and Geomagic Design X can also be used in conjunction. The data output format of the 3D structure is a common 3D file format, such as stp, igs, stl, etc.
[0057] At the same time, point cloud data of guns and their parts will be obtained when performing three-dimensional scanning. The point cloud data of an object can be collected through a three-dimensional scanner, and then converted into three-dimensional coordinate data to obtain the corresponding point cloud data set. After obtaining the point cloud data set, feature extraction is required for the point cloud data. The main method of point cloud feature extraction is to extract the feature points of the parts through the geometric information and topological information of the mesh model on the basis of mesh modeling, and then feature lines and feature surfaces can be generated based on these feature points. Feature extraction of three-dimensional point cloud data is the basis for database retrieval applications for three-dimensional models.
[0058] In a specific embodiment, the planar image information is obtained by projecting the three-dimensional structure model to reduce the dimension. Further, the planar image information is obtained by projecting the three-dimensional structure model to obtain a two-dimensional projection map of no less than 6 viewing angles; and the two-dimensional projection map is first pre-processed based on a convolutional neural network, and then feature extracted using a scale-invariant feature transformation algorithm and an ORB algorithm.
[0059] In addition, after reconstructing the three-dimensional structure model, projection technology is needed to reduce the dimension to obtain a two-dimensional plane figure. Projection refers to the process of converting three-dimensional coordinates into two-dimensional coordinates. The projection used here is perspective projection, which is characterized by the fact that all projection lines are projected from a point in space, namely the viewpoint or the projection center. Objects close to the viewpoint are relatively large, while objects far away are relatively small. When using perspective projection for a three-dimensional structure model, two-dimensional projection images must be obtained from no less than 6 viewing angles. After obtaining these two-dimensional projection images, the images are processed based on a convolutional neural network, and then feature extraction is performed using the scale-invariant feature transform (SIFT) algorithm, the ORB (Oriented FAST and Rotated BRIEF) algorithm, and the like. That is, the two-dimensional image feature points of each model at multiple angles can be obtained.
[0060] Furthermore, it also includes: after acquiring the newly added attribute information, the plane image information and the three-dimensional structure model, searching and matching in the gun and parts database;
[0061] If the search result is that there is no matching data in the gun and parts database, the acquired attribute information, the plane image information and the three-dimensional structure model are stored in the gun and parts database.
[0062] In a specific embodiment, the guns and parts database is updated based on the acquired attribute information, the plane image information, and the three-dimensional structure model; the data update includes data modification, data supplementation, and data deletion; in addition, the information of guns and parts is queried, counted, supervised, and analyzed based on the guns and parts database.
[0063] Specifically, the information management of guns and parts in the database is also very important, including the following management processes:
[0064] (1) For newly added firearms and parts, input their basic attribute information, planar image information, and three-dimensional structure information obtained by three-dimensional structure scanning and reconstruction into the firearm information collection method, and use the information retrieval function to compare and check whether the parts in the database match the above collected information; if no matching data is found, create the data in the database.
[0065] (2) Based on the current development pace, the firearms and parts data in the database will be gradually updated, including data modification, supplementation, and deletion.
[0066] (3) The database can be used to query, count, monitor, and analyze information on firearms and their parts, such as statistics on types, structures, and places of origin.
[0067] In a specific embodiment, Figure 4 As shown, the retrieval includes: attribute information retrieval, plane image information matching screening, and three-dimensional model feature matching screening.
[0068] The following is a detailed description of the rapid retrieval and matching method for gun parts in the database:
[0069] For the gun parts to be retrieved, attribute information collection and plane image information collection are performed on the gun information collection, and the three-dimensional structure information is obtained by using the three-dimensional structure scanning and reconstruction module to obtain the mass M, maximum length L, volume V, two-dimensional image feature set P, and three-dimensional structure point cloud feature information T of the parts, and the parts data in the database are retrieved and compared. The two-dimensional image feature set P refers to the feature set extracted from multiple images of different angles and directions, P = {p1, p2, p3..., p k}, k is the number of images. Feature extraction algorithms include scale-invariant feature transform (SIFT), local feature (SURF), k-means clustering algorithm, etc. The three-dimensional structure point cloud information is obtained through a three-dimensional data scanner. By scanning the loose parts and converting them into three-dimensional coordinate data, the corresponding point cloud data set can be obtained. The point cloud features contain key geometric and topological information on the surface of the loose parts, which can accurately describe an object. Feature extraction refers to the process of extracting points that can represent the geometric characteristics or texture characteristics of the object from the target point cloud data, and then reversely generating the object based on these feature points. The main goal of feature extraction is these shape feature points, which can help us quickly match the data in the database during retrieval.
[0070] Next, several methods are described. The first is keyword basic information text retrieval. When some basic information of a gun part to be inspected and identified is known (such as identification, type, country of production, manufacturer, model, production year, etc.), these texts are input to compare with the information in the database for direct similarity. When the same text information is retrieved, the n parts with the highest similarity are returned. If the numerical information of the parts such as mass M1, maximum length L1, volume V1 is known, then the parts that satisfy |M1 / M-1|<γ can be found. M ,|L1 / L-1|<γ L ,|V1 / V-1|<γ VThe set of all parts {B} under the conditions, γ is the error control coefficient, which mainly considers the errors caused by various factors such as processing, measurement, and wear of parts, so the n parts information with the highest matching scores are returned. If the input is a two-dimensional image or a three-dimensional model, the database will perform feature extraction, and the extracted two-dimensional image feature information or three-dimensional structure point cloud feature information will be matched with the two-dimensional image feature set P or the three-dimensional structure point cloud feature information T in the database, and the parts will be sorted according to the matching score, and the n parts information with the highest matching scores will be returned. Existing feature matching methods include a combination of machine learning, deep learning, morphological processing, etc. Finally, the inspectors will manually identify the n returned parts, including basic attributes, two-dimensional images, three-dimensional shape features, etc., to determine whether the match is successful.
[0071] Example 2
[0072] Embodiment 2 of the present invention also discloses a three-dimensional model database system of guns and parts, such as Figure 5 As shown, including:
[0073] The acquisition module 201 is used to acquire the attribute information, plane image information and three-dimensional structure model of the gun and its parts;
[0074] Database module 202, used to store the attribute information, the plane image information and the three-dimensional structure model in a database to form a database of guns and parts;
[0075] The search module 203 is used to, when receiving a search request containing search data, perform a match in the firearms and parts database based on the search data, and feed back the matching result.
[0076] The firearm's attribute information includes: serial number, quality, size, caliber, name, structure, country of production, manufacturer, model, year of production, surface markings, and material information;
[0077] The attribute information of the parts includes: serial number, quality, size, name, structure, country of production, manufacturer, model, year of production, surface marking, and material information.
[0078] The firearms and parts database is mainly composed of database servers and database system management software. The database server has strong storage capacity and fast data access speed. It can be a local physical server or a cloud server according to application requirements and layout conditions. The server is equipped with database management software such as Oracle, SQL Server, MySQL, etc.
[0079] In a specific embodiment, the parts include standard parts and non-standard parts;
[0080] The three-dimensional structural model of the standard part is obtained by selecting other standard parts of the same type in a preset three-dimensional model library and modifying parameters; or by feature forward modeling; or by combining mechanical measurement with forward modeling.
[0081] The 3D structure model of the non-standard part is obtained by first obtaining point cloud data through a surface structured light 3D scanner, then reconstructing the point cloud data through graphics processing on a graphics workstation to obtain 3D structure data, and then importing the 3D structure data into 3D modeling software for modeling processing; or obtaining point cloud data through scanning with a handheld scanner, and then using Geomagic Design X software to reverse model and feature process the point cloud data to obtain shape data, and then performing modeling processing based on the shape data through 3D modeling software to obtain the non-standard part.
[0082] In a specific embodiment, the planar image information is obtained based on projecting the three-dimensional structure model to reduce the dimension.
[0083] In a specific embodiment, the planar image information is based on projecting the three-dimensional structural model to obtain a two-dimensional projection image with no less than 6 viewing angles; and the two-dimensional projection image is first preprocessed based on a convolutional neural network, and then feature extraction is performed using a scale-invariant feature transformation algorithm and an ORB algorithm.
[0084] In a specific embodiment, it also includes:
[0085] A newly added module is used to search and match the firearms and parts database after acquiring the newly added attribute information, the plane image information and the three-dimensional structure model;
[0086] If the search result is that there is no matching data in the gun and parts database, the acquired attribute information, the plane image information and the three-dimensional structure model are stored in the gun and parts database.
[0087] In a specific embodiment, the system further comprises:
[0088] An updating module is used to update the firearms and parts database based on the acquired attribute information, the plane image information, and the three-dimensional structure model; the data updating includes data modification, data supplementation, and data deletion.
[0089] Based on the firearms and parts database, the information of firearms and parts is queried, counted, supervised and analyzed.
[0090] In a specific embodiment, the retrieval includes: attribute information retrieval, plane image information matching screening, and three-dimensional model feature matching screening.
[0091] Those skilled in the art will appreciate that the accompanying drawings are merely schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily required for implementing the present invention.
[0092] Those skilled in the art will appreciate that the modules in the device in the implementation scenario can be distributed in the device in the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules in the above implementation scenario can be combined into one module, or can be further split into multiple sub-modules.
[0093] The above serial numbers of the present invention are only for description and do not represent the advantages or disadvantages of the implementation scenarios.
[0094] The above disclosure is only a few specific implementation scenarios of the present invention, but the present invention is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.
Claims
1. A method for establishing a three-dimensional model database of guns and parts, characterized in that: The method includes: Collect attribute information, plane image information and three-dimensional structure models of guns and parts; The attribute information, the plane image information and the three-dimensional structure model are stored in a database to form a database of guns and parts; When receiving a search request containing search data, matching is performed in the firearms and parts database based on the search data, and the matching result is fed back; The parts include standard parts and non-standard parts; The three-dimensional structural model of the standard part is obtained by selecting other standard parts of the same type in a preset three-dimensional model library and modifying parameters; or by feature forward modeling; or by modeling by combining mechanical measurement with forward modeling; The 3D structure model of the non-standard part is obtained by first obtaining point cloud data through a surface structured light 3D scanner, then reconstructing the point cloud data through graphics processing on a graphics workstation to obtain 3D structure data, and then importing the 3D structure data into a 3D modeling software for modeling processing; or obtaining point cloud data through scanning with a handheld scanner, then performing reverse modeling and feature processing on the point cloud data using Geomagic Design X software to obtain shape data, and then performing modeling processing based on the shape data through the 3D modeling software; The planar image information is based on projecting the three-dimensional structure model to obtain a two-dimensional projection image of no less than 6 viewing angles; and the two-dimensional projection image is first preprocessed based on a convolutional neural network, and then feature extracted using a scale-invariant feature transformation algorithm and an ORB algorithm; The retrieval includes: attribute information retrieval, plane image information matching screening, and three-dimensional model feature matching screening.
2. The method according to claim 1, characterized in that The firearm's attribute information includes: serial number, quality, size, caliber, name, structure, country of production, manufacturer, model, year of production, surface markings, and material information; The attribute information of the parts includes: serial number, quality, size, name, structure, country of production, manufacturer, model, year of production, surface marking, and material information.
3. The method according to claim 1, characterized in that The planar image information is obtained by projecting the three-dimensional structure model to reduce the dimension.
4. The method according to claim 1, characterized in that Also includes: After acquiring the newly added attribute information, the plane image information and the three-dimensional structure model, searching and matching is performed in the gun and parts database; If the search result is that there is no matching data in the gun and parts database, the acquired attribute information, the plane image information and the three-dimensional structure model are stored in the gun and parts database.
5. The method according to claim 1, characterized in that Also includes: Based on the acquired attribute information, the plane image information, and the three-dimensional structure model, the firearms and parts database is updated; The data update includes data modification, data supplementation and data deletion.
6. The method according to claim 1, characterized in that Also includes: Based on the firearms and parts database, the information of firearms and parts is queried, counted, supervised and analyzed.
7. A three-dimensional model database system for guns and parts, characterized in that: include: The acquisition module is used to collect the attribute information, plane image information and three-dimensional structure model of the gun and its parts; The parts include standard parts and non-standard parts; The three-dimensional structural model of the standard part is obtained by selecting other standard parts of the same type in a preset three-dimensional model library and modifying parameters; or by feature forward modeling; or by modeling by combining mechanical measurement with forward modeling; The three-dimensional structure model of the non-standard part is obtained by first obtaining point cloud data through a surface structured light three-dimensional scanner, then reconstructing the point cloud data through a graphics workstation to obtain three-dimensional structure data, and then importing the three-dimensional structure data into a three-dimensional modeling software for modeling processing; Or scan with a handheld scanner to obtain point cloud data, then use Geomagic Design X software to perform reverse modeling and feature processing on the point cloud data to obtain shape data, and then use 3D modeling software to perform modeling based on the shape data to obtain shape data; The planar image information is based on projecting the three-dimensional structure model to obtain a two-dimensional projection image of no less than 6 viewing angles; and the two-dimensional projection image is first preprocessed based on a convolutional neural network, and then feature extracted using a scale-invariant feature transformation algorithm and an ORB algorithm; A database module, used to store the attribute information, the plane image information and the three-dimensional structure model in a database to form a database of guns and parts; The retrieval module is used to match the firearms and parts database based on the retrieval data when receiving a retrieval request containing retrieval data, and to feed back the matching results; the retrieval includes: attribute information retrieval, plane image information matching screening, and three-dimensional model feature matching screening.
Citation Information
Patent Citations
Safe management and control system for guns
CN108154018A
Gun management and control method based on ZigBee protocol
CN110852633A
Three-dimensional-CAD-assembly-model clustering and retrieval method driven by product design requirements
CN108491628A
Optimal design method, device and equipment for standard part model data
CN109492266A
Armed escort safety early warning system and method based on big data and image recognition
CN110633276A
