CN116912188B - Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery - Google Patents

Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery Download PDF

Info

Publication number
CN116912188B
CN116912188B CN202310826226.6A CN202310826226A CN116912188B CN 116912188 B CN116912188 B CN 116912188B CN 202310826226 A CN202310826226 A CN 202310826226A CN 116912188 B CN116912188 B CN 116912188B
Authority
CN
China
Prior art keywords
cap hole
area
lithium battery
cap
extracting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310826226.6A
Other languages
Chinese (zh)
Other versions
CN116912188A (en
Inventor
杨牧
张董
杨辉华
李建福
卢月胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Techmach Corp
Original Assignee
Techmach Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Techmach Corp filed Critical Techmach Corp
Priority to CN202310826226.6A priority Critical patent/CN116912188B/en
Publication of CN116912188A publication Critical patent/CN116912188A/en
Application granted granted Critical
Publication of CN116912188B publication Critical patent/CN116912188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Sealing Battery Cases Or Jackets (AREA)
  • Battery Electrode And Active Subsutance (AREA)

Abstract

The invention provides a method, a device, equipment and a storage medium for extracting a lithium battery boundary cap hole, which belong to the technical field of electric digital data processing, wherein the method comprises the steps of determining a coating effective area based on an original material image of a lithium battery; generating an edge cap hole detection area according to the coating effective area; extracting material gray scale in the edge cap hole detection area to obtain a material area; performing open operation on the material region to generate an open operation region for removing material edge interference; performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed; subtracting the open operation area from the closed operation area to obtain a cap hole area; based on cap hole area, draw the cap hole of lithium cell, carry out cap hole extraction through the mode that gray scale feature draws, do not receive the influence of cap hole shape, can draw to the cap hole of any shape, promote cap hole extraction's stability and efficiency effectively.

Description

Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery
Technical Field
The invention relates to the technical field of electric digital data processing, in particular to a method, a device, equipment and a storage medium for extracting a lithium battery boundary cap hole.
Background
In the die cutting production process of lithium batteries, a plurality of lugs are arranged in the same material, and in order to segment the material more intuitively, cutting cap holes at the edges of the material is a common mode of a lithium battery production process. However, the cap hole area needs to be extracted and shielded separately in the detection process, otherwise, the cap hole area is regarded as a material defect to be detected, and false alarm is caused.
Therefore, how to efficiently extract the boundary cap hole of the lithium battery becomes a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for extracting a lithium battery boundary cap hole, which are used for solving the defect of low extraction efficiency of the lithium battery cap hole in the prior art.
The invention provides a method for extracting a boundary cap hole of a lithium battery, which comprises the following steps:
determining a coating effective area based on the original material image of the lithium battery;
generating an edge cap hole detection area according to the coating effective area;
Extracting material gray scale in the edge cap hole detection area to obtain a material area;
performing open operation on the material region to generate an open operation region for removing material edge interference;
Performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed;
subtracting the open operation area from the closed operation area to obtain a cap hole area;
and extracting cap holes of the lithium battery based on the cap hole region.
According to the method for extracting the boundary cap hole of the lithium battery, which is provided by the invention, according to the coating effective area, an edge cap hole detection area is generated, and the method comprises the following steps:
identifying the tab in the coated active area;
and generating an edge cap hole detection area with a preset size at the boundary position of the tab.
According to the method for extracting the boundary cap hole of the lithium battery provided by the invention, after the material region is subjected to open operation to generate the open operation region for removing the material edge interference, the method further comprises the following steps:
Identifying a hole in the open operation region;
and filling the cavity, and taking the filled region as a new operation region.
According to the method for extracting the lithium battery boundary cap hole provided by the invention, the cap hole of the lithium battery is extracted based on the cap hole area, and the method comprises the following steps:
performing closing operation on the cap hole area to obtain a suspected cap hole area with background interference removed;
and screening in the suspected cap hole area based on the specification parameters of the cap hole, and extracting the cap hole of the lithium battery.
According to the extraction method of the lithium battery boundary cap hole provided by the invention, specification parameters of the cap hole comprise: width, height, and shape features;
The cap hole based specification parameters are screened in the suspected cap hole area, and the cap hole of the lithium battery is extracted, and the cap hole based specification parameters comprise:
Removing non-cap hole regions in the suspected cap hole regions based on the width, the height, and the shape features;
if the suspected cap hole area further comprises at least two cap hole areas after the non-cap hole area is removed, respectively calculating the ratio of the height and the width of each cap hole in the at least two cap hole areas;
and determining the cap hole of the lithium battery according to the ratio.
According to the method for extracting the lithium battery boundary cap hole, which is provided by the invention, before the effective coating area is determined based on the original material image of the lithium battery, the method further comprises the following steps:
Determining cap hole specification parameters of the lithium battery currently produced;
and extracting the lithium battery boundary cap hole based on the cap hole specification parameter.
According to the method for extracting the boundary cap hole of the lithium battery, after the cap hole of the lithium battery is extracted based on the cap hole area, the method further comprises the following steps:
marking the cap hole, wherein the marking is used for neglecting the cap hole in defect detection.
The invention also provides an extraction device of the lithium battery boundary cap hole, which comprises:
the determining module is used for determining a coating effective area based on the original material image of the lithium battery;
The generating module is used for generating an edge cap hole detection area according to the coating effective area;
the gray level extraction module is used for extracting the gray level of the material in the edge cap hole detection area to obtain a material area;
The open operation module is used for carrying out open operation on the material region and generating an open operation region for removing material edge interference;
the closing operation module is used for performing closing operation on the open operation area to obtain a closed operation area with a cap hole area closed;
The cap hole extraction module is used for obtaining a cap hole area by subtracting the closed operation area from the open operation area; and extracting cap holes of the lithium battery based on the cap hole region.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the extraction method of the lithium battery boundary cap hole.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of extracting a lithium battery boundary cap aperture as described in any of the above.
The invention provides a method, a device, equipment and a storage medium for extracting a lithium battery boundary cap hole, wherein the method comprises the steps of determining a coating effective area based on an original material image of a lithium battery; generating an edge cap hole detection area according to the coating effective area; extracting material gray scale in the edge cap hole detection area to obtain a material area; performing open operation on the material region to generate an open operation region for removing material edge interference; performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed; subtracting the open operation area from the closed operation area to obtain a cap hole area; based on cap hole area, draw the cap hole of lithium cell, carry out cap hole extraction through the mode that gray scale feature draws, do not receive the influence of cap hole shape, can draw to the cap hole of any shape, promote cap hole extraction's stability and efficiency effectively.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an extraction method of a lithium battery boundary cap hole according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of an original material image of a lithium battery according to an embodiment of the present invention;
FIG. 3 is a schematic view of a structure of a coated active area according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a detection area of an edge cap hole according to an embodiment of the present invention;
FIG. 5 is a schematic view of a material region provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of an open operation region according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a closed-loop operation region according to an embodiment of the present invention;
FIG. 8 is a schematic view of the structure of a cap hole area provided by an embodiment of the present invention;
FIG. 9 is a schematic diagram of the structure of the extracted cap hole provided by the embodiment of the invention;
fig. 10 is a schematic structural view of a cap hole extraction effect provided by an embodiment of the present invention;
Fig. 11 is a schematic structural diagram of an extraction device for a lithium battery boundary cap hole according to an embodiment of the present invention;
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes a method, a device, equipment and a storage medium for extracting a lithium battery boundary cap hole in accordance with fig. 1 to 12.
Fig. 1 is a schematic flow chart of an extraction method of a lithium battery boundary cap hole according to an embodiment of the present invention; fig. 2 is a schematic diagram of an original material image of a lithium battery according to an embodiment of the present invention; FIG. 3 is a schematic view of a structure of a coated active area according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a detection area of an edge cap hole according to an embodiment of the present invention; FIG. 5 is a schematic view of a material region provided by an embodiment of the present invention; FIG. 6 is a schematic diagram of an open operation region according to an embodiment of the present invention; FIG. 7 is a schematic diagram of a closed-loop operation region according to an embodiment of the present invention; FIG. 8 is a schematic view of the structure of a cap hole area provided by an embodiment of the present invention; FIG. 9 is a schematic diagram of the structure of the extracted cap hole provided by the embodiment of the invention; fig. 10 is a schematic structural view of a cap hole extraction effect provided by an embodiment of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for extracting a boundary cap hole of a lithium battery, where an execution body may be a lithium battery production control system, and the method mainly includes the following steps:
101. the coating effective area is determined based on the lithium battery raw material image.
In a specific implementation process, an original material image of a lithium battery is obtained first, the lithium battery is produced through a coating process, and then a coating effective area is determined based on the obtained original material image of the lithium battery. As shown in fig. 2, an image of a lithium battery raw material is shown, fig. 3 is a definite coated effective area, and black is a coated effective area. In the present embodiment, the tab is provided on one side, and if the tab is provided on both sides, the same principle is adopted.
102. An edge cap hole detection zone is generated based on the coated active area.
As shown in fig. 4, after the effective coating area is obtained, an edge cap hole detection area (black filling area) is generated, and the edge cap hole detection area refers to an area containing cap holes, and for a lithium battery, the coating process may include cap holes on both sides, and in this embodiment, a cap hole is provided on one side, so that the edge cap hole detection area is also obtained.
103. And (5) extracting the gray level of the material in the edge cap hole detection area to obtain a material area.
After the edge cap hole detection area is obtained, material gray feature extraction is performed on the edge cap hole area by using a gray feature extraction method to obtain a material area (black filling area), as shown in fig. 5, in order to clearly reflect the effect after material gray extraction, the part of fig. 4 is enlarged, and only the part including the cap hole between two tabs is reserved. The position of the cap hole can be obviously seen through material gray scale extraction.
104. And performing open operation on the material region to generate an open operation region for removing material edge interference.
After the material area is obtained, the material area is subjected to open operation, and the interference part of the material edge is removed, so that the open operation material area is obtained. As shown in fig. 6, the interference of the material edges such as the tab is removed by the open operation based on fig. 5.
105. And performing a closing operation on the open operation area to obtain a closed operation area with a closed cap hole area.
After the open operation region is obtained by the open operation, as shown in fig. 6, the cap hole region is opened. Therefore, at this time, the open operation region is closed, and the cap hole region is closed, thereby obtaining a closed operation region as shown in fig. 7.
106. And subtracting the open operation area from the closed operation area to obtain the cap hole area.
After the open operation region and the closed operation region are obtained, the closed operation region and the open operation region are subtracted to obtain a cap hole region, as shown in fig. 8. The difference between the closed operation region and the open operation region can be understood as the difference between the two. The lines resulting from the cap hole area and edge burrs in fig. 8 can be clearly seen.
107. Based on the cap hole region, cap holes of the lithium battery are extracted.
Finally, after the cap hole area is obtained, the cap hole of the lithium battery is extracted according to the cap hole area, as shown in fig. 9, the extraction method of the embodiment can be aimed at the cap hole of any model, the extraction principle is simple, and the extraction mode is efficient.
The embodiment provides a method for extracting a lithium battery boundary cap hole, which comprises the steps of determining a coating effective area based on an original material image of a lithium battery; generating an edge cap hole detection area according to the coating effective area; extracting material gray scale in the edge cap hole detection area to obtain a material area; performing open operation on the material region to generate an open operation region for removing material edge interference; performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed; subtracting the open operation area from the closed operation area to obtain a cap hole area; based on cap hole area, draw the cap hole of lithium cell, carry out cap hole extraction through the mode that gray scale feature draws, do not receive the influence of cap hole shape, can draw to the cap hole of any shape, effectual stability and the efficiency that promotes cap hole and draw.
Further, on the basis of the above embodiment, the generating the edge cap hole detection area according to the coating effective area in this embodiment includes: identifying the tab in the coated active area; and generating an edge cap hole detection area with a preset size at the boundary position of the tab.
Specifically, the tab in the coating effective area is identified, as shown in fig. 4, three protrusions on the right side in fig. 4 are tabs, and after the tab is identified, a cap hole detection area on one side of the tab is generated, wherein the length of the cap hole detection area is the length of the coating effective area, and the width of the cap hole detection area is a preset width, for example, the width of the cap hole of the current lithium battery. Thus, the edge cap hole detection area with the preset size is obtained, and the cap hole cannot be seen in the edge cap hole detection area at the moment, but the whole edge cap hole detection area is uniformly covered.
Through the position of the tab is identified, then the edge cap hole detection area is generated, the generated edge cap hole detection area can be ensured to cover the cap hole, and in the mode, the generation efficiency of the edge cap hole detection area can be ensured.
Further, on the basis of the foregoing embodiment, in this embodiment, after performing an open operation on the material region to generate an open operation region for removing the material edge interference, the method further includes: identifying a hole in the open operation region; filling the cavity, and taking the filled region as a new operation region.
Specifically, as shown in fig. 6, the resulting open operation area after the material edge disturbance is removed. If the hole is further included in fig. 6, that is, if the hole is included in the open operation region, it is necessary to identify the hole in the open operation region, and then fill the hole, to obtain a filled region as shown in fig. 6, as a new open operation region. Thus, the open operation region can be better ensured to not include other hollows except for the hole of the cap hole blocking position. And the accurate identification of the cap hole area is facilitated.
Further, on the basis of the above embodiment, the extracting of the cap hole of the lithium battery based on the cap hole region in the present embodiment includes: performing closing operation on the cap hole area to obtain a suspected cap hole area with background interference removed; and screening in the suspected cap hole area based on the specification parameters of the cap hole, and extracting the cap hole of the lithium battery. Wherein, the specification parameters of cap hole include: width, height, and shape features; screening in suspected cap hole areas based on cap hole specification parameters, extracting cap holes of the lithium battery, including: removing non-cap hole regions in the suspected cap hole regions according to the width, height and shape characteristics; if the suspected cap hole area further comprises at least two cap hole areas after the non-cap hole area is removed, respectively calculating the ratio of the height and the width of each cap hole in the at least two cap hole areas; and determining the cap hole of the lithium battery according to the ratio.
Specifically, after the cap hole region shown in fig. 8 is obtained, the cap hole region is subjected to a closing operation, so that an abnormality caused by insufficient extraction of the cap hole region due to background interference can be effectively avoided, and a suspected cap hole region is obtained. And then removing the non-cap hole area in the suspected cap hole area based on the specification parameters of the cap hole, including the standard width and the high-class shape characteristics of the cap hole, so as to obtain the cap hole area.
In the production process of the lithium battery, a plurality of cap holes do not appear in an original material image of the lithium battery, so that after cap hole areas are removed, a plurality of cap holes are also formed, second screening is carried out, the ratio of the height to the width of the cap hole areas is respectively obtained for all the remaining areas, the ratio of the height to the width of all the cap hole areas is compared, and the cap hole with the ratio closest to the standard cap hole ratio is determined as the cap hole of the lithium battery.
And the cap hole area is further determined by combining the ratio of the height to the width of the standard cap hole, so that the finally obtained cap hole can be ensured to be more accurate. As shown in fig. 10, a cap hole extraction effect diagram (the black part is the cap hole), and fig. 10 shows that the cap hole extraction method of the present embodiment is accurate in cap hole extraction.
Further, on the basis of the above embodiment, before determining the coating effective area based on the original material image of the lithium battery, the present embodiment further includes: determining cap hole specification parameters of the lithium battery currently produced; and extracting the boundary cap holes of the lithium battery based on the cap hole specification parameters.
Specifically, the cap hole extraction method in the embodiment has universality, namely, cap hole extraction can be effectively performed for any type of battery cap hole. Only the cap hole specification parameters corresponding to the current production process are determined before the cap hole extraction is carried out, so that the lithium battery boundary cap hole can be extracted more accurately according to different specification parameters. Similarly, when the battery is switched to the production of other types of batteries, the extraction of the battery cap holes of other types of batteries can be completed only by adjusting the corresponding cap hole specification parameters, and the operation is simple and efficient.
Further, on the basis of the above embodiment, in this embodiment, after extracting the cap hole of the lithium battery based on the cap hole region, the method further includes: the cap hole is marked for ignoring the cap hole in defect detection.
Specifically, after the cap hole is accurately extracted, the extracted cap hole can be marked, and the main effect of marking is that in the subsequent defect detection process, the cap hole can be ignored when the cap hole area is detected, so that the defect detection process does not consider the cap hole to be a defect of a battery, and the defect of the battery is avoided being mistakenly considered, thereby improving the production efficiency of the battery.
Based on the same general inventive concept, the invention also provides an extraction device for a lithium battery boundary cap hole, and the extraction device for the lithium battery boundary cap hole, which is provided by the invention, is described below, and the extraction device for the lithium battery boundary cap hole and the extraction method for the lithium battery boundary cap hole, which are described below, can be correspondingly referred to each other.
Fig. 11 is a schematic structural diagram of an extraction device for a lithium battery boundary cap hole according to an embodiment of the present invention.
As shown in fig. 11, an extraction device for a boundary cap hole of a lithium battery according to an embodiment of the present invention includes:
A determining module 1101, configured to determine a coating effective area based on the raw material image of the lithium battery;
a generating module 1102, configured to generate an edge cap hole detection area according to the coated effective area;
The gray level extraction module 1103 is configured to perform gray level extraction of a material in the edge cap hole detection area to obtain a material area;
An open operation module 1104 for performing open operation on the material region to generate an open operation region for removing material edge interference;
A closing operation module 1105, configured to perform a closing operation on the open operation area to obtain a closed operation area with a cap hole area closed;
The cap hole extraction module 1106 is configured to obtain a cap hole region by subtracting the closed operation region from the open operation region; based on the cap hole region, cap holes of the lithium battery are extracted.
The extraction device for the lithium battery boundary cap hole comprises a coating effective area determined based on an original material image of a lithium battery; generating an edge cap hole detection area according to the coating effective area; extracting material gray scale in the edge cap hole detection area to obtain a material area; performing open operation on the material region to generate an open operation region for removing material edge interference; performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed; subtracting the open operation area from the closed operation area to obtain a cap hole area; based on cap hole area, draw the cap hole of lithium cell, carry out cap hole extraction through the mode that gray scale feature draws, do not receive the influence of cap hole shape, can draw to the cap hole of any shape, effectual stability and the efficiency that promotes cap hole and draw.
Further, the generating module 1102 in this embodiment is specifically configured to:
identifying the tab in the coated active area;
and generating an edge cap hole detection area with a preset size at the boundary position of the tab.
Further, the open operation module 1104 in this embodiment is specifically further configured to:
Identifying a hole in the open operation region;
and filling the cavity, and taking the filled region as a new operation region.
Further, the cap hole extraction module 1106 in this embodiment is specifically configured to:
performing closing operation on the cap hole area to obtain a suspected cap hole area with background interference removed;
and screening in the suspected cap hole area based on the specification parameters of the cap hole, and extracting the cap hole of the lithium battery.
Further, the specification parameters of the cap hole in this embodiment include: width, height, and shape features;
The cap hole extraction module 1106 is specifically configured to:
Removing non-cap hole regions in the suspected cap hole regions based on the width, the height, and the shape features;
if the suspected cap hole area further comprises at least two cap hole areas after the non-cap hole area is removed, respectively calculating the ratio of the height and the width of each cap hole in the at least two cap hole areas;
and determining the cap hole of the lithium battery according to the ratio.
Further, the embodiment further includes a parameter input module, configured to:
Determining cap hole specification parameters of the lithium battery currently produced;
and extracting the lithium battery boundary cap hole based on the cap hole specification parameter.
Further, the embodiment further includes a marking module, configured to:
marking the cap hole, wherein the marking is used for neglecting the cap hole in defect detection.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 12, the electronic device may include: processor 1210, communication interface (Communications Interface) 1220, memory 1230 and communication bus 1240, wherein processor 1210, communication interface 1220 and memory 1230 communicate with each other via communication bus 1240. Processor 1210 may invoke logic instructions in memory 1230 to perform a method of extracting lithium battery boundary cap holes, the method comprising: determining a coating effective area based on the original material image of the lithium battery; generating an edge cap hole detection area according to the coating effective area; extracting material gray scale in the edge cap hole detection area to obtain a material area; performing open operation on the material region to generate an open operation region for removing material edge interference; performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed; subtracting the open operation area from the closed operation area to obtain a cap hole area; and extracting cap holes of the lithium battery based on the cap hole region.
In addition, the logic instructions in the memory 1230 described above may be implemented in the form of software functional units and sold or used as a stand-alone product, stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the method for extracting lithium battery boundary cap holes provided by the above methods, the method comprising: determining a coating effective area based on the original material image of the lithium battery; generating an edge cap hole detection area according to the coating effective area; extracting material gray scale in the edge cap hole detection area to obtain a material area; performing open operation on the material region to generate an open operation region for removing material edge interference; performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed; subtracting the open operation area from the closed operation area to obtain a cap hole area; and extracting cap holes of the lithium battery based on the cap hole region.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The method for extracting the boundary cap hole of the lithium battery is characterized by comprising the following steps of:
determining a coating effective area based on the original material image of the lithium battery;
generating an edge cap hole detection area according to the coating effective area;
Extracting material gray scale in the edge cap hole detection area to obtain a material area;
performing open operation on the material region to generate an open operation region for removing material edge interference;
Performing closed operation on the open operation area to obtain a closed operation area with a cap hole area closed;
subtracting the open operation area from the closed operation area to obtain a cap hole area;
and extracting cap holes of the lithium battery based on the cap hole region.
2. The method of claim 1, wherein generating an edge cap hole detection region from the coated active area comprises:
identifying the tab in the coated active area;
and generating an edge cap hole detection area with a preset size at the boundary position of the tab.
3. The method for extracting a boundary cap hole of a lithium battery according to claim 1, wherein after performing an open operation on the material region to generate an open operation region from which material edge interference is removed, further comprising:
Identifying a hole in the open operation region;
and filling the cavity, and taking the filled region as a new operation region.
4. The method for extracting a cap hole of a lithium battery according to claim 1, wherein the extracting the cap hole of the lithium battery based on the cap hole region comprises:
performing closing operation on the cap hole area to obtain a suspected cap hole area with background interference removed;
and screening in the suspected cap hole area based on the specification parameters of the cap hole, and extracting the cap hole of the lithium battery.
5. The method of claim 4, wherein the specification parameters of the cap hole include: width, height, and shape features;
The cap hole based specification parameters are screened in the suspected cap hole area, and the cap hole of the lithium battery is extracted, and the cap hole based specification parameters comprise:
Removing non-cap hole regions in the suspected cap hole regions based on the width, the height, and the shape features;
if the suspected cap hole area further comprises at least two cap hole areas after the non-cap hole area is removed, respectively calculating the ratio of the height and the width of each cap hole in the at least two cap hole areas;
and determining the cap hole of the lithium battery according to the ratio.
6. The method of extracting a lithium battery boundary cap hole according to any one of claims 1 to 5, further comprising, before the determining of the coating effective area based on the lithium battery raw material image:
Determining cap hole specification parameters of the lithium battery currently produced;
and extracting the lithium battery boundary cap hole based on the cap hole specification parameter.
7. The method of extracting a cap hole of a lithium battery according to any one of claims 1 to 5, further comprising, after the extracting of the cap hole of the lithium battery based on the cap hole region:
marking the cap hole, wherein the marking is used for neglecting the cap hole in defect detection.
8. An extraction device for a lithium battery boundary cap hole, comprising:
the determining module is used for determining a coating effective area based on the original material image of the lithium battery;
The generating module is used for generating an edge cap hole detection area according to the coating effective area;
the gray level extraction module is used for extracting the gray level of the material in the edge cap hole detection area to obtain a material area;
The open operation module is used for carrying out open operation on the material region and generating an open operation region for removing material edge interference;
the closing operation module is used for performing closing operation on the open operation area to obtain a closed operation area with a cap hole area closed;
The cap hole extraction module is used for obtaining a cap hole area by subtracting the closed operation area from the open operation area; and extracting cap holes of the lithium battery based on the cap hole region.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of extracting lithium battery boundary cap apertures according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the method of extracting lithium battery boundary cap holes according to any one of claims 1 to 7.
CN202310826226.6A 2023-07-06 2023-07-06 Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery Active CN116912188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310826226.6A CN116912188B (en) 2023-07-06 2023-07-06 Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310826226.6A CN116912188B (en) 2023-07-06 2023-07-06 Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery

Publications (2)

Publication Number Publication Date
CN116912188A CN116912188A (en) 2023-10-20
CN116912188B true CN116912188B (en) 2024-07-09

Family

ID=88362058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310826226.6A Active CN116912188B (en) 2023-07-06 2023-07-06 Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery

Country Status (1)

Country Link
CN (1) CN116912188B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117232425B (en) * 2023-11-14 2024-02-13 钛玛科(北京)工业科技有限公司 Method, device, equipment and medium for measuring cutting depth of anode material of lithium battery

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184816A (en) * 2020-09-28 2021-01-05 珠海博明视觉科技有限公司 Lithium battery flexible positioning method based on battery tabs
CN114037657A (en) * 2021-10-12 2022-02-11 上海电机学院 Lithium battery tab defect detection method combining region growth and annular correction

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111598029B (en) * 2020-05-21 2021-11-30 深圳太力生物技术有限责任公司 Method, system, server and storage medium for screening target cell strain
CN114638818B (en) * 2022-03-29 2023-11-03 广东利元亨智能装备股份有限公司 Image processing method, device, electronic equipment and storage medium
CN114914515A (en) * 2022-04-07 2022-08-16 大连中比动力电池有限公司 Lithium battery and preparation method thereof
CN114820678B (en) * 2022-06-27 2022-09-16 天津恒宇医疗科技有限公司 Automatic extraction method and system for inner contour of blood vessel wall based on OCT image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184816A (en) * 2020-09-28 2021-01-05 珠海博明视觉科技有限公司 Lithium battery flexible positioning method based on battery tabs
CN114037657A (en) * 2021-10-12 2022-02-11 上海电机学院 Lithium battery tab defect detection method combining region growth and annular correction

Also Published As

Publication number Publication date
CN116912188A (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN116912188B (en) Method, device, equipment and storage medium for extracting boundary cap hole of lithium battery
CN110458835B (en) Image processing method, device, equipment, system and medium
KR101640998B1 (en) Image processing apparatus and image processing method
CN107871319B (en) Method and device for detecting beam limiter area, X-ray system and storage medium
CN113592783B (en) Accurate quantification method and device for cell basic index in cornea confocal image
CN110322436B (en) Medical image processing method, device, storage medium and equipment
CN112508835A (en) Non-contrast agent medical image enhancement modeling method based on GAN
CN109743286A (en) A kind of IP type mark method and apparatus based on figure convolutional neural networks
CN112801434A (en) Method, device, equipment and storage medium for monitoring performance index health degree
CN117232425B (en) Method, device, equipment and medium for measuring cutting depth of anode material of lithium battery
CN110544262A (en) cervical cell image segmentation method based on machine vision
CN114612011A (en) Risk prevention and control decision method and device
CN113361567B (en) Image processing method, device, electronic equipment and storage medium
CN107507117B (en) Method and system for rapidly checking mass ground surface coverage gaps
CN109656810A (en) A kind of adjustment method of image algorithm, debugging system and terminal device
US20170309040A1 (en) Method and device for positioning human eyes
CN117215509A (en) Image printing method, device, printer and storage medium
CN115564776B (en) Abnormal cell sample detection method and device based on machine learning
CN117570852B (en) Method, device and equipment for detecting polar lug vertex coordinates
CN114386468A (en) Network abnormal flow detection method and device, electronic equipment and storage medium
CN108090483B (en) Method and device for detecting breast tumor candidate region
CN108960222B (en) Image binarization method, device, equipment and storage medium
CN111816286A (en) Mobile ward inspection data processing method and system
Hong et al. A new processing method of infrared temperature images in copper electrolysis
CN115863795B (en) Data processing method, data processing device, vehicle, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant