Measurement procedure, measuring instrument and storage medium
Patent Information
- Application Number
- ES2022871097T
- Authority / Receiving Office
- ES · ES
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2026-09-14
- Estimated Expiration
- 2042-07-29
Smart Images

Figure 00000028_0000 
Figure 00000028_0001 
Figure 00000029_0000
Abstract
Description
Measurement procedure, measuring instrument and storage medium TECHNICAL SECTOR This application relates to the inspection technologies sector and, in particular, to a measurement procedure and a measuring device. PRIOR ART In production, products on a production line are typically inspected by a separate device. This inspection procedure struggles to meet the demand for real-time product inspection and does not contribute to improved production efficiency. Furthermore, existing real-time product inspection solutions can only measure an approximate outline and size of the product, making it difficult to obtain more precise information about its dimensions. Therefore, how to provide a measurement procedure to improve the accuracy and precision of inspection while simultaneously improving production efficiency is a technical problem that needs to be addressed urgently. A device and procedure for detecting the size of lithium battery pole pieces are known from CN 114740001 A. The device uses a first and a second set of cameras to capture images of both sides of a battery cell. The boundary lines of the captured images are detected for size measurement. Another device is disclosed in CN 108180851 A. CHARACTERISTICS This application discloses a measurement procedure, as claimed in claim 1, and a measuring apparatus, as claimed in claims 12 and 13, which can improve the accuracy and precision of inspection, while improving production efficiency. According to a first aspect, this application discloses a measurement procedure that includes: acquiring a first image and a second image of a target object, where the first image is acquired by a camera located on the side of the target object without backlighting, and the second image is acquired by a camera located on the side of the target object with backlighting; and measuring the target object to obtain information about its size based on the first and second images. This application discloses a measurement procedure, which includes: acquiring a first and a second image of a target object, where the first image is acquired by a camera located on the side of the target object without backlighting, and the second image is acquired by a camera located on the side of the target object with backlighting; and measuring the target object to obtain information about its size based on the first and second images. Acquiring the first and second images using cameras located at different points facilitates the inspection of the target object during a production process.Since the first and second images are acquired by cameras positioned at different angles to a light source, the combined image contains more information about the target object than either image alone, overcoming the limitations of single-camera image acquisition. Information about the target object's size is measured from the first and second images, allowing for more accurate and precise calculations, thus improving the accuracy and precision of the inspection. Therefore, the technical solution in this application can enhance the accuracy and precision of the inspection while simultaneously improving production efficiency. According to the invention, the object is an electrode plate, where the electrode plate includes an electrode plate body and a flange, the flange comprising a body portion and a connecting portion, the electrode plate body extending along a first direction, and the flange projecting from the electrode plate body along a second direction, the body portion of the flange being connected to the electrode plate body by the connecting portion, the electrode plate body and the connecting portion being coated with an active substance, and the body portion not being coated with the active substance, the first direction being the transport direction of the electrode plate, and the second direction being perpendicular to the first direction.In this way, information about the size of the electrode plate can be obtained by measurement using the first image and the second image, which helps to improve the accuracy in measuring the size of the electrode plate and allows for more complete information about the size of the tab through measurement. According to the invention, measuring the target object to obtain size information based on the first and second images includes: obtaining a first target image based on the first image, the first target image including one of the tabs in the first direction; obtaining a second target image based on the second image, the second target image including one of the tabs in the first direction; and measuring the tab to obtain size information based on the first and second target images. In this way, the size information of each tab can be measured using the first and second target images.According to the invention, measuring the eyelash to obtain size information according to the first target image and the second target image includes: measuring the body portion of the eyelash to obtain size information according to the first target image; and measuring the eyelash to obtain size information according to the second target image. In this implementation, the first target image corresponds to the image without backlighting, and information about the size of the body portion can be measured using the first target image; and the second target image corresponds to the image with backlighting, and information about the size of the lash can be measured using the second target image. Information about the size of the lash body portion, the lash connection portion, and the lash itself can be measured using both the first and second target images. According to the invention, measuring the body portion of the eyelash to obtain size information according to the first target image includes: performing foreground segmentation in the first target image according to a first threshold to obtain a first foreground segmentation image; and measuring the body portion to obtain size information according to the first foreground segmentation image. The first target image corresponds to the image without backlighting. Since the connecting portion of the lash is coated with the active substance and the body portion of the lash is not coated with the active substance, the body portion that is not coated with the active substance can be extracted as a foreground area according to the first threshold, thus obtaining the first foreground segmentation image and helping to measure the body portion to obtain size information according to the first foreground segmentation image. In a possible implementation, measuring the body portion to obtain size information based on the first foreground segmentation image includes: determining the size of the eyelash body portion in the second direction according to the pixel values of each column of pixel points in the second direction in the first foreground segmentation image; and determining the size of the eyelash body portion in the first direction according to the pixel values of each row of pixel points in the first direction in the first foreground segmentation image. This helps to quickly and accurately determine the dimensions of the eyelash body portion in both the first and second directions. According to the invention, measuring the tab to obtain size information according to the second target image includes: performing foreground segmentation in the second target image according to a second threshold and electrode plate body size information to obtain a second foreground segmentation image; and measuring the tab to obtain size information according to the second foreground segmentation image. In this implementation, the second target image corresponds to the backlit image. Based on the second threshold and information about the size of the electrode plate, the tab can be extracted as a foreground area of the second target image to obtain the second foreground segmentation image, which helps measure the tab to obtain size information based on the second foreground segmentation image. In a possible implementation, measuring the tab to obtain size information based on the second foreground segmentation image involves: determining a tab size in the second direction based on the pixel values of each column of pixel points in the second direction in the second foreground segmentation image; and determining a tab size and coordinate in the first direction based on the pixel values of each row of pixel points in the first direction in the second foreground segmentation image. This helps to quickly and accurately determine the tab size in both the first and second directions, as well as the tab coordinate in the first direction. In a possible implementation, determining the size and coordinate of the tab in the first direction based on the pixel values of each row of pixel points in the first direction in the second foreground segmentation image includes: determining the size of a first tab end based on a number of non-zero elements in a first column vector, where the first tab end is a tab end closest to the electrode plate body in the second direction, and the first column vector is composed of averages or sums of pixel values of the respective rows of pixel points in the first direction in the second foreground segmentation image; and measuring a coordinate of a central position of the tab in the first direction based on the coordinates of the non-zero elements in the first column vector.In this way, the size of the first end of the tab and the coordinate of a central position of the tab in the first direction can be determined quickly and accurately. In one possible implementation, determining the size and coordinates of the tab in the first direction based on the pixel values of each row of foreground pixel points in the first direction in the second foreground segmentation image involves measuring the size of a second tab end based on the pixel values of the pixel points along the first direction at a predetermined first position in the second foreground segmentation image, where the second tab end is the tab end furthest from the electrode plate body in the second direction. This helps to quickly determine the size of the second tab end. In a possible implementation, measuring the eyelash to obtain size information according to the first and second target images includes: determining the size of the eyelash's connecting portion in the second direction based on the size of the eyelash's body portion in the second direction and the overall size of the eyelash in the second direction. This allows for a quick and accurate determination of the size of the eyelash's connecting portion. In a possible implementation, the procedure also includes: determining a number of tabs in the first direction in the second image; where obtaining a first target image according to the first image includes: obtaining the first target image corresponding to each tab in the first direction, according to the number of tabs in the first direction and the first image; and obtaining a second target image according to the second image includes: obtaining the second target image corresponding to each tab in the first direction, according to the number of tabs in the first direction and the second image. In this implementation, the first target image and the second target image must be determined based on the number of tabs in the first direction in the second image. This ensures that there is only one tab in the first direction in both the first and second target images, making it easier to measure the tab size. In a possible implementation, determining the number of tabs in the first direction in the second image includes: performing foreground segmentation in the second image according to a second threshold and information about the size of the electrode plate body to obtain a third foreground segmentation image; and determining the number of tabs in the first direction according to the third foreground segmentation image. In this implementation, according to the second threshold and information about the size of the electrode plate body, the tab in the second image can be extracted as a foreground area so that the third foreground segmentation image is obtained, which helps to determine the number of tabs in the first direction according to the third foreground segmentation image. In one possible implementation, determining the number of tabs in the first direction based on the third foreground segmentation image includes: if the difference between the ordinates of adjacent non-zero elements in a second column vector is greater than a specified first value, determining that the number of tabs is 2, where the second column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the third foreground segmentation image; or, if the difference between the ordinates of adjacent non-zero elements in the second column vector is less than or equal to the specified first value, determining that the number of tabs is 1. This helps to quickly and accurately determine the number of tabs in the first direction. In a possible implementation, before measuring the tab to obtain size information based on the first and second target images, the procedure also includes: measuring the electrode plate body to obtain size information based on the first image; and / or measuring the electrode plate body to obtain size information based on the second image. This way, the measured size information of the electrode plate body helps in measuring the tab to obtain size information based on the electrode plate body size information, and also helps inspect the electrode plate for defects based on the electrode plate body size information.In a possible implementation, measuring the electrode plate body to obtain size information based on the second image includes: performing foreground segmentation in the second image based on a second threshold to obtain a fourth foreground segmentation image; and measuring the electrode plate body to obtain size information based on the pixel values of each column of pixel points in the second direction in the fourth foreground segmentation image. In this implementation, according to the second threshold, the electrode plate in the second image can be extracted as a foreground area, so that the fourth foreground segmentation image is obtained, which helps to measure the body of the electrode plate to obtain information about the size according to the fourth foreground segmentation image. In one possible implementation, measuring the electrode plate body to obtain size information based on the pixel values of each column of pixel points in the second direction in the fourth foreground segmentation image includes: obtaining a first row vector, where the first row vector is composed of sums or averages of pixel values from the respective columns of pixel points in the second direction in the fourth foreground segmentation image; setting to 0 the elements with a value less than a specified second value in the first row vector; and determining the size information of the electrode plate body based on the non-zero elements in the first row vector. This can prevent a reference hole in the electrode plate and similar features from affecting the size information of the electrode plate body. In a possible implementation, the procedure also includes: measuring a reference hole in the electrode plate to obtain size information. This helps determine a starting and ending position for counting tabs based on the reference hole. In a possible implementation, measuring a reference hole in the electrode plate to obtain size information involves: performing foreground segmentation in the second image according to the second threshold and the fourth foreground segmentation image to obtain a fifth foreground segmentation image; and determining a size and coordinate for the reference hole in the first direction and a size and coordinate for the reference hole in the second direction according to the pixel values of each column of pixel points in the second direction and the pixel values of each row of pixel points in the first direction in the fifth foreground segmentation image. This helps to quickly and accurately measure the size and coordinate of the reference hole. In a possible implementation, measuring the electrode plate body to obtain size information based on the first image includes: performing foreground segmentation in the first image based on a third threshold to obtain a sixth foreground segmentation image; and measuring the electrode plate body to obtain size information based on the pixel values of each column of pixel points in the second direction in the sixth foreground segmentation image. In this implementation, according to the third threshold, the electrode plate in the first image can be extracted as a foreground, so that the sixth foreground segmentation image is obtained, which helps to measure the body of the electrode plate to obtain information about the size according to the sixth foreground segmentation image. In a possible implementation, measuring the electrode plate body to obtain size information based on the pixel values of each column of pixel points in the second direction in the sixth foreground segmentation image includes: obtaining a second row vector, where the second row vector is composed of sums or averages of pixel values from the respective columns of pixel points in the second direction in the sixth foreground segmentation image; setting to 0 the elements with a value less than a second specified value in the second row vector; and determining the size information of the electrode plate body based on the non-zero elements in the second row vector.This helps to quickly and accurately determine information about the size of the electrode plate body, and also allows detection of any defects in the electrode lacquer, such as excessive or insufficient die-cutting, based on the information about the size of the electrode plate body. In a possible implementation, the procedure also includes: performing foreground segmentation in the first image according to a first threshold to obtain a seventh foreground segmentation image; determining the number of non-zero elements in a third column vector according to the seventh foreground segmentation image, where the third column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the seventh foreground segmentation image; and determining whether the electrode plate has a residual material defect, according to the number of non-zero elements in the third column vector.This helps to determine the size of the foreground area in the seventh foreground segmentation image, according to the seventh foreground segmentation image, thus determining if there is a residual material defect, based on the size of the foreground area. In a possible implementation, determining whether the electrode plate has a residual material defect, based on the number of non-zero elements in the third column vector, includes the following: if the number of non-zero elements in the third column vector exceeds the specified third value, the electrode plate is deemed to have a residual material defect. This facilitates a quick and accurate determination of whether the electrode plate exhibits any residual material defects. In a possible implementation, the procedure also includes: determining the number of tabs in the first direction according to the coordinate of the reference hole on the electrode plate and the coordinate of the tab. This helps to determine the number of tabs in the first direction and to inspect whether the electrode plate meets the requirements based on the number of tabs in the first direction. In one possible implementation, before measuring the target object to obtain size information based on the first and second images, the procedure also includes performing a grayscale homogenization process on the first image. This allows the grayscale values from different first images to be placed in a unified grayscale space, which is convenient for setting thresholds and segmenting the foreground. In one possible implementation, before acquiring a first and a second image of a target object, the procedure also includes: acquiring a backlit image and a non-backlit image; and compressing the backlit and non-backlit images according to a first ratio to obtain the first and second images. This allows the measurement procedures to be executed more quickly without losing image information. In one possible implementation, the procedure also includes restoring information about the actual size of the target object from information about its measured size according to the first relationship. In this way, information about the actual size can be retrieved from information about the measured size of the target object according to the first relationship. According to a second aspect, an embodiment of this application discloses a measuring apparatus that includes a processing module, wherein the processing module is configured to: acquire a first image and a second image of a target object, wherein the first image is acquired by a camera located on a non-backlit side of the target object, and the second image is acquired by a camera located on a backlit side of the target object; and measure the target object to obtain information about its size according to the first image and the second image. According to a third aspect, an embodiment of this application discloses a measuring device that includes: a memory, configured to store computer-executable instructions; and a processor, configured to access the memory and execute the computer-executable instructions, to perform the operations in the procedure in accordance with any of the first aspects. According to the fourth aspect, this request discloses a storage medium configured to store a computer program, and when the computer program is executed by a computing device, the computing device is enabled to implement the procedure in accordance with any of the first aspects. An implementation of this application discloses a measurement procedure, where the measurement procedure includes: acquiring a first image and a second image of a target object, where the first image is acquired by a camera located on a side of the target object without backlighting, and the second image is acquired by a camera located on a side of the target object with backlighting; and measuring the target object to obtain information about its size based on the first and second images. Acquiring the first and second images using cameras located at different points facilitates the inspection of the target object during a production process.Since the first and second images are acquired by cameras positioned at different angles to a light source, the combined image contains more information about the target object than either image alone, overcoming the limitations of single-camera image acquisition. Information about the target object's size is measured from the first and second images, allowing for more accurate and precise calculations, thus improving the accuracy and precision of the inspection. Therefore, the technical solution in this application can enhance the accuracy and precision of the inspection while simultaneously improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS To more clearly describe the technical solutions in the embodiments of this application, the accompanying drawings necessary to illustrate these embodiments are briefly described below. As will be seen, the drawings included in the following description show only some embodiments of this application, and a person skilled in the art can easily derive other embodiments from the accompanying drawings without any creative effort. Figure 1 is a schematic diagram of a measurement procedure according to one embodiment of this application; Figure 2 is a schematic diagram of an electrode plate according to one embodiment of this application; Figure 3 is a schematic diagram of a first image according to one realization of this application; Figure 4 is a schematic diagram of a second image according to one implementation of this application; Figure 5 is a schematic diagram of a tab according to one implementation of this application; Figure 6 is a schematic diagram of a first target image according to one implementation of this application; Figure 7 is a schematic diagram of a first foreground segmentation image according to one implementation of this application; Figure 8 is a schematic diagram of the measurement of the size of a body portion according to one implementation of this application; Figure 9 is a schematic diagram of a second target image according to one implementation of this application; Figure 10 is a schematic diagram of a second foreground segmentation image according to one implementation of this application; Figure 11 is a schematic diagram of the measurement of a tab to obtain information about size, according to one implementation of this application; Figure 12 is a schematic diagram of obtaining a first target image according to one implementation of this application; Figure 13 is a schematic diagram of obtaining a second target image according to one implementation of this application; Figure 14 is a schematic diagram of the determination of the number of tabs according to one implementation of this application; Figure 15 is a schematic diagram of the measurement of the electrode plate body to obtain information about its size, according to one implementation of this application; Figure 16 is a schematic diagram of the measurement of a reference hole to obtain information about size, according to one implementation of this application; Figure 17 is a schematic diagram of the determination of information on the size of the electrode plate body according to one embodiment of this application; Figure 18 is a schematic diagram of the determination of whether an electrode plate has a residual material defect according to one embodiment of this application; Figure 19 is a schematic diagram of a measurement procedure according to one embodiment of this application; Figure 20 is a schematic diagram of a measuring apparatus according to one embodiment of this application; and Figure 21 is a schematic diagram of a measuring device according to one embodiment of this application. In the attached drawings, the figures are not drawn to scale. DETAILED DESCRIPTION The implementations of this request are described in detail below with reference to the accompanying drawings and embodiments. The detailed description of the following embodiments and the accompanying drawings are used to illustrate the principle of this request by way of example, but they cannot be used to limit the scope of this request; that is, this request is not limited to the embodiments described. The term "and / or" in this descriptive memory is simply an associative relation used to describe associated objects, indicating that three relationships are possible. For example, A and / or B can indicate three cases: the presence of only A; the presence of both A and B; and the presence of only B. Furthermore, the character " / " in this descriptive memory generally indicates an "or" relation between contextually associated objects. In production, products on a production line are typically inspected by a single, independent device. This inspection procedure struggles to meet the demand for real-time product inspection and does not contribute to improved production efficiency. Based on this, several solutions for real-time product inspection have been proposed. In these inspection solutions, images are acquired using a single camera, and the target object is inspected based on these images. However, in most cases, images from a single camera only provide general information about a product, making it possible to measure only approximate sizes of the target objects, rather than obtaining precise information about their dimensions.Therefore, how to provide a measurement procedure to improve the accuracy and precision of inspection while improving production efficiency is a technical problem that needs to be solved urgently. Accordingly, an implementation of this application discloses a measurement procedure. The measurement procedure includes: acquiring a first image and a second image of a target object, where the first image is acquired by a camera located on a non-backlit side of the target object, and the second image is acquired by a camera located on a backlit side of the target object; and measuring the target object to obtain information about its size based on the first and second images. Acquiring the first and second images using cameras located at different points facilitates the inspection of the target object during a production process.Since the first and second images are acquired by cameras positioned at different angles to a light source, the combined image contains more information about the target object than either image alone, overcoming the limitations of single-camera image acquisition. Information about the target object's size is measured from the first and second images, allowing for more accurate and precise calculations, thus improving the accuracy and precision of the inspection. Therefore, the technical solution in this application can enhance the accuracy and precision of the inspection while simultaneously improving production efficiency. The measurement procedure described in this application can be applied in the industrial inspection technologies sector, for example, in real-time production scenarios. For instance, the measurement procedure described in this application can be used to inspect an electrode plate and its flange, and it can be determined whether the electrode plate and flange meet a production requirement based on the measured size information. As another example, the measurement procedure described in this application can be applied to a die-cutting process, and it can be determined whether there are any problems in the die-cutting process based on the measured size information.As another example, the measurement procedure of this application can be applied to a coating process, and it can be determined whether there is an incorrect application of the coating or if the coating is missing, based on the information about the measured size. Figure 1 is a schematic diagram of a measurement procedure according to one embodiment of this application. In this embodiment of this application, as shown in Figure 1, a measurement procedure 100 includes step 110 and step 120. Step 110. Acquire a first image and a second image of a target object, wherein the first image is acquired by a camera located on a non-backlit side of the target object, and the second image is acquired by a camera located on a backlit side of the target object. The first and second images are different. The first image was taken by a camera on the non-backlit side of the subject, and the second image was taken by a camera on the backlit side. In other words, the first image is a non-backlit image, and the second image is a backlit image. The pixel values of the pixel points in the second image are concentrated around 0 and 255. For example, the target object appears black in the second image, and the pixel values are concentrated around 0. The areas that do not correspond to the target object appear white, and the pixel values are concentrated around 255. The first image is unbacklit and has richer pixel values. The camera can be positioned so that it faces the target object. For example, when the target object moves horizontally, the camera is positioned above or below it. Optionally, the camera is a linear scanning camera. The first and second images are of the same area of the target object. For example, in an actual measurement process, the target object is in transit, and to ensure that the first and second images correspond to the same area of the target object, the camera can be configured according to a specific image acquisition speed and distance. In this application, the camera is not specifically limited to any particular type, as long as the function of photographing the target object can be implemented. The first and second images contain different information about the target object. The second image shows the object's outer contour more clearly, while the first image shows its specific arrangement and structure more clearly. The first and second images together contain more information about the target object than either one alone, thus overcoming the limitations of acquiring an image with a single camera. Step 120. Measure the target object to obtain information about its size based on the first image and the second image. Information about the size of the target object includes information related to the size of the target object, for example, the size of the target object and a coordinate of the target object. The target object can be measured more accurately and precisely using the first and second images, that is, by combining the information contained in the first and second images, which contributes to improving the accuracy and precision of the inspection. Once the size information of the target object has been obtained through measurement, this information can be used to determine if the target object has any defects and if it meets the requirements. The measurement procedure in this application can be performed by a control unit. This control unit can be a computer control unit, which can be used to monitor the production process in real time and measure the target object in the first and second images to obtain relevant information about its size. The control unit can also be connected to the camera to obtain and process the captured images. An implementation of this application discloses a measurement procedure, wherein the measurement procedure includes: acquiring a first image and a second image of a target object, where the first image is acquired by a camera located on a non-backlit side of the target object, and the second image is acquired by a camera located on a backlit side of the target object; and measuring the target object to obtain size information based on the first and second images. Acquiring the first and second images using cameras located at different points facilitates the inspection of the target object during a production process.Since the first and second images are acquired by cameras positioned at different angles to a light source, the combined image contains more information about the target object than either image alone, overcoming the limitations of single-camera image acquisition. Information about the target object's size is measured from the first and second images, allowing for more accurate and precise calculations, thus improving the accuracy and precision of the inspection. Therefore, the technical solution in this application can enhance the accuracy and precision of the inspection while simultaneously improving production efficiency. Figure 2 is a schematic diagram of an electrode plate according to one embodiment of this application. In one embodiment, as shown in Figure 2, an object is an electrode plate 1. The electrode plate 1 includes an electrode plate body 11 and a tab 12. The tab 12 includes a body portion 121 and a connecting portion 122. The electrode plate body 11 extends along a first direction. The tab 12 projects from the electrode plate body 11 along a second direction. The body portion 121 of the tab 12 is connected to the electrode plate body 11 via the connecting portion 122. The electrode plate body 11 and the connecting portion 122 are coated with an active substance, and the body portion 121 is not coated with the active substance.The first direction is the transport direction of electrode plate 1, and the second direction is perpendicular to the first. The first direction can be the y direction of Figure 2, that is, a direction of the ordinates; and the second direction can be the x direction of Figure 2, that is, a direction of the abscissas. Figure 3 is a schematic diagram of a first image according to one implementation of this application. As shown in Figure 3, the first image is a grayscale image of electrode plate 1. Based on the pixel values of the pixel points in the first image, the first image can be divided into three parts: a body part of the electrode plate, a tab part, and a background part. In the first image, when tab 12 of electrode plate 1 is folded, the tab is not fully visible. It is difficult to obtain complete information about the tab's size based solely on this first image. Figure 4 is a schematic diagram of a second image according to one implementation of this application. As shown in Figure 4, the second image is a grayscale image of electrode plate 1. The second image is acquired by a camera located on the backlit side of electrode plate 1. Based on the pixel values of the pixel points in the second image, it can be divided into two parts: a portion of the electrode plate and a background portion. In the case of the second image, since the second image is a grayscale image close to a black and white image, it is difficult to obtain more detailed information about the size of the tab using only the second image. In this embodiment, more information about the size of electrode plate 1 can be obtained from the first and second images, which helps to improve the accuracy and precision of the measurement on electrode plate 1. In one embodiment, step 120 includes: obtaining a first target image according to the first image, the first target image including one of said tabs 12 in the first direction; obtaining a second target image according to the second image, the second target image including one of said tabs 12 in the first direction; and measuring tab 12 to obtain size information according to the first target image and the second target image. The first target image can be the same as or different from the first image. For example, in the first image, under the condition of a single tab in the first direction, the first target image can be the first image; and in the first image, under the condition of two tabs in the first direction, the first target image is different from the first image. Similarly, the second target image can be the same as or different from the second image. In this embodiment, the first target image includes a lash 12 in the first direction, and the second target image also includes a lash 12 in the first direction. This way, when measuring lash 12 to obtain its size information based on the first and second target images, it is only necessary to process the first and second target images to obtain the size information for lash 12, without determining the number of lash 12s while measuring them. This reduces the complexity of the measurement procedure. Furthermore, the size information for each lash 12 can be measured according to the first and second target images, preventing any lash 12s from being overlooked during the size measurement process. In one embodiment, measuring tab 12 to obtain size information according to the first target image and the second target image includes: measuring body portion 121 of tab 12 to obtain size information according to the first target image; and measuring tab 12 to obtain size information according to the second target image. Figure 5 is a schematic diagram of a tab according to one implementation of this application. As shown in Figure 5, information about the size of tab 12 can include information such as the dimensions and coordinates of tab 12 in the first and second directions.For example, information about the size of tab 12 includes a size R4 of the body portion 121 in the second direction; a size R3 of the body portion 121 in the first direction, where R3 is the largest size of the body portion 121 in the first direction; a size R5 of the connecting portion 122 in the second direction; a size R1 of a first end of tab 12 in the first direction, where the first end of tab 12 is the end of tab 12 closest to the body of electrode plate 11 in the second direction; a coordinate C1 of a center position of tab 12 in the first direction; a size R2 of a second end of tab 12 in the first direction, where the second end of tab 12 is the end of tab 12 farthest from the body of electrode plate 11 in the second direction; and a distance L between adjacent tabs 12 in the first direction. In this embodiment, the first target image corresponds to the first image. The first target image includes a tab portion, a body portion of the electrode plate, and a background portion. Based on the first target image, information about the size of the body portion 121 can be obtained by measurement. The second target image corresponds to the second image. The second target image includes a portion of the electrode plate and a background portion. Based on the second target image, information about the size of tab 12 can be obtained by measurement. By analyzing the information about the size of the body portion 121 and the information about the size of tab 12, information about the size of the connection portion 122 of tab 12 can be obtained. In one embodiment, measuring body portion 121 of tab 12 to obtain size information according to the first target image includes: performing foreground segmentation on the first target image according to a first threshold to obtain a first foreground segmentation image; and measuring body portion 121 to obtain size information according to the first foreground segmentation image. Figure 6 is a schematic diagram of a first target image according to one embodiment of this application. As shown in Figure 6, the grayscale values of the connection portion 122 and the body of the electrode plate 11 coated with the active substance are less than a first threshold, and the grayscale value of the body portion 121 not coated with the active substance is greater than or equal to the first threshold. The grayscale value of the background in the first target image is less than the first threshold. Therefore, based on the first threshold, the body portion 121 coated with the active substance can be extracted to obtain a first foreground segmentation image. Optionally, the first threshold can be specifically set as needed, for example, set to 10, which is not specifically limited in this implementation of this application. To facilitate the calculation of information regarding the size of each tab 12, after performing foreground segmentation on the first target image according to the first threshold, the first target image with the extracted foreground can be divided equally along the first direction. Optionally, the first target image can be divided equally along the first direction, and then foreground segmentation is performed on the divided first target image. Figure 7 is a schematic diagram of a first foreground segmentation image according to one implementation of this application. As shown in Figure 7, in the first foreground segmentation image, the number of tabs 12 in the second direction is 1. In the first foreground segmentation image, the pixel points of the body portion 121 are foreground pixel points, and the remaining pixel points are background pixel points. Optionally, the pixel values of the foreground pixel points are set to 1, and the pixel values of the background pixel points are set to 0. In this embodiment, by performing foreground segmentation on the first target image, the first foreground segmentation image containing information about body portion 121 can be obtained accurately and quickly, which helps in measuring body portion 121 to obtain size information based on the first foreground segmentation image. In one embodiment, measuring body portion 121 to obtain size information according to the first foreground segmentation image includes: determining a size of body portion 121 of tab 12 in the second direction according to the pixel values of each column of pixel points in the second direction in the first foreground segmentation image; and determining the size of body portion 121 of tab 12 in the first direction according to the pixel values of each row of pixel points in the first direction in the first foreground segmentation image. Figure 8 is a schematic diagram of the measurement of a body portion size according to one implementation of this application. With reference to Figure 8, determining the R4 size of body portion 121 of tab 12 in the second direction, based on the pixel values of each column of pixel points in the second direction in the first foreground segmentation image, can involve: summing or averaging the pixel values of each column of pixel points in the second direction to obtain a row vector, and determining an R4 value based on the number of non-zero elements in the row vector. For example, in the first foreground segmentation image, the pixel point values of body portion 121 are 1, and the values of the remaining pixel points are 0. Therefore, the R4 value can be determined based on the number of non-zero elements in the row vector. With reference to Figure 8, determining the R3 size of body portion 121 of tab 12 in the first direction, based on the pixel values of each row of pixel points in the first direction in the first foreground segmentation image, can involve summing or averaging the pixel values of each row of pixel points in the first direction to obtain a column vector, and determining an R3 value based on the number of non-zero elements in the column vector. For example, in the first foreground segmentation image, the pixel point values of body portion 121 are 1, and the values of the remaining pixel points are 0. Therefore, the R3 value can be determined based on the number of non-zero elements in the column vector. In this embodiment, this helps to quickly and accurately determine the sizes of body portion 121 of tab 12 in the first direction and in the second direction. In one embodiment, measuring tab 12 to obtain size information according to the second target image includes: performing foreground segmentation in the second target image according to a second threshold and body size information of electrode plate 11 to obtain a second foreground segmentation image; and measuring tab 12 to obtain size information according to the second foreground segmentation image. Figure 9 is a schematic diagram of a second target image according to one implementation of this application. As shown in Figure 9, the grayscale value of the electrode plate portion is less than a second threshold, and the grayscale value of the background in the second target image is greater than or equal to the second threshold. Therefore, based on the second threshold, the electrode plate portion can be extracted. The body portion of electrode plate 11 can be determined according to the information about the size of the electrode plate 11 body, so that the tab portion can be extracted. Optionally, information on the size of the electrode plate body 11 can be obtained using a prior art measurement procedure or using a measurement procedure described later in this application. The segmentation of the foreground in the second target image, according to a second threshold and information about the size of electrode plate 11, can be implemented specifically through the following steps. The pixel values of points with a pixel value greater than or equal to the second threshold in the second target image are set to 0. Subsequently, according to the information about the size of electrode plate 11, the pixel values of points in an area where electrode plate 11 is located are set to 0. After the above steps, the pixel values of the remaining pixel points are set to 1, and then the second foreground segmentation image can be obtained, where tab 12 is the foreground area. Optionally, the second threshold can be specifically set as needed, for example, set to 1, which is not specifically limited in this implementation of this application. Figure 10 is a schematic diagram of a second foreground segmentation image according to one implementation of this application. As shown in Figure 10, in the second foreground segmentation image, the number of tabs (12) in the second direction is 1. In the second foreground segmentation image, the pixel points in the area where tab 12 is located are foreground pixel points, and the remaining pixel points are background pixel points. In this embodiment, by performing the foreground segmentation in the second target image, the second foreground segmentation image containing information about the tab can be obtained accurately and quickly, which helps to measure tab 12 to obtain information about its size according to the second foreground segmentation image. Figure 11 is a schematic diagram of the measurement of a tab to obtain size information, according to one embodiment of this application. In one embodiment, as shown in Figure 11, the measurement of tab 12 to obtain size information according to the second foreground segmentation image includes: determining a tab size in the second direction according to the pixel values of each column of pixel points in the second direction in the second foreground segmentation image; and determining a tab size and coordinates in the first direction according to the pixel values of each row of pixel points in the first direction of the second foreground segmentation image.In this embodiment, the size R4 + R5 of the tab in the second direction can be determined according to the pixel values of each column of pixel points in the second direction in the second foreground segmentation image. For example, the average of the pixel values of one column of pixel points is one element; the averages of the pixel values of n columns of pixel points in the second direction correspond to an elements, and n elements can form a row vector. Based on the number of elements in the row vector, the size R4 + R5 of the tab 12 in the second direction can be determined. For example, when the pixel values of the foreground pixel points are 1 and the pixel values of the background pixel points are 0, the number of non-zero elements in the row vector is the size R4 + R5 of the tab 12 in the second direction. In this embodiment, the sizes of tab 12 in the first and second directions, and the coordinates of tab 12 in the first direction, can be quickly and accurately determined based on the pixel values of each column of pixel points in the second direction and the pixel values of each row of pixel points in the first direction in the second foreground segmentation image. In one embodiment, determining the size and coordinates of tab 12 in the first direction according to the pixel values of each row of pixel points in the first direction in the second foreground segmentation image includes: determining the size of a first end of tab 12 according to a number of non-zero elements in a first column vector, where the first end of tab 12 is an end of the tab closest to the body of electrode plate 11 in the second direction, and the first column vector is composed of averages or sums of pixel values of the respective rows of pixel points in the first direction in the second foreground segmentation image; and measuring a coordinate of a central position of tab 12 in the first direction according to the coordinates of the non-zero elements in the first column vector. In the second foreground segmentation image, the pixel points in the area where tab 12 is located are foreground pixel points, and the pixel points in the remaining areas are background pixel points. The pixel values of the foreground pixel points can be set to 1, and the pixel values of the background pixel points can be set to 0. The elements of the first column vector can correspond to an average of the pixel values of each row of pixel points in the first direction of the sequence. Since the second foreground segmentation image includes only one tab, and the tab is a continuous area, the size R1 of the first end of tab 12 in the first direction can be determined according to the number of non-zero elements in the first column vector.The ordinate of the central position of tab 12 can be determined according to the ordinate of a non-zero element in the central position of the first column vector. In this embodiment, the size of the first end of tab 12 and the coordinate of the center position of tab 12 in the first direction can be determined quickly and accurately according to the first column vector. In one embodiment, determining the size and coordinate of tab 12 in the first direction according to the pixel values of each row of foreground pixel points in the first direction in the second foreground segmentation image includes: measuring the size of a second end of tab 12 according to the pixel values of the pixel points along the first direction at a first preset position in the second foreground segmentation image, wherein the second end of tab 12 is an end of tab 12 furthest from the body of electrode plate 11 in the second direction. The first preset position can be a position at a distance of a * (R4 + R5) from the first end of tab 12 in the second direction in the second foreground segmentation image, where a can be set according to an empirical value, e.g., a is 0.9. In one embodiment, as shown in Figures 2, 10, and 11, in actual production, an area B of tab 12 closest to the second end typically has an arc-shaped structure. Therefore, the first preset position can be a position at a distance of R4 + R5 - R from the first end of tab 12 in the second direction in the second foreground segmentation image. A specific value for R can be set as needed, which is not specifically limited in this implementation of this application. Measuring the R2 size of a second end of tab 12 according to the pixel values of the pixel points along the first direction at a first preset position in the second foreground segmentation image can be specifically as follows: the number of foreground pixel points in the first direction (under the condition that the pixel values of the foreground pixel points are 1, a sum of the pixel values of the foreground pixel points in the first direction) at the first preset position in the second foreground segmentation image is the R2 size of the second end of tab 12. In this embodiment, the size of the second end of tab 12 can be quickly determined. In one embodiment, measuring tab 12 to obtain size information according to the first and second target images includes: determining a size R5 of the connecting portion 122 of tab 12 in the first direction according to the size R4 of the body portion 121 of tab 12 in the second direction, and the size R4 + R5 of the tab in the second direction. This allows for the quick and accurate determination of the size of the connecting portion 122 of the tab. In one embodiment, procedure 100 further includes: determining a number of tabs 12 in the first direction in the second image; wherein obtaining a first target image according to the first image includes: obtaining the first target image corresponding to each tab 12 in the first direction, according to the number of tabs 12 in the first direction and the first image; and obtaining a second target image according to the second image includes: obtaining the second target image corresponding to each tab 12 in the first direction, according to the number of tabs in the first direction and the second image. The first and second images correspond to the same area of the electrode plate. Therefore, the number of tabs (12) in the first direction in the second image is the same as the number of tabs (12) in the first direction in the first image. Obtaining the first target image corresponding to each tab 12 in the first direction, according to the number of tabs 12 in the first direction and the first image, may include the following situations. In one case, the number of tabs 12 in the first direction is 1, and in this case, the first target image is the first image. In one case, the number of tab 12s in the first direction is 2, and in this case, the first image needs to be split, so that the first image is split into a first target image that includes a complete tab 12 and a first split image that includes an incomplete tab 12. For example, the current first image is split into two parts. The top part contains a complete tab 12, and the bottom part contains an incomplete tab 12; that is, the bottom part is the split first image. Figure 12 is a schematic diagram of how a target first image is obtained according to one implementation of this application. As shown in Figure 12, a split first image of the current first image is joined with a split first image of a subsequent first image to obtain an image containing a complete tab 12 in the first direction; that is, the target first image. By joining the first split images to obtain the first target image, it can be ensured that the full size of the 12th eyelash is measured, thus guaranteeing the accuracy of the result of the measurement of the size of the 12th eyelash. Optionally, the first image can be divided equally along the second direction. Alternatively, the size of the first target image can differ from the size of the first image in the first direction. For example, in the first direction, the size of the first target image can be smaller than the size of the first image. In this implementation, the size of the first target image in the first direction can be determined based on the division procedure and the actual situation. Similarly, when obtaining the second target image corresponding to each 12 tab in the first direction according to the number of tabs in the first direction and the second image, a situation equal to obtaining the first target image corresponding to each 12 tab in the first direction according to the number of 12 tabs in the first direction and the first image can be included, and the details are not repeated here. Figure 13 is a schematic diagram of how a second target image is obtained according to one implementation of this application. As shown in Figure 13, two incomplete tabs are joined to form a complete tab, thus obtaining a second target image. In this embodiment, the first target image and the second target image must be determined according to the number of lashes in the first direction. This ensures that there is only one complete lash in the first direction in both the first and second target images, thus simplifying the measurement of lash size. In one embodiment, determining the number of tabs 12 in the first direction in the second image includes: performing foreground segmentation in the second image according to a second threshold and information about the size of the electrode plate 11 to obtain a third foreground segmentation image; and determining the number of tabs 12 in the first direction according to the third foreground segmentation image. Figure 14 is a schematic diagram for determining the number of tabs according to one embodiment of this application. As shown in Figure 14, the third foreground segmentation image is obtained after performing foreground segmentation in the second image according to the second threshold and the information about the size of the electrode plate 11. Then, the number of tabs 12 in the first direction can be determined according to the third foreground segmentation image. The third foreground segmentation image may include only one tab in the second direction. This embodiment helps to quickly determine the number of tabs in the first direction. In one embodiment, the determination of the number of tabs in the first direction according to the third foreground segmentation image includes the following situations. Under the condition that a difference between the ordinates of non-zero adjacent elements in a second column vector is greater than a specified first value, the number of tabs is determined to be 2, where the second column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the third foreground segmentation image. For example, the second column vector is formed by averaging the pixel values of each row of pixel points in the first direction in the third foreground segmentation image. It has n rows of pixel points along the first direction, with foreground pixel points having pixel values of 1 and background pixel points having pixel values of 0. The second column vector is H = [h1, h2, h3, ..., hn], and the difference between the ordinates of adjacent elements in the second column vector is one pixel. For example, the ordinate of h1 is 1, the ordinate of h2 is 2, ..., and the ordinate of hn is n. Based on the second column vector, the non-zero elements can be determined. For example, the non-zero elements can form a column vector H1 = [h3, h4, h5, ..., hm, hn], where m is less than n.Therefore, the number of tabs can be determined based on the difference between the ordinates of the second column vector H corresponding to the adjacent elements of the column vector H1, or the difference between the ordinates of the non-zero adjacent elements of the second column vector H. If the difference between the ordinates of the non-zero adjacent elements of the second column vector is greater than a specified first value, it can be determined that 2 tabs are included in the third foreground segmentation image or in the second image in the first direction. If the difference between the ordinates of adjacent non-zero elements in the second column vector is less than or equal to the first specified value, the number of tabs is determined to be 1. The procedure for this implementation helps to accurately and quickly determine the number of tabs in the first direction. In one embodiment, before measuring the tab to obtain size information according to the first and second target images, procedure 100 further includes: measuring the body of electrode plate 11 to obtain size information according to the first image; and / or measuring the body of electrode plate 11 to obtain size information according to the second image. In this way, the size information measured on the body of electrode plate 11 helps to measure tab 12 to obtain size information according to the size information of the body of electrode plate 11, and also helps to inspect, according to the size information of the body of electrode plate 11, whether electrode plate 1 has any defects. In one embodiment, measuring the body of electrode plate 11 to obtain size information according to the second image includes: performing foreground segmentation in the second image according to a second threshold to obtain a fourth foreground segmentation image; and measuring the body of electrode plate 11 to obtain size information according to the pixel values of each column of pixel points in the second direction in the fourth foreground segmentation image. In this embodiment, according to the second threshold, electrode plate 1 in the second image can be extracted as a foreground area to obtain the fourth foreground segmentation image, which helps to measure the body of electrode plate 11 to obtain information about the size according to the fourth foreground segmentation image. In one embodiment, measuring the body of electrode plate 11 to obtain size information according to the pixel values of each column of pixel points in the second direction in the fourth foreground segmentation image includes: obtaining a first row vector, where the first row vector is composed of sums or averages of pixel values of the respective columns of pixel points in the second direction in the fourth foreground segmentation image; setting to 0 the elements with a value less than a second specified value in the first row vector; and determining the size information of the body of electrode plate 11 according to the non-zero elements in the first row vector. Figure 15 is a schematic diagram of the electrode plate body measurement to obtain information about its size, according to one implementation of this application. As shown in Figure 15, a fourth foreground segmentation image is obtained after performing foreground segmentation in the second image according to a second threshold. For example, the average of the pixel values of a column of pixel points in the second direction in the fourth foreground segmentation image is an element in the first row vector. If there are n columns of pixel points in the second direction, the averages of the pixel values of the n columns of pixel points constitute n elements in the first row vector. For example, the difference between the abscissas of adjacent elements in the first row vector P = [p1, p2, p3, ..., pn] is a pixel point; the abscissa of p1 is 1, the abscissa of p2 is 2, ..., and the abscissa of pn is n.Generally, the pixel values of the background pixel points are 0, and the pixel values of the foreground pixel points can be set as needed, for example, to 1. Once the first row vector is obtained, the elements of the first row vector whose element value is less than a specified second value are set to 0. In this way, the size of the body of electrode plate 11 in the second direction can be determined based on the number of non-zero elements in the first row vector. Using the coordinates of the non-zero elements, for example, the abscissas of a first and last element in the first row vector, an abscissa for a boundary of the body of electrode plate 11 in the second direction can be determined. If the pixel values of the foreground pixel points are 1, and the elements of the first row vector are an average of the pixel values of each column of pixel points, the second specified value can be 0, 9, or another empirical value. Therefore, when the elements of the first row vector are an average of the pixel values of each column of pixel points, the second specified value can be 0, 9n, or another empirical value, where n is the number of columns of pixel points in the fourth foreground segmentation image in the second direction. When the electrode plate has a defect, such as a black spot or a crack, measuring the electrode plate body to determine its size based on the first image may result in a smaller measured size than the actual size. In contrast to measuring the electrode plate body based on the first image, measuring it based on the second image provides a more accurate size determination. In this embodiment, the use of the second specified value can prevent the reference hole in the electrode plate and the like from affecting the information about the size of the electrode plate body. Typically, reference holes are provided at a starting and ending position on the electrode plate, allowing the initial and final positions for tab counting to be determined. In actual production, a roll of material may contain multiple electrode plates 1 connected sequentially and continuously, each electrode plate having a specific length in the first direction. To facilitate the identification of each electrode plate and the determination of the number of tabs 12 in the first direction on each electrode plate 1, reference holes are generally provided. These reference holes can be used to mark each electrode plate 1 and serve as the starting and ending marks for tab counting 12. In one embodiment, procedure 100 further includes: measuring a reference hole in the electrode plate to obtain information about its size. This helps to determine the initial and final positions of the electrode plate relative to the reference hole. In one embodiment, measuring a reference hole on electrode plate 1 to obtain size information includes: performing foreground segmentation in the second image according to the second threshold and the fourth foreground segmentation image to obtain a fifth foreground segmentation image; and determining a size and coordinate of the reference hole in the first direction and a size and coordinate of the reference hole in the second direction according to the pixel values of each column of pixel points in the second direction and the pixel values of each row of pixel points in the first direction in the fifth foreground segmentation image. Figure 16 is a schematic diagram of the measurement of a reference hole to obtain size information, according to one implementation of this application. As shown in Figure 16, areas other than the electrode plate in the second image are set as background according to an area of the electrode plate in the fourth foreground segmentation image. Thus, in the second image, the areas other than the electrode plate are background pixel points. Subsequently, according to the second threshold, the reference hole is extracted as a foreground area. For example, the value of a pixel of the reference hole is greater than or equal to the second threshold, and the pixel values of the electrode plate are less than the second threshold. In this way, the reference hole can be extracted according to the second threshold to obtain the fifth foreground segmentation image. In the fifth foreground image, the average of the pixel values of each column of pixel points in the second direction constitutes an element in a one-dimensional row vector, and the average of the pixel values of each row of pixel points in the first direction constitutes an element in a one-dimensional column vector. Based on the number of non-zero elements in the one-dimensional column vector, the size of the reference hole in the first direction can be determined, and based on the coordinates of a non-zero element at the center position of the one-dimensional column vector, the coordinates of the reference hole in the first direction can be determined. The procedure of this embodiment helps to quickly and accurately measure the size and coordinates of the reference hole. In one embodiment, measuring the body of electrode plate 11 to obtain size information according to the first image includes: performing foreground segmentation in the first image according to a third threshold to obtain a sixth foreground segmentation image; and measuring the body of electrode plate 11 to obtain size information according to the pixel values of each column of pixel points in the second direction in the sixth foreground segmentation image. Foreground segmentation in the first image according to a third threshold can specifically include the following steps. In the first image, pixel points with a pixel value greater than or equal to the third threshold are set as foreground pixel points, where the pixel values of the foreground pixel points are set to 1; and pixel points with a pixel value less than the third threshold are set as background pixel points, where the pixel values of the background pixel points are set to 0. In this way, the sixth foreground segmentation image is obtained by performing foreground segmentation in the first image according to the third threshold. The third threshold is lower than the first threshold, and it can be specifically set according to the pixel values of the first image. For example, the third threshold is 5. With this third threshold set, the area where the electrode plate is located in the first image can be extracted as the foreground area. Based on the pixel values of each column of pixel points in the second direction in the sixth foreground segmentation image, the size, coordinates, and other characteristics of the body of electrode plate 11 in the second direction can be measured. In this embodiment, according to the third threshold, the electrode plate in the first image can be extracted as a foreground, so that the sixth foreground segmentation image is obtained, which helps to measure the body of the electrode plate to obtain information about the size according to the sixth foreground segmentation image. In one embodiment, measuring the body of electrode plate 11 to obtain size information according to the pixel values of each column of pixel points in the second direction in the sixth foreground segmentation image includes: obtaining a second row vector, where the second row vector is composed of sums or averages of pixel values of the respective columns of pixel points in the second direction in the sixth foreground segmentation image; setting to 0 the elements with a value less than a second specified value in the second row vector; and determining the size information of the electrode plate body according to the non-zero elements in the second row vector. Figure 17 is a schematic diagram for determining the size information of the electrode plate body according to one implementation of this application. As shown in Figure 17, a sixth foreground segmentation image is obtained after performing foreground segmentation in the first image. In the sixth foreground segmentation image, the pixel values of the foreground pixel points are 1, and the pixel values of the background pixel points are 0. In the sixth foreground segmentation image, the averages of the pixel values of the respective columns of pixel points along the second direction constitute a second row vector, and the elements of this second row vector are either 0 or 1.Due to the continuity of the body of electrode plate 11 in the second direction, its size can be determined by the number of non-zero elements in the second row vector. Because of tabs, the average pixel values of some columns of pixel points are less than 1. Therefore, the elements in the second row vector that are less than the specified second value are set to 0, so the size of the body of electrode plate 11 in the second direction can be determined by the number of non-zero elements in the second row vector. A boundary coordinate of the body of electrode plate 11 in the second direction can be determined by the abscissas of the first and last non-zero elements in the second row vector. In this embodiment, this helps to quickly and accurately determine information about the size of the electrode plate body 11, and can also detect if the electrode plate has any defects caused by stamping, according to the information about the size of the electrode plate body. In one embodiment, the information on the measured size of the electrode plate body according to the second image is compared with the information on the measured size of the electrode plate body according to the first image, and based on the result of the comparison, it can be determined whether any exception occurs during the acquisition process of the first image and the second image. In one embodiment, a defect in the electrode plate can be detected by comparing the electrode plate body size measured according to the second image with the preset size. Similarly, a defect can be detected by comparing the electrode plate body measured according to the first image with the preset size. For example, if the electrode plate body size in the second direction, measured according to the first image, is smaller than the preset size in that direction, it indicates a problem in the electrode plate die-cutting process, resulting in the actual electrode plate body being smaller than the preset size. In one embodiment, procedure 100 further includes: performing foreground segmentation in the first image according to a first threshold to obtain a seventh foreground segmentation image; determining a number of non-zero elements in a third column vector according to the seventh foreground segmentation image, where the third column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the seventh foreground segmentation image; and determining whether the electrode plate has a residual material defect, according to the number of non-zero elements in the third column vector. A residual material defect on the electrode plate can mean at least one of the following: an active substance should be applied to the body of the electrode plate 11, but in fact it is not; an active substance should not be applied to a body portion 121 of the tab 12, but in fact it is; or an active substance is not applied to either the body of the electrode plate 11 or the connecting portion 122 of the tab 12 (i.e., the coating is missing). For example, in an electrode plate coating process, there is a deviation, such as a deviation to the right or left along the second direction, resulting in the active substance being present on the body portion 121 of the tab 12 and no active substance being present in some areas of the body of the electrode plate 11. Figure 18 is a schematic diagram for determining whether an electrode plate has a residual material defect according to one embodiment of this application. As shown in Figure 18, foreground segmentation is performed in a first image according to a first threshold to extract the portion of the electrode plate not coated with the active substance as a foreground area, resulting in a seventh foreground segmentation image. In the seventh foreground segmentation image, the average of the pixel values of each row of pixel points in the first direction constitutes the elements of the third column vector. In the seventh foreground segmentation image, the pixel values of the foreground pixel points are 1, and the pixel values of the background pixel points are 0.The number of non-zero elements in the third column vector can be used to determine if the electrode plate has any residual material defects. In this embodiment, this helps to determine the size of the foreground area in the seventh foreground segmentation image according to the seventh foreground segmentation image, thus determining, based on the size of the foreground area, whether there is a residual material defect. In one embodiment, the determination of whether the electrode plate has a residual material defect, according to the number of non-zero elements in the third column vector, includes: under the condition that the number of non-zero elements in the third column vector is greater than the specified third value, determining that the electrode plate has a residual material defect. The third specified value can be a size R3 of body portion 121 of tab 12 in the first direction. If the number of non-zero elements in the third column vector is greater than R3, it can be determined that electrode plate 1 has a residual material defect. In this embodiment, this helps to quickly and accurately determine if electrode plate 1 has any residual material defects. In one embodiment, procedure 100 further includes: determining a number of tabs 12 in the first direction according to the coordinate of the reference hole in electrode plate 1 and the coordinate of tab 12. This helps to determine the number of tabs 12 in the first direction and to inspect whether electrode plate 1 meets a requirement according to the number of tabs 12 in the first direction. In one embodiment, before measuring the target object to obtain information about its size according to the first and second images, the procedure also includes: performing a grayscale homogenization process on the first image. Optionally, the grayscale homogenization process can extend the grayscale values of different first images to a unified grayscale space using a grayscale histogram stretching procedure. The grayscale homogenization processing procedure has no specific limitations in this application, as long as the grayscale value of the different first images falls within a unified range. Due to lighting and light effects, the grayscale values of the various first images fall within different ranges. These grayscale values are then standardized into a single range through a grayscale homogenization process, which is beneficial for subsequent operations in the measurement procedure, such as setting the first and third thresholds and performing foreground segmentation. In one embodiment, before acquiring a first and a second image of a target object, procedure 100 further includes: acquiring a backlit image and a non-backlit image; and compressing the backlit and non-backlit images according to a first ratio to obtain the first and second images. In this way, the measurement procedures can be performed more quickly without losing image information. The first relationship can be established specifically according to an empirical value or a real situation, which is not specifically limited in this fulfillment of this request. In one embodiment, procedure 100 also includes: generating information about the size of the target object according to the first relation. Obtaining information about the size of the target object according to the first relationship may include: after obtaining information about the size of the target object by measurement, multiplying the measured size by the first relationship to obtain the actual size of the target object. In this embodiment, information about the actual size can be retrieved from information about the measured size according to the first relationship. Figure 19 is a schematic diagram of a measurement procedure according to one implementation of this application. As shown in Figure 19, a 500 measurement procedure includes the following steps. Step 510. Obtain the input images. The input images include a backlit image and a non-backlit image, where the non-backlit image is a grayscale image and the backlit image is a grayscale image close to a black and white image. The input images are acquired by two cameras positioned at different locations. The backlit image is captured by a camera on the backlit side, and the unbacklit image is captured by a camera on the unbacklit side. Both cameras are linear scanning cameras and are positioned above and / or below an electrode plate. Step 520. Perform a grayscale homogenization process on an image without backlighting. Step 531. Compress the image without backlighting to obtain a first image. Step 532. Compress a backlit image to obtain a second image. Step 541. Measure one electrode plate body to obtain size information, according to the first image. Step 542. Measure one electrode plate body to obtain size information, according to the second image. Step 551. Inspect the electrode plate for residual material defects as shown in the first image. In step 551, the inspection of the electrode plate for residual material defects as shown in the first image involves checking for coating deviation. Step 552. Check if there is a reference hole on the electrode plate according to the second image and measure the reference hole to obtain information about its size. Step 561. Obtain a number of tabs in the first direction. Step 562. Determine the number of tabs in the first direction according to the second image. For specific procedures related to the number of tabs in the first direction in step 561 and step 562, refer to the description above, as the details are not repeated here. Step 571: Obtain a first target image. Step 572: Obtain a second target image. Step 581. Measure a portion of the lash body to obtain sizing information based on the first target image. Step 582. Measure the tab to obtain information about the size according to the second target image. Step 583. Measure the distance between the tabs in the first direction according to the reference hole size information and a tab coordinate. Step 590. Generate a measurement result. The foregoing has described in detail the procedural embodiments of this application with reference to Figures 1 to 19, and the measuring apparatus embodiments of this application are described in detail below. It should be understood that the procedural embodiments correspond to the apparatus embodiments, and that similar descriptions may refer to the procedural embodiments. Figure 20 is a schematic diagram of a measuring apparatus according to the invention. As shown in Figure 20, an embodiment of this application provides a measuring apparatus 200, which includes a processing module 210, wherein the processing module 210 is configured to: acquire a first image and a second image of a target object, wherein the first image is acquired by a camera located on a non-backlit side of the target object, and the second image is acquired by a camera located on a backlit side of the target object; and measure the target object to obtain size information according to the first and second images. The target object is an electrode plate 1. Electrode plate 1 includes an electrode plate body 11 and a tab 12. Tab 12 includes a body portion 121 and a connecting portion 122. The electrode plate body 11 extends along a first direction. Tab 12 projects from the electrode plate body 11 along a second direction. The body portion 121 of tab 12 is connected to the electrode plate body 11 via the connecting portion 122. The electrode plate body 11 and the connecting portion 122 are coated with an active substance, while the body portion 121 is not coated with the active substance. The first direction is the transport direction of the electrode plate 1, and the second direction is perpendicular to the first. The processing module 210 is configured to: obtain a first target image according to the first image, including the first target image one of said tabs 12 in the first direction; obtain a second target image according to the second image, including the second target image one of said tabs 12 in the first direction; and measure tab 12 to obtain size information according to the first target image and the second target image. Processing module 210 is configured to: measure body portion 121 of tab 12 to obtain size information based on the first target image; and measure tab 12 to obtain size information based on the second target image. Processing module 210 is configured to: perform foreground segmentation on the first target image according to a first threshold to obtain a first foreground segmentation image; and measure body portion 121 to obtain size information according to the first foreground segmentation image. Processing module 210 is configured to: determine a size of body portion 121 of tab 12 in the second direction according to the pixel values of each column of pixel points in the second direction in the first foreground segmentation image; and determine a size of body portion 121 of tab 12 in the first direction according to the pixel values of each row of pixel points in the first direction in the first foreground segmentation image. The processing module 210 is configured to: perform foreground segmentation on the second target image according to a second threshold and body size information from electrode plate 11 to obtain a second foreground segmentation image; and measure tab 12 to obtain size information according to the second foreground segmentation image. In one embodiment, processing module 210 is configured to: determine a tab size in the second direction according to the pixel values of each column of pixel points in the second direction in the second foreground segmentation image; and determine a tab size and coordinate in the first direction according to the pixel values of each row of pixel points in the first direction in the second foreground segmentation image. In one embodiment, the processing module 210 is configured to: determine the size of a first tab end according to the number of non-zero elements in a first column vector, where the first tab end is a tab end closest to the electrode plate body in the second direction, and the first column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the second foreground segmentation image; and measure a coordinate of a central position of the tab in the first direction according to the coordinates of the non-zero elements in the first column vector. In one embodiment, the processing module 210 is configured to: measure the size of a second tab end according to the pixel values of the pixel points along the first direction at a first preset position in the second foreground segmentation image, where the second tab end is the tab end furthest from the electrode plate body in the second direction. In one embodiment, the processing module 210 is configured to: determine a size of the tab's connecting portion in the second direction according to the size of the tab's body portion in the second direction and the tab's size in the second direction. In one embodiment, the processing module 210 is configured to: determine a number of tabs in the first direction in the second image; obtain the first target image corresponding to each tab in the first direction, according to the number of tabs in the first direction and the first image; and obtain the second target image corresponding to each tab in the first direction, according to the number of tabs in the first direction and the second image. In one embodiment, the processing module 210 is configured to: perform foreground segmentation in the second image according to a second threshold and information about the size of the electrode plate body to obtain a third foreground segmentation image; and determine the number of tabs in the first direction according to the third foreground segmentation image. In one embodiment, processing module 210 is configured to: under the condition that a difference between the ordinates of adjacent elements in a second column vector is greater than a first specified value, determine that the number of tabs is 2, where the first column vector is composed of averages or sums of pixel values of the respective rows of foreground pixel points in the first direction in the third foreground segmentation image; or, under the condition that a difference between the ordinates of adjacent elements in the second column vector is less than or equal to the first specified value, determine that the number of tabs is 1. In one embodiment, the processing module 210 is configured to: before measuring the tab to obtain size information according to the first target image and the second target image, measure the electrode plate body to obtain size information according to the first image; and / or measure the electrode plate body to obtain size information according to the second image. In one embodiment, the processing module 210 is configured to: perform foreground segmentation in the second image according to a second threshold to obtain a fourth foreground segmentation image; and measure the electrode plate body to obtain size information according to the pixel values of each column of pixel points in the second direction in the fourth foreground segmentation image. In one embodiment, the processing module 210 is configured to: obtain a first row vector, where the first row vector is composed of sums or averages of pixel values from the respective columns of pixel points in the second direction in the fourth foreground segmentation image; set to 0 the elements with a value less than a second specified value in the first row vector; and determine information about the size of the electrode plate body according to the non-zero elements in the first row vector. In one embodiment, the processing module 210 is configured to: measure a reference hole in the electrode plate to obtain information about the size. In one embodiment, the processing module 210 is configured to: perform foreground segmentation in the second image according to the second threshold and the fourth foreground segmentation image to obtain a fifth foreground segmentation image; and determine a size and coordinate of the reference hole in the first direction and a size and coordinate of the reference hole in the second direction according to the pixel values of each column of pixel points in the second direction and the pixel values of each row of pixel points in the first direction in the fifth foreground segmentation image. In one embodiment, the processing module 210 is configured to: perform foreground segmentation in the first image according to a third threshold to obtain a sixth foreground segmentation image; and measure the body of the electrode plate to obtain size information according to the pixel values of each column of pixel points in the second direction in the sixth foreground segmentation image. In one embodiment, the processing module 210 is configured to: obtain a second row vector, where the second row vector is composed of sums or averages of pixel values from the respective columns of pixel points in the second direction in the sixth foreground segmentation image; set to 0 the elements with a value less than a specified second value in the second row vector; and determine information about the size of the electrode plate body according to the non-zero elements in the second row vector. In one embodiment, the processing module 210 is configured to: perform foreground segmentation in the first image according to a first threshold to obtain a seventh foreground segmentation image; determine a number of non-zero elements in a third column vector according to the seventh foreground segmentation image, where the third column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the seventh foreground segmentation image; and determine whether the electrode plate has a residual material defect, according to the number of non-zero elements in the third column vector. In one embodiment, the processing module 210 is configured to: under the condition that the number of non-zero elements in the third column vector is greater than the third specified value, determine that the electrode plate has a residual material defect. In one embodiment, the processing module 210 is configured to: determine a number of tabs in the first direction according to the reference hole coordinate on the electrode plate and the tab coordinate. In one embodiment, the processing module 210 is configured to: perform a grayscale homogenization processing on the first image. In one embodiment, the processing module 210 is configured to: before acquiring a first image and a second image of a target object, acquire a backlit image and a non-backlit image; and compress the backlit image and the non-backlit image according to a first ratio to obtain the first image and the second image, and compress the first image and the second image according to the first ratio. In one embodiment, the processing module 210 is configured to: restore information about the actual size of the target object from information about the measured size of the target object according to the first relationship. Figure 21 is a schematic diagram of a measuring device according to the invention. As shown in Figure 21, in this embodiment of the application, the measuring device 300 includes a memory 310 and a processor 320. The memory 310 is configured to store computer-executable instructions; and the processor 320 is configured to access the memory and execute these instructions, to carry out the operations of the image processing procedure in any of the foregoing embodiments. In this embodiment of this application, the 320 processor may be an integrated circuit chip with signal processing capabilities. In an implementation process, the steps of the procedures described above may be implemented using a hardware integrated logic circuit in the processor or using software instructions. The processor mentioned above may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or another programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The processor may implement or execute the procedures and steps described in the embodiments of this application.The general-purpose processor may be a microprocessor, or it may also be any conventional or similar processor. The steps of the procedures described in connection with the embodiments of this application may be implemented directly by a hardware decoding processor, or by a combination of hardware and software modules in a decoding processor. The software module resides in a storage medium consolidated in the art, such as random-access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or a register. The storage medium is located in memory, and the processor reads the information from memory and completes the steps of the preceding procedures in conjunction with the processor hardware. The 310 memory in this implementation of this application can be volatile or non-volatile memory, or it can include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random-access memory (RAM) and is used as external cache memory.By way of example, though not limited to, various forms of RAM can be used, such as: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronized link dynamic random access memory (synchronized link DRAM, SLDRAM), and direct RAM bus random access memory (direct RAM bus RAM, DR RAM). It should be noted that the memory of the systems and procedures described in this specification includes, but is not limited to, these and any other appropriate memory types. An embodiment of this application, as claimed in claim 14, provides a storage medium configured to store a computer program, and when the computer program is executed by a computing device, the computing device is enabled to implement the procedure in accordance with any of the first aspects. Although this application has been described with reference to preferred embodiments, various modifications may be made without departing from the scope of this application. Specifically, provided there is no structural conflict, the various technical features mentioned in the embodiments may be combined in any manner. This application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.
Claims
1. Measurement procedure (100), characterized by comprising: acquiring (110) a first image and a second image of a target object, wherein the first image is acquired by a camera located on a non-backlit side of the target object, and the second image is acquired by a camera located on a backlit side of the target object; and measuring (120) the target object to obtain size information according to the first image and the second image, wherein the target object is an electrode plate (1) comprising an electrode plate body (11) and a tab (12), the tab (12) comprising a body portion (121) and a connecting portion (122), the electrode plate body (11) extending along a first direction, the tab (12) projecting from the electrode plate body (11) along a second direction, the body portion (121) of the tab (12) being connected to the electrode plate bodyelectrode (11) through the connecting portion (122), the body of the electrode plate (11) and the connecting portion (122) are coated with an active substance, while the body portion (121) is not coated with the active substance, the first direction being a transmission direction of the electrode plate (1), and the second direction being perpendicular to the first direction, wherein the measurement (120) of the target object to obtain information about its size, according to the first image and the second image, comprises: obtaining (571) a first target image according to the first image, the first target image comprising a tab (12) of the electrode plate (1) in the first direction; obtaining (572) a second target image according to the second image, the second target image comprising the same tab (12) of the electrode plate (1) in the first direction; and measuring the tab (12) to obtain information about the sizeaccording to the first target image and the second target image; the measurement of the tab (12) to obtain size information according to the first target image and the second target image comprises: measuring (581) the body portion (121) of the tab (12) to obtain size information according to the first target image by performing foreground segmentation in the first target image according to a first threshold to obtain a first foreground segmentation image and measuring the body portion (121) to obtain size information according to the first foreground segmentation image; measuring (582) the tab (12) to obtain size information according to the second target image by performing foreground segmentation in the second target image according to a second threshold and body size information of the electrode plate (11) to obtain a second image of1. A measurement method (100) according to claim 1, characterized in that the measurement of the body portion (121) to obtain size information according to the first foreground segmentation image comprises: determining a size (R4) of the body portion (121) of the tab (12) in the second direction according to the pixel values of each column of pixel points in the second direction in the first foreground segmentation image; and determining a size (R3) of the body portion (121) of the tab (12) in the first direction according to the pixel values of each row of pixel points in the first direction in the first foreground segmentation image.
2. A measurement method (100) according to claim 1 or 2, characterized in that theMeasuring the tab (12) to obtain size information according to the second foreground segmentation image comprises: determining the size of the tab (12) in the second direction according to the pixel values of each column of pixel points in the second direction in the second foreground segmentation image; and determining the size and coordinate of the tab (12) in the first direction according to the pixel values of each row of pixel points in the first direction in the second foreground segmentation image; optionally, determining the size and coordinate of the tab (12) in the first direction according to the pixel values of each row of pixel points in the first direction in the second foreground segmentation image comprises: determining the size of a first end of the tab (12) according to a number of non-zero elements in a first column vector, wherein the first end of thetab (12) is an end of the tab (12) closest to the body of the electrode plate (11) in the second direction, and the first column vector is composed of averages or sums of pixel values of the respective rows of pixel points in the first direction in the second foreground segmentation image; and measuring a coordinate of a central position of the tab (12) in the first direction according to the coordinates of the non-zero elements in the first column vector; and optionally determining a size and a coordinate of the tab (12) in the first direction according to the pixel values of each row of foreground pixel points in the first direction in the second foreground segmentation image comprises: measuring a size (R2) of a second end of the tab (12) according to the pixel values of the pixel points along the first direction at a first preset position in the4. A measurement method (100) according to claim 1 or 2, characterized in that the measurement of the tab (12) to obtain size information according to the first target image and the second target image comprises: determining a size (R5) of the connecting portion (122) of the tab (12) in the second direction according to the size (R4) of the body portion (121) of the tab (12) in the second direction and the size of the tab (12) in the second direction.
5. A measurement method (100) according to claim 1 or 2, characterized in that the method further comprises: determining a number of tabs (12) in the first direction in the second image; wherein obtaining a first target image according to the first imageIt comprises: obtaining the first target image corresponding to each tab (12) in the first direction, according to the number of tabs (12) in the first direction and the first image; and obtaining a second target image according to the second image comprises: obtaining the second target image corresponding to each tab (12) in the first direction, according to the number of tabs (12) in the first direction and the second image; optionally, determining the number of tabs (12) in the first direction in the second image comprises: performing foreground segmentation in the second image according to a second threshold and information on the size of the electrode plate body (11) to obtain a third foreground segmentation image; and determining the number of tabs (12) in the first direction according to the third foreground segmentation image; and optionally, determining the number of tabs (12) in theThe first direction according to the third foreground segmentation image comprises: under the condition that a difference between the ordinates of non-zero adjacent elements in a second column vector is greater than a specified first value, determining that the number of tabs (12) is 2, wherein the second column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the third foreground segmentation image; or, under the condition that a difference between the ordinates of non-zero adjacent elements in the second column vector is less than or equal to the specified first value, determining that the number of tabs (12) is 1.
6. Measurement procedure (100), according to claim 1 or 2, characterized in that before measuring the tab (12) to obtain information about the size according to the first target image and the second target image, theThe procedure further comprises: measuring the body of the electrode plate (11) to obtain size information according to the first image; and / or measuring the body of the electrode plate (11) to obtain size information according to the second image; optionally, measuring the body of the electrode plate (11) to obtain size information according to the second image comprises: performing foreground segmentation in the second image according to a second threshold to obtain a fourth foreground segmentation image; and measuring the body of the electrode plate (11) to obtain size information according to the pixel values of each column of pixel points in the second direction in the fourth foreground segmentation image; and optionally, measuring the body of the electrode plate (11) to obtain size information according to the pixel values of each column of pixel points in the second directionin the fourth foreground segmentation image comprises: obtaining a first row vector, wherein the first row vector is composed of sums or averages of pixel values from the respective columns of pixel points in the second direction in the fourth foreground segmentation image; setting to 0 the elements with a value less than a second specified value in the first row vector; and determining the size information of the electrode plate body (11) according to the non-zero elements in the first row vector.
7. Measurement procedure (100), according to claim 6, characterized in that the procedure further comprises: measuring a reference hole in the electrode plate (1) to obtain size information; optionally, the measurement of a reference hole in the electrode plate (1) to obtain size information comprises: performing the foreground segmentation in the secondimage according to the second threshold and the fourth foreground segmentation image to obtain a fifth foreground segmentation image; and determining the size and coordinate of the reference hole in the first and second directions according to the pixel values of each column of pixel points in the second direction and the pixel values of each row of pixel points in the first direction in the fifth foreground segmentation image.
8. Measurement procedure (100), according to claim 6, characterized in that the measurement of the electrode plate body (11) to obtain size information according to the first image comprises: performing foreground segmentation in the first image according to a third threshold to obtain a sixth foreground segmentation image; and measuring the electrode plate body (11) to obtain size information according to the pixel values of eachcolumn of pixel points in the second direction in the sixth foreground segmentation image; optionally, measuring the body of the electrode plate (11) to obtain size information based on the pixel values of each column of pixel points in the second direction in the sixth foreground segmentation image comprises: obtaining a second row vector, wherein the second row vector is composed of sums or averages of pixel values from the respective columns of pixel points in the second direction in the sixth foreground segmentation image; setting to 0 the elements with a value less than a specified second value in the second row vector; and determining the size information of the body of the electrode plate (11) according to the non-zero elements in the second row vector.
9. Measurement method (100), according to claim 1 or 2, characterized in that the methodIt further comprises: performing foreground segmentation in the first image according to a first threshold to obtain a seventh foreground segmentation image; determining a number of non-zero elements in a third column vector according to the seventh foreground segmentation image, wherein the third column vector is composed of averages or sums of pixel values from the respective rows of pixel points in the first direction in the seventh foreground segmentation image; and determining whether the electrode plate (1) has a residual material defect, according to the number of non-zero elements in the third column vector; optionally, the determination of whether the electrode plate (1) has a residual material defect, according to the number of non-zero elements in the third column vector, comprises: under the condition that the number of non-zero elements in the third column vector is greater thanthe third specified value, determine that the electrode plate (1) has a residual material defect.
10. Method according to claim 8, characterized in that the method further comprises: determining a number of tabs (12) in the first direction according to the coordinate of the reference hole in the electrode plate (1) and the coordinate of the tab (12).
11. Measurement method (100) according to any of claims 1 to 10, characterized in that before measuring (120) the target object to obtain information about its size according to the first image and the second image, the method further comprises: performing (520) a grayscale homogenization process on the first image; optionally, before acquiring (110) the first and second images of a target object, the method further comprises: acquiring the backlit image and the non-backlit image; and compressing the image withbacklit and unbacklit image according to a first ratio to obtain the first image and the second image; and optionally the procedure further comprises: restoring information about the actual size of the target object from information about the measured size of the target object to information about the actual size of the target object according to the first ratio.
12. Measuring apparatus (200, 300) comprising a first camera located on a non-backlit side of a target object, and a second camera located on a backlit side of a target object, and a processing module (210), characterized in that the processing module (210) is configured to carry out the steps of the procedure according to any one of claims 1 to 11.
13. Measuring apparatus (200, 300), comprising: a first camera located on a non-backlit side of a target object, and a second camera located on the14. Storage medium, configured to store a computer program, and when the computer program is executed by the processing module of claim 12, the processing module is enabled to implement the procedure according to any of claims 1 to 11.