Mechanical parts matching method and system
By building an accessories database and matching the outer edge contour and corner point information using image recognition, the problem of mechanical equipment accessories model identification is solved, the efficiency and accuracy of accessories matching is improved, and the maintenance process is simplified.
Patent Information
- Application Number
- CN202410597664.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-05-14
AI Technical Summary
The models of mechanical equipment accessories are difficult to quickly identify, resulting in low maintenance and repair efficiency, and low matching efficiency and accuracy of existing image comparison methods.
Build an accessories database, obtain image information of the mechanical accessories to be selected, identify the outer edge contour and corner point information, combine the database to match, and filter out accurate accessories information.
Improve the matching efficiency and accuracy of mechanical accessories, and users can quickly identify and purchase required accessories, reducing maintenance time.
Smart Images

Figure CN118429672B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of mechanical accessories, and in particular, to a mechanical accessories matching method and system. Background Art
[0002] As the operation time of mechanical equipment increases, the accessories on the mechanical equipment may fail or need to be replaced for maintenance. However, there are many types of accessories for mechanical equipment. When users purchase accessories, they often cannot quickly learn the model of the accessories, which makes it difficult for users to efficiently maintain or repair mechanical equipment. For this reason, traditional technologies have adopted a solution to determine the specifications and models of accessories through image comparison, but this solution has low matching efficiency and low accuracy. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0004] To this end, a first aspect of the present invention provides a mechanical parts matching method.
[0005] A second aspect of the present invention provides a mechanical accessory matching system.
[0006] In view of this, according to a first aspect of an embodiment of the present application, a mechanical parts matching method is proposed, comprising:
[0007] Building an accessory database, wherein the database stores information of multiple accessories;
[0008] Acquire image information of the mechanical part to be selected, and acquire outer edge contour information based on the image information;
[0009] Based on the outer edge contour information, determining the corner point information of the mechanical accessory to be selected in the image information;
[0010] Based on the corner point information, matching is performed in the database to obtain accessory information corresponding to the mechanical accessory to be selected.
[0011] In a feasible implementation manner, the step of obtaining image information of the selected mechanical accessory and obtaining the outer edge contour information based on the image information includes:
[0012] When the mechanical part to be selected is in a naturally placed state, obtaining image information of the largest appearance surface of the mechanical part to be selected;
[0013] The image information is parsed to obtain outer edge contour information, where the outer edge contour information includes geometric figures formed by connecting a plurality of straight lines or curves.
[0014] In a feasible implementation manner, based on the outer edge contour information, the step of determining the corner point information of the mechanical accessory to be selected in the image information includes:
[0015] Based on the outer edge contour information, determining the corner point information of the mechanical accessory to be selected in the image information;
[0016] Classifying the plurality of corner point information, wherein the convex corner point information is a first corner point, and the concave corner point information is a second corner point;
[0017] The number of first corner points, the number of second corner points, the distance between two adjacent corner points, and the arrangement relationship between the first corner points and the second corner points are counted.
[0018] In a feasible implementation manner, the step of matching the database based on the corner point information to obtain the accessory information corresponding to the to-be-selected mechanical accessory includes:
[0019] The number of first corner points, the number of second corner points, the distance between two adjacent corner points, and the arrangement relationship between the first corner points and the second corner points of the selected mechanical parts are matched with the parts database, and a screening is performed to obtain the first candidate parts information group.
[0020] In a feasible implementation manner, the step of obtaining the accessory information corresponding to the mechanical accessory to be selected further includes:
[0021] Obtain size information, weight information and keyword information of the mechanical parts to be selected;
[0022] The first candidate accessory information group is screened for the second time based on the size information, weight information and keyword information to obtain a second candidate accessory information group.
[0023] In a feasible implementation manner, the step of obtaining the accessory information corresponding to the mechanical accessory to be selected further includes:
[0024] Obtaining the application breadth information to be matched input by the user;
[0025] Based on the application breadth information, screening the second candidate accessory information group three times to obtain a third candidate accessory information group;
[0026] Wherein, each accessory information in the database includes application breadth information.
[0027] In a feasible implementation manner, the mechanical parts matching method further includes:
[0028] The third candidate accessory information group is displayed;
[0029] Selecting an accessory that matches the mechanical accessory to be selected from the displayed third candidate accessory information group;
[0030] When it is confirmed that the third candidate accessory information group does not include the to-be-selected mechanical accessory, the accessory information in the second candidate accessory information group except the third candidate accessory information group is displayed.
[0031] In a feasible implementation manner, the mechanical parts matching method further includes: updating the database, and the step of updating the database includes:
[0032] Accepting new accessory information sent by the merchant terminal, and storing the new accessory information in the database;
[0033] Based on the search frequency of accessories, the application breadth information of each accessory information is updated.
[0034] According to a second aspect of an embodiment of the present application, a mechanical parts matching system is provided. The mechanical parts matching system is applied to a mechanical parts matching method according to any of the above technical solutions. The mechanical parts matching system includes:
[0035] A server, a client terminal and a merchant terminal, wherein the client terminal and the merchant terminal are both communicatively connected to the server;
[0036] Wherein, the database is stored in the server;
[0037] The client terminal is used to send image information of the mechanical parts to be selected to the server;
[0038] The merchant terminal is used to send update data to the accessory database.
[0039] In a feasible implementation manner, the mechanical parts matching system x further includes: a contour recognition component, wherein the contour recognition component includes:
[0040] Base;
[0041] an elastic member, wherein the elastic member is arranged on the base;
[0042] A plurality of telescopic rods, wherein the plurality of telescopic rods are used to be arranged on the elastic member;
[0043] A processor, the processor being connected to the plurality of telescopic rods, and being used to determine the image information of the to-be-selected mechanical accessory based on the compression state of the telescopic rods;
[0044] The processor is also connected to the elastic member to determine the weight information of the mechanical accessory to be selected based on the deformation amount of the elastic member;
[0045] Wherein, in the case where the mechanical accessories to be selected are arranged on the plurality of telescopic rods, some of the telescopic rods compress the elastic member and the telescopic rods contract.
[0046] Compared with the prior art, the present invention includes at least the following beneficial effects: the mechanical parts matching method provided in the embodiment of the present application first constructs a database, and then when the user needs to confirm the size, model, manufacturer and other accessory information of the accessory, the image information of the accessory can be obtained, and then the outer edge contour of the image information is identified, and the corner point information of the mechanical parts to be selected is determined based on the outer edge contour, and finally the corner point information of the mechanical parts to be selected is matched with the database, so that the accessories can be quickly identified, and the accessory information of the mechanical parts to be selected can be determined, which is convenient for users to purchase the mechanical parts to be selected. The mechanical parts matching method provided in the embodiment of the present application, compared with the traditional technology of using image recognition, uses the corner point information on the outer edge contour of the parts for identification. The information formed by the combination of multiple corner points can be used as a set of identification codes. Comparing the identification code with the database can improve the comparison efficiency, and at the same time can improve the matching accuracy, greatly improving the efficiency of determining the accessory information of the mechanical parts to be selected. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0048] Figure 1 A schematic flowchart of the steps of a mechanical parts matching method according to an embodiment of the present application;
[0049] Figure 2 A schematic structural block diagram of a mechanical parts matching system according to an embodiment of the present application;
[0050] Figure 3 A schematic structural diagram of a contour recognition component of a mechanical parts matching system according to an embodiment of the present application from one angle;
[0051] Figure 4 A schematic structural diagram from another angle of a contour recognition component of a mechanical parts matching system according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to better understand the above-mentioned technical scheme, the technical scheme of the embodiments of the present application is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical scheme of the embodiments of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments may be combined with each other.
[0053] like Figure 1 As shown, according to a first aspect of an embodiment of the present application, a mechanical parts matching method is proposed, comprising:
[0054] Step 101: constructing an accessory database, wherein the database stores a plurality of accessory information;
[0055] Step 102: Obtain image information of the mechanical part to be selected, and obtain outer edge contour information based on the image information;
[0056] Step 103: determining the corner point information of the mechanical part to be selected in the image information based on the outer edge contour information;
[0057] Step 104: Based on the corner point information, matching is performed in the database to obtain the accessory information corresponding to the mechanical accessory to be selected.
[0058] The mechanical parts matching method provided in the embodiment of the present application first builds a database, and then when the user needs to confirm the size, model, manufacturer and other accessory information of the accessory, the image information of the accessory can be obtained, and then the outer edge contour of the image information is identified, and the corner point information of the mechanical parts to be selected is determined based on the outer edge contour. Finally, the corner point information of the mechanical parts to be selected is matched with the database, so that the accessories can be quickly identified and the accessory information of the mechanical parts to be selected can be determined, which is convenient for users to purchase the mechanical parts to be selected. Compared with the traditional technology of using image recognition, the mechanical parts matching method provided in the embodiment of the present application uses the corner point information on the outer edge contour of the parts for identification. The information formed by the combination of multiple corner points can be used as a set of identification codes. Comparing the identification code with the database can improve the comparison efficiency, and at the same time can improve the matching accuracy, which greatly improves the efficiency of determining the accessory information of the mechanical parts to be selected.
[0059] It can be understood that the selected mechanical parts are the parts that the user needs to replace. Taking an application scenario as an example, when a part of the user's mechanical equipment fails and needs to be replaced, the user cannot accurately know the model of the part and therefore cannot purchase it directly. In this case, the mechanical part matching method provided in the embodiment of the present application can be used to quickly determine the part information of the part, thereby improving the equipment maintenance efficiency.
[0060] In a feasible implementation manner, image information of a mechanical part to be selected is obtained, and the step of obtaining outer edge contour information based on the image information includes: when the mechanical part to be selected is in a natural placement state, image information of the largest appearance surface of the mechanical part to be selected is obtained; the image information is parsed to obtain outer edge contour information, and the outer edge contour information includes geometric figures formed by connecting multiple straight lines or curves.
[0061] In this technical solution, a step of obtaining outer edge contour information is further provided. This arrangement facilitates the collection of outer edge contour information and can better reflect the corner point information of the mechanical parts to be selected.
[0062] In a feasible implementation, the step of determining the corner point information of the mechanical accessories to be selected in the image information based on the outer edge contour information includes: determining the corner point information of the mechanical accessories to be selected in the image information based on the outer edge contour information; classifying multiple corner point information, wherein the convex corner point information is the first corner point, and the concave corner point is the second corner point; counting the number of first corner points, the number of second corner points, the distance between two adjacent corner points, and the arrangement relationship between the first corner point and the second corner point.
[0063] In this technical solution, specific steps for obtaining corner point information are further provided. Here, the corner points are divided into convex corner point information and concave corner points. Based on this, the corner point information includes information formed by the combination of multiple first corner points and second corner points. This group of information can be used as a matching identification code, and the accessory information in the database also includes corner point information. Therefore, the two groups of corner point information are compared to filter the accessory information in the database. Combined with the number of first corner points, the number of second corner points, the distance between two adjacent corner points, and the arrangement relationship between the first corner points and the second corner points, the matching accuracy can be further improved.
[0064] Taking the same application scenario as an example, assuming that the first corner point is A and the second corner point is B, the corner point information includes the matching code formed by the combination of A and B, and can also include the distance between A and B. Based on this, when matching through the database, the matching efficiency and matching accuracy can be improved.
[0065] It can be understood that the inflection point where the internal angle is less than 180° is the first inflection point, and the inflection point where the internal angle is greater than 180° is the second inflection point.
[0066] In a feasible implementation, based on the corner point information, the step of matching in the database to obtain the accessory information corresponding to the selected mechanical accessory includes: matching the number of the first corner points, the number of the second corner points, the distance between two adjacent corner points, and the arrangement relationship between the first corner points and the second corner points of the selected mechanical accessory with the accessory database, performing a screening, and obtaining the first candidate accessory information group. This setting can improve the efficiency of database matching and the matching accuracy.
[0067] In a feasible implementation, the step of obtaining accessory information corresponding to the mechanical accessory to be selected also includes: obtaining size information, weight information and keyword information of the mechanical accessory to be selected; performing a second screening on the first candidate accessory information group based on the size information, weight information and keyword information to obtain a second candidate accessory information group.
[0068] In this technical solution, it is taken into consideration that if matching is performed only through corner point information, a large number of results may be output in the database. In this case, it is difficult for the user to confirm the matching information. Therefore, a secondary screening can be performed based on the size information, weight information and keyword information of the selected mechanical accessories to further improve the screening accuracy.
[0069] It is understandable that the keyword information may be input by the user, such as the name of the mechanical part to be selected by the user, the application method, etc.
[0070] In a feasible implementation, the step of obtaining accessory information corresponding to the mechanical accessory to be selected also includes: obtaining application breadth information to be matched input by the user; performing a third screening on the second candidate accessory information group based on the application breadth information to obtain a third candidate accessory information group; wherein each accessory information in the database includes application breadth information.
[0071] In this technical solution, after the second screening, there may still be a large number of matching results. In this case, a third screening can be performed. The third screening can be based on the user's wishes. The user can enter the application breadth information of the accessory to be matched. If the user believes that the accessory is widely used, the value of the application breadth information to be matched is higher. Based on this, the third screening is performed based on the application breadth information to be matched, which can further improve the matching accuracy. In particular, it is helpful to quickly filter out the accessory information of accessories with relatively few applications.
[0072] In a feasible implementation, the mechanical parts matching method also includes: displaying a third candidate parts information group; selecting parts corresponding to the mechanical parts to be selected from the displayed third candidate parts information group; and displaying the parts information in the second candidate parts information group except for the third candidate parts information group when it is confirmed that the third candidate parts information group does not contain the mechanical parts to be selected.
[0073] After the third candidate accessory information group is obtained, the third candidate accessory information group may be displayed, and the user may select accessory information matching the to-be-selected mechanical accessory based on the display result, thereby improving recognition efficiency.
[0074] Of course, considering that the third screening is based on the user-input information on the breadth of applications to be matched, there may be deviations in the third screening. When the accessory information matching the mechanical accessory to be selected cannot be obtained based on the third candidate accessory information group, the accessory information in the second candidate accessory information group except the third candidate accessory information group can be displayed to obtain the accessory information matching the mechanical accessory to be selected.
[0075] In a feasible implementation, the mechanical parts matching method further includes: updating the database, the step of updating the database includes: receiving new parts information sent by the merchant terminal, storing the new parts information in the database; based on the search frequency of the parts, updating the application breadth information of each part information.
[0076] In this technical solution, a method for updating the database is further provided. The mechanical parts matching method provided in the embodiment of the present application can serve merchants and users. When new parts are produced, merchants can submit an application to the database to enter the new parts information into the database.
[0077] In this technical solution, considering that the third screening is determined based on the application breadth information to be matched input by the user, the application breadth information of the accessory information stored in the database can be updated based on the user's search frequency to achieve dynamic update of the database storage information, so that the application breadth information stored in the database can be adapted to the user's expectations.
[0078] It is understandable that when updating the database, the data updating method in traditional technology can also be adopted simultaneously, such as updating the database through deep learning.
[0079] It is understandable that how to build a database is a conventional technical means in this field, for example, a database can be built through tools such as Navicat for MySQL, MySQL Workbench, ER / Studio, etc.
[0080] It is understandable that, in addition to information that serves to match the selected mechanical parts, the parts information may also include model information, manufacturer information, and other information that can facilitate users to purchase the parts.
[0081] like Figures 2 to 4 As shown, according to the second aspect of the embodiment of the present application, a mechanical parts matching system is proposed. The mechanical parts matching system is applied to the mechanical parts matching method such as any of the above-mentioned technical solutions. The mechanical parts matching system includes: a server 220, a client terminal 210 and a merchant terminal 230, and the client terminal 210 and the merchant terminal 230 are both communicatively connected to the server 220; wherein the database is stored in the server 220; the client terminal 210 is used to send image information of the mechanical parts to be selected to the server 220; and the merchant terminal 230 is used to send update data to the parts database.
[0082] It can be understood that the mechanical parts matching system provided in the embodiment of the present application is used to implement the mechanical parts matching method as any of the above-mentioned technical solutions, so the mechanical parts matching system has far more beneficial effects than the mechanical parts matching method of the above-mentioned technical solutions.
[0083] The mechanical parts matching system provided in the embodiment of the present application can serve users and merchants, and provide a platform for both parties who need to purchase and sell parts.
[0084] Through the mechanical parts matching system provided by the embodiment of the present application, the server 220 first builds a database, and then when the user needs to confirm the size, model, manufacturer and other accessory information of the accessory, the image information of the accessory can be obtained through the user terminal, and then the server 220 identifies the outer edge contour of the image information, determines the corner point information of the mechanical parts to be selected based on the outer edge contour, and finally matches the corner point information of the mechanical parts to be selected with the database, so that the accessories can be quickly identified and the accessory information of the mechanical parts to be selected can be determined, which is convenient for users to purchase the mechanical parts to be selected. The accessory information may include the contact information of the merchant terminal 230. Compared with the traditional technology of using image recognition, the mechanical parts matching method provided by the embodiment of the present application uses the corner point information on the outer edge contour of the parts for identification. The information formed by the combination of multiple corner points can be used as a set of identification codes. Comparing the identification code with the database can improve the comparison efficiency, and at the same time can improve the matching accuracy, which greatly improves the efficiency of determining the accessory information of the mechanical parts to be selected.
[0085] like Figure 3 and Figure 4As shown, in a feasible embodiment, the mechanical parts matching system also includes: a contour recognition component 240, the contour recognition component 240 includes: a base 241; an elastic member 242, the elastic member 242 is arranged on the base 241; a plurality of telescopic rods 243, the plurality of telescopic rods 243 are used to be arranged on the elastic member 242; a processor, the processor is connected to the plurality of telescopic rods 243, and is used to determine the image information of the mechanical parts to be selected based on the compression state of the telescopic rods 243; the processor is also connected to the elastic member 242 to determine the weight information of the mechanical parts to be selected based on the deformation amount of the elastic member 242; wherein, when the mechanical parts to be selected are arranged on the plurality of telescopic rods 243, some of the telescopic rods 243 compress the elastic member 242, and the telescopic rods 243 shrink.
[0086] In this technical solution, the mechanical parts matching system may further include a contour recognition component. The contour recognition component can be used by the user end as a hardware device to confirm the image information of the mechanical parts to be selected as soon as possible. During use, the user can set the mechanical parts to be selected on multiple telescopic rods of the contour recognition component. Some of the telescopic rods compress the parts and apply pressure to the elastic parts to achieve sinking. The processor can determine the image information of the mechanical parts to be selected based on the sinking state of the telescopic rods, and can determine the weight information of the mechanical parts to be selected based on the deformation state of the elastic parts. Based on this, the solution of taking pictures to obtain image information by the image acquisition device can be replaced, which can make the determination of the outer edge contour information more accurate, and can also obtain weight information, which can further improve the recognition efficiency and make the determination of the outer edge contour information more standardized.
[0087] In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance; the term "plurality" refers to two or more, unless otherwise clearly defined. The terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; "connected" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0088] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by terms such as “upper”, “lower”, “left”, “right”, “front” and “back” are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific direction, be constructed and operated in a specific orientation, and therefore, cannot be understood as a limitation on the present invention.
[0089] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0090] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A mechanical parts matching method, characterized in that: include: Building an accessory database, wherein the database stores information of multiple accessories; Acquire image information of the mechanical part to be selected, and acquire outer edge contour information based on the image information; Based on the outer edge contour information, determining the corner point information of the mechanical accessory to be selected in the image information; Based on the corner point information, matching is performed in the database to obtain accessory information corresponding to the mechanical accessory to be selected; Wherein, based on the outer edge contour information, the step of determining the corner point information of the mechanical part to be selected in the image information comprises: Classifying the plurality of corner point information, wherein the convex corner point information is a first corner point, and the concave corner point information is a second corner point; Counting the number of first corner points, the number of second corner points, the distance between two adjacent corner points, and the arrangement relationship between the first corner points and the second corner points; Wherein, the step of matching the database based on the corner point information to obtain the accessory information corresponding to the to-be-selected mechanical accessory comprises: The number of first corner points, the number of second corner points, the distance between two adjacent corner points, and the arrangement relationship between the first corner points and the second corner points of the selected mechanical parts are matched with the parts database, and a screening is performed to obtain the first candidate parts information group.
2. The mechanical parts matching method according to claim 1, characterized in that: The step of obtaining image information of the selected mechanical parts and obtaining the outer edge contour information based on the image information comprises: When the mechanical part to be selected is in a naturally placed state, obtaining image information of the largest appearance surface of the mechanical part to be selected; The image information is parsed to obtain outer edge contour information, where the outer edge contour information includes geometric figures formed by connecting a plurality of straight lines or curves.
3. The mechanical parts matching method according to claim 1, characterized in that: The step of obtaining the accessory information corresponding to the mechanical accessory to be selected also includes: Obtain size information, weight information and keyword information of the mechanical parts to be selected; The first candidate accessory information group is screened for the second time based on the size information, weight information and keyword information to obtain a second candidate accessory information group.
4. The mechanical parts matching method according to claim 3, characterized in that: The step of obtaining the accessory information corresponding to the mechanical accessory to be selected also includes: Obtaining the application breadth information to be matched input by the user; performing a third screening on the second candidate accessory information group based on the application breadth information to obtain a third candidate accessory information group; Wherein, each accessory information in the database includes application breadth information.
5. The mechanical parts matching method according to claim 4, characterized in that: Also includes: The third candidate accessory information group is displayed; Selecting an accessory that matches the mechanical accessory to be selected from the displayed third candidate accessory information group; When it is confirmed that the third candidate accessory information group does not include the to-be-selected mechanical accessory, the accessory information in the second candidate accessory information group except the third candidate accessory information group is displayed.
6. The mechanical parts matching method according to any one of claims 1 to 5, characterized in that: Also includes: Updating the database, the step of updating the database comprising: Accepting new accessory information sent by the merchant terminal, and storing the new accessory information in the database; Based on the search frequency of accessories, the application breadth information of each accessory information is updated.
7. A mechanical parts matching system, characterized in that: The mechanical parts matching system is applied to the mechanical parts matching method as claimed in any one of claims 1 to 6, and the mechanical parts matching system comprises: A server, a client terminal and a merchant terminal, wherein the client terminal and the merchant terminal are both communicatively connected to the server; Wherein, the database is stored in the server; The client terminal is used to send image information of the mechanical parts to be selected to the server; The merchant terminal is used to send update data to the accessory database.
8. The mechanical parts matching system according to claim 7, characterized in that: Also includes: A contour recognition component, the contour recognition component comprising: Base; an elastic member, wherein the elastic member is arranged on the base; A plurality of telescopic rods, wherein the plurality of telescopic rods are used to be arranged on the elastic member; A processor, the processor being connected to the plurality of telescopic rods, and being used to determine the image information of the to-be-selected mechanical accessory based on the compression state of the telescopic rods; The processor is also connected to the elastic member to determine the weight information of the mechanical accessory to be selected based on the deformation amount of the elastic member; Wherein, in the case where the mechanical accessories to be selected are arranged on the plurality of telescopic rods, some of the telescopic rods compress the elastic member and the telescopic rods contract.