Processing method and system for box-type landscape facing concrete retaining wall
By building box-type twin spaces and generating interactive numbers and positioning maps, the problem of difficult to achieve customized design for box-type landscape finish concrete retaining wall construction in the existing technology is solved, and the complete display of user needs and improvement of construction quality is achieved.
Patent Information
- Application Number
- CN202411494912.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-10-24
AI Technical Summary
In the prior art, it is difficult to achieve customized design during the construction of box-type landscape finish concrete retaining walls, resulting in the inability to display the user demand information in a complete and central manner, affecting the construction quality.
By building a box-type twin space, receiving customized statements from the management end, character segmentation and splicing are performed, interactive numbers and positioning maps are generated, and custom design and installation of retaining walls are realized.
It realizes customized design according to user needs, improves construction quality and efficiency, ensures complete and centralized display of information, and facilitates intuitive viewing of personnel.
Smart Images

Figure CN119691843A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to data processing technology, and in particular to a processing method and system for box-type landscape facing concrete retaining walls. Background Art
[0002] With the improvement of people's living standards and living aesthetics, the landscape design industry has developed rapidly in recent years. Through reasonable design, it can realize the user's design needs while integrating it with the environment, satisfying the aesthetic requirements of landscape design in modern cities.
[0003] In the prior art, when designing and constructing a box-type landscape, it is usually necessary for manual labor to perform independent installation based on experience and user needs. This places extremely strong technical requirements on the construction labor regarding the box-type specifications and layout display. As a result, deviations are often prone to occur during the landscape installation of the box-type landscape, and the user's customized needs cannot be perfectly displayed in an aesthetically pleasing manner, affecting the construction quality.
[0004] Therefore, how to carry out customized design according to actual user needs and box specifications, ensure that user demand information can be displayed completely and centrally, improve the quality of construction work, and facilitate intuitive viewing by personnel has become an urgent problem to be solved. Summary of the invention
[0005] The embodiment of the present invention provides a processing method and system for box-type landscape facing concrete retaining walls, which can be customized according to actual user needs and box specifications to ensure that user demand information can be displayed completely and centrally, improve the quality of construction work, and facilitate intuitive viewing by personnel.
[0006] The present invention can design and process the retaining wall by adopting an assembled solution according to the scene requirements, so that the retaining wall formed by the box-type landscape facing concrete retaining wall has the three highs and one low form of high reliability, high installation efficiency, high aesthetics and low cost. It provides a leading prefabricated and assembled construction idea for the retaining wall construction field, and combines intelligent processing solutions in the construction process, greatly improving the efficiency of design, operation and management of staff.
[0007] A first aspect of an embodiment of the present invention provides a method for treating a box-type landscape facing concrete retaining wall, comprising: Receive the customized statement sent by the management end, perform character segmentation processing on the customized statement to obtain multiple customized fonts, and construct a box-type twin space corresponding to the box-type retaining wall, and splice the box-type twin spaces of the adjacent box-type retaining walls to obtain the retaining wall twin space; The retaining wall twin space is customized according to the customized font, an interaction number corresponding to each box-type retaining wall is generated, and a positioning map corresponding to the interaction number is determined based on the customized pixel value of the customized font and sent to the interaction end; In response to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, performing double verification processing on the comparison image based on the interaction number and the positioning map, and generating an interactive verification result; The comparison image is guided and processed according to the interactive verification result and the guided correction strategy to generate a guided correction image, and the guided correction image is sent to the interactive end.
[0008] Optionally, in a possible implementation of the first aspect, the customizing the retaining wall twin space according to the customized font to generate an interactive number corresponding to each of the box-type retaining walls includes: Obtaining a boundary line corresponding to the decoration area in the twin space of the retaining wall as the decoration boundary line, and an area corresponding to the decoration area as the decoration area, obtaining an offset coefficient according to a ratio of the decoration area to a reference area, and obtaining a decoration blank distance based on a product of the offset coefficient and a reference blank distance; Connecting the diagonal vertices in the decoration area to obtain a decoration diagonal line, obtaining the intersection of the decoration diagonal lines as the decoration center point, and copying and translating the vertices along the decoration diagonal lines toward the decoration center point based on the decoration blank distance to obtain blank vertices; Connect the blank vertices in turn in a clockwise direction to obtain a blank boundary line, and obtain a horizontal distance of the blank boundary line as a limiting distance; Obtaining the customized quantity of the customized font, retrieving the constrained font size and font spacing distance, and determining the spacing quantity according to the customized quantity; Based on the spacing quantity and the font spacing distance, a total spacing distance is obtained, and according to the difference between the limit distance and the total spacing distance, a horizontal custom distance is obtained; Obtaining a font customization width according to a ratio of the horizontal customization distance to the customization quantity, and determining a font placement size based on the font customization width; When it is determined that the font placement size is greater than or equal to the constraint size, the customized font is updated and arranged in the customized area based on the single-line arrangement strategy and the font placement size, and an interaction number corresponding to each of the box-type retaining walls is generated; When it is determined that the customized font width is smaller than the constrained font size, the customized font is updated and arranged in the customized area based on the line break arrangement strategy, and an interactive number corresponding to each of the box-type retaining walls is generated.
[0009] Optionally, in a possible implementation of the first aspect, when determining that the font placement size is greater than or equal to the constraint font size, updating and arranging the customized font into the customized area based on a single-line arrangement strategy and the font placement size, and generating an interaction number corresponding to each of the box-type retaining walls, includes: When it is determined that the font placement size is greater than or equal to the constrained font size, the customization area is evenly divided horizontally according to the customization quantity to obtain a plurality of segmented areas; The first and last segmented areas are counted as the first segmented areas, and the remaining segmented areas are counted as the second segmented areas; when it is determined that the adjacent segmented areas are all second segmented areas, a segmentation line between the adjacent segmented areas is obtained, and based on the segmentation line, the font spacing area is obtained by copying and translating to both sides according to 1 / 4 of the font spacing distance; When it is determined that the adjacent segmented areas are respectively the first segmented area and the second segmented area, a segmentation line between the adjacent segmented areas is obtained, and based on the segmentation line, a copy and translation is made toward the inside of the first segmented area at 1 / 2 of the font spacing distance, and a copy and translation is made toward the inside of the second segmented area at 1 / 4 of the font spacing distance, to obtain a font spacing area; Determine a plurality of font customization areas according to the customization area and the font spacing area, and obtain a center point of the font customization area as a customization center point; Processing the custom font based on the font placement size to obtain a processed custom font, and obtaining a center point of the processed custom font as a font center point; The center point of the font is aligned with the customized center point in sequence to generate an interactive number corresponding to each of the box-type retaining walls.
[0010] Optionally, in a possible implementation of the first aspect, when it is determined that the customized font width is smaller than the constrained font size, the customized font is updated and arranged within the customized area based on a line break arrangement strategy, and an interaction number corresponding to each of the box-type retaining walls is generated, including: When it is determined that the font customization width is smaller than the constrained font size, determining the limited number of characters to be arranged horizontally in the customization area according to the constrained width corresponding to the constrained font size; According to the ratio of the customized quantity to the limited number of words, the number of customized lines of the customized area is obtained, and according to the customized number of lines, line break calculation is performed on the customized quantity to determine the number of words in a single line; Determine the number of spacings based on the number of characters in the single line, obtain the single line spacing distance based on the number of spacings and the font spacing distance, and obtain the single line customized distance based on the difference between the limit distance and the single line spacing distance; According to the ratio of the single-line customized distance and the single-line word count, an adjusted font width is obtained, and an initial placement font size is determined based on the adjusted font width; Obtaining the vertical height corresponding to the customized area, obtaining the font height based on the ratio of the vertical height to the number of customized lines, and determining the font comparison font size according to the font height; When it is determined that the initial placement font size is less than or equal to the font comparison font size, the initial placement font size is used as the line break placement font size; When it is determined that the initial placement font size is larger than the font comparison font size, the font comparison font size is used as the line break placement font size; The customized area is evenly divided longitudinally according to the customized number of lines to obtain a plurality of line break areas; Dividing the line break region uniformly horizontally based on the number of words in the single line to obtain a plurality of sub-line break regions; Counting the first and last sub-line break regions in each of the line break regions as the first sub-line break region, and counting the remaining sub-line break regions as the second sub-line break regions; When it is determined that the adjacent sub-line break areas are all second sub-line break areas, a dividing line between the adjacent sub-line break areas is obtained, and based on the dividing line, the dividing line is copied and translated to both sides at 1 / 4 of the font spacing distance to obtain a font spacing area; When it is determined that the adjacent sub-line wrapping areas are respectively the first sub-line wrapping area and the second sub-line wrapping area, a dividing line between the adjacent sub-line wrapping areas is obtained, and based on the dividing line, a copy and translation is made toward the inside of the first sub-line wrapping area at 1 / 2 of the font spacing distance, and a copy and translation is made toward the inside of the second sub-line wrapping area at 1 / 4 of the font spacing distance, to obtain a font spacing area; Determine a plurality of line break font areas according to the line break area and the font spacing area, and obtain the center points of the line break font areas as the customized center points; Processing the custom font based on the line break placement font size to obtain a processed custom font, and obtaining a center point of the processed custom font as a font center point; The center point of the font is aligned with the customized center point in sequence to generate an interactive number corresponding to each of the box-type retaining walls.
[0011] Optionally, in a possible implementation manner of the first aspect, performing line break calculation on the customized number according to the customized number of lines to determine the number of words in a single line includes: The customized area is evenly divided longitudinally according to the customized number of lines to obtain a plurality of line break areas; Based on the ratio of the customized quantity and the customized number of lines, an initial number of characters corresponding to each line break area is obtained, and when it is determined that the initial number of characters is not an integer, a decimal part of the initial number of characters is obtained as a judgment value; When it is determined that the judgment value is less than or equal to 0.5, the first line break region is determined as the first line break region based on the preset direction, and the remaining line break regions are determined as the second line break regions; The initial number of characters in the first line break region is rounded up, and the initial number of characters in the second line break region is rounded down to obtain the number of characters in a single line corresponding to each line break region; When it is determined that the judgment value is greater than 0.5, the first two line break regions are determined as the first line break regions based on the preset direction, and the remaining line break regions are determined as the second line break regions; The initial number of characters in the first line break region is rounded up, and the initial number of characters in the second line break region is rounded down to obtain the number of characters in a single line corresponding to each line break region.
[0012] Optionally, in a possible implementation manner of the first aspect, the responding to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on a preset collection frame, performing double verification processing on the comparison image based on the interaction number and the positioning map, and generating an interactive verification result, includes: In response to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, and obtaining the comparison number and comparison map corresponding to the customized font in the comparison image; Based on the comparison processing of the interaction number and the comparison number, and / or the comparison processing of the positioning map and the comparison map, an interaction verification result is generated, and the interaction verification result includes a normal verification result and an abnormal verification result.
[0013] Optionally, in a possible implementation manner of the first aspect, the performing guided processing on the comparison image according to the interactive verification result and the guided correction strategy to generate a guided corrected image, and sending the guided corrected image to the interactive end includes: When it is determined that the interactive verification result is a map abnormality result, a positioning map corresponding to the interactive number is determined as a replacement map based on the correction number in the map correction set; Taking the numbered area of each correction number in the texture correction set as the correction area, determining the distance between the center point of the correction area and the four blank boundary lines, and selecting the blank boundary line corresponding to the minimum distance as the guide boundary line; Constructing a guide line perpendicular to the guide boundary line with the center point of the correction area as a starting point, and determining an intersection point between the guide line and the guide boundary line as an end point; The guide line is intercepted according to the center point and the end point of the correction area to obtain an identification line, and a directional arrow pointing to the center point is generated at the center point, and an arrow pointing to the end point is generated at the end point to obtain a bidirectional replacement identification; Based on the area between the decoration boundary line and the blank boundary line as the blank area; The end point is copied and translated to both sides according to a preset filling distance to obtain a replacement interception point, and a vertical line perpendicular to the guide boundary line is constructed based on the replacement interception point as a replacement interception line; Based on the replacement interception line, the blank area is intercepted to obtain an indication area; Retrieving the customized pixel value and updating it in the indicated area to generate a guided correction image; When it is determined that the interactive verification result is a position abnormality result, based on the interactive number in the interactive difference set, the comparison number closest to it is selected in the comparison difference set as the shift number; When it is determined that the comparison result of the positioning map of the interactive number is consistent with the comparison map of the shift number, a one-way shift mark is generated, in which the center point of the number area of the shift number points to the center point of the number area corresponding to the interactive number, and a guided correction image is generated; When it is determined that the comparison result of the positioning map of the interaction number and the comparison map of the shift number is inconsistent, a center point of the numbered area of the shifted number is generated to point to a unidirectional shift mark corresponding to the interaction number, and the numbered area corresponding to the interaction number is highlighted based on the customized pixel value corresponding to the comparison map to generate a guided correction image; When the interactive verification result is a comprehensive abnormal result, a bidirectional replacement mark is generated according to the map abnormality set, with the center point of the numbered area pointing vertically to the guide boundary line, and the customized pixel value is retrieved and updated into the indicated area; Based on the interactive difference set and the comparison difference set, a one-way shift mark is generated and based on the customized pixel value corresponding to the comparison map, a numbered area corresponding to the interactive number is highlighted to generate a guided correction image; The guided correction image is sent to the interactive end.
[0014] Optionally, in a possible implementation manner of the first aspect, the comparison processing based on the interaction number and the comparison number, and / or the comparison processing between the positioning map and the comparison map, generates an interactive verification result, and the interactive verification result includes a normal verification result and an abnormal verification result, including: Counting the interaction numbers to obtain an interaction set, and counting the comparison numbers to obtain a comparison set; Obtaining a common set based on the intersection of the interaction set and the comparison set, obtaining an interaction difference set based on the difference between the interaction set and the common set, and obtaining an comparison difference set based on the difference between the comparison set and the common set; Based on the numbers in the common set, a comparison map corresponding to the comparison number with the same number and a positioning map corresponding to the interaction number with the same number are compared, and the numbers of different maps are counted to obtain a map abnormality set, and the map abnormality set is used as a map correction set; Based on the union of the interactive difference set and the comparison difference set, a position set is obtained, and when it is determined that the position set is empty and the mapping anomaly set is empty, a normal verification result is generated; When it is determined that the position set is empty and the mapping anomaly set is not empty, generating a mapping anomaly result; When it is determined that the position set is not empty and the map anomaly set is empty, generating a position anomaly result; When it is determined that the position set is not empty and the map anomaly set is not empty, a comprehensive anomaly result is generated, wherein the anomaly verification result includes a map anomaly result, a position anomaly result and a comprehensive anomaly result; An interactive verification result is obtained according to the abnormal verification result and the normal verification result.
[0015] Optionally, in a possible implementation of the first aspect, the method further includes: When it is determined that the intersection of the interaction difference set and the comparison difference set is empty, updating the numbered area corresponding to the interaction number in the comparison image based on the interaction number in the interaction difference set and the customized pixel value; Based on the comparison number in the comparison difference set and the first preset pixel value, an update and deletion prompt is given to the numbered area corresponding to the comparison number in the comparison image.
[0016] A second aspect of an embodiment of the present invention provides a processing system for a box-type landscape facing concrete retaining wall, comprising: A customization module is used to receive a customization statement sent by the management terminal, perform character segmentation processing on the customization statement to obtain multiple customized fonts, and construct a box-type twin space corresponding to the box-type retaining wall, and splice the box-type twin spaces of the adjacent box-type retaining walls to obtain a retaining wall twin space; A generation module, used to customize the retaining wall twin space according to the customized font, generate an interaction number corresponding to each of the box-type retaining walls, determine a positioning map corresponding to the interaction number based on the customized pixel value of the customized font, and send it to the interaction end; A verification module, used to respond to the completion information of the interactive terminal, receive the comparison image collected by the interactive terminal based on the preset collection frame, perform double verification processing on the comparison image based on the interaction number and the positioning map, and generate an interactive verification result; A guiding module is used to guide the comparison image according to the interactive verification result and the guiding correction strategy, generate a guiding correction image, and send the guiding correction image to the interactive end.
[0017] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the first aspect of the present invention and various methods that may be involved in the first aspect.
[0018] According to a fourth aspect of an embodiment of the present invention, a storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the first aspect of the present invention and various methods that may be involved in the first aspect.
[0019] The beneficial effects of the present invention are as follows: 1. The present invention can be customized according to actual user needs and box specifications to ensure that user demand information can be displayed completely and centered, improve the quality of construction work, and facilitate intuitive viewing by personnel. First, the present invention can construct a twin space of the retaining wall so that customized design can be prioritized in the twin space of the retaining wall, thereby obtaining an interactive number that can be used for reference, and then allowing personnel to install according to the interactive number and the positioning map corresponding to each number, thereby improving construction efficiency. Secondly, the present invention can also perform double verification on the comparison images actually collected to improve the accuracy of the installation, and provide guidance prompts based on the interactive verification results to obtain a guided correction image, so that personnel can correct the installation results of the box-type retaining wall according to the guided correction image to improve the installation quality.
[0020] 2. The present invention can customize the twin space of the retaining wall so that the customized sentence can be fully displayed in the middle of the area, maintaining the beautiful decoration while facilitating people's viewing. Among them, the present invention realizes the rapid conversion from customized sentences to construction patterns through character segmentation and the construction of virtual twin space. The design display in the twin space can accurately locate the customized font and realize the visualization and operability of personalized design. This technical feature significantly improves the efficiency of design conversion and provides an efficient solution for the construction of complex patterns. Therefore, construction personnel can use information terminals to accurately paste and install patterns based on interactive numbers and positioning maps.
[0021] 3. The present invention can double-verify to ensure the consistency between the actual construction effect and the design plan, and improve the construction quality and accuracy. Among them, the present invention can verify the position according to the number, and verify the image of the map to ensure the accuracy of the image corresponding to each numbered position. Through double verification, the accuracy of the displayed information is ensured, and the construction quality is improved at the same time. Description of the Drawings
[0022] Figure 1 It is a flowchart of a processing method for a box - type landscape - faced concrete retaining wall provided by the present invention; Figure 2 It is a schematic diagram of a blank - leaving boundary line provided by the present invention; Figure 3 It is a schematic diagram of a customized area division provided by the present invention; Figure 4 It is a schematic structural diagram of a processing system for a box - type landscape - faced concrete retaining wall provided by the present invention; Figure 5 It is a schematic hardware structure diagram of an electronic device provided by the present invention. Detailed Embodiments
[0023] Hereinafter, the technical solutions of the present invention will be described in detail with specific embodiments. These several specific embodiments can be combined with each other, and for the same or similar concepts or processes, they may not be repeated in some embodiments.
[0024] As Figure 1 shown, the present invention provides a processing method for a box - type landscape - faced concrete retaining wall. The processing method for the box - type landscape - faced concrete retaining wall includes: S1. Receive a customized statement sent by the management terminal, perform character segmentation processing on the customized statement to obtain a plurality of customized fonts, construct a box - type twin space corresponding to the box - type retaining wall, and splice the box - type twin spaces of adjacent box - type retaining walls to obtain a retaining - wall twin space.
[0025] It should be noted that, for the convenience of subsequent customized processing of the corresponding box of the landscape design according to the customized statement, the customized statement is segmented to obtain a plurality of customized fonts. And since customized designs are required for all four sides of the box - type retaining wall, a box - type twin space can be constructed, and the box - type twin spaces of adjacent box - type retaining walls are spliced to obtain a retaining - wall twin space, so as to perform design display in the retaining - wall twin space later and facilitate the centered display of the corresponding fonts.
[0026] It can be understood that the management terminal is an information terminal for personnel managing box - type designs, which can be a mobile phone, a computer, etc. The customized statement is a statement for customized display of the box - type retaining wall. For example, the customized statement can be "May all your wishes come true", and the customized font is the text font for customized display, such as "wan", "shi", "ru", "yi", etc. The box - type twin space is a virtual twin space corresponding to the box - type retaining wall, and the retaining - wall twin space is a virtual regional space after splicing multiple box - type twin spaces.
[0027] Through the above implementation, the present invention can determine the corresponding customized fonts and retaining wall twin spaces, so that the customized fonts can be customized and displayed in the retaining wall twin spaces later.
[0028] S2, customize the retaining wall twin space according to the customized font, generate an interaction number corresponding to each of the box-type retaining walls, determine the positioning map corresponding to the interaction number based on the customized pixel value of the customized font, and send it to the interaction end.
[0029] It should be noted that the box-type retaining wall is formed by a combination of sub-areas corresponding to multiple rows and columns, so each area has a corresponding number. Therefore, the interactive number generated by the twin space of the retaining wall can be used to determine the numbered area for image installation in the actual box-type retaining wall, so that personnel can install the corresponding positioning map according to the numbered position based on the interactive number.
[0030] It can be understood that the interaction number is the number of the customized font that needs to be pasted on the box-type retaining wall, the customized pixel value is the pixel value of the customized font, such as green, red, etc., the positioning map is a picture of the area position corresponding to the interaction number, and the interaction end is the information terminal of the person who installs the customized statement on the box-type retaining wall.
[0031] It is not difficult to understand that the management end can freely design the colors of different customized fonts so as to distinguish and display them on the box-type retaining wall from the color of the retaining wall bottom plate. For example, when the bottom plate color of the box-type retaining wall is green, the customized pixel value of the customized font "green" can be made yellow so that it can be sent to the interactive end, allowing personnel to select the corresponding yellow map according to the yellow color, and then paste it on the area corresponding to the corresponding interactive number to complete the design and installation of the box-type retaining wall.
[0032] Through the above implementation, the present invention can obtain the interaction number and the positioning map corresponding to the customized font, which is convenient for sending to the interaction end so that personnel can perform accurate installation.
[0033] In some embodiments, the specific implementation steps in step S2 (customizing the retaining wall twin space according to the customized font to generate an interactive number corresponding to each box-type retaining wall) include: S21, obtaining the boundary line corresponding to the decorative area in the twin space of the retaining wall as the decorative boundary line, and the area corresponding to the decorative area as the decorative area, obtaining the offset coefficient based on the ratio of the decorative area to the reference area, and obtaining the decorative blank distance based on the product of the offset coefficient and the reference blank distance.
[0034] It should be noted that in order to make the subsequent customized fonts more beautifully designed in the twin space of the retaining wall, the edges can be left blank according to the decorative area so that the customized font design will not be close to the edge of the area in the twin space of the retaining wall, which is convenient for visual viewing.
[0035] It can be understood that the decorative area is the area area corresponding to the twin space of the retaining wall, the decorative boundary line is the regional boundary line of the decorative area, the decorative area is the regional area corresponding to the decorative area, the reference area is the area reference value corresponding to the displayed customized statement, the offset coefficient is the deviation coefficient value between the decorative area and the reference area, that is, the ratio of the decorative area to the reference area, the reference blank distance is the reference distance of the blank area, which can be artificially preset, and the decorative blank distance is the distance of the regional blank in the decorative area, that is, the product of the offset coefficient and the reference blank distance.
[0036] Through the above implementation, the present invention can determine the decoration blank distance, which is convenient for subsequently dividing the decoration area according to the decoration blank distance, thereby determining the display area corresponding to the customized font.
[0037] S22, connecting the diagonal vertices in the decoration area to obtain a decoration diagonal line, and obtaining the intersection of the decoration diagonal line as the decoration center point, and based on the decoration blank distance, copying and translating the vertex along the decoration diagonal line toward the decoration center point to obtain a blank vertex.
[0038] It can be understood that in order to determine the area in the decoration area where the customized fonts are displayed and arranged, the boundary line of the blank area in the decoration area is determined, so that, for example Figure 2 As shown, the diagonal vertices in the decoration area can be connected to obtain a decoration diagonal line, and then the vertices can be moved along the decoration diagonal line toward the decoration center point to obtain blank vertices.
[0039] The decoration diagonal line is the connecting line of the diagonal vertices in the decoration area, the decoration center point is the intersection point of the two decoration diagonal lines, and the blank vertex is the vertex of the internal boundary line corresponding to the blank area.
[0040] S23, connecting the blank vertices in turn in a clockwise direction to obtain a blank boundary line, and obtaining a horizontal distance of the blank boundary line as a limiting distance.
[0041] It can be understood that the blank boundary line is a connection line between adjacent blank vertices, and the limit distance is a maximum distance for limiting the horizontal arrangement of the customized font, that is, the length distance corresponding to the horizontal blank boundary line.
[0042] It is not difficult to understand that if Figure 2As shown, the limiting distance is determined according to the blank boundary line, so that the length distance of the horizontal customized arrangement of the corresponding customized font can be determined later by the limiting distance.
[0043] S24, obtaining the customization quantity of the customized font, retrieving the constrained font size and font spacing distance, and determining the spacing quantity according to the customization quantity.
[0044] It should be noted that in order to subsequently determine the size of the custom font displayed in the currently divided area, the constrained font size and font spacing distance can be retrieved, and the spacing amount can be determined so that the font size of the custom font can be calculated subsequently.
[0045] It can be understood that the customization quantity is the number of customized fonts, and the constrained font size is the limited font size for displaying customized fonts. In order to prevent the customized fonts from being too small and affecting people's viewing, the constrained font size can be set in advance manually, so that the fonts can be arranged and designed later so that they can be displayed normally. The font spacing distance is the spacing distance between adjacent customized fonts, which can be set in advance manually. The spacing number is the number of single-line font spacing distances. For example, when the customization quantity is 3, the spacing number after division according to the font can be 1.5, and when the customization quantity is 4, the corresponding spacing number is 2, and so on, and the spacing number is half of the customization quantity.
[0046] S25, obtaining a total spacing distance based on the spacing quantity and the font spacing distance, and obtaining a horizontal custom distance according to a difference between the limit distance and the total spacing distance.
[0047] It can be understood that the total spacing distance is the sum of the spacing distances corresponding to each line of custom fonts, that is, the product of the spacing number and the font spacing distance, and the horizontal custom distance is the display distance corresponding to the custom font in the horizontal direction, that is, the difference between the limit distance and the total spacing distance.
[0048] Through the above implementation, the present invention can determine the horizontal customization distance, so as to subsequently calculate the font size that can be displayed for the current customized font, and thus select a corresponding method for arrangement and display.
[0049] S26, obtaining a font customization width according to a ratio of the horizontal customization distance to the customization quantity, and determining a font placement size based on the font customization width.
[0050] It should be noted that different font sizes have corresponding font dimensions. For example, size 4 font corresponds to 1.48 cm. Therefore, the corresponding font size can be determined by calculating the font width, so as to be compared with the constraint font size and determine the corresponding strategy for arrangement and display.
[0051] It can be understood that the font customization width is the font width calculated by the horizontal customization distance, and the font placement size is the font size for arranging and placing the customized font, that is, the font size corresponding to the font customization width.
[0052] S27, when it is determined that the font placement size is greater than or equal to the constraint size, the customized font is updated and arranged in the customized area based on the single-line arrangement strategy and the font placement size, and an interactive number corresponding to each of the box-type retaining walls is generated.
[0053] It can be understood that when the font placement size is greater than or equal to the constrained font size, it can be said that the currently calculated font placement size is not less than the minimum constrained font size, so that all customized fonts can be displayed normally. Therefore, the customized fonts can be directly arranged in the customized area according to the determined font placement size, so as to obtain the interaction number, so that when it is subsequently sent to the interactive end, the interactive end can paste the pattern according to the interaction number.
[0054] Among them, the customization area is the area in the box-type twin space used to display customized fonts.
[0055] In some embodiments, the specific implementation steps of step S27 (when determining that the font placement size is greater than or equal to the constraint font size, updating and arranging the customized font into the customized area based on the single-line arrangement strategy and the font placement size, and generating an interaction number corresponding to each of the box-type retaining walls) include: S271, when it is determined that the font placement size is greater than or equal to the constrained font size, the customized area is evenly divided horizontally according to the customized quantity to obtain a plurality of segmented areas.
[0056] It is understandable that when the font placement size is greater than or equal to the constrained font size, the customization area can be evenly divided according to the customization quantity to obtain multiple segmented areas, so that the corresponding number of customized fonts can be arranged and displayed later.
[0057] The segmented area is a sub-area obtained by dividing the customized area.
[0058] S272, counting the first and last two segmented areas as first segmented areas, and counting the remaining segmented areas as second segmented areas.
[0059] It can be understood that in order to ensure that the font customization areas obtained subsequently are the same, the first and last two segmented areas, i.e., the leftmost and rightmost segmented areas in the customization area, can be used as the first segmented areas, and the remaining segmented areas can be used as the second segmented areas, so that the font spacing area can be determined based on the segmenting lines later.
[0060] S273: When it is determined that both adjacent segmented areas are second segmented areas, a segmentation line between adjacent segmented areas is obtained, and based on the segmentation line, the segmentation line is copied and translated to both sides at 1 / 4 of the font spacing distance to obtain a font spacing area.
[0061] It can be understood that since the second segmentation area is located in the middle, when determining the font spacing area based on the dividing line, it is necessary to divide the two sides of the second segmentation area, that is, the font spacing area needs to occupy both sides of the second segmentation area. Therefore, when adjacent segmentation areas are both second segmentation areas, the dividing line can be copied and translated to both sides by 1 / 4 of the font spacing distance to obtain the font spacing area.
[0062] The dividing line is the spacing line segment between two adjacent dividing areas, and the font spacing area is the spacing area between two copied dividing lines.
[0063] S274, when it is determined that the adjacent segmented areas are respectively the first segmented area and the second segmented area, a segmentation line between the adjacent segmented areas is obtained, and based on the segmentation line, the segmentation line is copied and translated toward the inside of the first segmented area at 1 / 2 of the font spacing distance, and the segmentation line is copied and translated toward the inside of the second segmented area at 1 / 4 of the font spacing distance to obtain the font spacing area.
[0064] It can be understood that since the first divided area is located at the edge of the customized area and only has a dividing line on one side, in order to make the subsequently obtained font customization areas the same size, when the adjacent divided areas are the first divided area and the second divided area respectively, the dividing line can be copied and shifted 1 / 2 of the font spacing distance to the inside of the first divided area, and at the same time, the dividing line can be copied and shifted 1 / 4 of the font spacing distance to the inside of the second divided area, thereby obtaining the font spacing area between adjacent divided areas, so that when the customized fonts are arranged subsequently, there is a certain spacing area between adjacent customized fonts, which is convenient for the aesthetic arrangement and display.
[0065] S275, determining a plurality of font customization areas according to the customization area and the font spacing area, and acquiring a center point of the font customization area as a customization center point.
[0066] It can be understood that, through the customization area and the font spacing area, a corresponding plurality of font customization areas are obtained, so that the corresponding customization center point can be obtained, so that the corresponding customized fonts can be placed and displayed later.
[0067] The font customization area is the placement area for displaying customized fonts, and the customization center point is the center point of the font customization area.
[0068] S276, processing the custom font based on the font placement size to obtain a processed custom font, and obtaining a center point of the processed custom font as a font center point.
[0069] It is understandable that the font size of the customized font is adjusted to the font placement size, so as to obtain the font center point, so as to subsequently position the font center point and the customized center point to achieve font placement display.
[0070] The font center point is the center point corresponding to the customized font.
[0071] S277, aligning the font center point with the customized center point in turn, and generating an interactive number corresponding to each of the box-type retaining walls.
[0072] It can be understood that the font center points of each customized font are aligned with the customization center point in turn, so as to determine the interaction number corresponding to the required mapping according to the placed customized font.
[0073] It is not difficult to understand that the present invention can obtain the interaction number, which is convenient for subsequent sending to the interaction end, thereby improving the accuracy and efficiency of installation by personnel.
[0074] S28, when it is determined that the customized font width is smaller than the constrained font size, the customized font is updated and arranged in the customized area based on the line break arrangement strategy, and an interactive number corresponding to each of the box-type retaining walls is generated.
[0075] It is understandable that when the customized font width is smaller than the constrained font size, it means that the current customization area cannot arrange all customized fonts in the same horizontal row. If they are arranged in one row, it will affect the display size of the customized font, and then affect the viewing effect. Therefore, the customized fonts need to be arranged and displayed in multiple rows to generate corresponding interaction numbers so that the corresponding personnel can install the stickers later.
[0076] In some embodiments, the specific implementation steps of step S28 (when determining that the customized font width is smaller than the constrained font size, updating and arranging the customized font within the customized area based on the line break arrangement strategy, and generating an interactive number corresponding to each of the box-type retaining walls) include: S2801: When it is determined that the customized font width is smaller than the constrained font size, a limited number of characters to be arranged horizontally in the customized area is determined according to the constrained width corresponding to the constrained font size.
[0077] It is understandable that if all current customized fonts are displayed in a single row, the customized font width will be smaller than the font width corresponding to the constrained font size, which will affect people's visual viewing when the font is displayed. Therefore, the maximum number of horizontal arrangements, that is, the limit on the number of words, can be determined based on the constrained width of the constrained font size when the font is displayed, so that the customized fonts can be distributed and arranged later.
[0078] The constrained width is the font width corresponding to the constrained font size, and the limited number of characters is the number of fonts arranged horizontally in the custom area determined according to the constrained width.
[0079] S2802: Obtain the number of customized lines in the customized area according to the ratio of the customized number to the limited number of characters, perform line break calculation on the customized number according to the customized number of lines, and determine the number of characters in a single line.
[0080] It is understandable that since there are multiple customization quantities of custom fonts, the number of lines into which the custom area needs to be divided can be determined by calculating the ratio of the custom quantity and the restricted quantity, so that the custom font can be displayed by line wrapping, so that the minimum font size for displaying the custom font is the same as the constrained font size, or after the custom area is divided, the font size of the subsequent custom font can be larger than the constrained font size, so that the custom font can be displayed as large as possible to facilitate personnel viewing.
[0081] Among them, the number of customized lines is the number of lines that the customized area is divided into, that is, the ratio of the customization quantity to the limited number of characters, and the number of characters in a single line is the number of fonts that can be arranged and displayed in a single line. For example, when the number of customized lines is 2 and the customization quantity is 4, the corresponding number of characters in a single line is 4÷2=2.
[0082] In some embodiments, the specific implementation steps of step S2802 (calculating the line break of the customized quantity according to the customized line number to determine the number of words in a single line) include: S28021, evenly divide the customized area vertically according to the customized number of lines to obtain multiple line break areas.
[0083] It is understandable that the customized area is evenly divided vertically to obtain a plurality of line break areas, so that each line break area can be divided horizontally laterally to perform filling design of the customized font.
[0084] The line break area is a horizontal area divided in the custom area.
[0085] S28022: based on the ratio of the customized quantity to the customized number of lines, obtaining the initial number of characters corresponding to each line break area, and when determining that the initial number of characters is not an integer, obtaining the decimal part of the initial number of characters as a judgment value.
[0086] It should be noted that when calculating the ratio of the customized quantity to the customized number of lines, the value obtained may be an integer, that is, the number of fonts in each line break area will be different. Therefore, the initial number of characters needs to be adjusted to determine the number of customized fonts displayed in each line break area.
[0087] It can be understood that the initial number of characters is the number of single-line fonts initially calculated, that is, the ratio of the customized number to the customized line number.
[0088] It is not difficult to understand that when the initial number of words is not an integer, the decimal part of the initial number of words can be used as a judgment value to facilitate the subsequent allocation of the number of words. For example, when the customized quantity is 7 and the customized number of lines is 3, the initial number of words can be obtained as 7÷3≈2.33, and 0.33 can be used as a judgment value to subsequently determine the number of single-line words corresponding to each line break area.
[0089] S28023: When it is determined that the judgment value is less than or equal to 0.5, the first line break region is determined as the first line break region based on the preset direction, and the remaining line break regions are determined as the second line break regions.
[0090] It can be understood that when the judgment value is less than or equal to 0.5, the first line break area is used as the first line break area, and the remaining line break areas are used as the second line break areas, so that the corresponding number of words in a single line can be determined based on the first line break area and the second line break area, which is convenient for customized font arrangement and display.
[0091] The preset direction is a preset direction of the line break area, for example, it may be a vertical downward direction.
[0092] S28024, rounding up the initial number of characters in the first line break region, and rounding down the initial number of characters in the second line break region, to obtain the number of characters in a single line corresponding to each of the line break regions.
[0093] It is understandable that in order to make the customized font as complete as possible and display it in a larger font size, the initial number of words in the first line break area can be rounded up, and the initial number of words in the second line break area can be rounded down, thereby obtaining the number of words in a single line corresponding to each line break area.
[0094] For example: when the customized quantity is 7 and the customized number of lines is 3, the initial number of characters is 7÷3≈2.33, so the initial number of characters in the top line break area can be rounded up, that is, 2.33 is rounded to 3, and the rest can be rounded down, that is, 2.33 is rounded down to 2, so that the single-line character numbers of the three line break areas are 3, 2, and 2 respectively.
[0095] S28025: When it is determined that the judgment value is greater than 0.5, the first two line break regions are determined as the first line break regions based on the preset direction, and the remaining line break regions are determined as the second line break regions.
[0096] It can be understood that when the judgment value is greater than 0.5, the first two line break areas are used as the first line break areas, and the remaining line break areas are used as the second line break areas, so that the corresponding number of single-line characters can be determined based on the first line break areas and the second line break areas, which is convenient for customized font arrangement and display.
[0097] S28026, rounding up the initial number of characters in the first line break region, and rounding down the initial number of characters in the second line break region, to obtain the number of characters in a single line corresponding to each of the line break regions.
[0098] It is understandable that in order to make the customized font as complete as possible and display it in a larger font size, the initial number of words in the first line break area can be rounded up, and the initial number of words in the second line break area can be rounded down, thereby obtaining the number of words in a single line corresponding to each line break area.
[0099] For example: when the customized quantity is 8 and the customized number of lines is 3, the initial number of characters is 8÷3≈2.67, so the initial number of characters in the top line break area can be rounded up, that is, 2.67 is rounded up to 3, and the rest can be rounded down, that is, 2.67 is rounded down to 2, so that the single-line character numbers of the three line break areas are 3, 3, and 2 respectively.
[0100] S2803, determining the number of spacings based on the number of characters in the single line, obtaining the single line spacing distance based on the number of spacings and the font spacing distance, and obtaining the single line customized distance based on the difference between the limit distance and the single line spacing distance.
[0101] It is understandable that the number of spacings increases with the number of words. Therefore, it is necessary to determine the number of spacings based on the number of words in a single line, and then the single-line spacing distance can be obtained. Thus, by limiting the difference between the distance and the single-line spacing distance, the single-line custom distance can be obtained, so that the corresponding font size can be calculated based on the single-line custom distance and the number of words in a single line.
[0102] Among them, the single-line spacing distance is the total distance between fonts in a single line, that is, the product of the spacing number and the font spacing distance, and the single-line customized distance is the font customized distance corresponding to a single line break area, that is, the difference between the limit distance and the single-line spacing distance.
[0103] S2804: Obtain an adjusted font width according to a ratio of the single-line customized distance to the number of characters in the single line, and determine an initial placement font size based on the adjusted font width.
[0104] It is understandable that since the customization area is divided by lines and the number of words in a single line and the single-line customization distance are recalculated, it is necessary to recalculate and adjust the font width based on the current single-line customization distance and the number of words in a single line in order to determine the corresponding font size for arrangement and display.
[0105] The adjusted font width is a font width calculated based on the single-line customization distance and the number of characters in a single line, and the initial placement font size is a font size corresponding to the adjusted font width.
[0106] It is not difficult to understand that determining the final font size displayed in the corresponding line break area requires considering not only the horizontal distance but also the vertical distance, so that the font can be placed normally in the area for display after the font size is adjusted. Therefore, it is prioritized to determine the initial placement font size so that it can be compared with the font comparison size later to obtain the final font size.
[0107] S2805, obtaining a vertical height corresponding to the customized area, obtaining a font height based on a ratio of the vertical height to the number of customized lines, and determining a font comparison size according to the font height.
[0108] It can be understood that the vertical height is the height distance of the customization area in the vertical direction, the font height is the height of the font calculated by the vertical distance, that is, the ratio of the vertical height to the number of customized lines, and the font comparison size is the font vertical height corresponding to the font size.
[0109] Through the above implementation, the present invention can determine the font comparison font size, so as to compare it with the initial placement font size later, thereby determining the best font size that can be placed in the line break area.
[0110] S2806: When it is determined that the initial placement font size is less than or equal to the font comparison font size, the initial placement font size is used as the line break placement font size.
[0111] It can be understood that when the initial placement font size is less than or equal to the font comparison font size, it can be said that the font size determined by the vertical height is larger, which means that the font of the initial placement font size can be fully displayed vertically, so that the initial placement font size can be used as the line break placement font size.
[0112] The line break font size is the display font size of the custom font corresponding to the line break strategy.
[0113] S2807: When it is determined that the initial placement font size is larger than the font comparison font size, the font comparison font size is used as the line break placement font size.
[0114] It can be understood that when the initial placement font size is larger than the font comparison font size, it means that the font size obtained by the vertical height is smaller. If the font is displayed according to the initial placement font size, the font cannot be fully displayed in height within the line break area. Therefore, the font comparison font size can be used as the line break placement font size so that the font can be clearly displayed.
[0115] S2808: Divide the customized area evenly vertically according to the number of customized lines to obtain multiple line break areas.
[0116] It is understandable that the customized area is evenly divided vertically to obtain a plurality of line break areas, so that each line break area can be divided horizontally laterally to perform filling design of the customized font.
[0117] The line break area is a horizontal area divided in the custom area.
[0118] For example, Figure 3 As shown, when the white area is a customized area and the number of customized lines is 2, the customized area can be divided vertically into 2 line break areas.
[0119] S2809: Divide the line break area uniformly in the horizontal direction based on the number of words in the single line to obtain a plurality of sub-line break areas.
[0120] It can be understood that in order to determine the placement position of each custom font, the line break area is divided horizontally according to the number of words in a single line to obtain multiple sub-line break areas, so that the custom fonts can be placed in the corresponding word line break area in turn for display, and then the interactive number can be obtained.
[0121] The sub-line break area is an area obtained by horizontally dividing the line break area.
[0122] For example, Figure 3 As shown, when the number of characters in a single line is 4, the line break area can be divided horizontally so that each line has 4 character line break areas.
[0123] S2810: Count the first and last two sub-line break regions in each of the line break regions as first sub-line break regions, and count the remaining sub-line break regions as second sub-line break regions.
[0124] It can be understood that in order to ensure that the font customization area obtained subsequently is the same, the first and last two sub-line break areas, that is, the leftmost and rightmost sub-line break areas in the customization area, can be used as the first sub-line break areas, and the remaining sub-line break areas can be used as the second sub-line break areas, so that the font spacing area can be determined based on the dividing line later.
[0125] S2811, when it is determined that both adjacent sub-line break areas are second sub-line break areas, a dividing line between adjacent sub-line break areas is obtained, and based on the dividing line, a font spacing area is obtained by copying and translating to both sides at 1 / 4 of the font spacing distance.
[0126] It can be understood that since the second sub-line break area is located in the middle position, when determining the font spacing area based on the dividing line, both sides of the second sub-line break area need to be divided, that is, the font spacing area needs to occupy both sides of the second sub-line break area. Therefore, when adjacent sub-line break areas are both second sub-line break areas, the dividing line can be copied and translated to both sides by 1 / 4 of the font spacing distance to obtain the font spacing area.
[0127] S2812, when it is determined that the adjacent sub-line break areas are respectively the first sub-line break area and the second sub-line break area, a dividing line between the adjacent sub-line break areas is obtained, and based on the dividing line, the dividing line is copied and translated toward the inside of the first sub-line break area at 1 / 2 of the font spacing distance, and the dividing line is copied and translated toward the inside of the second sub-line break area at 1 / 4 of the font spacing distance to obtain the font spacing area.
[0128] It can be understood that since the first sub-line break area is located at the edge of the customization area and has a dividing line on only one side, in order to make the font customization areas obtained subsequently the same size, when the adjacent sub-line break areas are respectively the first sub-line break area and the second sub-line break area, the dividing line can be copied and shifted 1 / 2 of the font spacing distance to the inside of the first sub-line break area, and at the same time, the dividing line can be copied and shifted 1 / 4 of the font spacing distance to the inside of the second sub-line break area, thereby obtaining the font spacing area between adjacent sub-line break areas, so that when the customized fonts are arranged subsequently, there is a certain spacing area between adjacent customized fonts, which is convenient for the aesthetic arrangement and display.
[0129] S2813: Determine a plurality of line break font areas according to the line break area and the font spacing area, and obtain the center points of the line break font areas as the customized center points.
[0130] It can be understood that, through the customization area and the font spacing area, a corresponding plurality of line break font areas are obtained, so that the corresponding customization center point can be obtained, so that the corresponding customized font can be placed and displayed later.
[0131] The line break font area is the placement area for displaying the customized font, and the customization center point is the center point of the line break font area.
[0132] S2814: Process the custom font based on the line break placement font size to obtain a processed custom font, and obtain a center point of the processed custom font as a font center point.
[0133] It is understandable that the font size of the customized font is adjusted to the font size for line break placement, and the font center point is obtained so that the font center point and the customized center point can be subsequently positioned to achieve font placement and display.
[0134] The font center point is the center point corresponding to the customized font.
[0135] S2815, aligning the font center point with the custom center point in turn, and generating an interactive number corresponding to each of the box-type retaining walls.
[0136] It can be understood that the font center points of each customized font are aligned with the customization center point in turn, so as to determine the interaction number corresponding to the required mapping according to the placed customized font.
[0137] It is not difficult to understand that the present invention can obtain the interaction number, which is convenient for subsequent sending to the interaction end, thereby improving the accuracy and efficiency of installation by personnel.
[0138] In some embodiments, it also includes: A1, when it is determined that the font height is less than the font height corresponding to the constrained font size, a corresponding font size is determined based on the font height as a line break placement font size.
[0139] It should be noted that since the height corresponding to the customized area may be very low, after the customized area is divided into line breaks, the height of the obtained line break area will become lower, and thus the obtained font height will also become smaller. When the font height is smaller than the font height corresponding to the constrained font size, in order to fully display the customized font and facilitate people's viewing, the corresponding font size can be determined according to the font height as the line break font size, so that the customized font can be arranged and displayed with the line break font size later.
[0140] S3, responding to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, performing double verification processing on the comparison image based on the interaction number and the positioning map, and generating an interactive verification result.
[0141] It should be noted that in order to ensure that the information actually displayed on the box-type retaining wall is correct, the collected comparison image can be compared with the standard image information designed in the twin space to determine the accuracy of the construction on the interactive end.
[0142] It can be understood that after the interactive terminal installs the positioning map of the corresponding position on the actual box-type retaining wall according to the interactive number, the installer can provide feedback on the corresponding interactive terminal to indicate that the construction is completed, and collect the comparison image according to the preset collection frame. The server will respond to the completion information of the interactive terminal and compare and verify the comparison image with the interactive number and the positioning map to ensure correct installation.
[0143] Among them, the preset acquisition box is a pre-set square box, which is used for the interactive end to capture the image information of the actual installation, so as to obtain an image of the same size as the standard box-type twin space, and then facilitate the subsequent double verification. The comparison image is the image displayed after the actual installation is collected, and the interactive verification result is the result of comparing and verifying the comparison image with the standard image information.
[0144] Through the above implementation, the present invention can obtain interactive verification results, so as to subsequently perform image indication according to different types of verification results, so as to facilitate personnel to make timely corrections and improve construction quality.
[0145] In some embodiments, the specific implementation steps of step S3 (the responding to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, performing double verification processing on the comparison image based on the interaction number and the positioning map, and generating an interaction verification result) include: S31, responding to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, and obtaining the comparison number and comparison map corresponding to the customized font in the comparison image.
[0146] It can be understood that the comparison number is the position number occupied by the customized font in the comparison image, and the comparison map is the area image of the position corresponding to each comparison number in the comparison image.
[0147] Through the above implementation, the present invention can determine the comparison number and the comparison image, so as to perform double verification of the number and the image later.
[0148] S32, based on the comparison processing of the interaction number and the comparison number, and / or the comparison processing of the positioning map and the comparison map, generate an interaction verification result, wherein the interaction verification result includes a normal verification result and an abnormal verification result.
[0149] It is understandable that the interaction number is compared with the comparison number, and the positioning map of the corresponding position is compared and verified with the comparison map to determine the accuracy of the installation position and the installation image.
[0150] In some embodiments, the specific implementation steps of step S32 (generating an interactive verification result based on the comparison processing of the interaction number and the comparison number, and / or the comparison processing of the positioning map and the comparison map, wherein the interactive verification result includes a normal verification result and an abnormal verification result) include: S321, counting the interaction numbers to obtain an interaction set, and counting the comparison numbers to obtain a comparison set.
[0151] It can be understood that the interaction set is a set including all interaction numbers, and the alignment set is a set including all alignment numbers.
[0152] Through the above implementation, the present invention can obtain an interaction set and a comparison set, so as to perform subsequent number comparison verification and corresponding image verification, thereby ensuring the accuracy of installation.
[0153] S322, obtaining a common set based on the intersection of the interaction set and the comparison set, obtaining an interaction difference set based on the difference between the interaction set and the common set, and obtaining a comparison difference set based on the difference between the comparison set and the common set.
[0154] It can be understood that the public set is a set with the same corresponding number as the interaction set and the comparison set, the interaction difference set is a difference set between the interaction set and the public set, and the comparison difference set is a difference set between the comparison set and the public set.
[0155] It is not difficult to understand that by determining the common set, the interactive difference set and the comparison difference set, subsequent numbering verification and image verification are facilitated.
[0156] S323, based on the numbers in the public set, compare the comparison maps corresponding to the comparison numbers with the positioning maps corresponding to the interaction numbers with the same numbers, count the numbers of different maps to obtain a map exception set, and use the map exception set as a map correction set.
[0157] It can be understood that an image comparison is performed between the comparison map corresponding to the comparison number with the same number in the public set and the positioning map corresponding to the interaction number in order to determine the accuracy of the image corresponding to the comparison number. When the comparison map and the positioning map with the same number are inconsistent, it means that the installer has installed the map at the corresponding position incorrectly, that is, the numbers of the maps with different numbers can be counted to obtain a map abnormality set, and the set can be used as a map correction set, so that corresponding guidance signs can be generated according to the map correction set later, which is convenient for personnel to check and make corrections in time.
[0158] The abnormal texture set is a set of texture images with the same number that are inconsistent.
[0159] For example, when the color of the comparison map of the comparison number 2 rows and 3 columns is yellow, and the positioning map of the interaction number 2 rows and 3 columns is red, the numbers of the different maps can be counted to obtain a map anomaly set.
[0160] S323, obtaining a position set based on the union of the interaction difference set and the comparison difference set, and generating a normal verification result when it is determined that the position set is empty and the mapping anomaly set is empty.
[0161] It can be understood that the position set is a number set for determining whether there is an abnormality in the map position, that is, the union of the interaction difference set and the comparison difference set, and the normal verification result is a verification result without any difference.
[0162] It is not difficult to understand that when the position set is empty, it means that the numbered positions occupied by the custom fonts in the comparison image and the interactive image are the same, and there is no error in the installation of the map position. At the same time, when the map exception set is empty, it means that there is no corresponding image inconsistency, which means that the images installed at each numbered position are also correct, which means that the verification has passed and a normal verification result has been obtained, which means that there is no need for subsequent correction guidance.
[0163] S324: When it is determined that the position set is empty and the mapping exception set is not empty, a mapping exception result is generated.
[0164] It can be understood that when the position set is empty but the map exception set is not empty, it means that the numbered positions occupied by the custom fonts in the comparison image and the interactive image are the same, and there is no error in the installation of the map position, but there is an error in the installed map image. For example, the positioning map of the interactive number 2 row and 3 column is red, while the color of the comparison map of the comparison number 2 row and 3 column is yellow, which means that the person's map installation is wrong. Therefore, the map exception result is generated to facilitate the subsequent generation of the corresponding correction image based on the map exception result, so as to prompt the personnel to make timely corrections.
[0165] Among them, the abnormal result of the mapping is the verification result of the abnormality of the mapping.
[0166] S325, when it is determined that the position set is not empty and the map exception set is empty, a position exception result is generated.
[0167] It can be understood that when the position set is not empty and the map exception set is empty, it means that there are different numbers in the comparison set and the interaction set, and there are image position differences between the comparison image and the interaction image, but the maps corresponding to the same number are the same, and there is no image abnormality. Therefore, a position abnormality result can be generated, and the position and image of the number in the corresponding comparison image can be corrected subsequently according to the position abnormality result.
[0168] S326, when it is determined that the position set is not empty and the map anomaly set is not empty, a comprehensive anomaly result is generated, wherein the anomaly verification result includes a map anomaly result, a position anomaly result and a comprehensive anomaly result.
[0169] It can be understood that when the position set is not empty and the mapping anomaly set is not empty, it means that when the comparison image is compared with the interactive image, there are differences in the positions of some numbered images in the comparison image. At the same time, image anomalies occur in the comparison of images with the same number. Therefore, a comprehensive anomaly result can be generated to facilitate the subsequent generation of corresponding images and displacement correction guidance information, so that personnel can make timely corrections.
[0170] Among them, the comprehensive abnormal result is the result that both the position number and the image are abnormal.
[0171] S327, obtaining an interactive verification result according to the abnormal verification result and the normal verification result.
[0172] It can be understood that the interactive verification result includes an abnormal verification result and a normal verification result.
[0173] S4, performing guidance processing on the comparison image according to the interactive verification result and the guidance correction strategy, generating a guidance correction image, and sending the guidance correction image to the interactive end.
[0174] It can be understood that the interactive verification result is obtained to compare the image and provide guidance instructions to generate a guidance correction image, which is then sent to the interactive end, so that the interactive end can make accuracy corrections according to the prompt information in the guidance correction image to ensure the accuracy of the box design.
[0175] The guiding correction image is a prompt image having correction guiding instruction information.
[0176] In some embodiments, the specific implementation steps of step S4 (performing guided processing on the comparison image according to the interactive verification result and the guided correction strategy, generating a guided correction image, and sending the guided correction image to the interactive end) include: S401, when it is determined that the interactive verification result is a tile abnormality result, a positioning tile corresponding to the interactive number is determined as a replacement tile based on a correction number in the tile correction set.
[0177] It can be understood that when the interactive verification result is an abnormal result of the map, the positioning map corresponding to the interaction number that is the same as the correction number in the map correction set can be used as the replacement map, so that the replacement map can be subsequently displayed in the comparison image for guidance and prompts, thereby facilitating personnel to view and correct.
[0178] The correction number is a number in the texture correction set, and the replacement texture is a positioning texture corresponding to the interaction number that is the same as the correction number.
[0179] S402, taking the numbered area of each correction number in the texture correction set as the correction area, determining the distance between the center point of the correction area and four blank boundary lines, and selecting the blank boundary line corresponding to the minimum distance as the guide boundary line.
[0180] It can be understood that the numbered area is the position area corresponding to each number in the interactive image, the spacing distance is the distance between the center point of the correction area and the blank boundary line, and the guide boundary line is the blank boundary line corresponding to the minimum spacing distance.
[0181] It is not difficult to understand that the blank boundary line with the smallest distance is selected as the guide boundary line, so that when the information prompt is given later, the correct image information can be displayed at the blank position closest to the correction area, which is convenient for personnel to view.
[0182] S403: construct a guide line perpendicular to the guide boundary line with the center point of the correction area as a starting point, and determine an intersection point between the guide line and the guide boundary line as an end point.
[0183] It can be understood that the guide line is a guide line segment that guides the correction content, and the end point is the intersection of the guide line and the guide boundary line.
[0184] Through the above implementation, the present invention can generate a guide line and determine the end point, so as to facilitate the subsequent acquisition of the corresponding bidirectional replacement mark.
[0185] S404, intercepting the guide line according to the center point and the end point of the correction area to obtain a marking line, and generating a directional arrow pointing to the center point at the center point, and generating a directional arrow pointing to the end point at the end point to obtain a bidirectional replacement mark.
[0186] It can be understood that the identification line is a line segment cut out from both ends of the guide line and is used to generate an identification line segment pointing to the arrow.
[0187] It is not difficult to understand that a directional arrow pointing to the center point is generated at the center point, and a directional arrow pointing to the end point is generated at the end point, to obtain a two-way replacement mark, which is convenient for subsequent personnel to replace the corresponding comparison map according to the two-way replacement mark.
[0188] S405: Determine an area between the decoration boundary line and the blank boundary line as a blank area.
[0189] It can be understood that the blank area is the area between the decorative boundary line and the blank boundary line, which is convenient for the subsequent determination of the indication area, so that the correction map can be placed in the corresponding indication area to avoid blocking the information in the comparison image, and the replacement map can be displayed more clearly for easy viewing by personnel.
[0190] S406, copying and translating the end point to both sides according to a preset filling distance to obtain a replacement interception point, and constructing a vertical line perpendicular to the guide boundary line based on the replacement interception point as a replacement interception line.
[0191] It can be understood that in order to determine the placement position of the replacement map, the end point can be copied and translated to both sides according to the preset filling distance to obtain the replacement interception point, so that a perpendicular line perpendicular to the guide boundary line can be constructed according to the replacement interception point, so as to facilitate the subsequent acquisition of the indication area, so as to visualize the pixel values corresponding to the updated map.
[0192] The replacement interception point is to determine the interception position point of the indicated area, and the replacement interception line is a vertical line based on the replacement interception point and perpendicular to the guide boundary line.
[0193] S407: performing a cutting process on the blank area based on the changed cutting line to obtain an indicated area.
[0194] It can be understood that the indication area is a prompt area for guiding image replacement, that is, the area between two replacement cut-off lines in the blank area.
[0195] S408, retrieving the customized pixel value and updating it into the indicated area to generate a guided correction image.
[0196] It can be understood that the customized pixel value corresponding to the replacement map is updated in the indicated area to obtain a guide correction image, which is then sent to the interactive end, so that the interactive end replaces and corrects the map at the corresponding numbered position according to the guide correction image.
[0197] S409: When it is determined that the interactive verification result is a position abnormality result, based on the interactive number in the interactive difference set, the comparison number closest to it is selected in the comparison difference set as the shift number.
[0198] It can be understood that when the comparison image shows that part of the image in the corresponding custom font is misplaced, for example, when the "one" in the font is misplaced from the standard third row to the second row, the comparison number closest to the interaction number in the interaction difference set can be selected in the comparison difference set as the shift number, so as to subsequently prompt the corresponding personnel to move the image corresponding to the shift number to the position corresponding to the interaction number.
[0199] It is not difficult to understand that by selecting the comparison number through the standard interaction number, it is possible to avoid image missing or redundancy in the comparison image, which cannot be matched one-to-one with the interaction image, thereby improving the accuracy of the correction.
[0200] For example, when the interaction numbers in the interaction difference set are 3 rows and 5 columns, 3 rows and 6 columns, and 3 rows and 7 columns, and the comparison numbers in the comparison difference set are 2 rows and 5 columns, 2 rows and 6 columns, and 2 rows and 7 columns, then the nearest comparison number 2 rows and 5 columns can be selected as the shift number based on the interaction number 3 rows and 5 columns, so that subsequent personnel can move the image in 2 rows and 5 columns to 3 rows and 5 columns.
[0201] S410, when it is determined that the comparison result of the positioning map of the interactive number is consistent with the comparison map of the shift number, a unidirectional shift mark is generated, in which the center point of the numbered area of the shifted number points to the center point of the numbered area corresponding to the interactive number, to generate a guided correction image.
[0202] It can be understood that when the comparison results of the positioning map of the interactive number and the comparison map of the shift number are consistent, it means that the corresponding actually installed map has only shifted in position, so that a one-way shift mark can be generated, and then a guided correction image can be obtained, so that subsequent personnel can correct the position of the map at the corresponding shift number according to the one-way shift mark in the guided correction image.
[0203] The one-way shift mark is a one-way indication mark for guiding the movement of the map position, and may be a one-way arrow.
[0204] S411, when it is determined that the comparison result of the positioning map of the interaction number and the comparison map of the shift number are inconsistent, a center point of the numbered area of the shifted number is generated to point to a unidirectional shift mark corresponding to the interaction number, and the numbered area corresponding to the interaction number is highlighted based on the customized pixel value corresponding to the comparison map to generate a guided correction image.
[0205] It can be understood that when the comparison results of the positioning map of the interaction number and the comparison map of the shift number are inconsistent, it means that the map at the corresponding shift number position is wrong. Then, a one-way shift mark can be generated to point to the correct interaction number position. At the same time, the interaction number is highlighted and a guiding correction image is generated so that personnel can replace the corresponding map while shifting.
[0206] S412, when the interactive verification result is a comprehensive abnormal result, a bidirectional replacement mark is generated according to the map abnormality set, with the center point of the numbered area pointing vertically to the guide boundary line, and the customized pixel value is retrieved and updated to the indicated area.
[0207] It is understandable that when the interactive verification result is a comprehensive abnormal result, the numbers in the map abnormality set are generated into corresponding bidirectional replacement marks so that the normal pixel values are displayed and updated in the indication area.
[0208] S413, based on the interactive difference set and the comparison difference set, generate a one-way shift mark and highlight the numbered area corresponding to the interactive number based on the customized pixel value corresponding to the comparison map to generate a guided correction image.
[0209] It can be understood that the specific implementation steps of generating a one-way shift mark for the number with position difference are the same as those for generating the one-way shift mark mentioned above, which will not be repeated here, so as to obtain a guiding correction image with a two-way replacement mark and a one-way shift mark, so that when it is subsequently sent to the interactive end, personnel can make corrections according to the indication marks in the guiding correction image to improve the construction quality.
[0210] S414: Send the guiding correction image to the interaction end.
[0211] It is understandable that the guidance correction image is sent to the interactive end so that the personnel can make corrections in time.
[0212] In some embodiments, it also includes: B1, when it is determined that the intersection of the interaction difference set and the comparison difference set is empty, the numbered area corresponding to the interaction number in the comparison image is updated based on the interaction number in the interaction difference set and the customized pixel value.
[0213] It is understandable that when personnel are installing stickers on box-type retaining walls, the number of interactive numbers may be more than the standard number. For example, if there are no 3 rows and 8 columns in the standard interactive number, and 3 rows and 8 columns appear in the comparison number, the intersection of the interactive difference set and the comparison difference set is empty. This means that the comparison number in the corresponding comparison difference set is a redundant number, that is, the personnel installed the sticker in an unnecessary position. Then, the corresponding numbered area in the comparison image can be updated so that the corresponding redundant numbers can be deleted later to ensure accurate installation.
[0214] The numbered area is the location area corresponding to the comparison number in the comparison image.
[0215] B2, based on the comparison number in the comparison difference set and the first preset pixel value, an update and deletion prompt is given to the numbered area corresponding to the comparison number in the comparison image.
[0216] It can be understood that the first preset pixel value is a preset pixel value, such as purple.
[0217] It is not difficult to understand that the numbered area corresponding to the comparison number in the comparison difference set is highlighted with a first preset pixel value so that subsequent personnel can remove the map at the corresponding numbered position according to the marked color to ensure the accuracy of the displayed custom sentence.
[0218] See also Figure 4 , is a structural schematic diagram of a processing system for a box-type landscape facing concrete retaining wall provided by an embodiment of the present invention, the processing system for a box-type landscape facing concrete retaining wall comprising: A customization module is used to receive a customization statement sent by the management terminal, perform character segmentation processing on the customization statement to obtain multiple customized fonts, and construct a box-type twin space corresponding to the box-type retaining wall, and splice the box-type twin spaces of the adjacent box-type retaining walls to obtain a retaining wall twin space; A generation module, used to customize the retaining wall twin space according to the customized font, generate an interaction number corresponding to each of the box-type retaining walls, determine a positioning map corresponding to the interaction number based on the customized pixel value of the customized font, and send it to the interaction end; A verification module, used to respond to the completion information of the interactive terminal, receive the comparison image collected by the interactive terminal based on the preset collection frame, perform double verification processing on the comparison image based on the interaction number and the positioning map, and generate an interactive verification result; A guiding module is used to guide the comparison image according to the interactive verification result and the guiding correction strategy, generate a guiding correction image, and send the guiding correction image to the interactive end.
[0219] See also Figure 5 , is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention, the electronic device 50 includes: a processor 51, a memory 52 and a computer program; wherein The memory 52 is used to store the computer program, which may also be a flash memory. The computer program is, for example, an application program, a functional module, etc. for implementing the above method.
[0220] The processor 51 is used to execute the computer program stored in the memory to implement each step performed by the device in the above method. For details, please refer to the relevant description in the above method embodiment.
[0221] Optionally, the memory 52 may be independent or integrated with the processor 51 .
[0222] When the memory 52 is a device independent of the processor 51, the device may further include: The bus 53 is used to connect the memory 52 and the processor 51 .
[0223] The present invention also provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided by the various embodiments described above.
[0224] Among them, the readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application-specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the readable storage medium can also exist in a communication device as discrete components. The readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0225] The present invention also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of a device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the above various embodiments.
[0226] In the embodiments of the above-mentioned devices, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0227] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for treating a box-type landscape facing concrete retaining wall, characterized in that: include: Receive the customized statement sent by the management end, perform character segmentation processing on the customized statement to obtain multiple customized fonts, and construct a box-type twin space corresponding to the box-type retaining wall, and splice the box-type twin spaces of the adjacent box-type retaining walls to obtain the retaining wall twin space; The retaining wall twin space is customized according to the customized font, an interaction number corresponding to each box-type retaining wall is generated, and a positioning map corresponding to the interaction number is determined based on the customized pixel value of the customized font and sent to the interaction end; In response to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, performing double verification processing on the comparison image based on the interaction number and the positioning map, and generating an interactive verification result; The comparison image is guided and processed according to the interactive verification result and the guided correction strategy to generate a guided correction image, and the guided correction image is sent to the interactive end.
2. The method according to claim 1, characterized in that The customizing of the retaining wall twin space according to the customized font to generate an interactive number corresponding to each box-type retaining wall includes: Obtaining a boundary line corresponding to the decoration area in the twin space of the retaining wall as the decoration boundary line, and an area corresponding to the decoration area as the decoration area, obtaining an offset coefficient according to a ratio of the decoration area to a reference area, and obtaining a decoration blank distance based on a product of the offset coefficient and a reference blank distance; Connecting the diagonal vertices in the decoration area to obtain a decoration diagonal line, obtaining the intersection of the decoration diagonal lines as the decoration center point, and copying and translating the vertices along the decoration diagonal lines toward the decoration center point based on the decoration blank distance to obtain blank vertices; Connect the blank vertices in turn in a clockwise direction to obtain a blank boundary line, and obtain a horizontal distance of the blank boundary line as a limiting distance; Obtaining the customized quantity of the customized font, retrieving the constrained font size and font spacing distance, and determining the spacing quantity according to the customized quantity; Based on the spacing quantity and the font spacing distance, a total spacing distance is obtained, and according to the difference between the limit distance and the total spacing distance, a horizontal custom distance is obtained; Obtaining a font customization width according to a ratio of the horizontal customization distance to the customization quantity, and determining a font placement size based on the font customization width; When it is determined that the font placement size is greater than or equal to the constraint size, the customized font is updated and arranged in the customized area based on the single-line arrangement strategy and the font placement size, and an interaction number corresponding to each of the box-type retaining walls is generated; When it is determined that the customized font width is smaller than the constrained font size, the customized font is updated and arranged in the customized area based on the line break arrangement strategy, and an interactive number corresponding to each of the box-type retaining walls is generated.
3. The method according to claim 2, characterized in that When it is determined that the font placement size is greater than or equal to the constraint size, the customized font is updated and arranged in the customized area based on the single-line arrangement strategy and the font placement size, and an interaction number corresponding to each box-type retaining wall is generated, including: When it is determined that the font placement size is greater than or equal to the constrained font size, the customization area is evenly divided horizontally according to the customization quantity to obtain a plurality of segmented areas; The first and last two segmented areas are counted as the first segmented areas, and the remaining segmented areas are counted as the second segmented areas; When it is determined that the adjacent segmented areas are all second segmented areas, a segmentation line between the adjacent segmented areas is obtained, and based on the segmentation line, the segmentation line is copied and translated to both sides at 1 / 4 of the font spacing distance to obtain a font spacing area; When it is determined that the adjacent segmented areas are respectively the first segmented area and the second segmented area, a segmentation line between the adjacent segmented areas is obtained, and based on the segmentation line, a copy and translation is made toward the inside of the first segmented area at 1 / 2 of the font spacing distance, and a copy and translation is made toward the inside of the second segmented area at 1 / 4 of the font spacing distance, to obtain a font spacing area; Determine a plurality of font customization areas according to the customization area and the font spacing area, and obtain a center point of the font customization area as a customization center point; Processing the custom font based on the font placement size to obtain a processed custom font, and obtaining a center point of the processed custom font as a font center point; The center point of the font is aligned with the customized center point in sequence to generate an interactive number corresponding to each of the box-type retaining walls.
4. The method according to claim 2, characterized in that: When it is determined that the customized font width is smaller than the constrained font size, the customized font is updated and arranged in the customized area based on the line break arrangement strategy, and the interactive number corresponding to each box-type retaining wall is generated, including: When it is determined that the font customization width is smaller than the constrained font size, determining the limited number of characters to be arranged horizontally in the customization area according to the constrained width corresponding to the constrained font size; According to the ratio of the customized quantity to the limited number of words, the number of customized lines of the customized area is obtained, and according to the customized number of lines, line break calculation is performed on the customized quantity to determine the number of words in a single line; Determine the number of spacings based on the number of characters in the single line, obtain the single line spacing distance based on the number of spacings and the font spacing distance, and obtain the single line customized distance based on the difference between the limit distance and the single line spacing distance; According to the ratio of the single-line customized distance and the single-line word count, an adjusted font width is obtained, and an initial placement font size is determined based on the adjusted font width; Obtaining the vertical height corresponding to the customized area, obtaining the font height based on the ratio of the vertical height to the number of customized lines, and determining the font comparison font size according to the font height; When it is determined that the initial placement font size is less than or equal to the font comparison font size, the initial placement font size is used as the line break placement font size; When it is determined that the initial placement font size is larger than the font comparison font size, the font comparison font size is used as the line break placement font size; The customized area is evenly divided longitudinally according to the customized number of lines to obtain a plurality of line break areas; Dividing the line break region uniformly horizontally based on the number of words in the single line to obtain a plurality of sub-line break regions; Counting the first and last sub-line break regions in each of the line break regions as the first sub-line break region, and counting the remaining sub-line break regions as the second sub-line break regions; When it is determined that the adjacent sub-line break areas are all second sub-line break areas, a dividing line between the adjacent sub-line break areas is obtained, and based on the dividing line, the dividing line is copied and translated to both sides at 1 / 4 of the font spacing distance to obtain a font spacing area; When it is determined that the adjacent sub-line wrapping areas are respectively the first sub-line wrapping area and the second sub-line wrapping area, a dividing line between the adjacent sub-line wrapping areas is obtained, and based on the dividing line, a copy and translation is made toward the inside of the first sub-line wrapping area at 1 / 2 of the font spacing distance, and a copy and translation is made toward the inside of the second sub-line wrapping area at 1 / 4 of the font spacing distance, to obtain a font spacing area; Determine a plurality of line break font areas according to the line break area and the font spacing area, and obtain the center points of the line break font areas as the customized center points; Processing the custom font based on the line break placement font size to obtain a processed custom font, and obtaining a center point of the processed custom font as a font center point; The center point of the font is aligned with the customized center point in sequence to generate an interactive number corresponding to each of the box-type retaining walls.
5. The method according to claim 4, characterized in that The step of performing line break calculation on the customized quantity according to the customized number of lines to determine the number of words in a single line includes: The customized area is evenly divided longitudinally according to the customized number of lines to obtain a plurality of line break areas; Based on the ratio of the customized quantity and the customized number of lines, an initial number of characters corresponding to each line break area is obtained, and when it is determined that the initial number of characters is not an integer, a decimal part of the initial number of characters is obtained as a judgment value; When it is determined that the judgment value is less than or equal to 0.5, the first line break region is determined as the first line break region based on the preset direction, and the remaining line break regions are determined as the second line break regions; The initial number of characters in the first line break region is rounded up, and the initial number of characters in the second line break region is rounded down to obtain the number of characters in a single line corresponding to each line break region; When it is determined that the judgment value is greater than 0.5, the first two line break regions are determined as the first line break regions based on the preset direction, and the remaining line break regions are determined as the second line break regions; The initial number of characters in the first line break region is rounded up, and the initial number of characters in the second line break region is rounded down to obtain the number of characters in a single line corresponding to each line break region.
6. The method according to claim 1, characterized in that The step of responding to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, performing double verification processing on the comparison image based on the interaction number and the positioning map, and generating an interactive verification result includes: In response to the completion information of the interactive terminal, receiving the comparison image collected by the interactive terminal based on the preset collection frame, and obtaining the comparison number and comparison map corresponding to the customized font in the comparison image; Based on the comparison processing of the interaction number and the comparison number, and / or the comparison processing of the positioning map and the comparison map, an interaction verification result is generated, and the interaction verification result includes a normal verification result and an abnormal verification result.
7. The method according to claim 6, characterized in that The comparison process based on the interaction number and the comparison number, and / or the comparison process between the positioning map and the comparison map, generates an interaction verification result, wherein the interaction verification result includes a normal verification result and an abnormal verification result, including: Counting the interaction numbers to obtain an interaction set, and counting the comparison numbers to obtain a comparison set; Obtaining a common set based on the intersection of the interaction set and the comparison set, obtaining an interaction difference set based on the difference between the interaction set and the common set, and obtaining an comparison difference set based on the difference between the comparison set and the common set; Based on the numbers in the common set, a comparison map corresponding to the comparison number with the same number and a positioning map corresponding to the interaction number with the same number are compared, and the numbers of different maps are counted to obtain a map abnormality set, and the map abnormality set is used as a map correction set; Based on the union of the interactive difference set and the comparison difference set, a position set is obtained, and when it is determined that the position set is empty and the mapping anomaly set is empty, a normal verification result is generated; When it is determined that the position set is empty and the mapping anomaly set is not empty, generating a mapping anomaly result; When it is determined that the position set is not empty and the map anomaly set is empty, generating a position anomaly result; When it is determined that the position set is not empty and the map anomaly set is not empty, a comprehensive anomaly result is generated, wherein the anomaly verification result includes a map anomaly result, a position anomaly result and a comprehensive anomaly result; An interactive verification result is obtained according to the abnormal verification result and the normal verification result.
8. The method according to claim 7, characterized in that The step of guiding the comparison image according to the interactive verification result and the guiding correction strategy to generate a guiding correction image, and sending the guiding correction image to the interactive end includes: When it is determined that the interactive verification result is a map abnormality result, a positioning map corresponding to the interactive number is determined as a replacement map based on the correction number in the map correction set; Taking the numbered area of each correction number in the texture correction set as the correction area, determining the distance between the center point of the correction area and the four blank boundary lines, and selecting the blank boundary line corresponding to the minimum distance as the guide boundary line; Constructing a guide line perpendicular to the guide boundary line with the center point of the correction area as a starting point, and determining an intersection point between the guide line and the guide boundary line as an end point; The guide line is intercepted according to the center point and the end point of the correction area to obtain an identification line, and a directional arrow pointing to the center point is generated at the center point, and an arrow pointing to the end point is generated at the end point to obtain a bidirectional replacement identification; Based on the area between the decoration boundary line and the blank boundary line as the blank area; The end point is copied and translated to both sides according to a preset filling distance to obtain a replacement interception point, and a vertical line perpendicular to the guide boundary line is constructed based on the replacement interception point as a replacement interception line; Based on the replacement interception line, the blank area is intercepted to obtain an indication area; Retrieving the customized pixel value and updating it in the indicated area to generate a guided correction image; When it is determined that the interactive verification result is a position abnormality result, based on the interactive number in the interactive difference set, the comparison number closest to it is selected in the comparison difference set as the shift number; When it is determined that the comparison result of the positioning map of the interactive number is consistent with the comparison map of the shift number, a one-way shift mark is generated, in which the center point of the number area of the shift number points to the center point of the number area corresponding to the interactive number, and a guided correction image is generated; When it is determined that the comparison result of the positioning map of the interaction number and the comparison map of the shift number is inconsistent, a center point of the numbered area of the shifted number is generated to point to a unidirectional shift mark corresponding to the interaction number, and the numbered area corresponding to the interaction number is highlighted based on the customized pixel value corresponding to the comparison map to generate a guided correction image; When the interactive verification result is a comprehensive abnormal result, a bidirectional replacement mark is generated according to the map abnormality set, with the center point of the numbered area pointing vertically to the guide boundary line, and the customized pixel value is retrieved and updated into the indicated area; Based on the interactive difference set and the comparison difference set, a one-way shift mark is generated and based on the customized pixel value corresponding to the comparison map, a numbered area corresponding to the interactive number is highlighted to generate a guided correction image; The guided correction image is sent to the interactive end.
9. The method according to claim 8, characterized in that Also includes: When it is determined that the intersection of the interaction difference set and the comparison difference set is empty, updating the numbered area corresponding to the interaction number in the comparison image based on the interaction number in the interaction difference set and the customized pixel value; Based on the comparison number in the comparison difference set and the first preset pixel value, a prompt for updating and deleting the numbered area corresponding to the comparison number in the comparison image is performed.
10. A processing system for box-type landscape facing concrete retaining wall, characterized in that: include: A customization module is used to receive a customization statement sent by the management terminal, perform character segmentation processing on the customization statement to obtain multiple customized fonts, and construct a box-type twin space corresponding to the box-type retaining wall, and splice the box-type twin spaces of the adjacent box-type retaining walls to obtain a retaining wall twin space; A generation module, used to customize the retaining wall twin space according to the customized font, generate an interaction number corresponding to each of the box-type retaining walls, determine a positioning map corresponding to the interaction number based on the customized pixel value of the customized font, and send it to the interaction end; A verification module, used to respond to the completion information of the interactive terminal, receive the comparison image collected by the interactive terminal based on the preset collection frame, perform double verification processing on the comparison image based on the interactive number and the positioning map, and generate an interactive verification result; A guiding module is used to guide the comparison image according to the interactive verification result and the guiding correction strategy, generate a guiding correction image, and send the guiding correction image to the interactive end.
Citation Information
Patent Citations
Configuration method and system of river channel assembly type component and solid prefabricated retaining wall
CN117725657A
Partition stand for nail hanging on indoor wall
KR1019980076873A
Panel for Retaining Wall having Irregular Plate Stones and Manufacturing Method thereof, and Retaining Wall using such Panels and Constructing Method thereof
KR1020180049819A
Adaptable processing framework
US12002055B1