Sewing path monitoring method, system, terminal, storage medium and program product

By using an edge detection algorithm to monitor sewing path deviation in real time and trigger an early warning, the problem of path deviation during sewing is solved, thus improving production efficiency and quality.

CN122446448APending Publication Date: 2026-07-24JACK SEWING MASCH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JACK SEWING MASCH CO LTD
Filing Date
2025-01-22
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing sewing technologies cannot effectively monitor fabric sewing path deviations, leading to decreased production quality and increased scrap rates.

Method used

An edge detection algorithm is used to acquire images of the workbench in real time. By calculating the coordinates of the fabric edge, specific stitches, and needle landing point, it is determined whether the sewing path has deviated. When a deviation occurs, an early warning mechanism is triggered to adjust the position and direction of the sewing equipment.

Benefits of technology

It enables real-time monitoring and adjustment of the sewing path, reducing the scrap rate and improving production efficiency and product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122446448A_ABST
    Figure CN122446448A_ABST
Patent Text Reader

Abstract

The application provides a sewing path monitoring method, system, terminal, storage medium and program product. The method comprises: in a sewing process stage, acquiring an image of a workbench surface; based on an edge detection algorithm, processing the image of the workbench surface to obtain running state parameter information; based on the running state parameter information, determining whether a sewing path of cloth in a sewing area deviates from a preset motion path; if yes, triggering an abnormal early warning mechanism, and timely adjusting the position and sewing direction of the sewing equipment relative to the cloth; otherwise, maintaining the current position and sewing direction of the sewing equipment relative to the cloth unchanged. The application can monitor the deviation of the cloth in the sewing area in real time, and timely issue an abnormal alarm when the deviation occurs, helping the operator quickly locate the specific position and degree of deviation, thereby effectively reducing the waste rate, improving the production efficiency and economic benefit, and further improving the overall quality and precision of the sewing operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of garment manufacturing technology and relates to a sewing path monitoring method, system, terminal, storage medium and program product. Background Technology

[0002] In modern sewing industry production and various sewing operation scenarios, the precision and quality of sewing are crucial. Traditional sewing processes often rely on the operator's experience and skills to ensure the accuracy of the sewing path, that is, sewing the fabric along a pre-set movement path. However, this method has many drawbacks.

[0003] On the one hand, during long periods of continuous sewing, operators are prone to fatigue and distraction, making it difficult to accurately control the position of the fabric relative to the preset path at all times, which may lead to deviations in the sewing path. Even experienced operators cannot completely avoid slight deviations caused by human factors. These slight deviations may accumulate and cause significant quality problems in some products with high sewing precision requirements (such as high-end clothing and precision textiles), affecting the appearance and performance of the product.

[0004] On the other hand, with the continuous improvement of automation in the sewing industry, while automated sewing equipment has improved production efficiency to some extent, factors such as the physical properties of the fabric (e.g., softness, elasticity, uneven thickness), minor errors in the mechanical transmission system, and changes in the sewing environment (e.g., vibration, temperature, humidity affecting fabric elasticity) can all cause the fabric to deviate from its sewing path during the sewing process. Most existing sewing equipment lacks effective real-time monitoring and early warning mechanisms. Once a deviation occurs, it is often only detected in subsequent quality inspection stages. This not only increases the scrap rate and production costs but may also delay the production cycle, reduce production efficiency, and decrease the company's economic benefits. Summary of the Invention

[0005] The purpose of this application is to provide a sewing path monitoring method, system, terminal, storage medium, and program product to solve the technical problem of decreased production quality caused by the inability of existing technologies to effectively monitor sewing path deviation of fabric.

[0006] Firstly, this application provides a sewing path monitoring method. The method includes: during the sewing process, acquiring an image of the worktable surface; processing the image of the worktable surface based on an edge detection algorithm to obtain operating status parameter information; based on the operating status parameter information, determining whether the sewing path of the fabric within the sewing area has deviated from a preset motion path; if so, triggering an abnormality warning mechanism and adjusting the position and sewing direction of the sewing equipment relative to the fabric as appropriate; otherwise, maintaining the current position and sewing direction of the sewing equipment relative to the fabric unchanged.

[0007] In one implementation of the first aspect, the image of the workbench is processed based on an edge detection algorithm to obtain running status parameter information, including: detecting the edge information of a target object in the image of the workbench surface based on the edge detection algorithm; the edge information of the target object includes the coordinates of the fabric edge, the coordinates of a specific edge, the coordinates of the needle landing point, and the coordinates of the presser foot contour; and using the edge information of the target object as the running status parameter information.

[0008] In one implementation of the first aspect, determining whether the sewing path of the fabric within the sewing area has deviated from the preset movement path based on the operating state parameter information includes: calculating the distance from the fabric edge or the specific edge to the needle landing point based on the coordinates of the fabric edge, the coordinates of the specific edge, and the coordinates of the needle landing point to obtain a first distance; calculating the distance from the fabric edge or the specific edge to the presser foot contour based on the coordinates of the fabric edge, the coordinates of the specific edge, and the coordinates of the presser foot contour to obtain a second distance; determining whether the first distance or the second distance exceeds a preset threshold; if so, it is determined that the sewing path of the fabric has deviated from the preset movement path; otherwise, it is determined that the sewing path of the fabric is consistent with the preset movement path.

[0009] In one implementation of the first aspect, detecting the edge information of the target object in the image of the workbench based on the edge detection algorithm includes: filtering the image of the workbench to obtain a filtered image; performing edge enhancement processing on the filtered image to highlight pixels with significant changes in neighborhood intensity in the filtered image; calculating the gradient magnitude and direction of the pixels to identify regions with large gradient values; and locating the edge coordinates of the fabric, the coordinates of the specific edge, the coordinates of the needle landing point, and the coordinates of the presser foot contour based on the regions with large gradient values.

[0010] In one implementation of the first aspect, during the sewing stage, acquiring images of the workbench includes: setting an image acquisition frequency; periodically capturing target objects on the workbench according to the set image acquisition frequency to obtain a series of continuous images of the workbench; the target objects include fabric edges, specific hem edges, presser feet, and sewing needles.

[0011] In one implementation of the first aspect, when the sewing path of the fabric in the sewing area deviates from the preset movement path, the deviation warning mechanism is triggered by providing immediate feedback to the operator through audible and visual signals; the immediate feedback is used to warn of the fabric deviation that occurs during the sewing process, so as to remind the operator to take corrective measures in a timely manner.

[0012] Secondly, this application provides a sewing path monitoring system, comprising: an image acquisition module for acquiring an image of the workbench during the sewing process; an edge detection module for processing the image of the workbench based on an edge detection algorithm to obtain operating status parameter information; an offset judgment module for determining, based on the operating status parameter information, whether the sewing path of the fabric within the sewing area has deviated from a preset movement path; and an early warning processing module for triggering an abnormal early warning mechanism when it is determined that the fabric within the sewing area has deviated from the preset movement path, and adjusting the position and sewing direction of the sewing equipment relative to the fabric in a timely manner; and maintaining the current position and sewing direction of the sewing equipment relative to the fabric unchanged when it is determined that the fabric within the sewing area has not deviated from the preset movement path.

[0013] Thirdly, this application provides a sewing path monitoring terminal, characterized in that it includes: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the sewing path monitoring terminal performs the method described above.

[0014] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the methods described above.

[0015] Fifthly, this application provides a computer program product, which includes computer program code that, when run on a computer, causes the computer to implement the method described above.

[0016] As described above, the sewing path monitoring method, system, terminal, storage medium, and program product described in this application can monitor the fabric offset within the sewing area in real time and issue an abnormal alarm in a timely manner when the offset occurs, helping operators to quickly locate the specific location and extent of the offset, thereby effectively reducing the scrap rate, improving production efficiency and economic benefits, and ultimately improving the overall quality and accuracy of sewing operations. Attached Figure Description

[0017] Figure 1 The diagram shown is a structural schematic of the mobile terminal described in this application in one embodiment.

[0018] Figure 2 The flowchart shown is a representation of one embodiment of the sewing path monitoring method described in this application.

[0019] Figure 3 The flowchart shown is a further embodiment of the sewing path monitoring method described in this application.

[0020] Figure 4 The flowchart shown is a further embodiment of the sewing path monitoring method described in this application.

[0021] Figure 5 The diagram shown is a structural schematic of the sewing path monitoring system described in this application in one embodiment.

[0022] Figure 6 The diagram shown is a structural schematic of a sewing path monitoring terminal according to an embodiment of this application. Detailed Implementation

[0023] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.

[0024] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0025] Furthermore, the use of terms such as "first" and "second" in this application is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. If the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed in this application.

[0026] The following embodiments of this application provide a sewing path monitoring method, system, terminal, storage medium, and program product that can monitor the offset of fabric in the sewing area in real time and issue an abnormal alarm in a timely manner when the offset occurs, helping operators to quickly locate the specific location and extent of the offset, thereby effectively reducing the scrap rate, improving production efficiency and economic benefits, and thus improving the overall quality and accuracy of sewing operations.

[0027] The sewing path monitoring method provided in this application can run on mobile terminals, computer terminals, and similar devices. Taking the operation on the mobile terminal as an example, Figure 1 This is a hardware structure block diagram of the mobile terminal, such as... Figure 1 As shown, a mobile terminal may include a processor and a memory, wherein the processor may be a central processing unit and the memory is used to store data. Figure 1 The mobile terminal in the example is for illustrative purposes only and is not intended to limit the specific structure of the mobile terminal.

[0028] Optionally, the mobile terminal may further include: a communication transmission device and an input / output device.

[0029] Optionally, the memory can be used to store computer programs, such as application software programs and modules. The memory may include high-speed random access memory (RAM) and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memories. In some instances, the memory may further include memory remotely located relative to the processor, which can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks (LANs), mobile communication networks, and combinations thereof.

[0030] Optionally, the communication transmission device can be used to receive or send data via a network, which may include a wireless network provided by the mobile terminal's communication provider. The communication transmission device may include a NIC (Network Interface Controller), which can be connected to other network devices via a base station to communicate with the Internet.

[0031] The technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0032] Please see Figure 2 The diagram shows a flowchart of one embodiment of the sewing path monitoring method described in this application. Figure 2 As shown in the figure, this application provides a sewing path monitoring method, including the following steps S100 to S400.

[0033] In step S100, during the sewing process, an image of the workbench surface is acquired.

[0034] The sewing process phase is defined as the motion state in which the sewing equipment has started and is performing sewing operations, specifically including the operation of raising the presser foot and placing the fabric on the worktable. At this time, the sewing equipment generates operating parameters.

[0035] In one embodiment of this application, during the sewing stage, the step S100 of acquiring an image of the workbench may include the following steps S101 to S102.

[0036] In step S101, the image acquisition frequency is set.

[0037] Regarding the setting of the image acquisition frequency, an appropriate frequency can be determined based on the specific requirements of the sewing operation, as well as factors such as fabric material and sewing speed. For example, when dealing with soft and easily deformed fabrics such as silk, the image acquisition frequency might be set to once every 0.5 seconds to capture subtle changes in the fabric more promptly. For relatively stiff fabrics like denim that deform less, the acquisition frequency can be set to once every 1 second. This optimizes system resource utilization efficiency while ensuring monitoring effectiveness.

[0038] In step S102, the target object on the workbench is captured periodically according to the set image acquisition frequency to obtain a series of continuous images of the workbench.

[0039] In this embodiment of the application, the target object includes the fabric edge, a specific hem, a presser foot, and a sewing needle.

[0040] Taking collar sewing in garment production as an example, for collar fabrics with delicate binding edges, during the sewing process, by periodically capturing images including the binding edges and fabric edges, the direction of the fabric sewing path can be accurately monitored. This verifies whether each stitch follows the preset movement path, ensuring that the shape and size of the collar meet design standards. Furthermore, by capturing images including the presser foot and needle, the stability of the sewing equipment's operation can be determined. For example, when the needle slightly bends or the presser foot pressure is uneven, abnormalities at the needle-fabric contact point and changes in the presser foot's fit with the fabric can be detected in the acquired images. Corresponding adjustments can then be made to avoid quality problems such as skipped stitches, broken threads, or uneven stitches.

[0041] In this implementation, by periodically acquiring images of the workbench, the dynamic trajectory of the fabric on the workbench can be captured. This dynamic monitoring method has significant advantages. For example, in traditional methods that rely solely on manual sampling or periodic static image comparison, it is difficult to detect deviations that gradually accumulate during the sewing process in a timely manner. However, the dynamic trajectory acquisition in this application can track changes in the fabric and related components in real time. Whether it is a slight displacement of the fabric during the pushing process or a change in the position of the stitching edge caused by vibration during equipment operation, it can be captured immediately. This provides a comprehensive and accurate data foundation for subsequent path deviation judgment and early warning, greatly improving the accuracy and timeliness of sewing path monitoring and effectively ensuring the high-quality output of sewing products.

[0042] In step S200, the image of the workbench is processed based on the edge detection algorithm to obtain the running status parameter information.

[0043] In one embodiment of this application, the image of the workbench is processed based on an edge detection algorithm to obtain running status parameter information, including: detecting the edge information of a target object in the image of the workbench surface based on the edge detection algorithm; the edge information of the target object includes the coordinates of the fabric edge, the coordinates of a specific edge, the coordinates of the needle landing point, and the coordinates of the presser foot contour; and using the edge information of the target object as the running status parameter information.

[0044] In this embodiment, the coordinates of the fabric edge and the specific hemline jointly reflect the actual position and direction of the fabric on the worktable. By tracking the coordinates of the fabric edge and the specific hemline, this application can verify whether the stitching follows a predetermined path. The coordinates of the needle landing point are related to the stitch density and positional accuracy of the sewing; accurate needle landing point coordinates ensure the uniformity and aesthetics of the stitching. The coordinates of the presser foot profile reflect the pressure applied by the presser foot to the fabric and its coverage area; accurate presser foot profile coordinate information helps to adjust the presser foot pressure in real time, prevent fabric stretching and deformation, and ensure the flatness of the sewing and the consistency of the stitches.

[0045] Please see Figure 3 The diagram shows a flowchart of another embodiment of the sewing path monitoring method described in this application. Figure 3 As shown, step S200, which detects the edge information of the target object in the image of the workbench based on the edge detection algorithm, may include the following steps S201 to S204.

[0046] In step S201, the image of the workbench surface is filtered to obtain a filtered image.

[0047] When processing images with noise interference caused by unstable ambient lighting or equipment vibration in the workshop, median filtering, Gaussian filtering, and other methods can effectively remove various types of noise such as salt-and-pepper noise and Gaussian noise, resulting in a clear and smooth filtered image, thereby significantly improving image quality.

[0048] In step S202, edge enhancement processing is performed on the filtered image to highlight pixels with significant changes in neighborhood intensity in the filtered image.

[0049] In this embodiment, edge enhancement processing is performed on the filtered image. By adjusting the pixel grayscale value of the image, pixels with significant changes in neighborhood intensity can be highlighted, making key parts such as fabric edges, needles, and presser feet more clearly identifiable in the image.

[0050] Taking the sewing of fabrics with complex patterns as an example, edge enhancement processing can significantly improve the contrast between the pattern and the fabric edge, making it easier to accurately extract edge information and avoid edge misjudgment caused by pattern interference.

[0051] In step S203, the gradient magnitude and direction of the pixel are calculated to identify regions with larger gradient values.

[0052] In this embodiment, areas with large gradient values ​​are typically closely related to key locations such as fabric edges, specific hem edges, needle landing points, and presser foot contours. Especially when sewing products with extremely high dimensional accuracy requirements, by calculating the gradient amplitude and direction, it is possible to accurately locate key locations such as fabric edges, specific hem edges, needle landing points, and presser foot contours in complex image backgrounds, thereby ensuring the accuracy of sewing dimensions and meeting the requirements of high-quality product standards.

[0053] In step S204, based on the area with a large gradient value, the coordinates of the edge of the fabric, the coordinates of the specific edge, the coordinates of the needle landing point, and the coordinates of the presser foot contour are located.

[0054] In this implementation, by using edge information as running status parameters, comprehensive and accurate data support can be provided for subsequent sewing path monitoring and adjustment, effectively ensuring the efficient, stable and high-quality operation of the entire sewing process.

[0055] In step S300, based on the running status parameter information, it is determined whether the sewing path of the fabric in the sewing area has deviated from the preset motion path.

[0056] Please see Figure 4 The flowchart shown is a further embodiment of the sewing path monitoring method described in this application. Figure 4 As shown, based on the operating status parameter information, the step S300 of determining whether the sewing path of the fabric in the sewing area has deviated from the preset motion path may include the following steps S301 to S304.

[0057] In step S301, based on the coordinates of the fabric edge, the coordinates of the specific edge, and the coordinates of the needle landing point, the distance from the fabric edge or the specific edge to the needle landing point is calculated to obtain a first distance.

[0058] In step S302, based on the coordinates of the fabric edge, the coordinates of the specific side edge, and the coordinates of the presser foot profile, the distance from the fabric edge or the specific side edge to the presser foot profile is calculated to obtain the second distance.

[0059] In this embodiment, the first distance is used to measure the relative positional relationship between the fabric edge or a specific edge and the needle component of the sewing equipment, and the second distance is used to measure the relative positional relationship between the fabric edge or a specific edge and the presser foot component of the sewing equipment.

[0060] In theory, if the first and second distances remain constant, it indicates that the fabric edge, specific hem, needle, and presser foot are all in ideal positions during the sewing process. Even a slight change in either of these distances can significantly impact the final sewing quality and aesthetic appearance. Therefore, ensuring that the first and second distances remain constant is crucial for achieving high-quality sewing.

[0061] In step S302, it is determined whether the first distance or the second distance exceeds a preset threshold.

[0062] Specifically, the preset threshold can be set comprehensively based on factors such as different sewing process requirements, fabric characteristics, and product quality standards.

[0063] In step S303, if the first distance or the second distance exceeds a preset threshold, it is determined that the sewing path of the fabric has deviated from the preset motion path; otherwise, it is determined that the sewing path of the fabric is consistent with the preset motion path.

[0064] Specifically, there are several possible reasons why the sewing path of the fabric may deviate from the preset movement path. For example, malfunctions in the mechanical equipment driving or controlling the fabric movement, including but not limited to motors, sensors, and controllers. Furthermore, human error can occur when operators set or adjust relevant parameters. Moreover, the different material properties of fabrics (such as elasticity, thickness, and weight) can also affect their movement path. For instance, highly elastic or lighter materials are more susceptible to external disturbances and may change direction. Additionally, external environmental conditions, such as temperature fluctuations, humidity changes, and wind speed, can all affect the fabric surface, causing deviations between the actual path and the design value.

[0065] In step S400, if the sewing path of the fabric deviates from the preset movement path, an abnormal warning mechanism is triggered, and the position and sewing direction of the sewing equipment relative to the fabric are adjusted in a timely manner; otherwise, the current position and sewing direction of the sewing equipment relative to the fabric remain unchanged.

[0066] In one embodiment of this application, when the sewing path of the fabric in the sewing area deviates from the preset movement path, the deviation warning mechanism is triggered by providing immediate feedback to the operator through sound and light signals.

[0067] In this embodiment, the real-time feedback is used to alert operators to fabric misalignment during the sewing process, prompting them to take corrective action promptly. The strong audio-visual signal quickly attracts the operator's attention, ensuring that the warning information is not missed even in noisy production environments. This is similar to a situation on a high-speed production line where, when fabric for a duvet cover with a complex pattern shifts, the operator can immediately identify the problem and quickly pinpoint the exact location and extent of the misalignment based on the alarm information.

[0068] When a deviation in the sewing path of the fabric is detected, this application can quickly and accurately fine-tune the position of the sewing equipment and make a small movement compensation in the opposite direction, while adjusting the subsequent movement direction to ensure that the needle can continue sewing along the correct path, thereby ensuring that the landing point of each stitch conforms to the preset precise position and maintaining the accuracy of the overall sewing pattern and splicing.

[0069] When the fabric's movement trajectory matches the preset path, the current movement trajectory of the sewing equipment remains unchanged. Taking the mass production of ordinary cotton garments as an example, during a stable sewing process, there is no need for frequent and unnecessary adjustments to the equipment, allowing it to operate continuously and efficiently. This reduces downtime and operational errors that may result from unwarranted intervention, further improving production efficiency and product consistency.

[0070] This implementation method ensures a constant sewing distance between the fabric edge, specific hem edges, and key components of the sewing equipment such as the needle and presser foot by employing a strategy of continuous monitoring and precise control. For sewing tasks with complex shapes and patterns, this technology can significantly improve product yield and overall quality. It is suitable not only for cost optimization and efficiency improvement in large-scale industrial production scenarios but also for meeting the stringent requirements for detail quality in the high-end customization field, comprehensively reducing the proportion of waste products and enhancing production efficiency and the market competitiveness of finished products.

[0071] It should be noted that the scope of protection of the sewing path monitoring method described in this application is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this application is included within the scope of protection of this application.

[0072] Please see Figure 5 The image shown is a structural schematic diagram of the sewing path monitoring system described in one embodiment of this application. Figure 5 As shown in the figure, this application provides a sewing path monitoring system, including an image acquisition module, an edge detection module, an offset judgment module, and an early warning processing module.

[0073] Specifically, the image acquisition module is used to acquire an image of the workbench during the sewing process.

[0074] The edge detection module is used to process the image of the workbench based on the edge detection algorithm to obtain running status parameter information.

[0075] The offset determination module is used to determine, based on the running status parameter information, whether the sewing path of the fabric within the sewing area has deviated relative to the preset motion path.

[0076] The early warning processing module is used to trigger an abnormal early warning mechanism when it is determined that the fabric in the sewing area has deviated from the preset movement path, and adjust the position and sewing direction of the sewing equipment relative to the fabric in a timely manner; and to maintain the current position and sewing direction of the sewing equipment relative to the fabric unchanged when it is determined that the fabric in the sewing area has not deviated from the preset movement path.

[0077] It should be noted that the structure and principle of the image acquisition module, edge detection module, offset judgment module and early warning processing module described in the embodiments of this application correspond one-to-one with the steps in the sewing path monitoring method described above, so they will not be repeated here.

[0078] The sewing path monitoring system provided in this application can implement the sewing path monitoring method described in this application. However, the implementation device of the sewing path monitoring method described in this application includes, but is not limited to, the structure of the sewing path monitoring system listed in this embodiment. All structural modifications and substitutions of the prior art made based on the principles of this application are included within the protection scope of this application.

[0079] Please see Figure 6 The image shown is a structural schematic diagram of the sewing path monitoring terminal described in one embodiment of this application. Figure 6 As shown in the figure, this application provides a sewing path monitoring terminal, including a processor and a memory.

[0080] Specifically, the memory is used to store computer programs. The processor is used to execute the computer programs stored in the memory to cause the sewing path monitoring terminal to perform the method described above.

[0081] Preferably, the processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0082] This embodiment also includes one or more of the following: a multimedia component, an input / output (I / O) interface, and a communication component.

[0083] The multimedia component may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory or transmitted via a communication component. The audio component also includes at least one speaker for outputting audio signals. The I / O interface provides an interface between the processor and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual or physical buttons. The communication component is used for wired or wireless communication between the timer and other devices. Wireless communication includes, for example, Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of these. Therefore, the corresponding communication component may include a Wi-Fi module, a Bluetooth module, or an NFC module.

[0084] In one embodiment, the timer may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described UAV network deployment and cooperative caching method.

[0085] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, or methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules / units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or modules or units may be electrical, mechanical, or other forms.

[0086] The modules / units described as separate components may or may not be physically separate. The components shown as modules / units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules / units can be selected to achieve the objectives of the embodiments of this application, depending on actual needs. For example, the functional modules / units in the various embodiments of this application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.

[0087] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0088] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the methods described above. Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing a processor. The program can be stored in a computer-readable storage medium, which is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof. The storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state drive (SSD)).

[0089] This application embodiment can also provide a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to perform the method described above. The computer program code can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, or data center to another website, computer, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0090] When the computer program product is executed by a computer, the computer performs the method described in the foregoing method embodiments. The computer program product can be a software installation package; when the foregoing method is required, the computer program product can be downloaded and executed on the computer.

[0091] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.

[0092] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.

Claims

1. A sewing path monitoring method, characterized in that, include: During the sewing process, an image of the workbench surface is acquired; Based on the edge detection algorithm, the image of the workbench surface is processed to obtain the running status parameter information; Based on the aforementioned operating status parameter information, determine whether the sewing path of the fabric within the sewing area has deviated relative to the preset motion path; If so, the abnormal warning mechanism will be triggered, and the position of the sewing equipment relative to the fabric and the sewing direction will be adjusted accordingly. Otherwise, maintain the current position of the sewing equipment relative to the fabric and the sewing direction unchanged.

2. The method according to claim 1, characterized in that, Based on the edge detection algorithm, the image of the workbench is processed to obtain the following operating status parameter information: Based on the edge detection algorithm, the edge information of the target object in the image of the workbench is detected; the edge information of the target object includes the coordinates of the fabric edge, the coordinates of a specific edge, the coordinates of the needle landing point, and the coordinates of the presser foot contour. The edge information of the target object is used as the running status parameter information.

3. The method according to claim 2, characterized in that, Based on the aforementioned operating status parameter information, determining whether the sewing path of the fabric within the sewing area has deviated relative to the preset motion path includes: Based on the coordinates of the fabric edge, the coordinates of the specific hem edge, and the coordinates of the needle landing point, the distance from the fabric edge or the specific hem edge to the needle landing point is calculated to obtain the first distance; Based on the coordinates of the fabric edge, the coordinates of the specific side edge, and the coordinates of the presser foot profile, the distance from the fabric edge or the specific side edge to the presser foot profile is calculated to obtain the second distance; Determine whether the first distance or the second distance exceeds a preset threshold; If so, it is determined that the sewing path of the fabric has deviated from the preset motion path; Otherwise, it is assumed that the sewing path of the fabric is consistent with the preset motion path.

4. The method according to claim 2, characterized in that, Based on the edge detection algorithm, the edge information of the target object in the image of the workbench surface is detected, including: The image of the workbench surface is filtered to obtain a filtered image; Edge enhancement processing is performed on the filtered image to highlight pixels with significant changes in neighborhood intensity in the filtered image; Calculate the gradient magnitude and direction of the pixels to identify regions with larger gradient values; Based on the region with a large gradient value, the coordinates of the fabric edge, the coordinates of the specific edge, the coordinates of the needle landing point, and the coordinates of the presser foot contour are located.

5. The method according to claim 1, characterized in that, During the sewing process, acquiring an image of the workbench surface includes: Set the image acquisition frequency; According to the set image acquisition frequency, the target objects on the workbench are captured at regular intervals to obtain a series of continuous images of the workbench; the target objects include fabric edges, specific edge bands, presser feet, and machine needles.

6. The method according to claim 1, characterized in that, When the sewing path of the fabric within the sewing area deviates from the preset movement path, the deviation warning mechanism is triggered in the following ways: The system provides real-time feedback to the operator via sound and light signals; this real-time feedback is used to warn of fabric deviation during the sewing process, so as to remind the operator to take corrective measures in a timely manner.

7. A sewing path monitoring system, characterized in that, include: The image acquisition module is used to acquire images of the workbench surface during the sewing process; The edge detection module is used to process the image of the workbench surface based on the edge detection algorithm to obtain running status parameter information; The offset judgment module is used to determine, based on the running status parameter information, whether the sewing path of the fabric in the sewing area is offset relative to the preset motion path; The early warning processing module is used to trigger an abnormal early warning mechanism when the fabric in the sewing area deviates from the preset movement path, and adjust the position and sewing direction of the sewing equipment relative to the fabric in a timely manner. And when the fabric within the sewing area does not deviate from the preset movement path, the current position and sewing direction of the sewing equipment relative to the fabric remain unchanged.

8. A sewing path monitoring terminal, characterized in that, include: Processor and memory; The memory is used to store computer programs; The processor is configured to execute the computer program stored in the memory to cause the sewing path monitoring terminal to perform the method of any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method of any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product includes computer program code that, when run on a computer, causes the computer to implement the method as described in any one of claims 1 to 6.