Processing control method, device and equipment
By adding positioning marks to the periphery of the target processing pattern and performing image overlap matching, the problem of insufficient cutting accuracy in the prior art is solved, and a higher precision cutting effect is achieved.
Patent Information
- Application Number
- CN202111249139.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2041-10-26
AI Technical Summary
When cutting target processing patterns, existing processing equipment uses color sensors to determine the position accuracy insufficient, resulting in insufficient cutting accuracy.
By adding a plurality of positioning marks to the periphery of the target processing pattern, an image of the printed matter to be processed is acquired and overlapped and matched, and the outline of the target processing pattern in the first image is cut.
Improves cutting accuracy and ensures accurate cutting of target patterns.
Smart Images

Figure CN113971661B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of material processing technology, and in particular to a processing control method, device, and processing equipment. Background Art
[0002] When cutting material bearing a target pattern, the processing equipment uses a color sensor to scan the material line by line to determine the approximate location of a preset rectangular frame containing the target pattern. The position of the target pattern is then determined based on the position of the rectangular frame. However, the processing equipment requires a color sensor, and the positional accuracy of the target pattern is insufficient. Summary of the Invention
[0003] The embodiments of the present application provide a processing control method, device and processing equipment, which match and overlap the image of the printed product to be processed with the first image through positioning marks, so as to use the outline of the target processing pattern in the first image to cut the printed product to be processed, thereby improving the cutting accuracy.
[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by practice of the present application.
[0005] According to a first aspect of an embodiment of the present application, a processing control method is provided, the method comprising:
[0006] Acquiring a first image including a target processing pattern;
[0007] Adding a plurality of positioning marks on the periphery of the target processing pattern;
[0008] Acquire a photographed image of the printed product to be processed placed on the processing platform to obtain a second image, wherein the printed product to be processed is obtained by printing the first image to which the plurality of positioning marks are added;
[0009] performing, according to the plurality of positioning marks in the second image, alignment matching between the first image and the second image in a preset coordinate system;
[0010] The printed product to be processed is processed according to the outline of the target processing pattern in the first image after the overlap and matching, to obtain a target printed product.
[0011] In some embodiments of the present application, based on the above solution, the center of the minimum circumscribed rectangle of the multiple positioning marks coincides with the center of the first image.
[0012] In some embodiments of the present application, based on the above solution, the step of performing coincidence matching on the first image and the second image in a preset coordinate system according to the multiple positioning marks in the second image includes:
[0013] identifying the plurality of positioning markers in the second image;
[0014] Determining, based on the positions of the multiple positioning marks in the preset coordinate system, the center and rotation angle of the minimum circumscribed rectangle of the multiple positioning marks in the second image;
[0015] The first image and the second image are overlapped and matched in a preset coordinate system according to the center and the rotation angle of the minimum circumscribed rectangle of the multiple positioning marks in the second image.
[0016] In some embodiments of the present application, based on the above solution, the positioning mark includes a cross-shaped positioning mark, and identifying the multiple positioning marks in the second image includes:
[0017] performing binarization processing on the second image;
[0018] Performing target detection on the second image after binarization processing to obtain a target detection frame;
[0019] The target detection frame is equally divided into nine areas, and whether the target in the target detection frame is the cross-shaped positioning mark is determined according to the black pixel ratio of the nine areas.
[0020] In some embodiments of the present application, based on the above solution, the step of matching the first image with the second image in a preset coordinate system according to the center and rotation angle of the minimum circumscribed rectangle of the plurality of positioning marks in the second image includes:
[0021] translating the center of the first image to the position of the center of the minimum circumscribed rectangle of the plurality of positioning marks in the second image in the preset coordinate system;
[0022] The first image is rotated in the preset coordinate system according to the rotation angle of the minimum circumscribed rectangle of the plurality of positioning marks in the second image, so that the first image and the second image coincide and match in the preset coordinate system.
[0023] In some embodiments of the present application, based on the above solution, the step of performing coincidence matching on the first image and the second image in a preset coordinate system according to the multiple positioning marks in the second image includes:
[0024] Editing the first image so that a size of the target processing pattern in the edited first image is the same as a size of the target processing pattern in the second image;
[0025] According to the multiple positioning marks in the second image, the edited first image and the second image are overlapped and matched in the preset coordinate system.
[0026] In some embodiments of the present application, based on the above solution, processing the printed product to be processed according to the outline of the target processing pattern in the first image after overlap matching to obtain the target printed product includes:
[0027] extracting the contour of the target processing pattern in the first image after the overlap matching;
[0028] Obtaining and generating a GCODE instruction according to the outline of the target processing pattern in the first image after the overlap and matching;
[0029] The cutting jig is controlled to move according to the GCODE instruction so that the cutting jig cuts along the contour of the target processing pattern in the printed product to be processed.
[0030] According to a second aspect of an embodiment of the present application, a processing control device is provided, the device comprising:
[0031] An image acquisition unit, configured to acquire a first image containing a target processing pattern;
[0032] A positioning mark adding unit, configured to add a plurality of positioning marks on the periphery of the target processing pattern;
[0033] a camera unit configured to acquire an image of a printed product to be processed placed on a processing platform to obtain a second image, wherein the printed product to be processed is obtained by printing the first image to which the plurality of positioning marks are added;
[0034] a coincidence matching unit, configured to perform coincidence matching between the first image and the second image in a preset coordinate system according to the multiple positioning marks in the second image;
[0035] The processing control unit processes the printed product to be processed according to the outline of the target processing pattern in the first image after the overlap and matching, to obtain a target printed product.
[0036] According to a third aspect of an embodiment of the present application, a processing device is provided, the device comprising:
[0037] A processing platform for placing printed materials to be processed;
[0038] A camera, used for capturing an image of the printed matter to be processed placed on the processing platform;
[0039] A cutting jig, used for cutting the printed product to be processed;
[0040] The processing control device as described above is connected to the camera and the cutting jig respectively.
[0041] In some embodiments of the present application, based on the above solution, the cutting jig includes a knife and / or a laser cutter.
[0042] In the embodiment of the present application, the image of the printed product to be processed is matched and overlapped with the first image through positioning marks, so that the printed product to be processed is cut using the outline of the target processing pattern in the first image, thereby improving the cutting accuracy.
[0043] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings are incorporated into and constitute a part of the specification, illustrating embodiments consistent with the present application and, together with the specification, explaining the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can derive other drawings based on these drawings without inventive effort. In the drawings:
[0045] Figure 1 A schematic flow chart of a processing control method provided in an embodiment of the present application.
[0046] Figure 2 A schematic diagram of a second image is provided for implementation of the present application.
[0047] Figure 3 A schematic diagram of a first image is provided for implementation of the present application.
[0048] Figure 4 A flowchart of an image coincidence matching method provided in an embodiment of the present application.
[0049] Figure 5 A schematic diagram of a comparison between a first image and a second image after adding multiple positioning marks is provided for the implementation of the present application.
[0050] Figure 6 A schematic flow chart of a method for identifying a cross-shaped positioning mark provided in an embodiment of the present application.
[0051] Figure 7 A schematic diagram of a cross-shaped positioning mark provided in an embodiment of the present application.
[0052] Figure 8 A schematic flow chart of a processing method provided in an embodiment of the present application.
[0053] Figure 9A schematic diagram of a cutting jig working method provided in an embodiment of the present application.
[0054] Figure 10 A schematic diagram of generating GCODE instructions provided in an embodiment of the present application.
[0055] Figure 11 A flowchart of another processing control method provided in an embodiment of the present application.
[0056] Figure 12 A schematic structural diagram of a processing control device provided in an embodiment of the present application.
[0057] Figure 13 A schematic structural diagram of a processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0059] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner.In the following description, many specific details are provided so as to provide a full understanding of the embodiments of the present application. However, it will be appreciated by those skilled in the art that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps etc. can be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0060] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0061] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0062] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0063] Figure 1 This is a flow chart of a processing control method provided in an embodiment of the present application. Figure 1 As shown, the method includes at least the following steps.
[0064] Step 110: Acquire a first image containing a target processing pattern.
[0065] In a specific implementation, a high-resolution image is selected as the first image. Accordingly, the outline of the target processing pattern is clearer, providing a basis for subsequently cutting the printed product to be processed using the outline of the target processing pattern in the first image.
[0066] Step 120: Add multiple positioning marks around the periphery of the target processing pattern.
[0067] The positioning mark cannot cover the target processing pattern to avoid affecting the subsequent printing effect. The shape of the positioning mark can be a cross, triangle, circle, star and other shapes. The number of positioning marks should be greater than or equal to two.
[0068] Step 130: Acquire a photographed image of the printed product to be processed placed on the processing platform to obtain a second image, wherein the printed product to be processed is obtained by printing the first image after adding the multiple positioning marks.
[0069] In a specific implementation, the first image after adding a plurality of positioning marks can be subjected to typesetting processing; the typesetting first image can be printed or spray-painted to obtain a printed product to be processed.
[0070] In an application scenario of making sticker toys that children love, the first image may include multiple cartoon patterns. After the positions of the multiple cartoon patterns are laid out, they are printed using a printing machine or an inkjet printer to obtain a sticker. The sticker contains two layers, the upper layer is the material to be processed containing the cartoon pattern, and the lower layer is a plastic base. There are blank gaps between the cartoon patterns, which need to be cut in subsequent steps.
[0071] In the specific implementation, the user can use the graphical interactive interface to layout the target processing pattern in the first image, add positioning marks in the first image, view the second image through the graphical interactive interface, and preview the effect of the printed product after processing, so that the entire processing process is visible to the user, improving the user experience.
[0072] It should be noted that the printed material to be processed is placed on the processing platform manually or by a robotic arm. The position of the printed material on the processing platform may not be fixed. The second image can reflect the position of the printed material on the processing platform, and the target pattern in the printed material to be processed forms a mapping relationship with the target pattern in the second image. The processing platform can be the printing space of a 3D printer, the processing platform of a laser cutting machine, etc.
[0073] Figure 2 A schematic diagram of a second image is provided for the implementation of this application. The second image is a photo of a printed product to be processed placed on a processing table captured by a camera. Figure 2 As shown, the printed matter to be processed includes three cross-shaped positioning marks and a target processing pattern in the shape of a potted plant.
[0074] Step 140: Based on the multiple positioning marks in the second image, the first image and the second image are overlapped and matched in a preset coordinate system.
[0075] When the printed product to be processed is placed in the printing space of the 3D printer, and the second image is captured by the low-definition camera equipped with the 3D printer, the outline of the target processing pattern in the second image may not be clear, while the outline of the target processing pattern in the first image is clearer. Therefore, it is more appropriate to use the outline of the target processing pattern in the first image as the cutting trajectory.
[0076] It should be noted that the second image reflects the position of the printed product to be processed on the processing platform, and the position of the second image in the preset coordinate system forms a mapping relationship with the position of the printed product to be processed on the processing platform. Therefore, if the outline of the target processing pattern in the first image is to be used as the cutting trajectory, the first image and the second image need to be overlapped and matched in the preset coordinate system so that the target processing patterns in the first image and the second image overlap.
[0077] Step 150: Processing the printed product to be processed according to the outline of the target processing pattern in the first image after the overlap and matching to obtain a target printed product.
[0078] Processing the printed matter includes cutting, engraving or creasing it. In specific applications, different processing methods can be adopted for the printed matter according to actual needs.
[0079] In the application scenario of making children's favorite sticker toys, the cutting jig cuts along the outline of the cartoon pattern in the material to be processed, and the blank spaces between the cartoon patterns in the material to be processed are removed.
[0080] In the embodiment of the present application, the image of the printed product to be processed is matched and overlapped with the first image through positioning marks, so that the printed product to be processed is cut using the outline of the target processing pattern in the first image, thereby improving the cutting accuracy.
[0081] It is worth noting that the purpose of overlaying and matching the first and second images in a preset coordinate system is to align the target processing pattern in the first image with the target processing pattern in the second image, so that the outline of the target processing pattern in the first image can be used to cut the printed product to be processed. This can be achieved by aligning the center of the first image with the center of the minimum bounding rectangle of multiple positioning marks in the second image. In a specific implementation, when adding positioning marks to the first image, the center of the minimum bounding rectangle of the multiple positioning marks can be set as the center of the first image.
[0082] Figure 3 A schematic diagram of a first image is provided for the implementation of this application. Figure 3 As shown, the positioning mark adopts a cross-shaped mark, and the center of the smallest circumscribed rectangle of multiple positioning marks coincides with the center of the first image. In actual application, at least three positioning marks can be selected.
[0083] Figure 4 This is a flow chart of an image coincidence matching method provided in an embodiment of the present application. Figure 4 As shown, the method includes at least the following steps.
[0084] Step 410: Identify multiple positioning marks in the second image.
[0085] In a specific application, the features of the positioning mark can be extracted based on a convolutional neural network, the target in the second image can be classified, and the positioning mark in the second image can be determined.
[0086] Step 420: Determine the center and rotation angle of the minimum circumscribed rectangle of the plurality of positioning marks in the second image according to the positions of the plurality of positioning marks in the preset coordinate system.
[0087] Since the printed matter to be processed is placed on the processing platform manually or by a robotic arm, the placement position of the printed matter to be processed on the processing platform may not be fixed. Figure 5 A schematic diagram of the comparison between the first image and the second image after adding multiple positioning marks is provided for the implementation of this application. Figure 5As shown, if a preset coordinate system is established in the horizontal and vertical directions, the image on the left is the first image after adding multiple positioning markers, and the image on the right is the second image, then based on the positions of the multiple positioning markers in the preset coordinate system, it can be determined that the minimum circumscribed rectangle of the multiple positioning markers in the second image is rotated 90 degrees relative to the first image.
[0088] Step 430: Based on the center and rotation angle of the minimum circumscribed rectangle of the plurality of positioning marks in the second image, the first image and the second image are overlapped and matched in a preset coordinate system.
[0089] After the center and rotation angle of the minimum bounding rectangle of multiple positioning marks in the second image are known, the first image can be moved to a position overlapping with the second image, specifically including:
[0090] The center of the first image is translated to the position of the center of the minimum circumscribed rectangle of the plurality of positioning marks in the second image in a preset coordinate system;
[0091] The first image is rotated in a preset coordinate system according to a rotation angle of a minimum circumscribed rectangle of a plurality of positioning marks in the second image.
[0092] After the first image and the second image are coincident and matched in the preset coordinate system, it means that the target processing pattern in the first image and the target processing pattern in the second image are coincident, preparing for the subsequent use of the outline of the target processing pattern in the first image after coincidence and matching.
[0093] In one embodiment, a cross-shaped positioning mark may be used as the positioning mark, and the horizontal and vertical bars of the cross-shaped mark have the same size, and the length of the horizontal bar is three times the width. Figure 6 This is a flow chart of a method for identifying a cross-shaped positioning mark provided in an embodiment of the present application. Figure 6 As shown, the method includes at least the following steps.
[0094] Step 610: Binarize the second image.
[0095] Image binarization is the process of setting the grayscale values of pixels in an image to 0 or 255, making the entire image appear distinctly black and white. Image binarization significantly reduces the amount of data in the image, thereby highlighting the outlines of objects in the image.
[0096] Step 620: Perform target detection on the second image after the binarization process to obtain a target detection frame.
[0097] The target detection box is the bounding box of the target in the image or the minimum circumscribed rectangle of the target. In a specific implementation, a deep learning target detection algorithm can be used to perform target detection on the second image.
[0098] Step 630: Divide the target detection frame into nine equal areas, and determine whether the target in the target detection frame is a cross-shaped positioning mark based on the black pixel ratio of the nine areas.
[0099] Figure 7 This is a schematic diagram of a cross-shaped positioning mark provided in an embodiment of the present application. Figure 7 As shown, the area within the target detection frame of the cross-shaped positioning mark is equally divided into nine regions, ranked from 1 to 9. Since the second image has been binarized, when the black pixel ratios of regions 1, 3, 7, and 9 are all less than a first threshold, and the black pixel ratios of regions 2, 4, 5, 6, and 8 are greater than a second threshold, the target within the target detection frame can be determined to be a cross-shaped mark. In specific implementations, the first threshold, such as 15%, and the second threshold, such as 85%, can be determined based on practical application.
[0100] In some embodiments of the present application, based on the above solution, the first image and the second image are overlapped and matched in a preset coordinate system according to multiple positioning marks in the second image, including:
[0101] Editing the first image so that a size of a target processing pattern in the edited first image is the same as a size of a target processing pattern in the second image;
[0102] According to the multiple positioning marks in the second image, the edited first image and the second image are overlapped and matched in a preset coordinate system.
[0103] In order to make the target processing patterns in the first image and the second image coincide with each other, the size of the first image needs to be adjusted. In a specific implementation, the size of the first image can be edited through interactive editing.
[0104] Figure 8 A schematic diagram of a processing method provided in an embodiment of the present application. Figure 8 As shown, the method includes at least the following steps.
[0105] Step 810: extracting the contour of the target processing pattern in the first image after the overlap matching.
[0106] In a specific implementation, a polygon-based bitmap contour vectorization algorithm (Potrace) may be used to extract the contour of the target processing pattern in the first image.
[0107] Step 820: Obtain and generate a GCODE instruction based on the outline of the target processing pattern in the first image after the overlap and matching.
[0108] GCODE is a command that can be understood by the 3D printer firmware to control the movement of the cutting fixture. GCODE instructions include G0 / G1 instructions. Figure 9 This is a schematic diagram of a cutting jig working method provided in an embodiment of the present application. Figure 9 As shown, when the cutting fixture is cutting the material to be processed, if the G0 command is executed, the tool is first raised and then moves; if the G1 command is executed, the tool is first lowered and then moves.
[0109] Figure 10 This is a schematic diagram of generating a GCODE instruction provided in an embodiment of the present application. Figure 10 As shown in the figure, the coordinates of the square and triangle are known on the left. When the cutting jig cuts the square first and then the triangle, the GCODE instructions on the right are generated. The cutting jig first raises the tool to the position (x1, y1), a vertex of the square, and then moves along the outline of the square. After the square is cut, the tool is raised to the position (x5, y5), a vertex of the triangle, and then moves along the outline of the triangle.
[0110] Step 830: Control the movement of the cutting jig according to the GCODE instruction so that the cutting jig cuts along the contour of the target processing pattern in the printed product to be processed.
[0111] Figure 11 A flow chart of another processing control method provided in the embodiment of the present application. Figure 11 As shown, the method includes at least the following steps.
[0112] Step 1110: Import image: obtain a first image containing a target processing pattern.
[0113] In a specific implementation, the user may import a high-resolution image in a format such as jpg / png / bmp.
[0114] Step 1120: Adding marks: Add multiple positioning marks on the periphery of the target processing pattern.
[0115] Step 1130: Capture an image: obtain a captured image of the printed matter to be processed placed on the processing table to obtain a second image. The printed matter to be processed is obtained by printing the first image after adding multiple positioning marks.
[0116] Step 1140: Identify markers: Identify multiple positioning markers in the second image, and determine the center and rotation angle of the minimum circumscribed rectangle of the multiple positioning markers in the second image.
[0117] Step 1150: interactive editing: editing the first image to obtain an edited first image, so that the size of the target processing pattern in the edited first image is the same as the size of the target processing pattern in the second image.
[0118] Step 1160: Extracting the outline: extracting the outline of the target processing pattern in the edited first image.
[0119] Step 1170: Overlap matching: Based on the multiple positioning marks in the second image, the first image and the second image are overlapped and matched in a preset coordinate system.
[0120] Step 1180: Generate GCODE: Generate GCODE instructions according to the outline of the target processing pattern in the first image after overlap matching.
[0121] Step 1190: Jig processing: Process the printed product to be processed to obtain a target printed product.
[0122] In the embodiment of the present application, the image of the printed product to be processed is matched and overlapped with the first image through positioning marks, so that the printed product to be processed is cut using the outline of the target processing pattern in the first image, thereby improving the cutting accuracy.
[0123] The following describes an embodiment of the processing control device of the present application, which can be used to execute the processing control method of the above-mentioned embodiment of the present application. For details not disclosed in the embodiment of the processing control device of the present application, please refer to the embodiment of the processing control method of the above-mentioned application.
[0124] Figure 12 This is a schematic diagram of the structure of a processing control device provided in an embodiment of the present application. Figure 12 As shown, the process control device 1200 includes at least the following parts.
[0125] The image acquisition unit 1210 is configured to acquire a first image containing a target processing pattern.
[0126] The positioning mark adding unit 1220 is used to add multiple positioning marks on the periphery of the target processing pattern.
[0127] The camera unit 1230 is used to obtain an image of the printed product to be processed placed on the processing platform to obtain a second image. The printed product to be processed is obtained by printing the first image with multiple positioning marks added.
[0128] The coincidence matching unit 1240 is configured to perform coincidence matching between the first image and the second image in a preset coordinate system according to the multiple positioning marks in the second image.
[0129] The processing control unit 1250 processes the printed product to be processed according to the outline of the target processing pattern in the first image after the overlap and matching, to obtain a target printed product.
[0130] The present application also provides a processing device, which includes:
[0131] A processing platform for placing printed materials to be processed;
[0132] A camera, used to capture images of printed matter to be processed placed on the processing platform;
[0133] A cutting jig, used for cutting the printed product to be processed;
[0134] The above-mentioned processing control device is connected to the camera and the cutting jig respectively.
[0135] In a specific implementation, the cutting tool can be a laser cutter or a knife.
[0136] Figure 13 A schematic diagram of the structure of a processing device provided in an embodiment of the present application is shown in FIG. Figure 13 As shown, the processing equipment is a laser and knife cutting processing equipment 1300, which includes a frame 1340. The frame 1340 is provided with an enclosed processing space 1320. The processing space 1320 is used to place and process the workpiece to be processed (such as a printed material to be processed). The frame 1340 is provided with a top opening connected to the processing space 1320. The frame 1340 is also connected to a cover 1360. The cover 1360 can rotatably cover the opening, which allows the user to place the workpiece to be processed or remove the processed workpiece. The frame 1340 is composed of a base plate, side plates, etc. A movable track and a processing device arranged on the movable track are provided in the frame 1340. The processing device can move in the X, Y, and Z axis directions within the processing space 1320. The processing device has a laser and a tool to move and perform laser engraving and cutting, as well as tool cutting and indentation on the workpiece to be processed by laser or tool, which can realize a desktop-level and miniaturized setting of the laser and knife cutting processing equipment.
[0137] A camera 1330 is provided in the laser and knife cutting processing equipment, and the processing platform 1310 is provided at the bottom of the processing space 1320. The camera 1330 faces the processing platform 1310 and is used to capture the processing image, for example, capturing the printed matter to be processed to obtain a second image.
[0138] The laser and knife cutting processing equipment 1300 of the embodiment of the present application includes a mounting frame 1350 installed in a frame 1340, and the camera 1330 is set on the mounting frame 1350 inside the laser and knife cutting processing equipment 1300. Compared with the solution in which the camera 1330 is installed on the upper cover 1360, the solution of the embodiment of the present application not only simplifies the routing of the camera 1330, but also better prevents the deformation of the cover 1360 or the change in the position of the camera 1330 caused by repeated switching, thereby avoiding debugging before laser processing and improving processing accuracy and processing efficiency. In addition, compared with the solution of installing the camera 1330 on the cover 1360, installing the camera 1330 on the mounting bracket 1350 can ensure that the entire image of the workpiece to be processed is captured while lowering the height of the entire laser and knife cutting processing equipment 1300, making it more convenient for the user to place the workpiece to be processed (when the user places the workpiece to be processed, the user's hand will go deep into the processing space 1320 or the frame 1340, and the height of the laser and knife cutting processing equipment 1300 is too high, which is not convenient for the user to operate).
[0139] The camera 1330 is arranged at the middle position of the mounting frame 1350. When the camera 1330 is installed at the middle position of the mounting frame 1350, the overall image of the workpiece to be processed can be better captured. The term "middle position" in this application refers to the exact center position of the component, or the part close to the exact center position. Optionally, the camera is arranged at the bottom of the receiving groove. This can better prevent the camera from being accidentally damaged when the workpiece is being processed, and also has a better dust-proof effect, which increases the service life of the camera. At the same time, the equivalent circular diameter of the receiving groove gradually decreases from the mounting surface to the bottom of the receiving groove, which can better avoid the side wall of the receiving groove affecting the shooting effect of the camera.
[0140] An embodiment of the present application further provides a storage medium comprising a program or instruction, which, when executed, is used to execute a processing control method and any optional method provided in an embodiment of the present application.
[0141] Finally, it should be noted that those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, optical storage, etc.) containing computer-usable program code.
[0142] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0143] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0144] The above are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A processing control method, characterized in that: The method comprises: Acquiring a first image including a target processing pattern; Adding a plurality of positioning marks on the periphery of the target processing pattern; Acquiring a photographed image of a printed product to be processed placed on a processing platform to obtain a second image, wherein the printed product to be processed is obtained by printing the first image to which the plurality of positioning marks are added; wherein the resolution of the second image is lower than the resolution of the first image; Editing the first image so that a size of the target processing pattern in the edited first image is the same as a size of the target processing pattern in the second image; Identifying the multiple positioning marks in the second image, and determining the center and rotation angle of the minimum circumscribed rectangle of the multiple positioning marks in the second image based on the positions of the multiple positioning marks in a preset coordinate system; Matching the target processing pattern in the edited first image with the target processing pattern in the second image in the preset coordinate system according to the center and rotation angle of the minimum circumscribed rectangle of the plurality of positioning marks in the second image; A GCODE instruction is generated based on the outline of the target processing pattern in the first image after the overlap and matching, and the printed product to be processed is processed based on the GCODE instruction to obtain a target printed product.
2. The processing control method according to claim 1, wherein: The center of the minimum circumscribed rectangle of the multiple positioning marks coincides with the center of the first image.
3. The processing control method according to claim 1, wherein: The positioning mark includes a cross-shaped positioning mark, and identifying the multiple positioning marks in the second image includes: performing binarization processing on the second image; Performing target detection on the second image after binarization processing to obtain a target detection frame; The target detection frame is equally divided into nine areas, and whether the target in the target detection frame is the cross-shaped positioning mark is determined according to the black pixel ratio of the nine areas.
4. The processing control method according to claim 1, wherein: The step of overlapping and matching the target processing pattern in the edited first image and the target processing pattern in the second image in the preset coordinate system according to the center and the rotation angle of the minimum circumscribed rectangle of the plurality of positioning marks in the second image includes: translating the center of the first image to the center of the minimum circumscribed rectangle of the plurality of positioning marks in the second image; The first image is rotated in the preset coordinate system according to the rotation angle of the minimum circumscribed rectangle of the multiple positioning marks in the second image, so that the target processing pattern in the first image after the editing process and the target processing pattern in the second image coincide and match in the preset coordinate system.
5. A processing control device, characterized in that: The device comprises: An image acquisition unit, configured to acquire a first image containing a target processing pattern; A positioning mark adding unit, configured to add a plurality of positioning marks on the periphery of the target processing pattern; a camera unit configured to capture an image of a printed product to be processed placed on a processing platform to obtain a second image, wherein the printed product to be processed is obtained by printing the first image to which the plurality of positioning marks are added; wherein the resolution of the second image is lower than the resolution of the first image; a coincidence matching unit, configured to edit the first image so that the size of the target processing pattern in the edited first image is the same as the size of the target processing pattern in the second image; identify the multiple positioning marks in the second image, and determine the center and rotation angle of the minimum circumscribed rectangle of the multiple positioning marks in the second image based on the positions of the multiple positioning marks in the preset coordinate system; and coincidentally match the target processing pattern in the edited first image with the target processing pattern in the second image in the preset coordinate system based on the center and rotation angle of the minimum circumscribed rectangle of the multiple positioning marks in the second image; The processing control unit is used to extract and generate a GCODE instruction according to the outline of the target processing pattern in the first image after overlap matching, and process the printed product to be processed based on the GCODE instruction to obtain a target printed product.
6. A processing equipment, characterized in that, The device comprises: A processing platform for placing printed materials to be processed; A camera, used for capturing an image of the printed matter to be processed placed on the processing platform; A cutting jig, used for cutting the printed product to be processed; The processing control device according to claim 5, connected to the camera and the cutting jig respectively.
7. The processing equipment according to claim 6, characterized in that The cutting tool includes a knife and / or a laser cutter.
Citation Information
Patent Citations
Automatically-aligned numerical control cutting method for pre-printed image plate
CN101885152A