Search

CN-121980044-A - Power screen cabinet image archiving method, device, equipment and program product

CN121980044ACN 121980044 ACN121980044 ACN 121980044ACN-121980044-A

Abstract

The application provides a method, a device, equipment and a program product for archiving images of a power screen cabinet, and relates to the field of data processing of power equipment. The method comprises the steps of obtaining an electric power cabinet image to be archived, determining a site where an electric power cabinet is located in the electric power cabinet image according to the collection position of the electric power cabinet image, identifying characters in the electric power cabinet image by adopting an optical character identification technology, obtaining a first cabinet identification of the electric power cabinet and the confidence coefficient of the first cabinet identification, carrying out semantic complementation on the first cabinet identification when the confidence coefficient of the first cabinet identification is lower than a confidence coefficient threshold value to obtain a second cabinet identification, wherein the confidence coefficient of the second cabinet identification is higher than the confidence coefficient threshold value, determining an archiving path of the electric power cabinet image according to the site where the electric power cabinet is located and the second cabinet identification, and storing the electric power cabinet image under the archiving path. The method is used for achieving the effect of accurately archiving the images of the power screen cabinet.

Inventors

  • ZHENG XUQI
  • GUO XINGYUAN
  • LIU RUIDONG
  • Lu Yahao
  • CHEN LIN
  • CAI YAQI
  • LIN ZIYUAN
  • XIE BOTAO
  • ZENG MAOSEN
  • CHEN JIANDONG
  • CHEN HAOLIN
  • Cai Zitong
  • HUANG JINHAO
  • CHEN YUSHENG
  • Xiao Lujing
  • XIE JIAFENG
  • CAI JIANXIN
  • ZHENG WEIQI
  • HUANG DANYU
  • XU KAI
  • JIANG ZHIDONG
  • HUANG KAI
  • CHEN YEXIN
  • SHEN YISHENG
  • ZHANG HAI
  • LIN JUNMIN
  • ZHENG XUDONG
  • CHEN LIBIN
  • YANG XIEWEI

Assignees

  • 广东电网有限责任公司揭阳供电局

Dates

Publication Date
20260505
Application Date
20260115

Claims (12)

  1. 1. A method for archiving images of a power panel, comprising: acquiring an image of a power screen cabinet to be archived; Determining a site where the power cabinet is located in the power cabinet image according to the acquisition position of the power cabinet image; identifying characters in the power cabinet image by adopting an optical character identification technology, and obtaining a first cabinet identification of the power cabinet and a confidence coefficient of the first cabinet identification; when the confidence coefficient of the first screen cabinet identification is lower than a confidence coefficient threshold value, carrying out semantic complementation on the first screen cabinet identification to obtain a second screen cabinet identification, wherein the confidence coefficient of the second screen cabinet identification is higher than the confidence coefficient threshold value; Determining an archiving path of the power cabinet image according to the station where the power cabinet is located and the second cabinet identifier; And storing the power screen cabinet image to the position under the archiving path.
  2. 2. The method for archiving images of power cabinets according to claim 1, wherein said semantically completing the first cabinet identification to obtain a second cabinet identification includes: And calling a device naming rule in the historical power screen cabinet database, and carrying out semantic complementation on the first screen cabinet identifier to obtain a second screen cabinet identifier.
  3. 3. The power cabinet image archiving method of claim 2, wherein after obtaining the second cabinet identification, the power cabinet image archiving method further comprises: And if the second cabinet identification conflicts with the power cabinet identification in the historical power cabinet database, or the second cabinet identification does not exist in the historical power cabinet database, triggering a manual confirmation process for modifying the second cabinet identification or adding the second cabinet identification into the historical power cabinet database.
  4. 4. A method of archiving an electrical power cabinet image according to any one of claims 1 to 3, wherein determining a site of the electrical power cabinet in the electrical power cabinet image according to the location of collection of the electrical power cabinet image comprises: Determining a first grid unit where the acquisition position is located and a second grid unit adjacent to the first grid unit based on region grid division corresponding to the acquisition position of the power screen cabinet image, wherein the region grid division is acquired based on a preset grid size and the geographic position of a site in a site configuration file; Determining stations in the first grid cell and stations in the second grid cell as candidate stations; If the number of the candidate stations is 1, determining that the candidate stations are stations where the power cabinet in the power cabinet image is located; if the number of the candidate stations is multiple, determining arc length distances between the acquisition positions and the multiple candidate stations; And determining that the candidate site with the arc length distance smaller than a distance threshold value from the acquisition positions is the site where the power cabinet is located in the power cabinet image from the plurality of candidate sites.
  5. 5. The power cabinet image archiving method of claim 4, the method is characterized by further comprising the following steps of: and if the candidate sites with the arc length distance smaller than the distance threshold value with the acquisition position do not exist in the plurality of candidate sites, or the plurality of candidate sites with the arc length distance smaller than the distance threshold value with the acquisition position exist, triggering a manual intervention flow, wherein the manual intervention flow is used for determining the site where the power screen cabinet in the power screen cabinet image is located based on man-machine interaction.
  6. 6. A power cabinet image archiving method according to any one of claims 1 to 3, wherein the identifying characters in the power cabinet image using optical character recognition technology, obtaining a first cabinet identification of the power cabinet and a confidence level of the first cabinet identification, comprises: inputting the electric power cabinet image into a multi-modal model to perform character recognition in the image, and obtaining a first cabinet identification of the electric power cabinet and confidence coefficient of the first cabinet identification, wherein a training set for training to obtain the multi-modal model comprises training samples based on font characteristic expansion of the electric power cabinet identification, and the multi-modal model is obtained by training based on the training set and combining a color separation technology of the electric power cabinet identification.
  7. 7. A power cabinet image archiving method according to any one of claims 1 to 3, wherein prior to identifying characters in the power cabinet image using optical character recognition techniques, obtaining a first cabinet identification of the power cabinet and a confidence level of the first cabinet identification, the power cabinet image archiving method further comprises: In an image preprocessing stage, determining the rotation angle and the length-width ratio of an external rectangle of the outline of the power cabinet in the power cabinet image; if the rotation angle is larger than a preset angle threshold value and the error between the length-width ratio and the preset length-width ratio is smaller than or equal to the error threshold value, performing angle correction on the power screen cabinet image by using an affine transformation algorithm; And if the error between the length-width ratio and the preset length-width ratio is larger than the error threshold, performing angle correction on the power screen cabinet image by using a perspective transformation algorithm.
  8. 8. A power cabinet image archiving method according to any one of claims 1 to 3, wherein the archiving path includes a site entry, the site entry includes a power cabinet entry, the determining the archiving path of the power cabinet image according to the site where the power cabinet is located and the second cabinet identifier includes: determining a site entry in an archiving path of the power screen cabinet image according to the site where the power screen cabinet is located; and determining the electric power cabinet item in the archiving path of the electric power cabinet image according to the second cabinet identifier.
  9. 9. An electric power cabinet image archiving apparatus, comprising: the acquisition module is used for acquiring the images of the power screen cabinet to be archived; the processing module is used for determining a site where the power cabinet is located in the power cabinet image according to the acquisition position of the power cabinet image; The identification module is used for identifying characters in the power cabinet image by adopting an optical character identification technology, and obtaining a first cabinet identification of the power cabinet and the confidence coefficient of the first cabinet identification; when the confidence coefficient of the first screen cabinet identification is lower than a confidence coefficient threshold value, carrying out semantic complementation on the first screen cabinet identification to obtain a second screen cabinet identification, wherein the confidence coefficient of the second screen cabinet identification is higher than the confidence coefficient threshold value; The processing module is also used for determining an archiving path of the power screen cabinet image according to the station where the power screen cabinet is located and the second screen cabinet identifier; and the archiving module is used for storing the power cabinet image to the archiving path.
  10. 10. The power screen cabinet image archiving device is characterized by comprising a memory and a processor; the memory stores computer-executable instructions; the processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1-8.
  11. 11. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-8.
  12. 12. A computer program product comprising a computer program which, when executed by a processor, implements the method of any of claims 1-8.

Description

Power screen cabinet image archiving method, device, equipment and program product Technical Field The application relates to the field of data processing of power equipment, in particular to a method, a device, equipment and a program product for archiving images of a power screen cabinet. Background In the field of power communication, a screen cabinet image in a substation communication room is core data of team operation and maintenance work, and the screen cabinet image needs to be filed in a standardized mode so that daily operation and maintenance work can be carried out smoothly. When archiving the power screen cabinet image, the related technology needs to preset a fixed template to match the screen eyebrow position in the power screen cabinet image, then adopts an optical character recognition technology to extract the screen eyebrow characters based on the matched screen eyebrow position, automatically names the power screen cabinet image by the extracted screen eyebrow characters, and files the named power screen cabinet image. By adopting the mode to archive the power cabinet images, the problem that some power cabinet images cannot be accurately archived exists, and the usability of the data of the power equipment is affected. Disclosure of Invention The embodiment of the application provides a method, a device, equipment and a program product for archiving images of a power cabinet, which are used for achieving the effect of accurately archiving the images of the power cabinet. In a first aspect, an embodiment of the present application provides a method for archiving an image of a power cabinet, including: acquiring an image of a power screen cabinet to be archived; determining a site where the power cabinet is located in the power cabinet image according to the acquisition position of the power cabinet image; recognizing characters in the power cabinet image by adopting an optical character recognition technology, and obtaining a first cabinet identification of the power cabinet and the confidence coefficient of the first cabinet identification; When the confidence coefficient of the first screen cabinet identification is lower than a confidence coefficient threshold value, carrying out semantic complementation on the first screen cabinet identification to obtain a second screen cabinet identification, wherein the confidence coefficient of the second screen cabinet identification is higher than the confidence coefficient threshold value; Determining an archiving path of the power screen cabinet image according to the station where the power screen cabinet is located and the second screen cabinet identification; And storing the power cabinet image under the archiving path. In one possible implementation manner, the semantic complement is performed on the first screen cabinet identifier to obtain a second screen cabinet identifier, including: And calling a device naming rule in the historical power screen cabinet database, and carrying out semantic completion on the first screen cabinet identification to obtain a second screen cabinet identification. In one possible embodiment, after obtaining the second cabinet identification, the power cabinet image archiving method further includes: and if the second cabinet identification conflicts with the power cabinet identification in the historical power cabinet database, or the second cabinet identification does not exist in the historical power cabinet database, triggering a manual confirmation process for modifying the second cabinet identification or adding the second cabinet identification into the historical power cabinet database. In one possible implementation manner, determining a site where the power cabinet is located in the power cabinet image according to the collection position of the power cabinet image includes: determining a first grid unit where an acquisition position is located and a second grid unit adjacent to the first grid unit based on region grid division corresponding to the acquisition position of the power screen cabinet image, wherein the region grid division is acquired based on a preset grid size and the geographic position of a site in a site configuration file; determining stations in the first grid cell and stations in the second grid cell as candidate stations; if the number of the candidate stations is 1, determining that the candidate stations are stations where the power cabinet in the power cabinet image is located; If the number of the candidate stations is multiple, determining arc length distances between the acquisition positions and the multiple candidate stations; And determining that the candidate site with the arc length distance smaller than the distance threshold value from the acquisition positions is the site where the power cabinet is located in the power cabinet image from the plurality of candidate sites. In one possible embodiment, the power cabinet image archiving method further includes: If th