A method and device for detecting battery cell coding
By correcting and compensating the brightness of multiple original images of the battery cell under different lighting environments, the problem of low scanning efficiency of QR code of the battery cell is solved, and higher scanning accuracy and efficiency are achieved.
Patent Information
- Application Number
- CN202111655530.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2041-12-30
AI Technical Summary
The existing cell scanning device is inefficient and difficult to meet the growing production demand. Especially in the QR code reading process of cylindrical cell, the complex environment caused by the reflection and polishing process of aluminum shells affects the accuracy and efficiency of scanning codes.
By collecting multiple original images of the battery cell under different lighting environments, brightness correction is performed, overexposed and underexposed areas are extracted, and compensation is performed in sequence until the pixel brightness difference is less than the preset value, and the corrected image is output for coding detection.
The accuracy and efficiency of scanning codes of the battery cell QR code can be improved, and images in overexposed or underexposed areas can be effectively corrected, and the detection effect can be improved.
Smart Images

Figure CN114359210B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of battery cell production and manufacturing, and more specifically, relates to a battery cell coding detection method and device. Background Art
[0002] With the vigorous promotion of new energy technologies, the lithium battery industry has developed rapidly. Cylindrical cells are a common type of lithium battery and have a wide range of applications. The increasing demand brought about by the development of the industry has made production efficiency one of the key factors restricting the benefits and sustainable competitiveness of lithium battery companies. In the production process of lithium batteries, achieving fully automated processing and manufacturing and eliminating the influence of errors caused by human intervention are important ways to improve battery production efficiency and product reliability. In the production process of lithium batteries, the coding of the battery cell casing and end cap needs to be inspected to confirm and trace the processing process of each battery. However, the traditional battery cell scanning device is inefficient and difficult to meet the growing production needs.
[0003] At present, the commonly used scanning method is to ensure the consistency of the barcode orientation of the battery cell with the cooperation of other workstations or with manual arrangement, which has poor independence and low production efficiency, and is not conducive to the flexible manufacturing and efficient operation requirements of the automated production line. A type of device is proposed in the prior art, which uses a motor to drive a push rod mechanism and a rotating mechanism so that the code content on the battery cell can be successfully captured by the scanning mechanism to realize automatic scanning of the battery cell, but this type of method can only solve the field of view problem of battery cell scanning, and does not provide an effective solution for the diversity and complexity of conditions such as the detection object and the on-site reading environment. There are still problems of poor robustness and low efficiency of battery cell scanning. Another type of device is also provided in the prior art, which adjusts the scanning position and angle of the scanning component by triggering a rotating component through a sensor, which solves the problem that the scanning method of the above-mentioned battery cell scanning device is single, and manual adjustment is required after replacing the battery cell module, thereby reducing production efficiency. However, the adjustment dimension of the components described in this type of invention is limited, and it is difficult to solve the problem that the reflection of the aluminum shell of the cylindrical battery cell interferes with the accuracy and efficiency of scanning.
[0004] Battery cell coding includes one-dimensional code and two-dimensional code. Currently, the application scenarios of one-dimensional code of battery cells are gradually replaced by two-dimensional code. The two-dimensional code of cylindrical battery cells is generally laser engraved on the circular surface of the end of the cylinder. Because the battery cell is wrapped in aluminum shell material, the carrier material of the battery cell two-dimensional code has stronger reflectivity than the barcode printed on the label paper. In addition, the surface of the aluminum shell of the battery cell is polished, so that the degree of reflection at different positions on the circular surface is inconsistent. The above factors increase the complexity of reading the two-dimensional code of cylindrical battery cells, interfere with the accuracy and efficiency of scanning, and thus affect the production efficiency of the battery cells. A one-dimensional code processing method is proposed in the prior art. By obtaining the width modulation ratio of the black and white bars of the one-dimensional code, and then adjusting the edge width of the black and white bars in combination with the exposure state of the image, one-dimensional codes with different exposure states can be quickly identified, but this method is not suitable for the detection of two-dimensional codes of battery cells. Summary of the invention
[0005] In response to at least one defect or improvement need in the prior art, the present invention provides a method and device for detecting battery cell coding, which corrects the image of overexposed or underexposed areas and then performs coding detection on the corrected image, thereby achieving good detection effect.
[0006] To achieve the above object, according to a first aspect of the present invention, a method for detecting battery cell coding is provided, comprising the steps of:
[0007] Collect multiple original images of the battery cell at the same position and under different lighting conditions;
[0008] Perform brightness correction on each original image separately;
[0009] Extracting the first overexposed area, the underexposed area, and the non-first overexposed and underexposed area of each original image;
[0010] Compensate each original image in turn until the difference in pixel brightness between two adjacent compensated images is less than a preset value, then stop compensating, use the adjacent next compensated image as the output image, and perform coding detection on the output image;
[0011] Among them, compensating each original image includes the steps of: using the brightness correction value of the first original image as the compensation value of the first original image; starting from the second original image, using the compensation value of the non-first overexposure or underexposure area of the adjacent previous original image as the compensation value of the corresponding area of the adjacent next original image, and the compensation value of other areas of the adjacent next original image is the brightness correction value of the area.
[0012] Furthermore, the brightness correction for each image comprises the steps of:
[0013] Extracting the second overexposed area of each original image;
[0014] Determine the center position of the second overexposed area of each original image;
[0015] Brightness correction is performed according to the distance from a pixel point in each original image to the center position of the second overexposed area of the original image.
[0016] Furthermore, the calculation formula for extracting the first overexposed area, the underexposed area, and the non-first overexposed and underexposed area of each original image is:
[0017]
[0018] in, is the brightness value of the n-1th original image pixel (i, j), D n-1 (i, j) = 1 means that the pixel (i, j) of the n-1th original image is not the first over-exposure or under-exposure area, D n-1 (i, j) = 0 means that the n-1th original image pixel (i, j) is the first overexposed area or underexposed area, τ L , τ H These are preset thresholds.
[0019] Furthermore, the calculation formula for extracting the second overexposed area of each original image is:
[0020]
[0021] in, is the brightness value of the nth original image pixel (i, j), τ c is the preset threshold, C n (i, j) = 1 means that the pixel (i, j) of the nth original image is the second over-exposure or under-exposure area. n (i, j)=0 indicates that the pixel (i, j) of the nth image is not in the second over-exposure or under-exposure area.
[0022] Furthermore, the calculation formula for the brightness correction is:
[0023]
[0024]
[0025]
[0026] in, is the brightness correction value of the nth original image pixel (i, j), is the brightness correction function, α is the correction factor pre-set according to environmental conditions, r n (i, j) is the distance from the pixel (i, j) of the nth original image to the center position (X) of the second overexposed area of the nth original image. cn,Y cn ) distance.
[0027] Furthermore, the calculation formula for compensating each original image is:
[0028]
[0029]
[0030] in, is the compensation value of the nth original image pixel (i, j), is the compensation value of the pixel (i, j) of the n-1th original image.
[0031] Furthermore, the pixel brightness difference between the two adjacent compensated images is less than a preset value, comprising the steps of:
[0032] If satisfied β is a preset value, ∑ represents the sum of the corresponding values of all pixels in the image, and it is judged that the difference in pixel brightness between two adjacent compensated images is less than the preset value.
[0033] Furthermore, different lighting environments are achieved by alternately turning on and off lighting lamps at different positions.
[0034] Furthermore, the method further comprises the steps of:
[0035] The center position of the original image corresponding to the output image is determined, the center position of the second overexposed area of the original image corresponding to the output image is obtained, and the position of the battery cell is adjusted according to the difference between the two center positions.
[0036] According to a second aspect of the present invention, there is provided a battery cell coding detection device, comprising a processor, wherein the processor is used to implement any of the above-mentioned battery cell coding detection methods.
[0037] In general, compared with the prior art, the present invention has beneficial effects: in view of the characteristics of reflection in the battery cell and the inconsistent degree of reflection in different positions, the present invention relates to a unique compensation method, which can correct the image of the overexposed or underexposed area, and then perform coding detection on the corrected image, with good detection effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 Schematic diagram of the principle of the battery cell coding detection method according to an embodiment of the present invention;
[0039] Figure 2 is a structural schematic diagram of a battery cell coding detection device according to an embodiment of the present invention;
[0040] Figure 3 4 is a top view of a conveying assembly according to an embodiment of the present invention.
[0041] The symbols in the figure mean the following:
[0042] 1. Conveying assembly; 11. Conveying line; 111. Baffle; 12. Conveying tray; 121. Frame; 122. Turntable; 1221. Through hole; 1222. Rotating shaft; 13. First motor; 2. Scanning assembly; 21. Bracket; 211. Vertical pole; 212. Connecting rod; 213. Connecting block; 22. Support plate; 221. Light source; 23. Scanner; 3. Control assembly; 31. Second motor; 32. Photoelectric sensor. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0044] A battery cell coding detection method according to an embodiment of the present invention can be applied to various types of battery cell code scanning, and is particularly applicable to cylindrical battery cell two-dimensional code scanning, and includes steps S1 to S4.
[0045] S1, collects multiple original images of the battery cell at the same position and under different lighting environments.
[0046] Fix the position of the battery cell to be tested, apply different lighting environments, repeatedly obtain N grayscale images of battery cells with the same background under different lighting environments, and define the first image obtained as the input image The second acquired image is defined as the input image The Nth acquired image is defined as the input image
[0047] Furthermore, different lighting environments are achieved by alternately turning on and off lighting lamps at different positions on the detection device.
[0048] S2, perform brightness correction on each original image.
[0049] Further, S2 comprises sub-steps:
[0050] S21, extracting the overexposed area of each original image.
[0051] To distinguish the overexposed region in step S3 , the overexposed region in step S21 is referred to as a second overexposed region, and the overexposed region in step S3 is referred to as a first overexposed region.
[0052] Furthermore, the threshold τ is set cExtract overexposed areas in an image caused by lighting.
[0053] The calculation formula for extracting the second overexposed area of each original image is:
[0054]
[0055] in, is the brightness value of the nth original image pixel (i, j), τ c is the preset threshold, C n (i, j) = 1 means that the pixel (i, j) of the nth original image is the second over-exposure or under-exposure area. n (i, j)=0 indicates that the pixel (i, j) of the nth image is not in the second over-exposure or under-exposure area.
[0056] C n It is the image obtained after brightness correction and is defined as the illumination area image C n .
[0057] S22, determining the center position of the second overexposed area of each original image.
[0058] The calculation formula is:
[0059]
[0060] Where M is the illumination area image C n The number of pixels in the overexposed area, (X cn ,Y cn ) is the lighting area C n The center point coordinates are also the center position of the second overexposed area of the nth original image.
[0061] S23, performing brightness correction according to the distance from the pixel point in each original image to the center position of the second overexposed area of the original image.
[0062] Furthermore, the calculation formula for the brightness correction is:
[0063]
[0064]
[0065]
[0066] in, is the brightness correction value of the nth original image pixel (i, j), is the brightness correction function, α is the correction factor pre-set according to environmental conditions, r n(i, j) is the distance from the pixel (i, j) of the nth original image to the center position (X) of the second overexposed area of the nth original image. cn ,Y cn ) distance.
[0067] image After brightness correction, they are recorded as
[0068] S3, extracting a first overexposed area, an underexposed area, and a non-first overexposed and underexposed area of each original image.
[0069] Furthermore, the calculation formula for extracting the first overexposed area, the underexposed area, and the non-first overexposed and underexposed area of each original image is:
[0070]
[0071] in, is the brightness value of the n-1th original image pixel (i, j), D n-1 (i, j) = 1 means that the pixel (i, j) of the n-1th original image is not the first over-exposure or under-exposure area, D n-1 (i, j) = 0 means that the n-1th original image pixel (i, j) is the first overexposed area or underexposed area, τ L , τ H All are preset thresholds. H Can be compared with τ c are different values.
[0072] D can also be understood as a reference matrix after confirming the overexposed and underexposed areas. As the decision map D, the pixel value is lower than the threshold τ L The area is underexposed, and the area above the threshold τ H The area is the first overexposed area.
[0073] S4, compensating each original image in turn until the difference in pixel brightness between two adjacent compensated images is less than a preset value, then stopping the compensation, taking the adjacent next compensated image as the output image, and performing coding detection on the output image.
[0074] Among them, compensating each original image includes the steps of: using the brightness correction value of the first original image as the compensation value of the first original image; starting from the second original image, using the compensation value of the non-first overexposure or underexposure area of the adjacent previous original image as the compensation value of the corresponding area of the adjacent next original image, and the compensation value of other areas of the adjacent next original image is the brightness correction value of the area.
[0075] Furthermore, the calculation formula for compensating each original image is:
[0076]
[0077]
[0078] in, is the compensation value of the nth original image pixel (i, j), is the compensation value of the pixel (i, j) of the n-1th original image.
[0079] I f It is the output image after compensating the over-exposed and under-exposed areas. The subsequent image is compensated by the decision mapping of the previous image until n = N. In order to reduce the computational complexity of the compensation algorithm, a termination condition is set. and If the difference in pixel values between is less than or equal to β, compensation is terminated.
[0080] Furthermore, the pixel brightness difference between the two adjacent compensated images is less than a preset value, comprising the steps of:
[0081] If satisfied β is a preset value, ∑ represents the sum of the corresponding values of all pixels in the image, and it is judged that the difference in pixel brightness between two adjacent compensated images is less than the preset value.
[0082] Furthermore, a battery cell coding detection method according to an embodiment of the present invention further includes step S5.
[0083] S5, determining the center position of the original image corresponding to the output image, obtaining the center position of the second overexposed area of the original image corresponding to the output image, and adjusting the position of the battery cell according to the difference between the two center positions.
[0084] The output image is denoted as The corresponding input image is From step 3, we can see that the input image The coordinates of the center point of the illumination area are (X cm ,Y cm ), the position of the manipulator is corrected by the distance vector between the coordinates of the center point of the illumination area and the coordinates of the center point of the input image, as shown in the formula:
[0085]
[0086]
[0087] Among them, (x cm ,y cm ) is the input image The center point coordinates, and are the correction vectors of the cell on the x-axis and y-axis respectively; after correcting the cell position, repeat the above steps S1 to S5 to output the decoding result of the cylindrical cell coding under the new background.
[0088] A battery cell coding detection device according to an embodiment of the present invention includes a processor, and the processor is used to implement any of the above-mentioned battery cell coding detection methods.
[0089] Further, Figure 2 is a schematic diagram of the structure of a battery cell coding detection device according to an embodiment of the present invention. Figure 2 As shown, the code scanning device includes a conveying component 1 and a code scanning component 2.
[0090] Figure 3 is a top view of a conveying assembly according to an embodiment of the present invention, Figure 3 As shown, the conveying assembly 1 includes a conveying line 11 and a conveying tray 12, the conveying tray 12 includes a frame 121 and a turntable 122, the frame 121 is located on the conveying line 11, the turntable 122 is rotatably arranged in the frame 121, and the rotation axis of the turntable 122 is parallel to the conveying line 11, and the turntable 122 has a plurality of through holes 1221 for inserting cylindrical battery cells, and the plurality of through holes 1221 are arranged at intervals.
[0091] The code scanning assembly 2 includes a bracket 21, a support plate 22 and multiple code scanners 23. The support plate 22 is located on the bracket 21, and the support plate 22 is located above the conveyor line 11. The support plate 22 is parallel to the conveyor line 11. The multiple code scanners 23 are arranged at intervals on the bottom surface of the support plate 22, and the multiple code scanners 23 correspond to the multiple through holes 1221 one by one.
[0092] For the battery cell coding detection device provided in the embodiment of the present invention, when scanning the cylindrical battery cell, first, the conveyor line 11 conveys the frame 121, thereby driving the turntable 122 and multiple cylindrical battery cells (the coding on some cylindrical battery cells is located at the end cap at the top, and the coding on some cylindrical battery cells is located at the end cap at the bottom) to move. Then, when the frame 121 moves to the bottom of the support plate 22, the conveyor line 11 stops, that is, at this time, multiple cylindrical battery cells are in the scanning station. Then, each scanner 23 faces the cylindrical battery cells inserted in each through hole 1221 and scans the code. After the scanning is completed, the turntable 122 is rotated so that each cylindrical battery cell rotates 180° (the end cap at the bottom becomes arranged upward), and the cylindrical battery cell is scanned again by the scanner 23, so that the scanning of the codes on the end caps of multiple cylindrical batteries can be realized simultaneously through two scannings, and there is no need to manually ensure that the coding direction on the end caps of the cylindrical batteries is consistent in advance, thereby greatly improving the scanning efficiency. Finally, the conveyor line 11 restarts to convey the frame 121 to the next station.
[0093] That is to say, the battery cell coding detection device provided in the embodiment of the present invention can greatly improve the efficiency of scanning codes of cylindrical battery cells and avoid manually ensuring the consistency of the coding orientation on the end caps of the cylindrical battery cells in advance.
[0094] In order to prevent the cylindrical battery cell from falling off during the rotation process, the inner wall of each through hole 1221 has an elastic layer. After the cylindrical battery cell is inserted, the elastic layer can clamp the arc surface of the cylindrical battery cell.
[0095] In this embodiment, the conveying assembly 1 further includes a first motor 13 , which is located on the outer peripheral wall of the frame 121 , and the output shaft of the first motor 13 passes through the frame 121 , and the output shaft of the first motor 13 is transmission-connected to the turntable 122 .
[0096] In the above embodiment, the first motor 13 serves to rotate the turntable 122 to avoid manual rotation.
[0097] In addition, a rotating shaft 1222 is inserted on the rotating disk 122, one end of which is rotatably inserted on the inner wall of the frame 121, and the rotating shaft 1222 and the output shaft of the first motor 13 are coaxially arranged, so that the rotating shaft 1222 can support the right side rotation of the rotating disk 122. In other words, the rotation of the rotating disk 122 can be made more stable through the cooperation of the rotating shaft 1222 and the output shaft of the first motor 13.
[0098] Combination Figure 1 and Figure 2 As shown, the code scanning device also includes a control component 3, which includes a second motor 31, a photoelectric sensor 32 and a controller (not shown). The output shaft of the second motor 31 is rotatably connected to the conveyor line 11 to drive the conveyor line 11 to convey the frame 121. The photoelectric sensor 32 is located above the conveyor line 11 to detect the position of the frame 121. The controller is electrically connected to the first motor 13, the second motor 31 and the photoelectric sensor 32, respectively.
[0099] The controller is electrically connected to the processor. The processor outputs a control signal for adjusting the position of the battery cell according to the difference between the two center positions. The controller receives the control signal and adjusts the position of the battery cell by controlling the motor.
[0100] In the above embodiment, the photoelectric sensor 32 can detect whether the frame 121 reaches the code scanning station, so that the controller can control the first motor 13 and the second motor 31 to operate, thereby realizing automatic code scanning.
[0101] Exemplarily, first, the second motor 31 drives the conveyor line 11 to start, and after the conveyor line 11 starts, the conveyor frame 121 moves to the right. Then, when the photoelectric sensor 32 just detects that the frame 121 has reached the set position, the photoelectric sensor 32 sends a signal to the controller, and the controller controls the second motor 31 to stop, after which the frame 121 just stops at the code scanning station. When the first code scanning is completed, the controller controls the first motor 13 to rotate, so that the turntable 122 rotates 180°, and then the second code scanning can be performed. After the second code scanning is completed, the controller controls the second motor 31 to start again, so that the multiple cylindrical battery cells after the code scanning are completed are transported to the next station.
[0102] Exemplarily, the conveyor line 11 can be a chain plate conveyor line, that is, multiple chain plates are installed on an annular rack, and the output shaft of the first motor 13 has a gear, and the gear and the annular rack are meshed, thereby driving the multiple chain plates to move, and further driving the frame 121 to move smoothly.
[0103] In this embodiment, baffles 111 are respectively provided on both sides of the conveyor line 11, and each baffle 111 extends along the conveying direction of the conveyor line 11, and each baffle 111 protrudes from the conveyor line 11. The baffles 111 limit the frame 121 to prevent the frame 121 from leaving the conveyor line 11.
[0104] Exemplarily, the photoelectric sensor 32 is located on the baffle 111 .
[0105] Specifically, the bracket 21 includes two vertical poles 211 and a plurality of connecting rods 212. The two vertical poles 211 are arranged vertically, and the two ends of each connecting rod 212 are respectively connected to the two vertical poles 211, and the support plate 22 is fixedly mounted on the two vertical poles 211. The connecting rod 212 serves to connect the two vertical poles 211, so that the vertical poles 211 and the connecting rods 212 can realize stable support of the support plate 22.
[0106] In addition, the bracket 21 further includes a connecting block 213 , in which the top ends of the vertical rods 211 are inserted, and the support plate 22 is located between the connecting block 213 and the plurality of connecting rods 212 . The connecting block 213 serves to further connect the two vertical rods 211 .
[0107] In this embodiment, a light source 221 is disposed on the bottom surface of the support plate 22 , and the light source 221 is located between the plurality of barcode scanners 23 .
[0108] In the above embodiment, the light source 221 can increase the light intensity of the code scanning environment, making it easier for the code scanner 23 to scan the code.
[0109] The implementation principle and technical effect of the device are similar to the above method and will not be repeated here.
[0110] It must be noted that in any of the above embodiments, the method is not necessarily executed in sequence according to the sequence number. As long as it cannot be inferred from the execution logic that it must be executed in a certain order, it means that it can be executed in any other possible order.
[0111] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting battery cell coding, characterized in that: Includes steps: Collect multiple original images of the battery cell at the same position and under different lighting conditions; Perform brightness correction on each original image separately; Extracting the first overexposed area, the underexposed area, and the non-first overexposed and underexposed area of each original image; Compensate each original image in turn until the difference in pixel brightness between two adjacent compensated images is less than a preset value, then stop compensating, use the adjacent next compensated image as the output image, and perform coding detection on the output image; Among them, compensating each original image includes the steps of: using the brightness correction value of the first original image as the compensation value of the first original image; starting from the second original image, using the compensation value of the non-first overexposure or underexposure area of the adjacent previous original image as the compensation value of the corresponding area of the adjacent next original image, and the compensation value of other areas of the adjacent next original image is the brightness correction value of the area.
2. A method for detecting battery cell coding according to claim 1, characterized in that: The brightness correction of each original image comprises the following steps: Extracting the second overexposed area of each original image; Determine the center position of the second overexposed area of each original image; Brightness correction is performed according to the distance from a pixel point in each original image to the center position of the second overexposed area of the original image.
3. A method for detecting battery cell coding according to claim 2, characterized in that: The calculation formula for extracting the first overexposed area, the underexposed area, and the non-first overexposed and underexposed area of each original image is: in, is the brightness value of the n-1th original image pixel (i, j), D n-1 (i, j) = 1 means that the pixel (i, j) of the n-1th original image is not the first over-exposure or under-exposure area, D n-1 (i, j) = 0 means that the n-1th original image pixel (i, j) is the first overexposed area or underexposed area, τ L , τ H These are preset thresholds.
4. A method for detecting battery cell coding as claimed in claim 3, characterized in that: The calculation formula for extracting the second overexposed area of each original image is: in, is the brightness value of the nth original image pixel (i, j), τ c is the preset threshold, C n (i, j) = 1 means that the pixel (i, j) of the nth original image is the second over-exposure or under-exposure area. n (i, j)=0 indicates that the pixel (i, j) of the nth image is not in the second over-exposure or under-exposure area.
5. A method for detecting battery cell coding as claimed in claim 4, characterized in that: The calculation formula for the brightness correction is: in, is the brightness correction value of the nth original image pixel (i, j), is the brightness correction function, α is the correction factor pre-set according to environmental conditions, r n (i, j) is the distance from the pixel (i, j) of the nth original image to the center position (X) of the second overexposed area of the nth original image. cn ,Y cn ) distance.
6. A method for detecting battery cell coding as claimed in claim 5, characterized in that: The calculation formula for compensating each original image is: in, is the compensation value of the nth original image pixel (i, j), is the compensation value of the pixel (i, j) of the n-1th original image.
7. A method for detecting battery cell coding according to claim 6, characterized in that: The pixel brightness difference of two adjacent compensated images is less than a preset value, comprising the steps of: If satisfied β is a preset value, ∑ represents the sum of the corresponding values of all pixels in the image, and it is judged that the difference in pixel brightness between two adjacent compensated images is less than the preset value.
8. A method for detecting battery cell coding according to claim 1, characterized in that: Different lighting environments can be achieved by alternately turning on and off lights in different positions.
9. A method for detecting battery cell coding according to claim 2, characterized in that: Also includes the steps: The center position of the original image corresponding to the output image is determined, the center position of the second overexposed area of the original image corresponding to the output image is obtained, and the position of the battery cell is adjusted according to the difference between the two center positions.
10. A battery cell coding detection device, characterized in that: It includes a processor, and the processor is used to implement the battery cell coding detection method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for compensating chroma of images
CN101771825A
Digital shooting device and luminance correcting method thereof
CN101771826A