A color layering-based bean splicing color-by-color guiding method
By using a color-layered, color-guided method, the problems of multi-color confusion and high misplacement rate in Perler beads production are solved, achieving efficient and low-threshold guidance for Perler beads production, which is suitable for intelligent Perler beads auxiliary devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Filing Date
- 2026-04-14
- Publication Date
- 2026-07-14
AI Technical Summary
Existing methods for guiding users to create Perler beads suffer from problems such as color confusion, high misplacement rate, frequent color switching, low operational efficiency, and poor guidance flexibility. In particular, users find it difficult to quickly get started with complex multi-colored patterns.
It adopts a color-layered, color-guided approach, generating a layer queue for color-guided navigation through single-layer monochrome guidance and automatic/manual dual-mode layer cutting. It utilizes an LED matrix for dedicated guidance of single-layer monochrome navigation and supports manual layer switching and multimodal information prompts in offline mode.
It reduces the misplacement rate of Perler beads, improves production efficiency, lowers the entry barrier, and allows novice users to get started quickly, thus improving user experience and operational efficiency.
Smart Images

Figure CN122391390A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent DIY auxiliary tools, specifically to a color-layered percussion bead guiding method. Background Technology
[0002] Perler beads are a widely used DIY craft product. Users need to place different colored beads on the corresponding grid template according to the color and position of the target pattern, and finally complete the production by heating and shaping. It is widely used in children's creative crafts, adult art creation, cultural and creative products production and other scenarios.
[0003] Currently, the mainstream guidance methods for creating Perler beads fall into two categories: The first type is the traditional manual comparison method, in which users manually check the colors and positions of patterns using paper drawings or electronic images, and manually match the corresponding colored beads for placement. This method relies entirely on manual visual verification without any intelligent assistance, and has a high operational threshold.
[0004] The second type is a simple LED-assisted guidance method, which displays all the pixels of the target pattern on an LED dot matrix screen, with all the dots of all colors lit up simultaneously, allowing users to place the lights according to their positions and colors. Although this method achieves visual guidance of the dots, there are still unresolved technical pain points.
[0005] Existing technologies for guiding the creation of Perler beads have three major flaws: Multicolor confusion and high misplacement rate: The existing full-image display method displays all color points at the same time. In dense point areas, users are very likely to mismatch colors and points, especially in complex multicolor patterns. Visual differentiation is difficult, and the probability of misplacing or missing Perler beads is extremely high, resulting in a high rework rate. Frequent color switching and low production efficiency: The existing method lacks layered guidance logic, requiring users to frequently switch between multiple colors of beads and search for scattered points of the corresponding color throughout the entire image. The operation is cumbersome and the time cost of a single production is extremely high. Poor guidance flexibility and insufficient adaptability: The existing guidance method lacks layer management logic, cannot achieve phased, layer-by-layer progress, does not support manual layer switching in offline mode, cannot adapt to user operating habits, has a high entry barrier, and is difficult for novice users to get started quickly. Summary of the Invention
[0006] One of the objectives of this invention is to provide a color-layered guide method for Perler beads, which completely solves the problems of multi-color confusion, high misplacement rate, frequent color switching, and low operation efficiency in existing technologies through the core process of color-dimensional layering, single-layer single-color guidance, and automatic / manual dual-mode layer cutting, thereby achieving low-threshold, high-precision, and high-efficiency guidance for Perler bead making.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A color-layered Perler bead-guided color-by-color method includes the following steps: S1. Acquisition and standardization preprocessing of target pattern: The mobile software acquires the target pattern made of Perler beads, performs standardization preprocessing on the target pattern, obtains pixelated dot matrix data that perfectly matches the physical resolution of the LED matrix, and establishes a mapping relationship table with a one-to-one correspondence between "pixel coordinates and standard Perler bead color numbers". S2. Color-based pattern layering: Based on the preprocessed pixel array and mapping table, the pattern is layered according to the color dimension to generate a color-guided layer queue; using the standard bead color number as the classification basis, all pixels with the same color number are grouped into the same independent guide layer. Each layer contains only the pixel coordinate information of a single color. Each layer is assigned a unique layer number, color identifier, and corresponding bead color number information. All layers are sorted to generate an ordered guide layer queue. S3. Single-layer guided LED matrix lighting drive control: According to the guide layer queue, the first guide layer to be executed is loaded, the coordinate information of all pixels in the currently loaded layer is extracted, and the main control module generates the corresponding LED constant current drive instruction according to the coordinate information; based on the drive instruction, the points in the LED matrix that correspond exactly to the pixel coordinates of the current layer are lit, and all other points that are not in this layer are turned off, realizing single-layer single-color dedicated guidance. S4. Single layer completion verification and automatic switching to the next layer: Real-time monitoring of the completion status of the bead placement in the current guide layer. When it is detected that the bead placement in the current layer has been completed, the main control module automatically triggers the layer switching command, turns off the LED lighting output of the current layer, and automatically loads the next layer to be guided according to the order of the guide layer queue. After the new layer is loaded, the LED matrix drive control process of step S3 is repeated, and so on in a loop.
[0008] In one embodiment of the present invention, in step S1, the method of acquiring the target pattern includes at least one of the following: a pattern pre-stored on the mobile phone, a digital pattern imported by the user, and a physical pattern captured by photography.
[0009] In one embodiment of the present invention, the specific operations of the standardization preprocessing in step S1 include: scaling the target pattern to a size that perfectly matches the physical resolution of the LED matrix, generating a pixel dot matrix, wherein each pixel corresponds to a grid point of the bead template; removing the background and performing color quantization processing on the pattern, matching the color value of each pixel with a unique standard bead color number through the minimum color difference algorithm, and finally establishing a mapping relationship table with a one-to-one correspondence between "pixel coordinates and standard bead color numbers".
[0010] In one embodiment of the present invention, in step S2, the sorting rules for all layers include any one of sorting by the percentage of color pixels in the pattern from high to low, sorting by color brightness from dark to light, and user-defined sorting.
[0011] In one embodiment of the present invention, in step S4, the detection method of completion status includes at least one of the following: the user triggers a confirmation button signal for "current layer completed", the image acquisition unit identifies that all points in the current layer have been placed with beads.
[0012] In one embodiment of the present invention, the method further includes step S5, manual layer switching control in offline state: when the device is in an offline operating state without a host computer, the main control module responds to the trigger signal of the key input module in real time and executes manual layer switching control; it detects the user's key commands in real time, and when a valid manual layer switching command is received, the main control module immediately terminates the display output of the current layer, loads the target layer corresponding to the command, and synchronously updates the point positions of the LED matrix to match the coordinate information of the target layer.
[0013] In one embodiment of the present invention, the button command includes at least one of switching to the next layer, switching to the previous layer, and jumping to a specified sequence number layer.
[0014] In one embodiment of the present invention, the method further includes step S6, multimodal information prompts in offline state: when the device is in offline operation state, the main control module outputs prompt information synchronously through the voice module and the LCD display module according to the current operation information; the prompt information includes at least one of the following: the color number of the bead corresponding to the current layer, color identifier, number of beads, operation guidance, encouraging content, and rest reminder.
[0015] In one embodiment of the present invention, the method further includes step S7, the final processing of the full layer guidance: when all layers in the guidance layer queue have been guided, the main control module triggers a completion prompt instruction. The completion prompt instruction includes at least one of the following: voice prompt completion information, LCD screen display completion animation, control of LED matrix to perform periodic flashing of all points, and display of preset completion mark pattern, thereby ending the full process of color-by-color guidance of the current bead pattern.
[0016] In one embodiment of the present invention, it is applied to an intelligent bead-collecting auxiliary device, which includes at least a mobile phone software, a main control module, an LED matrix display module, and also includes at least one of a storage module, a button input module, an LCD display module, a voice module, a pattern input unit, and a Bluetooth communication module.
[0017] The beneficial effects of this invention are as follows: This invention uses color layering and single-layer monochrome guidance as its core logic to display only the same color of the placement point at a time, eliminating visual confusion caused by displaying multiple color points at the same time, reducing the probability of misplacing or missing the beads, and almost eliminating the problem of rework. Users only need to process the same color of beads at a time, without having to switch frequently between multiple colors. Compared with the existing full-map guidance method, the number of color switching is reduced, and there is no need to search for scattered points on the whole map, thus improving the overall completion speed of bead making. This invention supports both automatic and offline manual layer cutting modes. It can achieve fully automatic layer-by-layer guidance and also adapt to the user's operating habits by flexibly adjusting the guide layer, thus lowering the entry barrier for Perler beads creation and allowing novice users to get started quickly. The color layering and guiding logic of this invention can be adapted to LED matrices of any resolution and bead patterns of any complexity, without any limitation on pattern type, and can be widely adapted to bead auxiliary devices of different specifications. Multimodal and user-friendly prompts enhance the user experience: Multimodal information prompts via voice and LCD screen can effectively guide users to operate accurately. At the same time, encouraging content and rest reminders take into account the user's psychological experience and physical health, meeting the user's diverse needs. Attached Figure Description
[0018] Figure 1 This is a flowchart of the overall process of the color-layered percussion bead color-guided method of the present invention; Figure 2 This is a flowchart of the sub-step S2 color layering process of the present invention; Figure 3 This is a system architecture block diagram of the intelligent bead-collecting auxiliary device used in an embodiment of the present invention; Figure 4 This is the original pattern of an embodiment of the present invention; Figure 5 This invention provides an embodiment of a single-color image obtained by intelligently layering the original pattern. Figure 6 This invention provides an embodiment of a single-color image obtained by intelligently layering the original pattern. Figure 7 In one embodiment of the present invention, a single image of one color is generated from the original pattern after intelligent layering; Figure 8 In one embodiment of the present invention, a single image of one color is generated from the original pattern after intelligent layering; Figure 9 This invention provides an embodiment of a single-color image generated from an original pattern after intelligent layering. Specific Implementation The present invention will be further described in detail below with reference to specific embodiments and comparative examples. Those skilled in the art should understand that the following embodiments are only for explaining the present invention and are not intended to limit the scope of protection of the present invention.
[0020] This invention discloses a color-layered percussion bead guidance method, applied to intelligent percussion bead auxiliary devices, such as... Figure 3 As shown, the intelligent bead-collecting auxiliary device includes a mobile app, a main control module, a storage module, an LED matrix display module, a button input module, an LCD display module, a voice module, a Bluetooth communication module, and an image acquisition unit. The main control module uses a microcontroller as its core controller. The LED matrix display module uses a 24×24 dot matrix RGB LED screen with a 5mm pitch, corresponding one-to-one with the grid points of the bead template. The button input module includes four physical buttons, corresponding to the "Previous Layer," "Next Layer," "Confirm Completion," and "Return" functions. The storage module stores pattern layer data. The Bluetooth communication module enables wireless data transmission between the mobile app and the main control module. The voice module uses an external speaker, and the LCD display module uses a display screen.
[0021] like Figure 1 As shown, the method in this embodiment specifically includes the following steps: S1. Acquisition and Standardization Preprocessing of Target Pattern Users can select a cartoon pattern from a pre-stored Perler bead pattern library as the target pattern via a WeChat mini-program (i.e., mobile software), or import a digital pattern from their phone's photo album, or take a picture of a real object as the target pattern using their phone's camera. In this embodiment, the target pattern is a 24×24 pixel cartoon character pattern, which perfectly matches the physical resolution of the LED matrix.
[0022] The mobile software performs standardized preprocessing on the target pattern: First, the pattern is de-backgrounded by using an edge detection algorithm to remove redundant background areas outside the pattern; the pattern is scaled to 24×24 pixels to generate a pixel array that perfectly matches the LED matrix, with each pixel corresponding to a grid point in the bead template; the pattern undergoes color quantization by using a K-means clustering algorithm to cluster the pattern colors into 5 core colors, and then using a minimum color difference algorithm to match the color value of each pixel with the pre-stored MARD bead standard color code library, assigning a unique standard bead color code to each pixel; finally, a mapping table is established that corresponds one-to-one between "pixel coordinates - standard bead color codes", where the pixel coordinates are based on the top left corner of the LED matrix as the origin, with the horizontal axis as the X-axis and the vertical axis as the Y-axis, and the coordinate format of each point is (X,Y), with X and Y values ranging from 0 to 23.
[0023] S2. Pattern layering based on color dimension Based on the preprocessed pixel grid and mapping table, the pattern is layered according to the color dimension, generating a color-guided layer queue. Specific sub-steps are as follows: Figure 2 As shown: The first step is to use the standard Perler bead color number as the classification basis, traverse the mapping relationship table, and group all pixels with the same color number into the same independent guide layer. In this embodiment, the pattern contains a total of 5 standard Perler bead color numbers, so 5 independent guide layers are generated. Each layer contains only the pixel coordinate information of a single color. The colors and positions of different layers are completely independent, with no overlap or omission. The second step is to assign a unique layer number (1~5), color identifier, corresponding bead color number, and number of beads for each layer. The third step is to sort the five layers according to the rule of the proportion of color pixels in the pattern from high to low. The layer with the highest proportion of pixels is layer 1, which is the first guide layer to be executed, and the layer with the lowest proportion of pixels is layer 5, which is the last guide layer to be executed, thus generating an ordered queue of guide layers. Fourth, the mobile software transmits all data from the guide layer queue to the main control module via Bluetooth communication module, and the main control module stores the data in the storage module.
[0024] S3, Single-layer guided LED matrix lighting drive control The main control module loads the first layer to be executed, Layer 1, according to the guide layer queue, extracts the coordinate information of all pixels in Layer 1, and generates the corresponding LED constant current driving instruction based on the coordinate information. Based on the driving instruction, it controls the points in the LED matrix that completely correspond to the pixel coordinates of Layer 1 to be lit in a constant white mode, while all other points that are not in this layer are turned off. The lit points are the target positions where the corresponding colored beads need to be placed in the current step, realizing the exclusive guidance of a single layer and a single color.
[0025] Meanwhile, the main control module controls the LCD display module to display the current layer number, the corresponding bead color number, the color name, and the total number of beads to be placed in this layer; it also controls the voice module to play a voice prompt: "Currently, this is layer 1, black beads, a total of 32 beads are required. Please place the corresponding beads in the lit positions."
[0026] S4. Single layer completes verification and automatically switches to the next layer. After the user has placed the corresponding colored beads at all the lit points, they can press the "Confirm Complete" button on the button input module. The main control module receives the confirmation button signal triggered by the user and determines that the placement of all the beads in the current layer has been completed. The main control module automatically triggers the layer switching command, immediately turns off the LED lighting output of the current layer 1, and automatically loads the next layer 2 to be guided according to the order of the guide layer queue; After layer 2 is loaded, repeat the LED matrix drive control process of step S3 to light up all the points corresponding to layer 2, turn off the remaining points, update the content displayed on the LCD screen, play the corresponding voice prompts, and complete the color-by-color guidance of the new layer. This process is repeated until all layers have been guided in sequence.
[0027] In this embodiment, an image acquisition unit (high-definition camera) installed on the top of the device can also capture images of the Perler bead template in real time. The image recognition algorithm can be used to determine whether all the light points in the current layer have been placed with Perler beads. When it is recognized that all the beads have been placed, the layer switching is automatically triggered without the need for the user to manually press a button to confirm, thus realizing a fully automatic guidance process.
[0028] S5. Manual layer switching control in offline mode When the device disconnects from the mobile software via Bluetooth and is in an offline operating state without a host computer, the main control module reads the stored guide layer queue data from the storage module and responds to the trigger signal of the key input module in real time to perform manual layer switching control. The main control module detects user key presses in real time. When the user presses the "Next" button and receives the instruction to switch to the next layer, it immediately terminates the display output of the current layer, loads the next layer in the queue, and synchronously updates the point positions of the LED matrix to match the coordinate information of the target layer. When the user presses the "Previous" button and receives the instruction to switch to the previous layer, it immediately switches to the previous guide layer, allowing the user to check and fill in completed layers. When the user presses a combination of number keys, they can directly jump to the specified layer, enabling flexible manual guidance in offline mode.
[0029] S6. Multimodal information prompts in offline mode When the device is in offline operation mode, the main control module synchronously executes multimodal information prompts based on the user's key presses: Each time a layer is switched, the LCD screen synchronously updates and displays the color number, color label, and number of beads for the current layer. The voice module plays corresponding operation guidance voice and encouraging content, such as "Layer 2 is complete, great! Next is layer 3, white beads, 28 in total." When the main control module detects that there has been no key operation for 30 consecutive minutes, it determines that the user has been operating continuously for a long time. It then controls the voice module to play a rest prompt, and the LCD screen displays the rest reminder content simultaneously, guiding the user to pause operation and move around, taking into account both the user experience and health.
[0030] S7. Finishing touches after completing all layers. Once all five layers in the guide layer queue have been guided, the main control module triggers a completion prompt command: the voice module plays the completion prompt voice message "Congratulations! The pattern is all complete, you're awesome!", the LCD screen displays a fireworks completion animation, and the LED matrix executes a full-point color periodic flashing prompt for 30 seconds, after which a preset smiley face completion marker pattern is displayed, ending the full-process color-by-color guidance of this Perler bead pattern.
[0031] Actual testing has verified that the method in this embodiment can reduce the misplacement rate of Perler beads by 92%, reduce the number of color switching times by 85%, and shorten the overall production time by 65% for complex multi-colored Perler bead patterns. At the same time, novice users can quickly get started without instruction, which greatly reduces the entry barrier for Perler bead making.
Claims
1. A color-layered percussion bead-guided color-by-color method, characterized in that: Includes the following steps: S1. Acquisition and standardization preprocessing of target pattern: The mobile software acquires the target pattern made of Perler beads, performs standardization preprocessing on the target pattern, obtains pixelated dot matrix data that perfectly matches the physical resolution of the LED matrix, and establishes a mapping relationship table with a one-to-one correspondence between "pixel coordinates and standard Perler bead color numbers". S2. Color-based pattern layering: Based on the preprocessed pixel array and mapping table, the pattern is layered according to the color dimension to generate a color-guided layer queue; using the standard bead color number as the classification basis, all pixels with the same color number are grouped into the same independent guide layer. Each layer contains only the pixel coordinate information of a single color. Each layer is assigned a unique layer number, color identifier, and corresponding bead color number information. All layers are sorted to generate an ordered guide layer queue. S3. Single-layer guided LED matrix lighting drive control: According to the guide layer queue, the first guide layer to be executed is loaded, the coordinate information of all pixels in the currently loaded layer is extracted, and the main control module generates the corresponding LED constant current drive instruction according to the coordinate information; based on the drive instruction, the points in the LED matrix that correspond exactly to the pixel coordinates of the current layer are lit, and all other points that are not in this layer are turned off, realizing single-layer single-color dedicated guidance. S4. Single layer completion verification and automatic switching to the next layer: Real-time monitoring of the completion status of the bead placement in the current guide layer. When it is detected that the bead placement in the current layer has been completed, the main control module automatically triggers the layer switching command, turns off the LED lighting output of the current layer, and automatically loads the next layer to be guided according to the order of the guide layer queue. After the new layer is loaded, the LED matrix drive control process of step S3 is repeated, and so on in a loop.
2. The color-layered percussion bead guiding method according to claim 1, characterized in that: In step S1, the target pattern can be acquired by at least one of the following methods: a pattern pre-stored on the mobile phone, a digital pattern imported by the user, or a physical pattern captured by photography.
3. The color-layered percussion bead guiding method according to claim 1, characterized in that: In step S1, the specific operations of the standardization preprocessing include: scaling the target pattern to a size that perfectly matches the physical resolution of the LED matrix, generating a pixel dot matrix, wherein each pixel corresponds to a grid point of the bead template; removing the background and performing color quantization on the pattern, matching the color value of each pixel with a unique standard bead color number through the minimum color difference algorithm, and finally establishing a mapping table of "pixel coordinates - standard bead color number" in a one-to-one correspondence.
4. The color-layered percussion bead guiding method according to claim 1, characterized in that: In step S2, the sorting rules for all layers include any one of the following: sorting by the percentage of pixels of color in the pattern from high to low, sorting by color brightness from dark to light, or user-defined sorting.
5. The color-layered percussion bead guiding method according to claim 1, characterized in that: In step S4, the completion status detection method includes at least one of the following: the user triggers the "current layer completed" confirmation button signal, or the image acquisition unit identifies that all points in the current layer have been placed with beads.
6. The color-layered percussion bead guiding method according to claim 1, characterized in that: The method also includes manual layer switching control in offline state in step S5: when the device is in offline operation state without a host computer, the main control module responds to the trigger signal of the key input module in real time and executes manual layer switching control; it detects the user's key commands in real time, and when a valid manual layer switching command is received, the main control module immediately terminates the display output of the current layer, loads the target layer corresponding to the command, and synchronously updates the point positions of the LED matrix to match the coordinate information of the target layer.
7. The color-layered percussion bead guiding method according to claim 6, characterized in that: The key commands include at least one of switching to the next layer, switching to the previous layer, and jumping to a specified sequence number layer.
8. A color-layered percussion bead guiding method according to claim 6, characterized in that: The method also includes step S6, multimodal information prompts in offline mode: when the device is in offline operation mode, the main control module outputs prompt information synchronously through the voice module and the LCD display module according to the current operation information; the prompt information includes at least one of the following: the color number of the bead corresponding to the current layer, color identifier, number of beads, operation guidance, encouraging content, and rest reminder.
9. The color-layered percussion bead guiding method according to claim 1, characterized in that: The method also includes the finishing process of step S7, which completes the full layer guidance: when all layers in the guidance layer queue have completed the guidance, the main control module triggers a completion prompt instruction. The completion prompt instruction includes at least one of the following: voice prompt completion information, LCD screen display completion animation, control of LED matrix to perform periodic flashing of all points, and display of preset completion mark pattern, thereby ending the full process of color-by-color guidance of this Perler bead pattern.
10. A color-layered percussion bead guiding method according to claim 1, characterized in that: The device is applied to an intelligent bead-collecting auxiliary device, which includes at least a mobile phone software, a main control module, an LED matrix display module, and also includes at least one of a storage module, a button input module, an LCD display module, a voice module, a pattern input unit, and a Bluetooth communication module.