CN114140375A - Battery size detection method, system and device and storage medium - Google Patents

Battery size detection method, system and device and storage medium Download PDF

Info

Publication number
CN114140375A
CN114140375A CN202110965958.4A CN202110965958A CN114140375A CN 114140375 A CN114140375 A CN 114140375A CN 202110965958 A CN202110965958 A CN 202110965958A CN 114140375 A CN114140375 A CN 114140375A
Authority
CN
China
Prior art keywords
battery
detection
data
color
boundary
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.)
Pending
Application number
CN202110965958.4A
Other languages
Chinese (zh)
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.)
Shenzhen Crk M&e Equipments Co ltd
Original Assignee
Shenzhen Crk M&e Equipments Co ltd
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 Shenzhen Crk M&e Equipments Co ltd filed Critical Shenzhen Crk M&e Equipments Co ltd
Priority to CN202110965958.4A priority Critical patent/CN114140375A/en
Publication of CN114140375A publication Critical patent/CN114140375A/en
Pending legal-status Critical Current

Links

Images

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/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

The application relates to a battery size detection method, a system, a device and a storage medium, relating to the technical field of battery detection, wherein the method comprises the steps of responding to a detection request, wherein the detection request carries a detection instruction for generating a detection image; reading a detection area where a battery to be detected is located according to the detection instruction, and generating a detection image; acquiring color data of a battery to be tested, which is input by a user; extracting color positions in the detection image consistent with the color data; acquiring a boundary area divided by a user according to the color position; extracting color positions in the boundary area to form battery boundary data; and calculating battery boundary data to form battery size data. This application has the effect that the realization is automatic, is become more meticulous to the battery size.

Description

Battery size detection method, system and device and storage medium
Technical Field
The present disclosure relates to the field of battery detection technologies, and in particular, to a method, a system, a device, and a storage medium for detecting a battery size.
Background
A battery refers to a device that converts chemical energy into electrical energy in a portion of the space of a cup, tank, or other container or composite container that holds an electrolyte solution and metal electrodes to produce an electrical current. With the advancement of technology, batteries generally refer to small devices that can generate electrical energy.
Because the shapes of batteries are different, in some application scenarios, the precision required for detecting the size of the battery is very high, and for example, in a power battery, in order to ensure the consistency of battery cores, the shape difference between the battery cores needs to be reduced as much as possible, so that the size of the battery is one of important measurement standards, and the battery needs to be subjected to omnibearing size measurement and screening.
Traditional battery detection mostly depends on manual detection, but has the defects of low efficiency and large error.
Disclosure of Invention
In order to realize automatic and fine detection of the size of the battery, the application provides a battery size detection method, a system, a device and a storage medium.
In a first aspect, the present application provides a battery size detection method, which adopts the following technical scheme:
a battery size detection method, comprising:
responding a detection request, wherein the detection request carries a detection instruction for generating a detection image;
reading a detection area where a battery to be detected is located according to the detection instruction, and generating a detection image;
acquiring color data of a battery to be tested, which is input by a user;
extracting color positions in the detection image consistent with the color data;
acquiring a boundary area divided by a user according to the color position;
extracting color positions in the boundary area to form battery boundary data;
and calculating battery boundary data to form battery size data.
By adopting the technical scheme, the color position in the detection image can be automatically extracted by utilizing the detection image of the battery to be detected and inputting the color data of the battery to be detected by a user, the boundary area is further divided by the user, the part which accords with the convenient area in the color position can be automatically extracted, and then the battery boundary data is formed, so that the battery boundary data is automatically calculated, the battery size data is obtained, and the effects of automation and fine detection of the battery size are realized.
Optionally, the calculating the battery boundary data to form battery size data includes:
extracting corresponding detection areas and color data according to the battery size data to generate judgment parameters;
and binding the judgment parameters and the battery size data to form a detection template and storing the detection template in a preset template database.
Through adopting above-mentioned technical scheme, when forming battery size data at every turn, all can bind battery size data with the decision parameter to form the detection template, carry out swift comparison when being convenient for follow-up battery detection.
Optionally, after obtaining the color data of the battery to be tested, the method includes:
calling the read detection area and the recorded color data to generate recorded parameters;
acquiring a template database, and comparing whether a judgment parameter consistent with the input parameter exists in the template database;
if the judgment is yes, extracting battery size data corresponding to the judgment parameters;
if not, jumping to the step of extracting the color position in the detected image consistent with the color data until extracting the battery size data.
By adopting the technical scheme, when the user detects the battery to be detected, the user can firstly utilize the detection template to compare the input parameters with the judgment parameters, and if the comparison is consistent, the effect of quickly acquiring the size data of the battery can be realized.
Optionally, after the battery size data corresponding to the determination parameter is extracted, the method includes:
responding to execution information input by a user, wherein the execution information comprises a confirmation instruction or a check instruction;
reading an instruction in the execution information;
if the confirmation instruction is read, determining the extracted battery size data as a final result;
and if the checking instruction is read, jumping to the step of extracting the color position in the detected image consistent with the color data until the battery size data is extracted.
By adopting the technical scheme, after the battery size data is quickly acquired by using the detection template, a user can select a confirmation instruction to determine a final result or select a check instruction to acquire the battery size data again according to the reliability and self experience of the acquired battery size data, so that the stability of the battery size data is guaranteed.
Optionally, after the binding determination parameter and the battery size data form a detection template and are stored in a preset template database, the method includes:
and counting the forming times of each detection template, and binding the detection templates.
By adopting the technical scheme, the forming times of each detection template are counted so as to be referred to when a user selects the detection template each time, and the more detection templates are formed, the higher the stability of the finally and quickly formed battery size data is.
Optionally, the reading, according to the detection instruction, a detection area where the battery to be detected is located, and after generating the detection image, the method includes:
reading the direction identification of the battery to be detected according to the detection image;
judging whether the direction of the direction mark is consistent with that of the preset mark or not;
if the battery is judged to be positive, marking the battery to be tested as positive;
if not, marking the battery to be tested as the upside down battery.
By adopting the technical scheme, whether the direction identification is consistent with the preset identification is analyzed by using the detection image so as to judge whether the placement of the battery to be detected is correct, and if the placement is abnormal, a user is reminded to mark or adjust in time.
Optionally, the calculating the battery boundary data to form battery size data includes:
and calculating the central point data of the battery according to the battery size data.
Through adopting above-mentioned technical scheme, utilize battery size data, the central point of the battery that awaits measuring just can calculate to after the battery that awaits measuring detects the completion, be convenient for snatch the accuracy of the battery that awaits measuring.
In a second aspect, the present application provides a battery size detection system, which adopts the following technical solution:
a battery size detection system, comprising:
the detection request response module is used for responding a detection request, and the detection request carries a detection instruction for generating a detection image;
the detection image generation module is used for reading a detection area where the battery to be detected is located according to the detection instruction and generating a detection image;
the color data acquisition module is used for acquiring color data of the battery to be tested, which is input by a user;
the color position extraction module is used for extracting a color position consistent with the color data in the detection image;
the boundary area acquisition module is used for acquiring boundary areas divided by the user according to the color positions;
the battery boundary data forming module is used for extracting color positions in the boundary area to form battery boundary data;
and the battery size data forming module is used for calculating battery boundary data and forming battery size data.
By adopting the technical scheme, the color position in the detection image can be automatically extracted by utilizing the detection image of the battery to be detected and inputting the color data of the battery to be detected by a user, the boundary area is further divided by the user, the part which accords with the convenient area in the color position can be automatically extracted, and then the battery boundary data is formed, so that the battery boundary data is automatically calculated, the battery size data is obtained, and the effects of automation and fine detection of the battery size are realized.
In a third aspect, the present application provides a battery size detection apparatus, which adopts the following technical solution:
a battery size detection apparatus comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and carry out any of the methods described above.
By adopting the technical scheme, the color position in the detection image can be automatically extracted by utilizing the detection image of the battery to be detected and inputting the color data of the battery to be detected by a user, the boundary area is further divided by the user, the part which accords with the convenient area in the color position can be automatically extracted, and then the battery boundary data is formed, so that the battery boundary data is automatically calculated, the battery size data is obtained, and the effects of automation and fine detection of the battery size are realized.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium storing a computer program capable of being loaded by a processor and performing any of the methods described above.
By adopting the technical scheme, the color position in the detection image can be automatically extracted by utilizing the detection image of the battery to be detected and inputting the color data of the battery to be detected by a user, the boundary area is further divided by the user, the part which accords with the convenient area in the color position can be automatically extracted, and then the battery boundary data is formed, so that the battery boundary data is automatically calculated, the battery size data is obtained, and the effects of automation and fine detection of the battery size are realized.
In summary, the present application includes at least one of the following beneficial technical effects:
the battery boundary data are automatically calculated to obtain battery size data, and the effect of automatic and fine detection on the battery size is realized;
when a user detects a battery to be detected, the user can firstly utilize the detection template to compare the input parameters with the judgment parameters, and if the comparison is consistent, the effect of quickly acquiring the size data of the battery can be realized;
the user can select a confirmation instruction to determine a final result or a check instruction to reacquire the battery size data according to the reliability of the acquired battery size data and his own experience, thereby ensuring the stability of the battery size data.
Drawings
Fig. 1 is a flowchart of steps of a battery size detection method in an embodiment of the present application.
Fig. 2 is a flowchart of a step of determining a battery placement direction in an embodiment of the present application.
FIG. 3 is a flow chart of the steps of comparing the entered parameters and determining the parameters in the embodiment of the present application.
FIG. 4 is a flow chart of the steps of forming a detection template in an embodiment of the present application.
Fig. 5 is a block diagram of a battery size detection system in an embodiment of the present application.
Description of reference numerals: 1. a detection request response module; 2. a detection image generation module; 3. a color data acquisition module; 4. a color location extraction module; 5. a boundary region acquisition module; 6. a battery boundary data forming module; 7. the battery size data forms a module.
Detailed Description
The present application is described in further detail below with reference to figures 1-5.
The embodiment of the application discloses a battery size detection method.
Referring to fig. 1, the battery size detection method includes the steps of:
and S100, responding to the detection request.
The detection request is sent automatically by a user after the battery to be detected is placed in the detection area, the detection request carries a detection instruction for generating a detection image, and the detection image comprises the detection area where the battery to be detected is placed and the battery to be detected placed on the detection area.
Furthermore, the detection area is arranged on a workbench of a device used for detection, and a table top of the workbench is provided with a pressure sensor. When the battery to be detected is placed in the detection area, the pressure sensor senses the weight of the battery to be detected and sends a signal, namely a detection request, to the main program.
S101, reading a detection area where a battery to be detected is located, and generating a detection image.
According to the received detection instruction, the main program controls a high-definition camera arranged on the device to shoot the detection area, and then the detection image is generated.
Referring to fig. 2, after the detection image is generated for the battery to be detected, the direction identifier on the battery to be detected is also read, and the method specifically includes the following steps:
and S200, reading the direction identification of the battery to be tested.
And processing the detection image by adopting a BLOB technology to determine the specific position and the placement position of the battery to be detected in the detection image. Furthermore, according to the detection image, the part of the battery to be detected in the detection image is subjected to close-up writing, and the area containing the direction identification in the battery to be detected is extracted. The position of the direction mark is set in advance by a user for each type of battery, the direction mark is an irregular pattern in the battery to be detected, the irregular pattern is mainly a pattern except for a central symmetrical pattern, and the area where the direction mark is located can be read by a camera.
S201, judging whether the direction of the direction mark is consistent with that of the preset mark.
The battery of each type is preset with a preset mark by a user, and the preset mark is the direction of an irregular pattern in the battery to be detected when the battery to be detected is correctly placed in a detection area. And then, the read direction identification is compared with a preset identification set by a user to judge whether the directions of the irregular patterns corresponding to the two identifications are consistent or not, so that whether the placing direction of the battery to be tested is correct or not is judged, if the placing direction is abnormal, the user is reminded to mark or adjust in time, and the reliability of the subsequent grabbing and mounting of the battery is guaranteed.
If yes, jumping to S202;
and S202, marking the battery to be tested as positive placement.
After the battery to be tested is marked to be positive, the marked signal is sent to the display terminal. The display terminal can adopt a display screen arranged on the detection device, and can be an intelligent terminal of a user, such as a PC (personal computer), a tablet computer, a mobile phone and the like.
If not, jumping to S203;
and S203, marking the battery to be detected as an upside-down battery.
After the battery to be tested is marked to be placed upside down, the marked signal is sent to the display terminal so that a user can adjust the placing direction of the battery in time.
Referring back to fig. 1, after the detection image is generated, the detection image is further processed, which specifically includes the following steps:
and S102, acquiring color data of the battery to be tested, which is input by a user.
The ROI technology is adopted to carry out image processing on the detection image so as to determine the boundary of the battery to be detected and further determine the size of the battery to be detected.
Specifically, the user inputs color data consistent with the color of the boundary of the battery to be tested according to the color selection of the boundary of the battery to be tested of each model.
Referring to fig. 3, after the user enters the color data, the detection templates are compared first, which specifically includes the following steps:
and S300, calling the read detection area and the recorded color data to generate recorded parameters.
For example, if the detection area of the battery under test is a, the detection area here represents the sum of areas with different shapes and sizes. The color data entered are x, y, z. And binding the area and the data and generating an entry parameter 1.
S301, acquiring a template database, and comparing whether a judgment parameter consistent with the input parameter exists in the template database.
The template database comprises a plurality of detection templates, each detection template comprises final battery size data and judgment parameters corresponding to the battery size data, and the judgment parameters comprise detection areas and color data. The detection template in the template database can be generated by the user in advance, or can be automatically generated by the detection device according to the battery size data generated each time. When a user detects the battery to be detected, the user can firstly utilize the detection template to compare the input parameters with the judgment parameters, and if the comparison is consistent, the effect of quickly acquiring the size data of the battery can be realized.
Specifically, it is assumed that the template database includes a determination parameter 1, a determination parameter 2, and the like, where the determination parameter 1 includes a detection area a and entry color data x, y, and z, and at this time, it indicates that the entry parameter 1 is consistent with the determination parameter 1, and the battery size data corresponding to the determination parameter 1 may be extracted, so that the user can quickly obtain the battery size data. If all the judgment parameters in the template database are consistent in the input parameter 1, for example, the judgment parameter 1 comprises a detection area A and input color data x and y; the judgment parameter 2 includes a detection area B and recorded color data x, y, and z, and at this time, it indicates that the recorded parameter 1 is inconsistent with the judgment parameters 1 and 2, and the corresponding battery size data cannot be extracted.
If yes, jumping to S302;
and S302, extracting battery size data corresponding to the judgment parameters.
If the judgment result is yes, the judgment parameters consistent with the input parameters exist in the template database, so that the battery size data can be extracted quickly and fed back to the display terminal.
If not, the process goes to S103.
If the judgment result is no, the judgment parameters consistent with the input parameters do not exist in the template database, and the normal detection process is continued.
Referring to fig. 3, after extracting the battery size data corresponding to the determination parameter, the method further responds to the subsequent execution information of the user, and specifically includes the following steps:
and S303, responding to the execution information input by the user.
Wherein the execution information comprises a confirmation instruction or a check instruction. Further, the confirmation instruction is for determining that the extracted battery size data is a final result, and the check instruction is for checking the extracted battery size data.
Specifically, after the battery size data corresponding to the determination parameter is extracted, the display terminal displays the battery size data and also displays two prompts of "confirm" and "check" corresponding to the confirmation instruction and the check instruction respectively, and the user can send out the corresponding instruction by touching the prompt.
And S304, reading the instruction in the execution information.
If the user touches 'confirm', the program reads the instruction in the execution information as a confirm instruction; if the user touches 'check', the program reads the instruction in the execution information as a check instruction.
Specifically, after the battery size data is quickly acquired by using the detection template, a user can select a confirmation instruction to determine a final result or select a check instruction to acquire the battery size data again according to the reliability and self experience of the acquired battery size data, so that the stability of the battery size data is guaranteed.
S305, if the confirmation command is read, determining the extracted battery size data as the final result.
S306, if the check instruction is read, jumping to S103.
Referring back to fig. 1, after the user enters the color data, the detection method further includes the steps of:
s103, extracting color positions in the detected image, wherein the color positions are consistent with the color data.
The color data is the color selection of the boundary of the battery to be tested, and the color selection consistent with the boundary also exists in the boundary of the battery to be tested, and the color position at the moment is not only the boundary of the battery to be tested, but also comprises the area in the boundary.
And S104, acquiring boundary areas divided by the user.
According to the color position, the user divides the boundary of the battery to be tested into an interested area and a boundary area.
And S105, extracting color positions in the boundary area to form battery boundary data.
And S106, calculating battery boundary data to form battery size data.
Referring to fig. 4, after the battery size data is formed, a detection template is further formed, which specifically includes the following steps:
s400, extracting the corresponding detection area and the color data to generate a judgment parameter.
And according to the finally formed battery size data, extracting a monitoring area corresponding to the battery to be tested and color data input by a user, and binding to generate a judgment parameter for comparison with the input parameter in the later-stage battery to be tested detection.
S401, binding the judgment parameters and the battery size data to form a detection template and storing the detection template in a preset template database.
Specifically, when battery size data are formed each time, the battery size data can be bound with the judgment parameters to form a detection template, so that rapid comparison can be conveniently carried out during subsequent battery detection.
S402, counting the forming times of each detection template, and binding the detection templates.
Specifically, the formation times of each detection template are counted to be referred to each time a user selects the detection template, and the stability of the finally and quickly formed battery size data is higher if the detection templates with more formation times are formed.
Referring back to fig. 1, after the battery size data is formed, the center point of the battery to be tested is calculated, which specifically includes the following steps:
and S107, calculating central point data of the battery.
According to the size data of the battery, the central point of the battery to be detected can be calculated, so that the battery to be detected can be accurately grabbed after the detection of the battery to be detected is completed.
The implementation principle of the battery size detection method in the embodiment of the application is as follows: during detection, firstly, a detection image of the battery to be detected is utilized, a user enters color data of the battery to be detected, so that color positions in the detection image can be automatically extracted, then the user further divides a boundary area, parts which accord with a convenient area in the color positions can be automatically extracted, so that battery boundary data are formed, finally, the battery boundary data are automatically calculated, battery size data are obtained, and the effects of automatic and fine detection of the battery size are achieved.
Based on the method, the embodiment of the application also discloses a battery size detection system.
Referring to fig. 5, the battery size detection system includes:
the detection request response module 1 is used for responding to a detection request, and the detection request carries a detection instruction for generating a detection image;
the detection image generation module 2 is used for reading a detection area where the battery to be detected is located according to the detection instruction and generating a detection image;
the color data acquisition module 3 is used for acquiring color data of the battery to be tested, which is input by a user;
the color position extraction module 4 is used for extracting a color position in the detection image, wherein the color position is consistent with the color data;
the boundary region acquisition module 5 is used for acquiring boundary regions divided by a user according to the color positions;
a battery boundary data forming module 6, wherein the battery boundary data forming module 6 is used for extracting color positions in the boundary area to form battery boundary data;
and the battery size data forming module 7 is used for calculating battery boundary data and forming battery size data by the battery size data forming module 7.
The embodiment of the application also discloses a battery size detection device, which comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and can execute the battery size detection method.
The embodiment of the application also discloses a computer readable storage medium. The computer-readable storage medium, in which a computer program capable of being loaded by a processor and executing the battery size detection method as described above is stored, includes, for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above examples are only used to illustrate the technical solutions of the present invention, and do not limit the scope of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from these embodiments without making any inventive step, fall within the scope of the present invention. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art may still make various combinations, additions, deletions or other modifications of the features of the embodiments of the present invention according to the situation without conflict, so as to obtain different technical solutions without substantially departing from the spirit of the present invention, and these technical solutions also fall within the protection scope of the present invention.

Claims (10)

1. A battery size detection method, comprising:
responding a detection request, wherein the detection request carries a detection instruction for generating a detection image;
reading a detection area where a battery to be detected is located according to the detection instruction, and generating a detection image;
acquiring color data of a battery to be tested, which is input by a user;
extracting color positions in the detection image consistent with the color data;
acquiring a boundary area divided by a user according to the color position;
extracting color positions in the boundary area to form battery boundary data;
and calculating battery boundary data to form battery size data.
2. The method as claimed in claim 1, wherein the step of calculating the battery boundary data to form the battery size data comprises:
extracting corresponding detection areas and color data according to the battery size data to generate judgment parameters;
and binding the judgment parameters and the battery size data to form a detection template and storing the detection template in a preset template database.
3. The battery size detection method according to claim 2, wherein after the obtaining of the color data of the battery to be detected entered by the user, the method comprises:
calling the read detection area and the recorded color data to generate recorded parameters;
acquiring a template database, and comparing whether a judgment parameter consistent with the input parameter exists in the template database;
if the judgment is yes, extracting battery size data corresponding to the judgment parameters;
if not, jumping to the step of extracting the color position in the detected image consistent with the color data until extracting the battery size data.
4. The method for detecting battery size according to claim 3, wherein after extracting the battery size data corresponding to the determination parameter, the method comprises:
responding to execution information input by a user, wherein the execution information comprises a confirmation instruction or a check instruction;
reading an instruction in the execution information;
if the confirmation instruction is read, determining the extracted battery size data as a final result;
and if the checking instruction is read, jumping to the step of extracting the color position in the detected image consistent with the color data until the battery size data is extracted.
5. The battery size detection method according to claim 2, wherein the step of forming the detection template and storing the detection template in a preset template database after the step of binding the determination parameters and the battery size data comprises:
and counting the forming times of each detection template, and binding the detection templates.
6. The method for detecting the size of the battery according to claim 1, wherein after the step of reading the detection area where the battery to be detected is located according to the detection instruction and generating the detection image, the method comprises the following steps:
reading the direction identification of the battery to be detected according to the detection image;
judging whether the direction of the direction mark is consistent with that of the preset mark or not;
if the battery is judged to be positive, marking the battery to be tested as positive;
if not, marking the battery to be tested as the upside down battery.
7. The method as claimed in claim 1, wherein the step of calculating the battery boundary data to form the battery size data comprises:
and calculating the central point data of the battery according to the battery size data.
8. A battery size detection system, comprising:
the detection request response module (1) is used for responding to a detection request, and the detection request carries a detection instruction for generating a detection image;
the detection image generation module (2) is used for reading a detection area where the battery to be detected is located according to the detection instruction and generating a detection image;
the color data acquisition module (3) is used for acquiring color data of the battery to be tested, which is input by a user;
the color position extraction module (4) is used for extracting color positions consistent with the color data in the detection image;
a boundary region acquisition module (5) for acquiring boundary regions divided by a user according to the color positions;
a battery boundary data forming module (6) for extracting color positions in the boundary area to form battery boundary data;
and the battery size data forming module (7) is used for calculating battery boundary data and forming battery size data.
9. A battery size detection device is characterized in that: comprising a memory and a processor, said memory having stored thereon a computer program which can be loaded by the processor and which performs the method of any of claims 1 to 7.
10. A computer-readable storage medium characterized by: a computer program which can be loaded by a processor and which performs the method according to any one of claims 1 to 7.
CN202110965958.4A 2021-08-23 2021-08-23 Battery size detection method, system and device and storage medium Pending CN114140375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110965958.4A CN114140375A (en) 2021-08-23 2021-08-23 Battery size detection method, system and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110965958.4A CN114140375A (en) 2021-08-23 2021-08-23 Battery size detection method, system and device and storage medium

Publications (1)

Publication Number Publication Date
CN114140375A true CN114140375A (en) 2022-03-04

Family

ID=80393600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110965958.4A Pending CN114140375A (en) 2021-08-23 2021-08-23 Battery size detection method, system and device and storage medium

Country Status (1)

Country Link
CN (1) CN114140375A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114723942A (en) * 2022-06-08 2022-07-08 深圳新视智科技术有限公司 Method, device and equipment for detecting size of lithium battery pole piece and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114723942A (en) * 2022-06-08 2022-07-08 深圳新视智科技术有限公司 Method, device and equipment for detecting size of lithium battery pole piece and storage medium
CN114723942B (en) * 2022-06-08 2022-12-20 深圳新视智科技术有限公司 Method, device and equipment for detecting size of lithium battery pole piece and storage medium

Similar Documents

Publication Publication Date Title
CN113607742B (en) Battery cell tab detection method and device, electronic equipment and storage medium
CN112053326A (en) Method, system, device and equipment for detecting alignment degree of battery cell
CN109579718A (en) Detection method, device, computer equipment and the storage medium of weld seam parameter
CN114140375A (en) Battery size detection method, system and device and storage medium
CN110705559A (en) Steel information recording method, device and equipment based on steel label image recognition
CN115131741B (en) Method, device, computer equipment and storage medium for detecting quality of code
CN113065538A (en) Pressure sensor detection method, device and equipment based on image recognition
CN102401636B (en) Image measuring apparatus and image measuring method
CN114240928A (en) Board quality partition detection method, device and equipment and readable storage medium
US20220401825A1 (en) Alarm method and apparatus for tabletop game, electronic device and storage medium
CN115861311B (en) Method for detecting a slot mark, controller and computer-readable storage medium
CN117830251A (en) Defect analysis method, defect analysis device and electronic equipment
CN113405475A (en) Battery cell size measuring method, device and system
CN117471392A (en) Method and system for detecting probe tip, electronic equipment and storage medium
CN111412871B (en) Efficient integrated detection method and device for shape and position of middle plate nut of mobile phone
CN111458628A (en) Template file updating method, device, equipment and computer readable storage medium
CN116295141A (en) Fuel cell bipolar plate flatness detection method and system
CN115774890A (en) Intelligent detection method, device and storage medium
CN113744269B (en) Method and device for detecting welding quality of cylindrical battery cell, electronic equipment and storage medium
CN110108590B (en) Test method and storage medium based on integrated test system
CN111256609B (en) Method and device for detecting USB interface depth
CN109624502B (en) Efficient low-loss printed product production system and method
CN113111432A (en) Data processing method and device based on model margin line and storage medium
CN116503412B (en) Appearance defect detection method, apparatus, computer device and storage medium
CN110010019B (en) Control method and device for assembling LED screen

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