Identification processing method and device, storage medium and electronic equipment

By projected the reference position and the length of the original standard on the arc surface of the product processing mold, use the arc discharge identification and determine the compression ratio, solve the problem of inaccurate size and neatness of the identifier, realize the accuracy and neatness of the identifier size, Essence

CN119378255APending Publication Date: 2025-01-28SHANDONG HAOQUAN SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411529999.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

When projecting marks on the arc surface of product processing molds, the prior art is difficult to ensure the accuracy and neatness of marking dimensions, especially when markings are arranged along the circumference, joint marks and dimensional errors are prone to occur.

Method used

By obtaining the preset benchmark position and the length of the original standard of the identification plane, projected along the preset projection direction to the target arc surface, obtain the projection benchmark position, and arrange the identification in the form of the arc on the target arc to ensure the arc to ensure the arc. The arc length is equal to the length of the original standard. Then, the projection length of the arc -based projection length determines the identification compression ratio, and compresses the original logo in the identifier compression direction to ensure that the size of the projection identification meets the design requirements.

Benefits of technology

The entire identification of one -time discharge on the target curved surface is achieved, the connection and size errors are avoided, and the size of the projection logo meets the design requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119378255A_ABST
    Figure CN119378255A_ABST
Patent Text Reader

Abstract

The invention relates to an identifier processing method and device, a storage medium and electronic equipment. The identification processing method comprises the following steps: acquiring a preset reference position on an identification plane and an original identification length between at least one identification point of an original identification and the preset reference position; projecting the preset reference position to a target cambered surface along a preset projection direction to obtain a projection reference position; making an arc line on the target cambered surface along the bending direction of the target cambered surface by taking the projection reference position as a starting point; based on the original identification length and the projection length of the arc line on a preset plane in the preset projection direction, an identification compression ratio is determined, and the preset plane is parallel to or coincides with the identification plane; and based on the identifier compression ratio, compressing the original identifier in the identifier compression direction. According to the technical scheme, the marks on the whole target cambered surface can be arranged at a time, and the sizes of the marks projected to the target cambered surface meet design requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of mold manufacturing, and in particular to a marking processing method, device, storage medium and electronic equipment. Background Art

[0002] With the development of modern industry, higher requirements are put forward for the manufacturing of product processing molds. Molding text and patterns on the surface of products can effectively improve the competitiveness of products. There are many products whose text and patterns are arranged on the curved surface of products, which requires product processing molds to arrange and process the logo on the corresponding curved surface.

[0003] At present, after the logo is arranged according to the target logo style and size in the plane design drawing, when it is vertically projected onto the curved surface of the product processing mold, Figure 1 As shown in the figure, a certain dimension of the logo (such as height) is stretched from H to L, and due to the existence of curvature, the actual processed logo size is more severely deformed and does not meet the design requirements. In order to ensure that the logo size projected onto the curved surface meets the requirements, the flat logo needs to be compressed before being projected onto the curved surface.

[0004] In related technologies, such as Figure 2 As shown, the original logo is rotated according to the normal angle of the arc surface to obtain the rotated logo; the rotated logo is projected onto the arc surface along the normal line direction to obtain the projected logo on the arc surface; the projected logo is vertically projected onto the logo plane to obtain the compressed logo, thereby obtaining the compression ratio. However, when the logo is arranged along the circumference and the logo compression direction is in the radial direction of the circumference, this method depends on the radial direction and cannot arrange the entire circle of logos at the same time. The logo needs to be cut into many parts, compressed and projected, and then spliced, but joint marks will appear, which does not meet the design requirements; and due to the curvature of the arc surface, there is still a certain error in the size of the rotated logo and the projected logo on the arc surface, resulting in a certain error in the size of the processed logo and the design requirements. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides a marking processing method, device, storage medium and electronic device to arrange the markings on the entire target curved surface at one time and make the size of the markings projected onto the target curved surface meet the design requirements.

[0006] The present disclosure provides a method for processing an identification, comprising:

[0007] Acquire a preset reference position on the marking plane, and an original marking length between at least one marking point of the original marking and the preset reference position, wherein the preset reference position overlaps with the original marking, and the original marking length is the length along the marking compression direction and is greater than 0;

[0008] Projecting the preset reference position onto the target curved surface along a preset projection direction to obtain a projection reference position;

[0009] Taking the projection reference position as the starting point, draw an arc on the target arc surface along the curvature direction of the target arc surface, wherein the position of the arc relative to the projection reference position is the same as the position of the corresponding marking point relative to the preset reference position, and the arc length of the arc is equal to the original marking length corresponding to the corresponding marking point;

[0010] Determine the logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on a preset plane, wherein the preset plane is parallel to or coincides with the logo plane;

[0011] Based on the identifier compression ratio, the original identifier is compressed in the identifier compression direction.

[0012] In some embodiments, the preset reference position divides the original mark into a first mark portion and a second mark portion in the mark compression direction, and the original mark length includes a first mark length and a second mark length; obtaining the original mark length between at least one mark point of the original mark and the preset reference position includes:

[0013] Acquire at least one pair of identification points, wherein the identification point pair includes a first identification point on the first identification portion and a second identification point on the second identification portion;

[0014] The length between the first marking point and the preset reference position along the marking compression direction is determined as the first marking length, and the length between the second marking point and the preset reference position along the marking compression direction is determined as the second marking length.

[0015] In some embodiments, the arc includes a first arc and a second arc, the position of the first arc relative to the projection reference position is the same as the position of the first identification point relative to the preset reference position, and the arc length of the first arc is equal to the first identification length; the position of the second arc relative to the projection reference position is the same as the position of the second identification point relative to the preset reference position, and the arc length of the second arc is equal to the second identification length.

[0016] In some embodiments, determining the logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on a preset plane includes:

[0017] Determine a first projection point of the end point of the first arc on the preset plane along the preset projection direction, and a second projection point of the end point of the second arc on the preset plane along the preset projection direction;

[0018] Determine the length between the first projection point and the second projection point along the marked compression direction as the projection length;

[0019] The ratio of the projection length to the sum of the first identification length and the second identification length is used as the identification compression ratio.

[0020] In some embodiments, compressing the original identifier in the identifier compression direction based on the identifier compression ratio includes:

[0021] The preset reference position is kept unchanged, and the original mark is compressed in the mark compression direction toward the preset reference position.

[0022] In some embodiments, before obtaining the preset reference position on the marking plane and the original marking length between at least one marking point of the original marking and the preset reference position, the method further includes:

[0023] The original identification is discretized to obtain a plurality of identification points.

[0024] In some embodiments, after compressing the original identifier in the identifier compression direction based on the identifier compression ratio, the method further includes:

[0025] Projecting a new mark obtained by compressing the original mark onto the target curved surface along the preset projection direction;

[0026] Based on the projection of the new mark on the target curved surface, the new mark is processed on the target curved surface.

[0027] The present disclosure provides a marking processing device, comprising:

[0028] A first parameter acquisition module is used to acquire a preset reference position on the marking plane, and an original marking length between at least one marking point on the marking in the marking compression direction and the preset reference position, wherein the preset reference position intersects the marking, and the original marking length is greater than 0;

[0029] A second parameter acquisition module is used to project the preset reference position onto a target curved surface along a preset projection direction to obtain a projection reference position;

[0030] An arc generation module, used for drawing an arc on the target arc surface along the curvature direction of the target arc surface with the projection reference position as the starting point, wherein the position of the arc relative to the projection reference position is the same as the position of the corresponding identification point relative to the preset reference position, and the arc length of the arc is equal to the original identification length corresponding to the corresponding identification point;

[0031] A compression ratio determination module, used to determine the logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on the logo plane;

[0032] The identifier compression module is used to compress the identifier in the identifier compression direction based on the identifier compression ratio.

[0033] The present disclosure also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute the steps of any of the above methods.

[0034] The present disclosure also provides an electronic device, comprising:

[0035] one or more processors;

[0036] A memory for storing one or more programs or instructions;

[0037] The processor is used to execute the steps of any of the above methods by calling the program or instruction stored in the memory.

[0038] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0039] The technical solution provided by the embodiment of the present disclosure is to project the preset reference position on the identification plane onto the target arc surface along the preset projection direction to obtain the projection reference position, and to draw an arc on the target arc surface along the curvature direction of the target arc surface with the projection reference position as the starting point, and the arc length is equal to the original identification length between the identification point of the original identification on the identification plane and the preset reference position, so that the arc is projected on a preset plane parallel to or overlapping with the identification plane along the preset projection direction to obtain the length from the identification point of the compressed original identification to the preset reference position, that is, the projection length. Thus, the identification compression ratio is determined based on the original identification length and the projection length, and the original identification is compressed in the identification compression direction based on the identification compression ratio, so that when the compressed identification is projected onto the target arc surface along the preset projection direction, the length of the projected identification in the curvature direction of the target arc surface is equal to the length of the original identification in the identification compression direction (that is, the original identification length). Therefore, the technical solution of the present disclosure can make the identification size projected onto the target arc surface meet the design requirements. Furthermore, the technical solution disclosed in the present invention determines the logo compression ratio by relying on the preset projection direction when projecting the logo. Even if the logos are arranged along a circle, it is unrelated to the radial direction of the circle. It is only necessary to project the logos compressed on the logo plane simultaneously along the preset projection direction onto the target arc surface according to the logo compression ratio, so that the logos on the entire target arc surface can be arranged at one time to avoid joint marks. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0042] Figure 1 It is a schematic diagram of projecting a logo onto a curved surface in the related art;

[0043] Figure 2 It is a schematic diagram of the principle of a planar logo compression method in the related art;

[0044] Figure 3 A flowchart of a method for processing identification provided by an embodiment of the present disclosure;

[0045] Figure 4 A schematic diagram of the principle of a planar logo compression method provided by an embodiment of the present disclosure;

[0046] Figure 5 A structural block diagram of an identification processing device provided in an embodiment of the present disclosure;

[0047] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0048] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0050] Figure 3 This is a flow chart of a method for processing a logo provided by an embodiment of the present disclosure. This method is applicable to the case where logos on a logo plane are compressed when typeset logos such as text and / or patterns on a curved surface, and can be applied to the processing of logos on curved surfaces of product processing molds (such as tire side panels). This method can be executed by a logo processing device, which can be implemented in software and / or hardware. Figure 3 As shown, the method comprises the following steps:

[0051] S110, obtaining a preset reference position on the marking plane, and an original marking length between at least one marking point of the original marking and the preset reference position.

[0052] Among them, the preset reference position overlaps with the original mark, and the length of the original mark is the length along the mark compression direction and is greater than 0.

[0053] The original logo is arranged on the logo plane according to the design requirements. The original logo can be text or pattern. The logo plane can be arranged with only text, only pattern, or both text and pattern, depending on the design requirements. The preset reference position is pre-set by the designer as the reference of the identification point on the original logo, and the logo plane is matched with the target arc surface through projection to the target arc surface, so that the identification point on the logo plane is accurately projected on the target arc surface.

[0054] In addition, the overlap of the preset reference position and the original mark should be understood as the overlap of the preset reference position and the area where the original mark is located. Along the mark compression direction, the preset reference position can be located at one end of the original mark or between the two ends of the original mark. In some embodiments, when the preset reference position is located at one end of the original mark, any point on the original mark except the preset reference position can be selected as the mark point, and the length between the mark point and the preset reference position is taken as the original mark length. In other embodiments, when the preset reference position is located between the two ends of the original mark, a mark point can be selected on both sides of the preset reference position, and the sum of the lengths between the two mark points and the preset reference position is taken as the original mark length.

[0055] Exemplarily, for the case where the preset reference position is located between the two ends of the original marker, the preset reference position divides the original marker into a first marker part and a second marker part in the marker compression direction, and the original marker length includes the first marker length and the second marker length; obtaining the original marker length between at least one marker point of the original marker and the preset reference position includes: obtaining at least one pair of marker point pairs, wherein the marker point pair includes a first marker point on the first marker part and a second marker point on the second marker part; determining the length between the first marker point and the preset reference position along the marker compression direction as the first marker length, and the length between the second marker point and the preset reference position along the marker compression direction as the second marker length.

[0056] S120, projecting the preset reference position onto the target arc surface along a preset projection direction to obtain a projection reference position.

[0057] The preset projection direction can be perpendicular to the identification plane, or intersect with the identification plane but not perpendicular, and is set according to the actual projection requirements. The projection reference position is obtained by projecting the preset reference position, thereby establishing the corresponding relationship between the identification plane and the target arc surface, and then determining the projection position of the identification point on the target arc surface that meets the design requirements based on the projection reference position on the target arc surface.

[0058] S130, taking the projection reference position as the starting point, making an arc on the target arc surface along the curvature direction of the target arc surface.

[0059] The position of the arc relative to the projection reference position is the same as the position of the corresponding identification point relative to the preset reference position, and the arc length of the arc is equal to the original identification length corresponding to the corresponding identification point. For example, if the identification point on the identification plane is located on the left side of the preset reference position, then the corresponding arc on the target arc surface is also located on the left side of the projection reference position, and the arc length of the arc is equal to the original identification length corresponding to the corresponding identification point, so that the projection position of the identification point on the target arc surface meets the design requirements.

[0060] Exemplarily, based on S110, the arc includes a first arc and a second arc, the position of the first arc relative to the projection reference position is the same as the position of the first identification point relative to the preset reference position, and the arc length of the first arc is equal to the first identification length; the position of the second arc relative to the projection reference position is the same as the position of the second identification point relative to the preset reference position, and the arc length of the second arc is equal to the second identification length. In the case where the identification point pair includes a first identification point on the first identification part and a second identification point on the second identification part, the first arc and the second arc are made on the target arc surface respectively in the above manner, so that the end point of the first arc corresponds to the projection position of the first identification point on the target arc surface that meets the design requirements, and the end point of the second arc corresponds to the projection position of the second identification point on the target arc surface that meets the design requirements.

[0061] S140: Determine a logo compression ratio based on the original logo length and the projection length of the arc along a preset projection direction on a preset plane.

[0062] Among them, the preset plane is parallel to or coincides with the identification plane.

[0063] Exemplarily, based on the original logo length and the projection length of the arc along the preset projection direction on the preset plane, the logo compression ratio is determined, including: determining a first projection point of the end point of the first arc on the preset plane along the preset projection direction, and a second projection point of the end point of the second arc on the preset plane along the preset projection direction; determining the length between the first projection point and the second projection point along the logo compression direction as the projection length; and taking the ratio of the projection length to the sum of the first logo length and the second logo length as the logo compression ratio.

[0064] It should be noted that multiple identification point pairs can be obtained to obtain multiple identification compression ratios, and the average of the multiple identification compression ratios is taken as the final identification compression ratio to further reduce the error.

[0065] S150: compress the original logo in the logo compression direction based on the logo compression ratio.

[0066] In some embodiments, based on the logo compression ratio, the original logo is compressed in the logo compression direction, including: keeping the preset reference position unchanged, and compressing the original logo in the logo compression direction toward the preset reference position. Exemplarily, along the logo compression direction, the preset reference position is located between the two ends of the original logo. At this time, when compressing the original logo, the preset reference position is kept unchanged, and the original logo is compressed from one end of the original logo to the preset reference position according to the logo compression ratio, and at the same time, the original logo is compressed from the other end of the original logo to the preset reference position according to the logo compression ratio, so as to achieve compression of the original logo. As a result, each logo is compressed based on the preset reference position, so that the arrangement of the compressed logos is more neat.

[0067] Based on the above technical solution, in a specific embodiment of the present disclosure, for the tire side plate, it is necessary to project the logo on the logo plane onto the curved surface of the tire side plate and perform logo processing; for the tire side plate, it is necessary to compress the logo on the logo plane in height. Figure 4 , the height of the original mark is H, the preset reference position O is selected, and the marking points at both ends of the original mark are obtained in the height direction, namely, the marking point A and the marking point B. In the height direction, the length between the marking point A and the preset reference position O is H1, and the length between the marking point B and the preset reference position O is H2. The preset reference position O is vertically projected onto the arc surface of the tire side plate to obtain the projection reference position o. On the arc surface of the tire side plate, with the projection reference position o as the starting point, an arc oa with an arc length of L1 is made on the corresponding side of the marking point A, and L1 is equal to H1. With the projection reference position o as the starting point, an arc ob with an arc length of L2 is made on the corresponding side of the marking point B, and L2 is equal to H2. The arc oa and the arc ob are vertically projected onto a preset plane parallel to the marking plane, and the projection point a' of point a and the projection point b' of point b are obtained on the preset plane, thereby obtaining the length h between the projection point a' and the projection point b' in the height direction, and then the marking compression ratio is obtained based on H and h as h / H.

[0068] In summary, the identification processing method provided by the embodiment of the present disclosure projects the preset reference position on the identification plane onto the target arc surface along the preset projection direction to obtain the projection reference position, and on the target arc surface, an arc is made on the target arc surface along the curvature direction of the target arc surface with the projection reference position as the starting point, and the arc length is equal to the original identification length between the identification point of the original identification on the identification plane and the preset reference position, so that the arc is projected on a preset plane parallel to or overlapping with the identification plane along the preset projection direction, and the length from the identification point of the compressed original identification to the preset reference position, i.e., the projection length, can be obtained. Thus, the identification compression ratio is determined based on the original identification length and the projection length, and the original identification is compressed in the identification compression direction based on the identification compression ratio, so that when the compressed identification is projected onto the target arc surface along the preset projection direction, the length of the projected identification in the curvature direction of the target arc surface is equal to the length of the original identification in the identification compression direction (i.e., the original identification length). Therefore, the technical solution of the present disclosure can make the identification size projected onto the target arc surface meet the design requirements. Furthermore, the technical solution disclosed in the present invention determines the logo compression ratio by relying on the preset projection direction when projecting the logo. Even if the logos are arranged along a circle, it is unrelated to the radial direction of the circle. It is only necessary to project the logos compressed on the logo plane simultaneously along the preset projection direction onto the target arc surface according to the logo compression ratio, so that the logos on the entire target arc surface can be arranged at one time to avoid joint marks.

[0069] In some embodiments, before obtaining the preset reference position on the identification plane and the original identification length between at least one identification point of the original identification and the preset reference position, the method further includes: discretizing the original identification to obtain multiple identification points. In this way, by discretizing the original identification into multiple identification points, it is easy to identify and obtain the identification points.

[0070] In some embodiments, after compressing the original logo in the logo compression direction based on the logo compression ratio, the method also includes: projecting the new logo obtained after compressing the original logo onto the target arc surface along a preset projection direction; based on the projection of the new logo on the target arc surface, processing the new logo on the target arc surface.

[0071] Corresponding to the identification processing method provided by the embodiment of the present disclosure, the embodiment of the present disclosure also provides an identification processing device. Figure 5 A structural block diagram of the identification processing device provided in the embodiment of the present disclosure, such as Figure 5 As shown, the identification processing device includes:

[0072] A first parameter acquisition module 21 is used to acquire a preset reference position on the marking plane and an original marking length between at least one marking point on the marking in the marking compression direction and the preset reference position, wherein the preset reference position intersects the marking and the original marking length is greater than 0;

[0073] A second parameter acquisition module 22 is used to project the preset reference position onto the target curved surface along a preset projection direction to obtain a projection reference position;

[0074] The arc generation module 23 is used to draw an arc on the target arc surface along the curvature direction of the target arc surface with the projection reference position as the starting point, wherein the position of the arc relative to the projection reference position is the same as the position of the corresponding mark point relative to the preset reference position, and the arc length is equal to the original mark length corresponding to the corresponding mark point;

[0075] A compression ratio determination module 24, used to determine the logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on the logo plane;

[0076] The identifier compression module 25 is used to compress the identifier in the identifier compression direction based on the identifier compression ratio.

[0077] In some embodiments, the preset reference position divides the original mark into a first mark portion and a second mark portion in the mark compression direction, and the original mark length includes the first mark length and the second mark length; the first parameter acquisition module 21 is specifically used for:

[0078] Acquire at least one pair of identification points, wherein the identification point pair includes a first identification point on the first identification portion and a second identification point on the second identification portion;

[0079] The length between the first marking point and the preset reference position along the marking compression direction is determined as the first marking length, and the length between the second marking point and the preset reference position along the marking compression direction is determined as the second marking length.

[0080] In some embodiments, the arc includes a first arc and a second arc, the position of the first arc relative to the projection reference position is the same as the position of the first identification point relative to the preset reference position, and the arc length of the first arc is equal to the first identification length; the position of the second arc relative to the projection reference position is the same as the position of the second identification point relative to the preset reference position, and the arc length of the second arc is equal to the second identification length.

[0081] In some embodiments, the compression ratio determination module 24 is specifically configured to:

[0082] Determine a first projection point of an end point of the first arc on a preset plane along a preset projection direction, and a second projection point of an end point of the second arc on a preset plane along the preset projection direction;

[0083] Determine the length between the first projection point and the second projection point along the marked compression direction as the projection length;

[0084] The ratio of the projection length to the sum of the first identification length and the second identification length is taken as the identification compression ratio.

[0085] In some embodiments, the identification compression module 25 is specifically used to:

[0086] Keep the preset reference position unchanged and compress the original logo in the logo compression direction toward the preset reference position.

[0087] In some embodiments, the identification processing device also includes an identification discretization module, which is used to discretize the original identification to obtain multiple identification points before obtaining a preset reference position on the identification plane and the original identification length between at least one identification point of the original identification and the preset reference position.

[0088] In some embodiments, the identification processing device also includes an identification processing module, which is used to compress the original identification in the identification compression direction based on the identification compression ratio, and then project the new identification obtained after compressing the original identification onto the target arc surface along a preset projection direction; based on the projection of the new identification on the target arc surface, process the new identification on the target arc surface.

[0089] The identification processing device disclosed in the above embodiments can execute the identification processing method disclosed in the above embodiments, and has the same or corresponding beneficial effects. To avoid repetition, it will not be described again here.

[0090] The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction enables a computer to execute the steps of any of the above methods.

[0091] Exemplarily, the program or instruction enables a computer to execute an identification processing method, the method comprising:

[0092] Obtaining a preset reference position on the marking plane, and an original marking length between at least one marking point of the original marking and the preset reference position, wherein the preset reference position overlaps with the original marking, and the original marking length is the length along the marking compression direction and is greater than 0;

[0093] Projecting the preset reference position onto the target arc surface along the preset projection direction to obtain the projection reference position;

[0094] Taking the projection reference position as the starting point, draw an arc on the target arc surface along the curvature direction of the target arc surface, wherein the position of the arc relative to the projection reference position is the same as the position of the corresponding mark point relative to the preset reference position, and the length of the arc is equal to the original mark length corresponding to the corresponding mark point;

[0095] Determine the logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on the preset plane, and the preset plane is parallel to or coincides with the logo plane;

[0096] Based on the logo compression ratio, the original logo is compressed in the logo compression direction.

[0097] Optionally, when executed by a computer processor, the computer executable instructions can also be used to execute the technical solution of any of the above-mentioned identification processing methods provided in the embodiments of the present disclosure to achieve corresponding beneficial effects.

[0098] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the embodiments of the present disclosure can be implemented with the help of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the embodiments of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0099] The embodiment of the present disclosure also provides an electronic device, including: one or more processors; a memory for storing one or more programs or instructions; the processor calls the programs or instructions stored in the memory to execute the steps of any of the above methods to achieve corresponding beneficial effects.

[0100] Figure 6 Schematic diagram of the hardware structure of the electronic device provided by the embodiment of the present disclosure. Figure 6 As shown, the electronic device includes one or more processors 301 and a memory 302 .

[0101] The processor 301 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0102] The memory 302 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may run the program instructions to implement the identification processing method of the embodiment of the present disclosure described above, and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0103] In one example, the electronic device may further include: an input device 303 and an output device 304, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0104] In addition, the input device 303 may also include, for example, a keyboard, a mouse, and the like.

[0105] The output device 304 can output various information to the outside, including the determined distance information, direction information, etc. The output device 304 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0106] Of course, to simplify, Figure 6 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.

[0107] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0108] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing a mark, characterized in that: include: Acquire a preset reference position on the marking plane, and an original marking length between at least one marking point of the original marking and the preset reference position, wherein the preset reference position overlaps with the original marking, and the original marking length is the length along the marking compression direction and is greater than 0; Projecting the preset reference position onto the target curved surface along a preset projection direction to obtain a projection reference position; Taking the projection reference position as the starting point, draw an arc on the target arc surface along the curvature direction of the target arc surface, wherein the position of the arc relative to the projection reference position is the same as the position of the corresponding marking point relative to the preset reference position, and the arc length of the arc is equal to the original marking length corresponding to the corresponding marking point; Determine the logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on a preset plane, wherein the preset plane is parallel to or coincides with the logo plane; Based on the identifier compression ratio, the original identifier is compressed in the identifier compression direction.

2. The method according to claim 1, characterized in that The preset reference position divides the original mark into a first mark portion and a second mark portion in the mark compression direction, and the original mark length includes a first mark length and a second mark length; Obtaining the original mark length between at least one mark point of the original mark and the preset reference position includes: Acquire at least one pair of identification points, wherein the identification point pair includes a first identification point on the first identification portion and a second identification point on the second identification portion; The length between the first marking point and the preset reference position along the marking compression direction is determined as the first marking length, and the length between the second marking point and the preset reference position along the marking compression direction is determined as the second marking length.

3. The method according to claim 2, characterized in that The arc includes a first arc and a second arc, the position of the first arc relative to the projection reference position is the same as the position of the first identification point relative to the preset reference position, and the arc length of the first arc is equal to the first identification length; the position of the second arc relative to the projection reference position is the same as the position of the second identification point relative to the preset reference position, and the arc length of the second arc is equal to the second identification length.

4. The method according to claim 3, characterized in that Determining a logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on a preset plane includes: Determine a first projection point of the end point of the first arc on the preset plane along the preset projection direction, and a second projection point of the end point of the second arc on the preset plane along the preset projection direction; Determine the length between the first projection point and the second projection point along the marked compression direction as the projection length; The ratio of the projection length to the sum of the first identification length and the second identification length is used as the identification compression ratio.

5. The method according to claim 1, characterized in that Based on the identifier compression ratio, compressing the original identifier in the identifier compression direction includes: The preset reference position is kept unchanged, and the original mark is compressed in the mark compression direction toward the preset reference position.

6. The method according to claim 1, characterized in that Before obtaining the preset reference position on the marking plane and the original marking length between at least one marking point of the original marking and the preset reference position, the method further includes: The original identification is discretized to obtain a plurality of identification points.

7. The method according to claim 1, characterized in that After compressing the original identifier in the identifier compression direction based on the identifier compression ratio, the method further includes: Projecting a new mark obtained by compressing the original mark onto the target curved surface along the preset projection direction; Based on the projection of the new mark on the target curved surface, the new mark is processed on the target curved surface.

8. A marking processing device, characterized in that: include: A first parameter acquisition module is used to acquire a preset reference position on the marking plane, and an original marking length between at least one marking point on the marking in the marking compression direction and the preset reference position, wherein the preset reference position intersects the marking, and the original marking length is greater than 0; A second parameter acquisition module is used to project the preset reference position onto a target curved surface along a preset projection direction to obtain a projection reference position; An arc generation module, used for drawing an arc on the target arc surface along the curvature direction of the target arc surface with the projection reference position as the starting point, wherein the position of the arc relative to the projection reference position is the same as the position of the corresponding identification point relative to the preset reference position, and the arc length of the arc is equal to the original identification length corresponding to the corresponding identification point; A compression ratio determination module, used to determine the logo compression ratio based on the original logo length and the projection length of the arc along the preset projection direction on the logo plane; The identifier compression module is used to compress the identifier in the identifier compression direction based on the identifier compression ratio.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and the program or instruction enables a computer to execute the steps of the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs or instructions; The processor is used to execute the steps of the method according to any one of claims 1 to 7 by calling the program or instruction stored in the memory.