A method and device for gluing soles, and a computer-readable storage medium
By identifying the sole type and determining the corresponding gluing parameters, the problem of backward equipment and rising costs in the traditional sole gluing process is solved, high-quality gluing of diverse shoe types is achieved, and the anti-interference ability is enhanced.
Patent Information
- Application Number
- CN202011626470.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The traditional shoe sole gluing process has outdated equipment and increased costs due to manual operations. Small manufacturers have difficulty applying fixed gluing parameters due to the diversity of shoe types, resulting in poor gluing quality.
By acquiring the sole image and inputting it into the trained learning model, the sole type is identified and the corresponding gluing parameters are determined, including the running trajectory of the gluing nozzle, shrinkage distance, tilt angle and amount, to perform precise gluing operations.
It improves the glue coating quality, avoids the lack of depth information acquisition and shoe type identification errors caused by strong light reflection and black areas, enhances the resistance to external interference, and adapts to the production needs of various shoe types.
Smart Images

Figure CN112700417B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of shoemaking, and in particular to a method and device for gluing a sole, and a computer-readable storage medium. Background Art
[0002] The traditional process of gluing the soles needs to be done manually. Due to the high temperature of the shoe body, the rapid volatilization of harmful substances, the harsh production environment, and the increasing difficulty in finding operators, this has resulted in outdated equipment and rising costs. With the development of industry, intelligent gluing of soles has gradually been widely used. Its core principle is to use a 3D camera to scan the soles, extract the position information based on the 3D contour data of the soles, send it to the robot, and then accurately apply the glue.
[0003] For some large manufacturers, due to the large volume of shoes produced, one production line may only apply glue to one type of shoe, and the gluing parameters are relatively fixed. For some small manufacturers, one production line generally applies glue to multiple types of shoes, which is called "mixed line". In this case, fixed gluing parameters are not applicable. Summary of the invention
[0004] To solve the above problems, the present application provides a sole gluing method, a device and a computer-readable storage medium, which can improve the quality of sole gluing.
[0005] A technical solution adopted in the present application is: to provide a method for gluing soles, the method comprising: obtaining a sole image of a sole to be glued; inputting the sole image into a trained learning model so that the learning model can identify the type of the sole image and output the type of the sole; using gluing parameters corresponding to the sole type to perform gluing operations on the sole to be glued; wherein the gluing parameters include at least one of the running trajectory of the gluing nozzle, the retraction distance of the gluing nozzle, the inclination angle of the gluing nozzle and the amount of glue.
[0006] Among them, the sole image is input into the trained learning model so that the learning model can identify the type of the sole image and output the sole type, including: inputting the sole image into the trained learning model so that the learning model can identify the type of the sole image and perform image segmentation, and output the sole type and sole contour; using the gluing parameters corresponding to the sole type to perform the gluing operation on the sole to be glued, including: using the gluing parameters corresponding to the sole type and obtaining the gluing path according to the sole contour to perform the gluing operation on the sole to be glued.
[0007] Among them, the sole image is input into a trained learning model so that the learning model performs type recognition and image segmentation on the sole image, and outputting the sole type and sole contour includes: inputting the sole image into a trained image classification model so that the image classification model performs image classification on the sole image and outputs the sole type, and inputting the sole image into a trained image segmentation model so that the image segmentation model performs image segmentation on the sole image and outputs the sole contour.
[0008] The type of the sole is determined based on at least one of the number and / or distribution of sole cavities, the sole contour, and the sole height.
[0009] Among them, the sole types include at least sports shoes and high-heeled shoes; the contraction distance of the glue nozzle corresponding to sports shoes is greater than the contraction distance of the glue nozzle corresponding to high-heeled shoes, the inclination angle of the glue nozzle corresponding to sports shoes is greater than the inclination angle of the glue nozzle corresponding to high-heeled shoes, and the glue amount corresponding to high-heeled shoes is greater than the glue amount corresponding to sports shoes.
[0010] The method of obtaining the sole image of the shoe sole to be coated with glue comprises: obtaining an initial image of the shoe sole to be coated with glue; determining a sole area in the initial image; and extracting the sole area from the initial image to obtain the sole image of the shoe sole to be coated with glue.
[0011] Determining the sole area in the initial image includes: inputting the initial image into a trained sole detection model, so that the sole detection model locates the target of the initial image and outputs the sole area.
[0012] The sole area is a rectangular area including the sole to be coated with glue.
[0013] The shoe sole image is a two-dimensional image or a three-dimensional image.
[0014] Another technical solution adopted in the present application is: to provide a sole gluing control device, which includes: an image acquisition component for capturing images of the sole; a memory for storing program data; a controller connecting the image acquisition component and the memory, connected to a gluing drive device, and executing program data to implement the method as described above.
[0015] Another technical solution adopted by the present application is: providing a computer-readable storage medium, in which program data is stored. When the program data is executed by a controller, it is used to implement the above method.
[0016] The sole gluing method provided by the present application comprises: obtaining a sole image of a sole to be glued; inputting the sole image into a trained learning model so that the learning model can identify the type of the sole image and output the type of the sole; using the gluing parameters corresponding to the sole type to perform a gluing operation on the sole to be glued; wherein the gluing parameters include at least one of the running track of the glue spray nozzle, the shrinking distance of the glue spray nozzle, the inclination angle of the glue spray nozzle and the amount of glue. Through the above method, on the one hand, the type of the sole is determined by the learning model, which avoids the problem of missing depth information acquisition and incorrect shoe type recognition due to strong light reflection and black areas, and improves the anti-interference ability to the outside world; on the other hand, different gluing parameters are determined according to the type of the sole. In addition to formulating the corresponding gluing track, other gluing parameters are also constrained to improve the gluing quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0018] Figure 1 It is a structural schematic diagram of an embodiment of a sole gluing system provided by the present application;
[0019] Figure 2 It is a schematic flow chart of an embodiment of a method for gluing a sole provided by the present application;
[0020] Figure 3 is a flow chart of an embodiment of step 21;
[0021] Figure 4 is a schematic diagram of the sole area in the initial image provided by this application;
[0022] Figure 5 It is a structural schematic diagram of an embodiment of a sole gluing control device provided by the present application;
[0023] Figure 6 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be appreciated that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of the present application.
[0025] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0027] See also Figure 1 , Figure 1 It is a structural schematic diagram of an embodiment of a sole gluing system provided in the present application. The sole gluing system 100 includes a sole gluing control device 10, a gluing driving device 20 and a gluing nozzle 30.
[0028] The glue spray nozzle 30 is connected to the glue driving device 20 by a fixing method such as clamping, and the sole glue control device 10 is connected to the glue driving device 20 to control the movement of the glue driving device 20, thereby driving the glue spray nozzle 30 to move. Further, the sole glue control device 10 is also connected to the glue spray nozzle 30 to control the start and stop of the glue spray nozzle 30.
[0029] Optionally, the sole gluing control device 10 can be a built-in image acquisition component, such as a camera, or can be connected to an external camera device. For example, the sole gluing control device 10 can be a computer, which obtains the sole image through an external camera device. The gluing drive device 20 can be a robot, specifically a manipulator, which can realize the movement and rotation of the three-dimensional space, thereby controlling the movement of the gluing nozzle 30 in the three-dimensional space and adjusting the angle of the gluing nozzle 30.
[0030] Furthermore, the shoe soles can be conveyed by a conveyor belt, and the above-mentioned camera device, glue driving device 20 and glue spray nozzle 30 are arranged beside the conveyor belt to glue the shoe soles on the conveyor belt.
[0031] In other embodiments, a plurality of gluing drive devices 20 and gluing nozzles 30 may also be controlled by a sole gluing control device 10. For example, taking a computer as an example, a workshop is provided with a computer, and a plurality of conveyor belts are respectively provided with a camera device, a gluing drive device 20 and a gluing nozzle 30, all of which are connected to the computer, and the camera device, the gluing drive device 20 and the gluing nozzle 30 are controlled by the computer.
[0032] The operation of the above system is introduced below through several embodiments.
[0033] See also Figure 2 , Figure 2 1 is a flow chart of an embodiment of a method for gluing a sole provided by the present application, the method comprising:
[0034] Step 21: Obtain the image of the sole to be coated with glue.
[0035] The sole image is an image obtained by photographing the sole with a camera, and the sole image can be a two-dimensional image or a three-dimensional image. Taking a two-dimensional image as an example, it can be obtained by photographing with an ordinary color camera, and taking a three-dimensional image as an example, it can be obtained by photographing with a depth camera or an RGB-D camera.
[0036] It is understandable that on the sole gluing line, a conveyor belt can be used to transport the sole to the gluing station for gluing. Therefore, the above-mentioned camera can be set on the motion path of the conveyor belt, or on the gluing station. Optionally, in order to improve the recognition of the sole image and capture more features of the sole, the camera can be set above the conveyor belt with the lens facing downward to obtain a top view of the sole. It is worth noting that the sole image needs to contain the sole contour and the graphics of the inner surface of the sole as much as possible.
[0037] Optionally, in one embodiment, a sensor that cooperates with the camera, such as an infrared sensor, a laser sensor, etc., can be set on the conveyor belt to detect the soles of shoes. When the soles are detected, the camera takes pictures.
[0038] Optionally, in one embodiment, the sole image needs to be preprocessed, mainly filtering the background in the sole image and extracting the sole area therein. For details, see Figure 3 , Figure 3 is a flow chart of an embodiment of step 21, and step 21 may include:
[0039] Step 211: Acquire an initial image having a sole image.
[0040] The initial image is an image directly obtained by taking a photo with a camera.
[0041] Step 212: Determine the shoe sole area in the initial image.
[0042] Optionally, in one embodiment, the sole area can be obtained by pixel detection. Specifically, since the sole is generally black or white, the color of the conveyor belt can be distinguished from the color of the sole. When processing the initial image, the pixel value of each pixel in the image is obtained, and then the difference between the pixel values is calculated to classify the pixels in the image, and then the sole contour is obtained, and then the sole area containing the sole contour is further obtained.
[0043] Optionally, in another embodiment, the initial image may be input into a trained sole detection model so that the sole detection model locates the target of the initial image and outputs the sole area.
[0044] Among them, the sole detection model can use the target detection method. General target detection can be carried out in the following two ways: one is the R-CNN series algorithm based on Region Proposal (candidate region) (including R-CNN, Fast R-CNN, Faster R-CNN, etc.), which are two-stage and need to generate the target candidate box first, that is, the target position, and then classify and regress the candidate box. The other is a one-stage algorithm such as Yolo (a CNN network) and SSD (Single Shot MultiBoxDetector), which only uses a convolutional neural network CNN to directly predict the category and position of different targets. The first method is more accurate but slow, but the second algorithm is fast but less accurate.
[0045] Taking the R-CNN network as an example, R-CNN draws on the idea of sliding windows and adopts a solution for identifying regions, specifically:
[0046] 1. Input the initial image and extract multiple (e.g., 2000) independent candidate regions (possible target regions) from the initial image through a specified algorithm;
[0047] Generally, the candidate region is a rectangular frame, and the size of the candidate region can be set according to the size of the initial image, or can be customized.
[0048] 2. For each candidate region, a convolutional neural network is used to obtain a feature vector;
[0049] 3. For the corresponding feature vector of each candidate region, use SVM (Support Vector Machine) to classify it, and adjust the size of the target bounding box through a bounding box regression.
[0050] like Figure 4 As shown, Figure 4 4 is a schematic diagram of the sole area in the initial image provided by the present application, and the sole area 41 in the initial image 40 is represented by a dotted frame.
[0051] Step 213: extract the sole area from the initial image to obtain a sole image of the sole to be coated with glue.
[0052] Continue reading Figure 4 In this step, the area outside the sole area 41 is mainly filtered to obtain a sole image containing only the sole area 41.
[0053] Step 22: Input the sole image into the trained learning model so that the learning model can perform type recognition on the sole image and output the sole type.
[0054] It is understandable that different types of soles not only have different gluing trajectories due to different contours, but also have different retraction distances, inclination angles and amounts of glue applied due to thickness, height and other factors.
[0055] The shoe sole types can be divided according to actual needs. For example, they can be divided into adult men's shoes, adult women's shoes and children's shoes according to the size of the soles, and can be divided into sports shoes, high-heeled shoes, flat shoes, leather shoes, slippers, etc. according to the thickness / height of the soles. In other embodiments, they can also be divided according to other features such as the edge contour and color of the soles.
[0056] Specifically, when classifying the soles, the following characteristics can be used to determine:
[0057] (1) The number and distribution of holes on the sole surface are different;
[0058] (2) The edge contours of the soles are different (the edge of the soles of sports shoes is convex, that is, higher than the middle part of the soles, while the edge of the soles of high-heeled shoes is relatively flat, that is, the height of the edge of the soles and the adjacent areas is basically the same);
[0059] (3) The height of the toe and heel (the height of the toe and heel of the sole of high-heeled shoes is inconsistent, that is, the heel is higher than the toe in the vertical direction, while the height of the toe and heel of the sole of sports shoes is basically the same).
[0060] In addition to the classification based on the above characteristics, it is also necessary to combine the difference in glue coating parameters and factory production. For example, although sports shoes and casual shoes belong to different sole types, their glue coating parameters are similar, that is, they can be classified into the same type of soles. For example, if a factory does not produce leather shoes, it is not necessary to classify leather shoe soles as a separate category. Therefore, in the following embodiments, the classification of sole types into two categories is used as an example for explanation, namely sports shoes and high-heeled shoes.
[0061] Deep learning is the process of learning the inherent laws and representation levels of sample data. The information obtained in the learning process is of great help in interpreting data such as text, images, and sounds. Its ultimate goal is to enable machines to have analytical learning capabilities like humans and to be able to recognize data such as text, images, and sounds.
[0062] Deep learning mainly involves three types of methods:
[0063] (1) A neural network system based on convolution operations, namely a convolutional neural network (CNN).
[0064] (2) Autoencoder neural networks based on multi-layer neurons, including autoencoder and sparse coding.
[0065] (3) Pre-training is performed in the form of a multi-layer autoencoder neural network, and then the deep belief network (DBN) is used to further optimize the neural network weights by combining the identification information.
[0066] In one embodiment, the input image is classified using the powerful image feature extraction capability of the CNN network (including edge extraction of the target object and the background, and the positional relationship between the sole hole area and the sole global area).
[0067] In one embodiment, a learning network can be used to extract the sole contour and sole type from the sole image. Specifically, the sole image is input into a trained learning model so that the learning model performs type recognition and image segmentation on the sole image and outputs the sole type and sole contour.
[0068] Specifically, the above task can be divided into two subtasks, namely type recognition and image segmentation.
[0069] For the image segmentation subtask, it can be mainly divided into threshold-based segmentation methods, edge detection-based segmentation methods, region-based segmentation methods, and deep learning-based segmentation methods.
[0070] Based on the threshold segmentation method, a suitable threshold T is determined (the selection of the threshold is the key to the success of this method); secondly, pixels greater than or equal to the threshold are regarded as objects or backgrounds to generate a binary image.
[0071] The basic idea of the segmentation method based on edge detection is to calculate the local differential operator. For example, the gradient operator is used to detect the existence of edges in the image; for example, the Laplace operator is used to determine whether the pixels on the edge are on the bright side or the dark side or to determine the center of the edge.
[0072] Region-based segmentation methods include region growing and region splitting / aggregation. Region growing: 1) Select one or a group of seeds according to different image applications. It is either the brightest or darkest, or the point in the middle of a cluster of points; 2) Select a condition; 3) Start expanding outward from the seed, first add the seed pixel to the result set, and then continuously add pixels that are connected to each pixel in the set and meet the condition to the set; 4) The above process is performed until no new nodes that meet the condition are added to the set. Region splitting and aggregation: 1) Divide the regions with different gray levels in the image into multiple sub-regions; 2) If the gray levels of all pixels in adjacent sub-regions are the same, merge them; 3) Repeat the above two steps until there are no new splits and merges.
[0073] Segmentation methods based on deep learning. For example, a fully convolutional network (FCN) can be used. FCN classifies images at the pixel level, thus solving the problem of semantic-level image segmentation. Unlike CNN, which uses a fully connected layer after the convolution layer to obtain a fixed-length feature vector for classification (fully connected layer + softmax output), FCN can accept input images of any size and use a deconvolution layer to upsample the feature map of the last convolution layer to restore it to the same size as the input image, thereby generating a prediction for each pixel while retaining the spatial information in the original input image. Finally, pixel-by-pixel classification is performed on the upsampled feature map. Finally, the softmax classification loss is calculated pixel by pixel, which is equivalent to one training sample for each pixel.
[0074] For the type identification subtask:
[0075] In one embodiment, a large amount of training is required for the deep learning network. For example, a large amount of sample images are obtained, each sample image has a corresponding true label (shoe sole type), and then each training sample is input into the deep learning network to obtain a classification label (shoe sole type). A loss function is established based on the consistency between the true label and the classification label. During the training process, the parameters of the deep learning network are adjusted by continuously constraining the loss function to complete the training.
[0076] In another embodiment, type recognition and image segmentation can also be implemented using two different models, that is, the sole image is input into a trained image classification model so that the image classification model performs image classification on the sole image and outputs the sole type, and the sole image is input into a trained image segmentation model so that the image segmentation model performs image segmentation on the sole image and outputs the sole contour. The specific principle is similar to the above embodiment and will not be repeated here.
[0077] Step 23: Gluing the sole to be glued using glue coating parameters corresponding to the type of sole; wherein the glue coating parameters include at least one of the running track of the glue coating nozzle, the retraction distance of the glue coating nozzle, the inclination angle of the glue coating nozzle and the glue coating amount.
[0078] It can be understood that the running trajectory of the glue spray nozzle is mainly determined based on the contour of the sole, and the retraction distance of the glue spray nozzle, the inclination angle of the glue spray nozzle and the amount of glue sprayed are mainly determined according to the type of sole.
[0079] The shrinkage distance of the glue spray nozzle refers to the distance between the glue spray track and the sole contour. It is understandable that because the glue is applied along the glue spray track, the colloid is formed on the sole with a certain width. In order to avoid the colloid from overflowing or overflowing under external pressure, it is necessary to ensure that there is a certain shrinkage distance between the glue spray track and the sole contour. Therefore, when performing the glue application operation, it is necessary to set a glue spray track corresponding to a position with a certain shrinkage distance from the sole contour, and the glue spray nozzle performs the glue application operation along the glue spray track.
[0080] The inclination angle of the glue spray nozzle refers to the angle between the glue discharge direction of the glue spray nozzle and the gravity direction. It is understandable that since the sole surface is generally irregular (non-horizontal), if the glue discharge direction remains unchanged, uneven glue coating may occur for irregular soles. Therefore, when performing the glue coating operation, the inclination angle of the glue spray nozzle needs to be adjusted according to the ups and downs of the sole plane.
[0081] The glue coating amount refers to the volume of glue coated per unit distance, and the unit is generally milliliters per centimeter (ml / cm). The glue coating amount is generally determined by the glue discharge speed of the glue coating nozzle and the moving speed of the glue coating nozzle.
[0082] Take sneakers and high heels as an example:
[0083] Sole type Shrink Distance Tilt Angle Glue amount Sports shoes d1 a1 m1 High heel d2 a2 m2 contrast d1>d2 a1>a2 m1<m2
[0084] As for the shrinkage distance, since the edge of the sole of sports shoes is upturned, especially in the front and heel parts, the height of the edge of the sole (the height of the sole surface relative to the reference plane) is significantly greater than the height of the middle part of the sole; while the height of the heel part of high-heeled shoes is significantly greater than the front part of the shoe, but when the front and heel parts are separated, the height of the edge part and the middle part are consistent. Therefore, the shrinkage distance of the glue spray nozzle corresponding to sports shoes is greater than that of the glue spray nozzle corresponding to high-heeled shoes.
[0085] As for the tilt angle, due to the upturned edge of the sole of the above-mentioned sports shoes, when applying glue, the glue (after extrusion) also needs to cover the inner side of the upturned part. Therefore, it is necessary to further increase the tilt angle of the glue spray nozzle while increasing the contraction distance, so that the glue can cover the inner side of the upturned part of the edge as much as possible. As for high-heeled shoes, since a slope is formed between the front and the heel, it is only necessary to slightly adjust the tilt angle of the glue spray nozzle when applying glue. Therefore, the tilt angle of the glue spray nozzle corresponding to the high-heeled shoes is greater than the tilt angle of the glue spray nozzle corresponding to the high-heeled shoes.
[0086] Regarding the amount of glue applied, a matching amount of glue applied can be set for each type of sole according to the common standards or specifications in the industry.
[0087] Of course, in other embodiments, the corresponding glue spray nozzle retraction distance d, glue spray nozzle inclination angle a and glue spray amount m can be set according to the specific parameters of sports shoes and high-heeled shoes.
[0088] In the above embodiments, the type of the sole is determined first, and then the corresponding glue coating parameters are determined according to the type of the sole.
[0089] In another embodiment, a mapping relationship between sole parameters (parameters for determining the type of sole) and gluing parameters can also be established. For example, the type of sole is mainly determined by three parameters A, B, and C (such as the sole height, number of cavities, and contour parameters mentioned in the above embodiment), so a mapping relationship between A, B, C and the above three gluing parameters d, a, and m can be established.
[0090] Different from the prior art, the sole gluing method provided in this embodiment includes: obtaining a sole image of a sole to be glued; inputting the sole image into a trained learning model so that the learning model can identify the type of the sole image and output the type of the sole; using the gluing parameters corresponding to the sole type to perform a gluing operation on the sole to be glued; wherein the gluing parameters include at least one of the running track of the glue spray nozzle, the retraction distance of the glue spray nozzle, the inclination angle of the glue spray nozzle and the amount of glue. Through the above method, on the one hand, the type of the sole is determined by the learning model, which avoids the problem of missing depth information acquisition and incorrect shoe type recognition due to strong light reflection and black areas, and improves the anti-interference ability to the outside world; on the other hand, different gluing parameters are determined according to the type of the sole. In addition to formulating the corresponding gluing track, other gluing parameters are also constrained to improve the gluing quality.
[0091] See also Figure 5 , Figure 5 It is a structural schematic diagram of an embodiment of a sole gluing control device provided in the present application. The sole gluing control device 10 includes an image acquisition component 11, a memory 12 and a controller 13.
[0092] The image acquisition component 11 is used to acquire images of the sole; the memory 12 is used to store program data; the controller 13 is connected to the image acquisition component 11 and the memory 12, is used to connect to the glue application drive device, and executes the program data to implement the following method:
[0093] Acquire a sole image of a shoe sole to be coated with glue; input the sole image into a trained learning model so that the learning model can identify the type of the sole image and output the type of the sole; use glue coating parameters corresponding to the sole type to perform glue coating operations on the shoe sole to be coated with glue; wherein the glue coating parameters include at least one of the running trajectory of the glue coating nozzle, the retraction distance of the glue coating nozzle, the inclination angle of the glue coating nozzle and the glue coating amount.
[0094] In one embodiment, the sole gluing control device 10 can be a computer, a mobile terminal, a server, etc. The image acquisition component 11 can be a camera module installed on the sole gluing control device 10, or an external camera connected to the sole gluing control device 10 in an external manner. Furthermore, the sole gluing control device 10 is also connected to a gluing drive device to control the gluing drive device to perform gluing.
[0095] Specifically, the gluing driving device can be a robot, which is connected to the gluing nozzle and further drives the gluing nozzle to move to achieve gluing. In addition, the sole gluing control device 10 is also connected to the gluing nozzle to control the start and stop of the gluing nozzle and the amount of glue applied during the gluing process.
[0096] See also Figure 6 , Figure 66 is a schematic diagram of a structure of an embodiment of a computer-readable storage medium provided by the present application. The computer-readable storage medium 60 stores program data 61. When the program data 61 is executed by a processor, it is used to implement the following method:
[0097] Acquire a sole image of a shoe sole to be coated with glue; input the sole image into a trained learning model so that the learning model can identify the type of the sole image and output the type of the sole; use glue coating parameters corresponding to the sole type to perform glue coating operations on the shoe sole to be coated with glue; wherein the glue coating parameters include at least one of the running trajectory of the glue coating nozzle, the retraction distance of the glue coating nozzle, the inclination angle of the glue coating nozzle and the glue coating amount.
[0098] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0099] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0100] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0101] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made according to the description and drawings of the present application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for gluing a sole, characterized in that: The method comprises: Acquire the image of the sole to be coated with glue; Inputting the sole image into a trained image classification model so that the image classification model performs image classification on the sole image and outputs the type of the sole, and inputting the sole image into a trained image segmentation model so that the image segmentation model performs image segmentation on the sole image and outputs the sole contour; the sole type is determined based on the number and / or distribution of sole cavities, the sole contour, and the sole height; Adopting the gluing parameters corresponding to the type of the sole and obtaining the gluing path according to the sole contour, so as to perform the gluing operation on the sole to be glued; wherein the gluing parameters include the running track of the gluing nozzle, the retraction distance of the gluing nozzle, the inclination angle of the gluing nozzle and the amount of glue; Among them, the sole types include at least sports shoes and high-heeled shoes; the contraction distance of the glue nozzle corresponding to the sports shoes is greater than the contraction distance of the glue nozzle corresponding to the high-heeled shoes, the inclination angle of the glue nozzle corresponding to the sports shoes is greater than the inclination angle of the glue nozzle corresponding to the high-heeled shoes, and the glue amount corresponding to the high-heeled shoes is greater than the glue amount corresponding to the sports shoes.
2. The method according to claim 1, characterized in that: The step of obtaining the image of the sole of the shoe to be glued comprises: Acquire an initial image of the shoe sole to be coated with glue; Determine a shoe sole area in the initial image; The sole area is extracted from the initial image to obtain the sole image of the sole to be coated with glue.
3. The method according to claim 2, characterized in that The determining of the sole area in the initial image comprises: The initial image is input into a trained sole detection model so that the sole detection model locates the target of the initial image and outputs the sole area.
4. The method according to claim 2, characterized in that: The sole area is a rectangular area including the sole to be coated with glue.
5. The method according to claim 1, characterized in that The sole image is a two-dimensional image or a three-dimensional image.
6. A sole gluing control device, characterized in that: The sole gluing control device comprises: An image acquisition component, used for acquiring images of the sole; A memory for storing program data; A controller is connected to the image acquisition component and the memory, is used to connect to the glue coating drive device, and executes the program data to implement the method according to any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program data, and when the program data is executed by the controller, it is used to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Sole glue spraying thickness control method based on binocular vision
CN102981406A
Sole gluing track positioning device and method of industrial robot
CN106123773A
Footwear retrieval method
CN106980866A
Insulation glue spin-coating method for extruded coating machine of lithium ion battery
CN107994203A
Leather damage identification method, system and equipment based on deep learning and medium
CN109886344A
