CN117709276A - Busbar generation method, device, equipment and medium in electrical equipment - Google Patents
Busbar generation method, device, equipment and medium in electrical equipment Download PDFInfo
- Publication number
- CN117709276A CN117709276A CN202311851420.6A CN202311851420A CN117709276A CN 117709276 A CN117709276 A CN 117709276A CN 202311851420 A CN202311851420 A CN 202311851420A CN 117709276 A CN117709276 A CN 117709276A
- Authority
- CN
- China
- Prior art keywords
- busbar
- image
- dimensional
- attribute
- generating
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004590 computer program Methods 0.000 claims description 15
- 238000012360 testing method Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/42—Document-oriented image-based pattern recognition based on the type of document
- G06V30/422—Technical drawings; Geographical maps
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Multimedia (AREA)
- Artificial Intelligence (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a busbar generating method, device, equipment and medium in electrical equipment. The method comprises the following steps: acquiring a two-dimensional busbar image; identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image; generating a template code according to the busbar attribute data and the busbar to obtain a busbar attribute code corresponding to the busbar attribute data; and generating a target busbar according to the busbar attribute code and the three-dimensional busbar image. According to the scheme, the two-dimensional busbar image is converted into the three-dimensional busbar image, and the busbar attribute codes are generated, so that automatic busbar generation based on the two-dimensional busbar image is realized, redrawing of the busbar image is avoided, and the busbar generation efficiency is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of power electronics, in particular to a busbar generating method, device, equipment and medium in electrical equipment.
Background
Along with the increase of the power consumption of the whole society, the application quantity of high-low voltage power complete equipment is increased, and correspondingly, manufacturers for producing the switch cabinets are increased, wherein the quantity of the used conductive busbar is increased. Because many busbar drawings in the past are two-dimensional designs, the busbar drawings need to be identified as three-dimensional busbars. The current common mode is to draw a two-dimensional busbar by using two-dimensional software, and draw a three-dimensional busbar by using three-dimensional software, namely, the two-dimensional drawing and the three-dimensional drawing cannot be converted. Therefore, how to generate a busbar based on a two-dimensional drawing is important.
Disclosure of Invention
The invention provides a busbar generating method, device, equipment and medium in electrical equipment, which are used for realizing automatic generation of a busbar based on a two-dimensional busbar image and improving the generating efficiency of the busbar.
According to an aspect of the present invention, there is provided a busbar generating method in an electrical apparatus, including:
acquiring a two-dimensional busbar image;
identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image;
generating a template code according to the busbar attribute data and the busbar to obtain a busbar attribute code corresponding to the busbar attribute data;
and generating a target busbar according to the busbar attribute code and the three-dimensional busbar image.
According to another aspect of the present invention, there is provided a busbar generating device in an electrical apparatus, including:
the image acquisition module is used for acquiring a two-dimensional busbar image;
the image recognition module is used for recognizing candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image;
the code determining module is used for generating template codes according to the busbar attribute data and the busbar to obtain busbar attribute codes corresponding to the busbar attribute data;
and the busbar generation module is used for generating a target busbar according to the busbar attribute code and the three-dimensional busbar image.
According to another aspect of the present invention, there is provided an electronic apparatus including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are enabled to perform the busbar generating method in any one of the electrical devices provided by the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a busbar generating method in any one of the electrical devices provided by the embodiments of the present invention when executed.
The embodiment of the invention provides a busbar generating scheme in electrical equipment, which is implemented by acquiring a two-dimensional busbar image; identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image; generating template codes according to busbar attribute data and the busbar to obtain busbar attribute codes corresponding to the busbar attribute data; and generating a target busbar according to the busbar attribute code and the three-dimensional busbar image. According to the scheme, the two-dimensional busbar image is converted into the three-dimensional busbar image, and the busbar attribute codes are generated, so that automatic busbar generation based on the two-dimensional busbar image is realized, redrawing of the busbar image is avoided, and the busbar generation efficiency is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a busbar generating method in an electrical device according to a first embodiment of the present invention;
fig. 2 is a flowchart of a busbar generating method in an electrical device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a busbar generating device in an electrical apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device for implementing a busbar generating method in an electrical device according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a busbar generating method in an electrical device according to a first embodiment of the present invention, where the method may be performed by a busbar generating device in an electrical device, and the device may be implemented in software and/or hardware and may be configured in an electronic device that carries a busbar generating function in an electrical device.
Referring to a busbar generating method in an electrical device shown in fig. 1, the method includes:
s110, acquiring a two-dimensional busbar image.
The two-dimensional busbar image refers to a two-dimensional busbar drawing.
And S120, identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image.
Where the candidate busbar segment refers to a busbar segment in the two-dimensional busbar image. The busbar attribute data refers to the associated data of the busbar. The busbar attribute data is not limited in any way, and can be set by a technician according to experience. By way of example, the busbar attribute data may include at least one of busbar length, busbar width, busbar thickness, busbar segment length, opening position, bend coefficient, opening size, turn radius, and the like. The three-dimensional busbar image refers to a three-dimensional busbar drawing obtained based on conversion of the two-dimensional busbar image.
S130, generating template codes according to busbar attribute data and the busbar to obtain busbar attribute codes corresponding to the busbar attribute data.
The busbar generating template code refers to a template code obtained from busbar generating equipment. Busbar attribute code refers to code that may be used to characterize busbar attribute data. It should be noted that one busbar attribute data may correspond to one busbar attribute code.
In an alternative embodiment, generating a template code according to busbar attribute data and a busbar to obtain a busbar attribute code corresponding to the busbar attribute data, including: determining a busbar generating template code corresponding to any busbar attribute data; and generating a template code based on the busbar, and converting the busbar attribute data into a corresponding busbar attribute code.
It can be understood that by converting the busbar attribute data into the busbar attribute code, inapplicability of the busbar attribute code is avoided, and applicability of the busbar attribute code is improved.
And S140, generating a target busbar according to the busbar attribute code and the three-dimensional busbar image.
The target busbar is a busbar finally generated based on a two-dimensional busbar drawing.
Specifically, the busbar attribute code is sent to the busbar generating device, so that the busbar generating device generates a target busbar, and the target busbar is verified according to the three-dimensional busbar image.
The embodiment of the invention provides a busbar generating scheme in electrical equipment, which is implemented by acquiring a two-dimensional busbar image; identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image; generating template codes according to busbar attribute data and the busbar to obtain busbar attribute codes corresponding to the busbar attribute data; and generating a target busbar according to the busbar attribute code and the three-dimensional busbar image. According to the scheme, the two-dimensional busbar image is converted into the three-dimensional busbar image, and the busbar attribute codes are generated, so that automatic busbar generation based on the two-dimensional busbar image is realized, redrawing of the busbar image is avoided, and the busbar generation efficiency is improved.
In an alternative embodiment, the method further comprises: testing the busbar attribute codes; and matching the test result with busbar attribute data to verify busbar attribute codes.
Specifically, testing busbar attribute codes corresponding to the opening size in busbar attribute data, and if the test result is consistent with the opening size, determining that the busbar attribute codes pass verification; if not, the verification is not passed.
It can be appreciated that by testing and verifying the busbar attribute codes, the accuracy of the busbar attribute codes is improved.
Example two
Fig. 2 is a flowchart of a busbar generating method in an electrical device according to a second embodiment of the present invention, where, based on the foregoing embodiments, the operation of identifying candidate busbar segments in a two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image is further performed, and is thinned to identify busbar segments in the two-dimensional busbar image continuously, and determine at least one candidate busbar segment in the two-dimensional busbar image; and carrying out line segment attribute identification on each candidate busbar line segment, determining busbar attribute data corresponding to each candidate busbar line segment, and generating a three-dimensional busbar image so as to perfect a line segment identification mechanism. In the portions of the embodiments of the present invention that are not described in detail, reference may be made to the descriptions of other embodiments.
Referring to fig. 2, the busbar generating method in the electrical device includes:
s210, acquiring a two-dimensional busbar image.
S220, carrying out line segment continuity identification on busbar segments in the two-dimensional busbar image, and determining at least one candidate busbar segment in the two-dimensional busbar image.
Where segment continuity identification refers to identifying whether bus-bar segments are continuous. A line segment is a straight portion of finite length defined by two endpoints. A continuous line segment refers to a line segment having one end point at the same point as the end point of another line segment, and the two selected segments are considered to be continuous line segments, and the line segments have definite directions and lengths. It should be noted that if the bus bar segments are not continuous, two different bus bars are identified.
Specifically, line segment continuity identification is performed on the two-dimensional busbar images, and at least one candidate busbar image in the two-dimensional busbar images is determined.
S230, carrying out line segment attribute identification on each candidate busbar segment, determining busbar attribute data corresponding to each candidate busbar segment, and generating a three-dimensional busbar image.
The line segment attribute identification refers to busbar attribute data for identifying candidate busbar line segments.
In an alternative embodiment, segment attribute identification is performed on each candidate busbar segment, busbar attribute data corresponding to each candidate busbar segment is determined, and a three-dimensional busbar image is generated, including: carrying out line segment attribute identification on each candidate bus-bar segment to obtain bus-bar length and line segment trend corresponding to each candidate bus-bar segment; determining the busbar width and the busbar thickness of each candidate busbar segment according to a preset busbar width and thickness specification; generating busbar attribute data comprising busbar length, busbar width and busbar thickness, and generating a three-dimensional busbar image according to the busbar attribute data and line segment trend.
The line segment trend can be used for representing the modeling of the busbar. The modeling of the generated three-dimensional solid busbar is determined according to the trend of the line segment, what modeling the line segment is, and what modeling the generated busbar is.
The preset busbar width and thickness specification refers to a preset busbar width and busbar thickness specification. The embodiment of the invention does not limit the preset busbar width and thickness specification, and can be set by a technician according to experience. The preset busbar width and thickness specification may be 100×10, for example.
Specifically, the busbar width and the busbar thickness in the two-dimensional busbar image can be updated according to a preset busbar width and thickness specification, and busbar attribute data are generated according to the busbar length, the updated busbar width and the busbar thickness.
It can be appreciated that by introducing the preset busbar width and thickness specification, the busbar width and the busbar thickness are determined, and the accuracy of the determined busbar width and busbar thickness is improved; meanwhile, the busbar orientation is introduced, so that the accuracy of the determined three-dimensional busbar image is improved.
S240, generating template codes according to the busbar attribute data and the busbar to obtain busbar attribute codes corresponding to the busbar attribute data.
S250, generating a target busbar according to the busbar attribute codes and the three-dimensional busbar image.
The embodiment of the invention provides a busbar generating scheme in electric equipment, which is characterized in that candidate busbar segments in a two-dimensional busbar image are identified to obtain busbar attribute data and three-dimensional busbar image operation, the busbar attribute data and the three-dimensional busbar image operation are thinned to identify the busbar segments in the two-dimensional busbar image in a line segment continuity mode, and at least one candidate busbar segment in the two-dimensional busbar image is determined; and carrying out line segment attribute identification on each candidate busbar segment, determining busbar attribute data corresponding to each candidate busbar segment, and generating a three-dimensional busbar image, thereby perfecting a line segment identification mechanism. According to the scheme, the two-dimensional busbar image is converted into the three-dimensional busbar image through line segment continuity identification and line segment attribute identification, repeated drawing is avoided, and the accuracy of the determined busbar attribute data and the three-dimensional busbar image is improved.
On the basis of the technical scheme, an optional example is provided by the embodiment of the invention. Illustratively, according to the line segment trend in the two-dimensional busbar image, automatically generating a three-dimensional busbar image, keeping the same modeling as the two-dimensional image, generating busbar attribute data, and converting the busbar attribute data into busbar attribute codes according to busbar generation template codes; and sending the busbar attribute codes to busbar processing equipment so that the busbar processing equipment generates target busbar according to the busbar attribute codes. Further, the generated target busbar can be verified according to the three-dimensional busbar image, and the accuracy of the busbar attribute codes is determined according to the verification result. If the attribute codes are consistent, the busbar attribute codes are accurate; if not, the method is inaccurate.
Example III
Fig. 3 is a schematic structural diagram of a busbar generating device in an electrical apparatus according to a third embodiment of the present invention, where the present embodiment is applicable to a busbar generating device in an electrical apparatus, and the method may be performed by the busbar generating device in an electrical apparatus, and the device may be implemented in a software and/or hardware manner and may be configured in an electronic apparatus that carries a busbar generating function in an electrical apparatus.
As shown in fig. 3, the apparatus includes: an image acquisition module 310, an image recognition module 320, a code determination module 330, and a busbar generation module 340. Wherein,
an image acquisition module 310, configured to acquire a two-dimensional busbar image;
the image recognition module 320 is configured to recognize candidate busbar segments in the two-dimensional busbar image, so as to obtain busbar attribute data and a three-dimensional busbar image;
the code determining module 330 is configured to generate a template code according to the busbar attribute data and the busbar, and obtain a busbar attribute code corresponding to the busbar attribute data;
and a busbar generating module 340, configured to generate a target busbar according to the busbar attribute code and the three-dimensional busbar image.
The embodiment of the invention provides a busbar generating scheme in electrical equipment, which is implemented by acquiring a two-dimensional busbar image; identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image; generating template codes according to busbar attribute data and the busbar to obtain busbar attribute codes corresponding to the busbar attribute data; and generating a target busbar according to the busbar attribute code and the three-dimensional busbar image. According to the scheme, the two-dimensional busbar image is converted into the three-dimensional busbar image, and the busbar attribute codes are generated, so that automatic busbar generation based on the two-dimensional busbar image is realized, redrawing of the busbar image is avoided, and the busbar generation efficiency is improved.
Optionally, the image recognition module 320 includes:
the line segment determining unit is used for carrying out line segment continuity identification on the busbar segments in the two-dimensional busbar image and determining at least one candidate busbar segment in the two-dimensional busbar image;
and the image recognition unit is used for carrying out line segment attribute recognition on each candidate busbar segment, determining busbar attribute data corresponding to each candidate busbar segment and generating the three-dimensional busbar image.
Optionally, the image recognition unit is specifically configured to:
carrying out line segment attribute identification on each candidate busbar line segment to obtain busbar length and line segment trend corresponding to each candidate busbar line segment;
determining the busbar width and the busbar thickness of each candidate busbar segment according to a preset busbar width and thickness specification;
generating busbar attribute data comprising the busbar length, the busbar width and the busbar thickness, and generating the three-dimensional busbar image according to the busbar attribute data and the line segment trend.
Optionally, the code determining module 330 is specifically configured to:
determining a busbar generating template code corresponding to any busbar attribute data;
and generating a template code based on the busbar, and converting the busbar attribute data into a corresponding busbar attribute code.
Optionally, the apparatus further includes:
the testing module is used for testing the busbar attribute codes;
and the verification module is used for matching the test result with the busbar attribute data so as to verify the busbar attribute code.
The busbar generating device in the electrical equipment provided by the embodiment of the invention can execute the busbar generating method in the electrical equipment provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the busbar generating method in each electrical equipment.
In the technical scheme of the invention, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the two-dimensional busbar image, busbar generating template code and the like are in accordance with the regulations of related laws and regulations, and the public order harmony is not violated.
Example IV
Fig. 4 is a schematic structural diagram of an electronic device for implementing a busbar generating method in an electrical device according to a fourth embodiment of the present invention. The electronic device 410 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 410 includes at least one processor 411, and a memory, such as a Read Only Memory (ROM) 412, a Random Access Memory (RAM) 413, etc., communicatively connected to the at least one processor 411, wherein the memory stores computer programs executable by the at least one processor, and the processor 411 may perform various suitable actions and processes according to the computer programs stored in the Read Only Memory (ROM) 412 or the computer programs loaded from the storage unit 418 into the Random Access Memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 may also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other through a bus 414. An input/output (I/O) interface 415 is also connected to bus 414.
Various components in the electronic device 410 are connected to the I/O interface 415, including: an input unit 416 such as a keyboard, a mouse, etc.; an output unit 417 such as various types of displays, speakers, and the like; a storage unit 418, such as a magnetic disk, optical disk, or the like; and a communication unit 419 such as a network card, modem, wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The processor 411 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 411 performs the various methods and processes described above, such as a busbar generation method in an electrical device.
In some embodiments, the busbar generating method in the electrical device may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 418. In some embodiments, some or all of the computer program may be loaded and/or installed onto the electronic device 410 via the ROM 412 and/or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the busbar generating method in the electrical device described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to perform the busbar generating method in the electrical device in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (10)
1. A busbar generation method in an electrical device, comprising:
acquiring a two-dimensional busbar image;
identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image;
generating a template code according to the busbar attribute data and the busbar to obtain a busbar attribute code corresponding to the busbar attribute data;
and generating a target busbar according to the busbar attribute code and the three-dimensional busbar image.
2. The method of claim 1, wherein identifying candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image comprises:
carrying out line segment continuity identification on busbar segments in the two-dimensional busbar image, and determining at least one candidate busbar segment in the two-dimensional busbar image;
and carrying out line segment attribute identification on each candidate busbar segment, determining busbar attribute data corresponding to each candidate busbar segment, and generating the three-dimensional busbar image.
3. The method of claim 2, wherein the performing segment attribute recognition on each candidate busbar segment, determining busbar attribute data corresponding to each candidate busbar segment, and generating the three-dimensional busbar image includes:
carrying out line segment attribute identification on each candidate busbar line segment to obtain busbar length and line segment trend corresponding to each candidate busbar line segment;
determining the busbar width and the busbar thickness of each candidate busbar segment according to a preset busbar width and thickness specification;
generating busbar attribute data comprising the busbar length, the busbar width and the busbar thickness, and generating the three-dimensional busbar image according to the busbar attribute data and the line segment trend.
4. The method according to claim 1, wherein the generating a template code according to the busbar attribute data and the busbar to obtain a busbar attribute code corresponding to the busbar attribute data includes:
determining a busbar generating template code corresponding to any busbar attribute data;
and generating a template code based on the busbar, and converting the busbar attribute data into a corresponding busbar attribute code.
5. The method according to any one of claims 1-4, further comprising:
testing the busbar attribute codes;
and matching the test result with the busbar attribute data to verify the busbar attribute code.
6. A busbar generating device in an electrical apparatus, comprising:
the image acquisition module is used for acquiring a two-dimensional busbar image;
the image recognition module is used for recognizing candidate busbar segments in the two-dimensional busbar image to obtain busbar attribute data and a three-dimensional busbar image;
the code determining module is used for generating template codes according to the busbar attribute data and the busbar to obtain busbar attribute codes corresponding to the busbar attribute data;
and the busbar generation module is used for generating a target busbar according to the busbar attribute code and the three-dimensional busbar image.
7. The apparatus of claim 6, wherein the image recognition module comprises:
the line segment determining unit is used for carrying out line segment continuity identification on the busbar segments in the two-dimensional busbar image and determining at least one candidate busbar segment in the two-dimensional busbar image;
and the image recognition unit is used for carrying out line segment attribute recognition on each candidate busbar segment, determining busbar attribute data corresponding to each candidate busbar segment and generating the three-dimensional busbar image.
8. The apparatus according to claim 7, wherein the image recognition unit is specifically configured to:
carrying out line segment attribute identification on each candidate busbar line segment to obtain busbar length and line segment trend corresponding to each candidate busbar line segment;
determining the busbar width and the busbar thickness of each candidate busbar segment according to a preset busbar width and thickness specification;
generating busbar attribute data comprising the busbar length, the busbar width and the busbar thickness, and generating the three-dimensional busbar image according to the busbar attribute data and the line segment trend.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the busbar generating method in an electrical device as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a busbar generating method in an electrical device as claimed in any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311851420.6A CN117709276A (en) | 2023-12-29 | 2023-12-29 | Busbar generation method, device, equipment and medium in electrical equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311851420.6A CN117709276A (en) | 2023-12-29 | 2023-12-29 | Busbar generation method, device, equipment and medium in electrical equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117709276A true CN117709276A (en) | 2024-03-15 |
Family
ID=90149855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311851420.6A Pending CN117709276A (en) | 2023-12-29 | 2023-12-29 | Busbar generation method, device, equipment and medium in electrical equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117709276A (en) |
-
2023
- 2023-12-29 CN CN202311851420.6A patent/CN117709276A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116596854A (en) | Equipment defect identification method, device, equipment and medium | |
CN112580666A (en) | Image feature extraction method, training method, device, electronic equipment and medium | |
CN116932304A (en) | Register test method and device, electronic equipment and storage medium | |
CN116486125A (en) | Equipment detection method, device, equipment and medium | |
CN117709276A (en) | Busbar generation method, device, equipment and medium in electrical equipment | |
CN115481594B (en) | Scoreboard implementation method, scoreboard, electronic equipment and storage medium | |
CN116303013A (en) | Source code analysis method, device, electronic equipment and storage medium | |
CN117709277A (en) | Busbar generation method, device, equipment and medium | |
CN110532304B (en) | Data processing method and device, computer readable storage medium and electronic device | |
CN114120410A (en) | Method, apparatus, device, medium and product for generating label information | |
CN113903071A (en) | Face recognition method and device, electronic equipment and storage medium | |
CN114494818B (en) | Image processing method, model training method, related device and electronic equipment | |
CN114092874B (en) | Training method of target detection model, target detection method and related equipment thereof | |
CN115361584B (en) | Video data processing method and device, electronic equipment and readable storage medium | |
CN113836291B (en) | Data processing method, device, equipment and storage medium | |
CN117093840A (en) | Evaluation result determining method, device, equipment and storage medium | |
CN117574477A (en) | Distribution box drawing output method and device, electronic equipment and storage medium | |
CN115510207A (en) | Knowledge tag identification and power grid scene question and answer method, device, equipment and medium | |
CN116795615A (en) | Chip evaluation method, system, electronic equipment and storage medium | |
CN116703963A (en) | AR tracking method and device, AR equipment and storage medium | |
CN116798062A (en) | Drawing difference recognition method, device, system and storage medium | |
CN116523051A (en) | Model mixed-precision reasoning method, device, equipment and storage medium | |
CN118350631A (en) | Equipment risk identification method and device, electronic equipment and storage medium | |
CN117272613A (en) | Electrical cabinet schematic diagram generation method, device, equipment and storage medium | |
CN116303071A (en) | Interface testing method and device, electronic equipment 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 |