Intelligent detection method, system, device and storage medium for clothing clipping status
Through the method of image semantic segmentation and current information fusion, the Kalman filter algorithm is used to detect the clothes clamping state, which solves the problem of decoupling or getting stuck in the smart clothes folding machine during the clothes clamping process, and improves the clothes folding efficiency and user experience.
Patent Information
- Application Number
- CN202111342404.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-12
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart clothes folding machines are difficult to detect when clothes are unhooked or stuck during the clothes clamping process, resulting in low clothes folding efficiency and poor user experience. This is mainly due to a single control algorithm and the lack of a multi-sensor collaborative detection mechanism.
Using image semantic segmentation and current information fusion, the Kalman filter algorithm is used to detect the clothing clamping status. Industrial cameras and current sensors are combined to obtain image and current data, determine the area of interest and load information, and predict the clothes clamping status.
It realizes multi-dimensional detection of the clamping status of clothes, improves the comprehensiveness and accuracy of detection, can promptly identify the phenomenon of clothes being decoupled or stuck, and improves the efficiency and user experience of the clothes folding system.
Smart Images

Figure CN114170416B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a method, system, device and storage medium for intelligent detection of clothing clamping status. Background Art
[0002] In daily life, folding and arranging clothes will take up a lot of housework time. According to statistics, an average person spends 9,000 hours folding clothes in his lifetime. Therefore, smart clothes folding machines have broad development prospects in the smart home market.
[0003] Smart clothes folding machines are divided into two categories, one is a folding machine based on multiple rolling plates, and the other is a stacking machine based on a conveyor belt. For a stacking machine, in order to ensure that the clothes can be smoothly and evenly transported from the user's hands to the inside of the stacking machine, it is necessary not only to design a reasonable clamping and transmission mechanism, but also to design a control algorithm with strong adaptability and high precision to control the various components of the stacking machine. However, the current mainstream clothes folding machines often only focus on the former - mechanical structure design, but ignore the latter - the control algorithm to ensure and promote the system operation effect. The control method mostly adopts a simple single sensor coordinated control, which is a single method and has no other auxiliary control means and judgment mechanism.
[0004] Simple control strategies such as single sensor feedback are often difficult to cope with complex practical application scenarios. Single sensors in the prior art generally only play the role of position feedback of the clamping mechanism, and can only be used to locate the position of clothing clamping and placement, but cannot further determine the clothing clamping state. Therefore, the folding system cannot take effective measures to deal with abnormal problems such as clothing unhooking and jamming during the input process, which affects the folding efficiency of the folding system and the user experience. Summary of the invention
[0005] The purpose of the present invention is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0006] To this end, an object of an embodiment of the present invention is to provide an intelligent method for detecting the clamping status of clothing, which can detect phenomena such as clothing unhooking and jamming that may exist in the process of inputting clothing into an intelligent folding system, thereby improving the folding efficiency of the folding system and the user experience.
[0007] Another object of an embodiment of the present invention is to provide an intelligent detection system for clothing clamping status.
[0008] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present invention include:
[0009] In a first aspect, an embodiment of the present invention provides a method for intelligently detecting a clothing clamping state, comprising the following steps:
[0010] Acquire first image information of the clamping mechanism, and determine a region of interest according to the first image information;
[0011] Performing image semantic segmentation on the region of interest to obtain a first segmented image, and determining a first feature value of the clothing region according to the first segmented image;
[0012] Acquire first current information of the drag motor and second current information of the clamping servo, determine the drag load information according to the first current information, and determine the clamping load information according to the second current information;
[0013] The first characteristic value, the drag load information and the clamping load information are fused by the Kalman filter algorithm to obtain a first expected value, and the clothing clamping state of the folding system is determined according to the first expected value and a preset expected threshold.
[0014] Further, in one embodiment of the present invention, the step of acquiring first image information of the clamping mechanism and determining the region of interest according to the first image information specifically includes:
[0015] Acquiring first image information of the clamping mechanism through an industrial camera;
[0016] Performing target detection on the first image information by using a target detection algorithm to determine first position information of the clamping mechanism, and then determining the region of interest according to the first position information;
[0017] or,
[0018] The first image information is subjected to template matching through a template matching algorithm to determine the first position information of the clamping mechanism, and then the region of interest is determined according to the first position information.
[0019] Further, in one embodiment of the present invention, the step of performing image semantic segmentation on the region of interest to obtain a first segmented image, and determining a first feature value of the clothing region according to the first segmented image specifically includes:
[0020] Inputting the region of interest into the FCN image segmentation network to obtain a first segmented image;
[0021] Determine a clothing region and a clamping mechanism region according to the first segmented image, and then determine first pixel information and second pixel information according to the clothing region and the clamping mechanism region, wherein the first pixel information is pixel information at a boundary between the clothing region and the clamping mechanism region, and the second pixel information is boundary pixel information of the clothing region;
[0022] Determine a first ratio of the number of pixels of the first pixel information to the number of pixels of the second pixel information;
[0023] Acquire a second segmented image in a normal clamping state, and determine a first matching degree between the second pixel information and boundary pixel information of a clothing area in the second segmented image by using a Hausdorff distance;
[0024] The first eigenvalue is determined according to the first ratio, the first matching degree, and a preset weight.
[0025] Further, in one embodiment of the present invention, the step of obtaining the first current information of the drag motor and the second current information of the clamping servo, determining the drag load information according to the first current information, and determining the clamping load information according to the second current information specifically includes:
[0026] Acquire first current information of the traction motor and second current information of the clamping servo through a current sensor;
[0027] Determine a first current curve of the driving motor according to the first current information, and determine a second current curve of the clamping servo according to the second current information;
[0028] The drag load information is determined according to the first current curve, and the clamping load information is determined according to the second current curve.
[0029] Further, in one embodiment of the present invention, the step of determining the drag load information according to the first current curve and determining the clamping load information according to the second current curve specifically includes:
[0030] Determine a first current change rate according to the first current curve, and then determine the drag load information according to the first current change rate and a preset first mapping relationship, wherein the first mapping relationship is a mapping relationship between a drag motor current change rate and a drag load change rate;
[0031] The second current change rate is determined according to the second current curve, and the clamping load information is further determined according to the second current change rate and a preset second mapping relationship, wherein the second mapping relationship is a mapping relationship between the clamping servo current change rate and the clamping load change rate.
[0032] Further, in one embodiment of the present invention, the step of performing data fusion on the first eigenvalue, the drag load information and the clamping load information through a Kalman filter algorithm to obtain a first expected value specifically includes:
[0033] Determine a first observation equation of the first characteristic value and the clothing clamping state, a second observation equation of the drag load information and the clothing clamping state, and a third observation equation of the clamping load information and the clothing clamping state;
[0034] A clothing clamping state prediction equation is determined according to the first observation equation, the second observation equation and the third observation equation, and then a first expected value is predicted according to the clothing clamping state prediction equation, the first eigenvalue, the drag load information and the clamping load information.
[0035] Further, in one embodiment of the present invention, the step of determining the clothes clamping state of the clothes folding system according to the first expected value and the preset expected threshold value specifically includes:
[0036] When the first expected value is less than a preset first expected threshold, determining that the clothes clamping state of the clothes folding system is clothes unhooking;
[0037] When the first expected value is greater than a preset second expected threshold, determining that the clothes clamping state of the clothes folding system is that the clothes are stuck;
[0038] When the first expected value is not less than the first expected threshold value and not greater than the second expected threshold value, it is determined that the clothes clamping state of the clothes folding system is normal clamping.
[0039] In a second aspect, an embodiment of the present invention provides a clothing clamping state intelligent detection system, comprising:
[0040] An area of interest determination module, used to obtain first image information of the clamping mechanism and determine an area of interest according to the first image information;
[0041] A first eigenvalue determination module, configured to perform image semantic segmentation on the region of interest to obtain a first segmented image, and determine a first eigenvalue of the clothing region according to the first segmented image;
[0042] A load information determination module, used to obtain first current information of the drag motor and second current information of the clamping servo, determine the drag load information according to the first current information, and determine the clamping load information according to the second current information;
[0043] The clothing clamping state determination module is used to obtain a first expected value by performing data fusion on the first eigenvalue, the drag load information and the clamping load information through a Kalman filter algorithm, and determine the clothing clamping state of the folding system according to the first expected value and a preset expected threshold.
[0044] In a third aspect, an embodiment of the present invention provides a clothing clamping state intelligent detection device, comprising:
[0045] at least one processor;
[0046] at least one memory for storing at least one program;
[0047] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned intelligent detection method for clothing clamping status.
[0048] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to execute the above-mentioned method for intelligent detection of clothing clamping status.
[0049] The advantages and beneficial effects of the present invention will be partly given in the following description, partly become apparent from the following description, or be understood through the practice of the present invention:
[0050] The embodiment of the present invention obtains the first image information of the clamping mechanism and determines the region of interest, then performs image semantic segmentation on the region of interest to obtain a segmented image, and then determines the first eigenvalue of the clothing region, and then obtains the current information of the drag motor and the clamping servo, determines the drag load information and the clamping load information according to the current information, and then uses the Kalman filter algorithm to perform data fusion on the first eigenvalue, the drag load information, and the clamping load information to obtain a first expected value, and the clothing clamping state of the folding system can be determined according to the first expected value and a preset expected threshold. The embodiment of the present invention fuses the image semantic segmentation results and the current analysis results through the Kalman filter algorithm, and can realize multi-dimensional clothing clamping state detection, improve the comprehensiveness and accuracy of clothing clamping state detection, so that the intelligent folding system can detect the phenomenon of clothing unhooking, jamming, etc. that may exist in the link of inputting clothing, thereby improving the folding efficiency of the folding system and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solution in the embodiments of the present invention, the following introduction is made to the drawings required for use in the embodiments of the present invention. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solution of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 A flowchart of the steps of a method for intelligently detecting the clamping state of clothing provided by an embodiment of the present invention;
[0053] Figure 2 A structural block diagram of a clothing clamping state intelligent detection system provided by an embodiment of the present invention;
[0054] Figure 3 This is a structural block diagram of a clothing clamping status intelligent detection device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0056] In the description of the present invention, the meaning of "a plurality" is two or more than two. If there is a description of "a first" or "a second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, unless otherwise defined, all technical and scientific terms used in this document have the same meaning as those commonly understood by those skilled in the art.
[0057] Reference Figure 1 The embodiment of the present invention provides a method for intelligently detecting the clamping state of clothing, which specifically includes the following steps:
[0058] S101, acquiring first image information of a clamping mechanism, and determining a region of interest according to the first image information.
[0059] Specifically, the embodiment of the present invention takes a folding system with two clamping mechanisms as an example, and two cameras are installed in appropriate positions to respectively shoot the two clamping mechanisms, so that the cameras can smoothly shoot the clothes and the clamping mechanisms, and a fill light with a power of about 1W can be used for fill light to reduce the influence of ambient light. Step S101 specifically includes the following steps:
[0060] S1011, acquiring first image information of the clamping mechanism through an industrial camera;
[0061] S1012, performing target detection on the first image information by using a target detection algorithm to determine first position information of the clamping mechanism, and then determining a region of interest according to the first position information;
[0062] or,
[0063] S1013, performing template matching on the first image information by using a template matching algorithm to determine first position information of the clamping mechanism, and then determining a region of interest according to the first position information.
[0064] Specifically, the first image information of the two clamping mechanisms is obtained respectively through an industrial camera, and the first image information is grayed and used as input. A target detection algorithm (such as the YOLOv5 target detection algorithm) or a template matching algorithm (such as the TM_SQDIFF_NORMED template matching algorithm) is used to perform target detection or template matching on the clamping mechanism. After capturing the spatial position of the clamping mechanism, ROI (region of interest) partitioning is performed in combination with OpenCV (open source computer vision library), and the vicinity of the two clamping mechanisms is boxed out and set as the region of interest.
[0065] The embodiment of the present invention obtains a suitable ROI area through target detection or template matching technology, which greatly reduces the number of pixels that need to be processed, helps to reduce the computational pressure of the subsequent semantic segmentation part, and improves the efficiency of visual processing.
[0066] S102: Perform image semantic segmentation on the region of interest to obtain a first segmented image, and determine a first feature value of the clothing region according to the first segmented image.
[0067] Specifically, image semantic segmentation can process RGB images or grayscale images to obtain segmented images. Each pixel in the segmentation has a label of its corresponding category. In the embodiment of the present invention, the pixel point set of the clothing area, the pixel point set of the clamping mechanism area and the pixel point set of the background area can be obtained through semantic segmentation. Step S102 specifically includes the following steps:
[0068] S1021, inputting the region of interest into the FCN image segmentation network to obtain a first segmented image;
[0069] S1022, determining a clothing region and a clamping mechanism region according to the first segmented image, and then determining first pixel information and second pixel information according to the clothing region and the clamping mechanism region, wherein the first pixel information is pixel information at a boundary between the clothing region and the clamping mechanism region, and the second pixel information is boundary pixel information of the clothing region;
[0070] S1023, determining a first ratio of the number of pixels of the first pixel information to the number of pixels of the second pixel information;
[0071] S1024, obtaining a second segmented image in a normal clamping state, and determining a first matching degree between the second pixel information and the boundary pixel information of the clothing area in the second segmented image by using the Hausdorff distance;
[0072] S1025. Determine a first eigenvalue according to the first ratio, the first matching degree, and a preset weight.
[0073] Specifically, the obtained region of interest is input into the FCN image segmentation network for semantic segmentation, and a segmented image including a set of pixels of the clothing area, a set of pixels of the clamping mechanism area, and a set of pixels of the background area is obtained. According to the segmented image, the first pixel information at the junction of the clothing area and the clamping mechanism area, and the boundary pixel information of the clothing area (including the junction with the background area and the junction with the clamping mechanism area) can be determined, and then a first ratio of the number of pixels in the first pixel information to the number of pixels in the boundary pixel information (i.e., the second pixel information) is calculated; a segmented image of the clothing in a normal clamped state is input, and it is used as a template, and the Hausdorff distance is used to calculate the first matching degree between the boundary pixel information of the segmented image of the current detected clothing and the boundary pixel information of the above-mentioned input template; the first ratio and the first matching degree are multiplied by a preset weight (the weight value can be determined by multiple experiments) and then added to obtain the final semantic segmentation result of the visual part, which is recorded as the first eigenvalue.
[0074] S103, obtaining first current information of the dragging motor and second current information of the clamping servo, determining the dragging load information according to the first current information, and determining the clamping load information according to the second current information.
[0075] Specifically, during the process of inputting clothes into the folding system, the input of clothes is completed by the coordinated work of the drag motor and the clamping servo, wherein the clamping servo is used to hold the clothes tightly and the drag motor is used to drag the clothes into the machine. The embodiment of the present invention respectively analyzes the current of the clamping servo and the drag motor to determine their corresponding load information, thereby determining whether there is an abnormality in the process of inputting clothes. Step S103 specifically includes the following steps:
[0076] S1031, obtaining first current information of the traction motor and second current information of the clamping servo through a current sensor;
[0077] S1032, determining a first current curve of the traction motor according to the first current information, and determining a second current curve of the clamping servo according to the second current information;
[0078] S1033. Determine the drag load information according to the first current curve, and determine the clamping load information according to the second current curve.
[0079] Specifically, a small current magnetic sensor pre-loaded on the motor actuator samples the current in the motor load operation state and generates a signal to feed back to the processor, which is used to generate a curve of the current value and its rate of change with respect to time. The current parameter threshold when the operation effect is excellent is predetermined before the detection process begins. When the folding system is actually operating, the detection of the dragging motor should focus on local information such as abnormal peaks and rising convergence points generated by the current curve (the motor operation effect is unstable, there is an abnormal increase in load, and the clothes may get stuck during the dragging process), and the current curve of the clamping mechanism should focus on judging the falling part of the current curve (abnormal load reduction, there may be a decoupling situation), and the dragging load and clamping load of the system at a certain moment are determined by comparing with the current parameter threshold.
[0080] As an optional implementation, the step S1033 of determining the drag load information according to the first current curve and determining the clamping load information according to the second current curve specifically includes:
[0081] S10331, determining a first current change rate according to a first current curve, and then determining drag load information according to the first current change rate and a preset first mapping relationship, where the first mapping relationship is a mapping relationship between a drag motor current change rate and a drag load change rate;
[0082] S10332. Determine a second current change rate according to the second current curve, and then determine the clamping load information according to the second current change rate and a preset second mapping relationship, where the second mapping relationship is a mapping relationship between the clamping servo current change rate and the clamping load change rate.
[0083] Specifically, the mapping relationship between the current change rate and the load change rate can be determined in advance through experiments. When detecting the clamping state of clothing, the dragging load information and the clamping load information are directly determined based on the obtained current change rate and the mapping relationship. The dragging load information and the clamping load information will be used as input for subsequent data fusion together with the first eigenvalue obtained above.
[0084] S104, performing data fusion on the first eigenvalue, the drag load information, and the clamping load information through a Kalman filter algorithm to obtain a first expected value, and determining a clothes clamping state of the clothes folding system according to the first expected value and a preset expected threshold.
[0085] Specifically, an embodiment of the present invention uses a Kalman filtering algorithm to fuse the current curve analysis results (drag load information, clamping load information) and the visual part semantic segmentation results (first eigenvalue) to obtain a comprehensive expected value, and compares the expected value (filtering result) with the expected threshold (preset parameter obtained through experiments). The clothing clamping state of the folding system is determined according to the comparison result, and is used to guide the next behavior of the folding system (if it is detected that the clamping state is unqualified, a relevant warning will be issued, and the user will be prompted to reset the system or re-place the clothes).
[0086] As an optional implementation, the step of fusing the first eigenvalue, the drag load information, and the clamping load information by using a Kalman filter algorithm to obtain a first expected value specifically includes:
[0087] A1, determining a first observation equation of a first eigenvalue and a clothing clamping state, a second observation equation of a drag load information and a clothing clamping state, and a third observation equation of a clamping load information and a clothing clamping state;
[0088] A2. Determine a clothing clamping state prediction equation based on the first observation equation, the second observation equation and the third observation equation, and then predict a first expected value based on the clothing clamping state prediction equation, the first eigenvalue, the drag load information and the clamping load information.
[0089] Specifically, Kalman filtering is an algorithm that uses the linear system state equation to optimally estimate the system state through the system input and output observation data. Since the observation data includes the influence of noise and interference in the system, the optimal estimation can also be regarded as a filtering process. In the embodiment of the present invention, the first eigenvalue, the drag load information and the clamping load information are used as observation values, and the observation equations thereof and the value to be estimated (clothing clamping state) are determined. The clothing clamping state prediction equation is determined by the Kalman filtering algorithm, and the predicted value of the clothing clamping state (i.e., the first expected value) can be obtained.
[0090] As a further optional implementation, the step of determining the clothes clamping state of the clothes folding system according to the first expected value and the preset expected threshold value specifically includes:
[0091] B1. When the first expected value is less than a preset first expected threshold value, determining that the clothes clamping state of the clothes folding system is clothes unhooking;
[0092] B2. When the first expected value is greater than a preset second expected threshold value, determining that the clothes clamping state of the clothes folding system is that the clothes are stuck;
[0093] B3. When the first expected value is not less than the first expected threshold value and not greater than the second expected threshold value, it is determined that the clothes clamping state of the clothes folding system is normal clamping.
[0094] Specifically, the embodiment of the present invention sets three threshold spaces of expected values through experiments, and can accurately determine whether the clothing clamping state is normal clamping, clothing unhooking, or clothing stuck, so that the clothing folding system can perform corresponding actions according to the detection results.
[0095] The above is an explanation of the method steps of the embodiment of the present invention. It can be recognized that the embodiment of the present invention comprehensively detects the clothing clamping state from the two dimensions of semantic image segmentation and current curve analysis, and fuses the image semantic segmentation results and the current analysis results through the Kalman filter algorithm, so as to realize multi-dimensional clothing clamping state detection, improve the comprehensiveness and accuracy of clothing clamping state detection, so as to detect the clothing unhooking, jamming and other phenomena that may exist in the intelligent folding system during the input of clothing, and can locate faster and provide accurate feedback to the user in a timely manner when problems such as improper placement of clothing occur, thereby improving the folding efficiency of the folding system and the user experience.
[0096] Reference Figure 2 , an embodiment of the present invention provides a clothing clamping state intelligent detection system, comprising:
[0097] An area of interest determination module, used to obtain first image information of the clamping mechanism and determine the area of interest according to the first image information;
[0098] A first eigenvalue determination module, configured to perform image semantic segmentation on the region of interest to obtain a first segmented image, and determine a first eigenvalue of the clothing region according to the first segmented image;
[0099] A load information determination module, used to obtain first current information of the drag motor and second current information of the clamping servo, determine the drag load information according to the first current information, and determine the clamping load information according to the second current information;
[0100] The clothing clamping state determination module is used to obtain a first expected value by performing data fusion on the first eigenvalue, drag load information and clamping load information through a Kalman filter algorithm, and determine the clothing clamping state of the folding system according to the first expected value and a preset expected threshold.
[0101] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0102] Reference Figure 3 , an embodiment of the present invention provides a clothing clamping state intelligent detection device, comprising:
[0103] at least one processor;
[0104] at least one memory for storing at least one program;
[0105] When the at least one program is executed by the at least one processor, the at least one processor implements the intelligent detection method for clothing clamping status.
[0106] The contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0107] An embodiment of the present invention further provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to execute the above-mentioned intelligent detection method for the clamping state of clothing.
[0108] A computer-readable storage medium according to an embodiment of the present invention can execute a clothing clamping status intelligent detection method provided by an embodiment of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.
[0109] The embodiment of the present invention also discloses a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The method shown.
[0110] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the above-mentioned boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0111] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified to the contrary, one or more of the above-mentioned functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0112] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0113] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0114] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the above-mentioned program is printed, since the above-mentioned program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or processing in other suitable ways as necessary, and then stored in a computer memory.
[0115] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0116] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0117] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0118] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A method for intelligently detecting clothing clamping status, characterized in that: The following steps are involved: Acquire first image information of the clamping mechanism, and determine a region of interest according to the first image information; Performing image semantic segmentation on the region of interest to obtain a first segmented image, and determining a first feature value of the clothing region according to the first segmented image; Acquire first current information of the drag motor and second current information of the clamping servo, determine the drag load information according to the first current information, and determine the clamping load information according to the second current information; The first characteristic value, the drag load information and the clamping load information are fused by the Kalman filter algorithm to obtain a first expected value, and the clothing clamping state of the folding system is determined according to the first expected value and a preset expected threshold.
2. The intelligent detection method for clothing clamping status according to claim 1, characterized in that: The step of acquiring the first image information of the clamping mechanism and determining the region of interest according to the first image information specifically includes: Acquiring first image information of the clamping mechanism through an industrial camera; Performing target detection on the first image information by using a target detection algorithm to determine first position information of the clamping mechanism, and then determining the region of interest according to the first position information; or, The first image information is subjected to template matching through a template matching algorithm to determine the first position information of the clamping mechanism, and then the region of interest is determined according to the first position information.
3. The intelligent detection method for clothing clamping status according to claim 1, characterized in that: The step of performing image semantic segmentation on the region of interest to obtain a first segmented image, and determining a first feature value of the clothing region according to the first segmented image specifically includes: Inputting the region of interest into the FCN image segmentation network to obtain a first segmented image; Determine a clothing region and a clamping mechanism region according to the first segmented image, and then determine first pixel information and second pixel information according to the clothing region and the clamping mechanism region, wherein the first pixel information is pixel information at a boundary between the clothing region and the clamping mechanism region, and the second pixel information is boundary pixel information of the clothing region; Determine a first ratio of the number of pixels of the first pixel information to the number of pixels of the second pixel information; Acquire a second segmented image in a normal clamping state, and determine a first matching degree between the second pixel information and boundary pixel information of a clothing area in the second segmented image by using a Hausdorff distance; The first eigenvalue is determined according to the first ratio, the first matching degree, and a preset weight.
4. The intelligent detection method for clothing clamping status according to claim 1, characterized in that: The step of obtaining the first current information of the drag motor and the second current information of the clamping servo, determining the drag load information according to the first current information, and determining the clamping load information according to the second current information specifically includes: Acquire first current information of the traction motor and second current information of the clamping servo through a current sensor; Determine a first current curve of the driving motor according to the first current information, and determine a second current curve of the clamping servo according to the second current information; The drag load information is determined according to the first current curve, and the clamping load information is determined according to the second current curve.
5. The intelligent detection method for clothing clamping status according to claim 4, characterized in that: The step of determining the drag load information according to the first current curve and determining the clamping load information according to the second current curve specifically includes: Determine a first current change rate according to the first current curve, and then determine the drag load information according to the first current change rate and a preset first mapping relationship, wherein the first mapping relationship is a mapping relationship between a drag motor current change rate and a drag load change rate; The second current change rate is determined according to the second current curve, and the clamping load information is further determined according to the second current change rate and a preset second mapping relationship, wherein the second mapping relationship is a mapping relationship between the clamping servo current change rate and the clamping load change rate.
6. A method for intelligently detecting clothing clamping status according to any one of claims 1 to 5, characterized in that: The step of performing data fusion on the first eigenvalue, the drag load information and the clamping load information by using a Kalman filter algorithm to obtain a first expected value specifically includes: Determine a first observation equation of the first characteristic value and the clothing clamping state, a second observation equation of the drag load information and the clothing clamping state, and a third observation equation of the clamping load information and the clothing clamping state; A clothing clamping state prediction equation is determined according to the first observation equation, the second observation equation and the third observation equation, and then a first expected value is predicted according to the clothing clamping state prediction equation, the first eigenvalue, the drag load information and the clamping load information.
7. The intelligent detection method for clothing clamping status according to claim 6, characterized in that: The step of determining the clothes clamping state of the clothes folding system according to the first expected value and the preset expected threshold value specifically includes: When the first expected value is less than a preset first expected threshold, determining that the clothes clamping state of the clothes folding system is clothes unhooking; When the first expected value is greater than a preset second expected threshold, determining that the clothes clamping state of the clothes folding system is that the clothes are stuck; When the first expected value is not less than the first expected threshold value and not greater than the second expected threshold value, it is determined that the clothes clamping state of the clothes folding system is normal clamping.
8. An intelligent detection system for clothing clamping status, characterized in that: include: An area of interest determination module, used to obtain first image information of the clamping mechanism and determine an area of interest according to the first image information; A first eigenvalue determination module, configured to perform image semantic segmentation on the region of interest to obtain a first segmented image, and determine a first eigenvalue of the clothing region according to the first segmented image; A load information determination module, used to obtain first current information of the drag motor and second current information of the clamping servo, determine the drag load information according to the first current information, and determine the clamping load information according to the second current information; The clothing clamping state determination module is used to obtain a first expected value by performing data fusion on the first eigenvalue, the drag load information and the clamping load information through a Kalman filter algorithm, and determine the clothing clamping state of the folding system according to the first expected value and a preset expected threshold.
9. An intelligent detection device for clothing clamping status, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a clothing clamping state intelligent detection method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to execute a clothing clamping state intelligent detection method as described in any one of claims 1 to 7 when executed by the processor.
Citation Information
Patent Citations
Automatic garment and trousers folding machine
CN103590229A
Adaptive control method for resisting unfolding instantaneous impact of folding rudder of electric steering engine
CN110793405A
