CN115374499A - Dimension marking method and device, electronic equipment and storage medium - Google Patents

Dimension marking method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115374499A
CN115374499A CN202211020957.3A CN202211020957A CN115374499A CN 115374499 A CN115374499 A CN 115374499A CN 202211020957 A CN202211020957 A CN 202211020957A CN 115374499 A CN115374499 A CN 115374499A
Authority
CN
China
Prior art keywords
labeling
target
determining
target set
user
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
CN202211020957.3A
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.)
CSSC Huangpu Wenchong Shipbuilding Co Ltd
Original Assignee
CSSC Huangpu Wenchong Shipbuilding 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 CSSC Huangpu Wenchong Shipbuilding Co Ltd filed Critical CSSC Huangpu Wenchong Shipbuilding Co Ltd
Priority to CN202211020957.3A priority Critical patent/CN115374499A/en
Publication of CN115374499A publication Critical patent/CN115374499A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a size marking method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a target set to be marked; receiving a labeling instruction sent by a user, and determining labeling data based on the labeling instruction; and determining a target set from the target set to be labeled according to the labeling data, and labeling each target in the target set. According to the technical scheme, the target meeting the labeling requirement in the target set to be labeled can be labeled by one key according to the labeling requirement of the user, so that the labeling speed is increased, and the size labeling time is saved.

Description

Dimension marking method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of automation, in particular to a size marking method and device, electronic equipment and a storage medium.
Background
When the plate is cut, the size of the part marked on the trepanning book is the only standard for checking the cutting correctness of the part, so that the size marking of the part on the plate is very important.
At present, the sizes of parts on a plate are manually marked by designers, but the number of the parts on the plate is large, and when the sizes of the parts are manually marked, the workload of the designers is large and the marking time is long.
Disclosure of Invention
The invention provides a size marking method and device, electronic equipment and a storage medium, which can quickly mark the size of a part.
According to an aspect of the present invention, there is provided a dimensioning method, the method comprising:
acquiring a target set to be marked;
receiving a labeling instruction sent by a user, and determining labeling data based on the labeling instruction;
and determining a target set from the target set to be labeled according to the labeling data, and labeling each target in the target set.
Optionally, the target set to be labeled includes a part set; correspondingly, obtaining the target set to be labeled comprises: determining a selected area according to a selected instruction triggered by a user; a set of parts is determined from the parts in the selected region.
Optionally, the receiving a labeling instruction sent by a user, and determining labeling data based on the labeling instruction includes: receiving a marking instruction sent by a user, determining an acquisition page according to the marking instruction, and sending the acquisition page to a user terminal so that the user terminal can display the acquisition page; and receiving the annotation data input by the user based on the acquired page.
Optionally, receiving the annotation data input by the user based on the acquired page includes: and receiving the aspect ratio range of the part and the area threshold of the part input by the user based on the acquisition page.
Optionally, determining a target set from the target set to be labeled according to the labeling data includes: determining the aspect ratio and the area of each part in the part set; determining the part with the length-width ratio within the length-width ratio range and the area larger than the area threshold value as a target part; and determining a target set according to each target part.
Optionally, determining the aspect ratio and the area of each part in the part set includes: acquiring a boundary line of a part; determining the area of the part according to the area of the graph formed by the boundary lines; and determining the aspect ratio of the part according to the coordinate information of the diagonal points of the graph formed by the boundary lines.
Optionally, labeling each target in the target set, including: and determining a labeling style, and labeling each target in the target set based on the labeling style.
According to another aspect of the present invention, there is provided a dimensioning apparatus, the apparatus comprising:
the acquisition module is used for acquiring a target set to be marked;
the receiving module is used for receiving a marking instruction sent by a user and determining marking data based on the marking instruction;
and the marking module is used for determining a target set from the target set to be marked according to the marking data and marking each target in the target set.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the dimensioning method according to any of the embodiments of the 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 the dimensioning method according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, a target set to be marked is obtained; receiving a labeling instruction sent by a user, and determining labeling data based on the labeling instruction; and determining a target set from the target set to be labeled according to the labeling data, and labeling each target in the target set. According to the marking requirements of the user, the targets meeting the marking requirements in the target set to be marked can be marked by one key, so that the marking speed is increased, and the size marking time is saved. The problem of the designer's that manual mark part size leads to work load is big and mark time is long is solved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a dimension marking method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a dimension marking method according to a second embodiment of the present invention;
FIG. 3 is a schematic illustration showing a part dimension marking according to a second embodiment of the present invention;
FIG. 4 is a schematic illustration showing a dimension of the remainder according to a second embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a size marking apparatus according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a schematic flow chart of a dimension marking method according to an embodiment of the present invention, where the embodiment is applicable to the dimension marking of parts and/or remnants on a plate, and the method may be executed by a dimension marking device according to an embodiment of the present invention, where the device may be implemented in a software and/or hardware manner, and in a specific embodiment, the device may be integrated in an electronic device. The following embodiments will be described by taking the device integrated in an electronic device as an example, and referring to fig. 1, the method specifically includes the following steps:
s101, acquiring a target set to be marked.
The target set to be labeled can be understood as a set formed by all targets which can be labeled on the plate. Specifically, the target on the plate includes a part and a surplus material, and the surplus material can be understood as a plate without a designed part, which is not set in the embodiment of the present invention.
The plate can be understood as a material block in Computer Aided Design (CAD) engineering, and is a virtual plate model which reduces an actual plate in a certain proportion, so that an operator can conveniently check and know information of parts and residual materials on the plate, the parts can be understood as a designed pattern in the material block, and the residual materials can be understood as materials except the designed pattern in the material block.
For example, suppose the target to be labeled is a part, and six parts A, B, C, D, E and F are designed on the plate. Then, obtaining the target set to be labeled can be understood as obtaining a part set consisting of A, B, C, D, E and F.
S102, receiving a marking instruction sent by a user, and determining marking data based on the marking instruction.
The annotation command may be understood as a start command of a dimension annotation operation, and the annotation data may be understood as data including an annotation requirement, for example, the annotation data may include information indicative of an object to be annotated, that is, an aspect ratio of the object, an area range of the object, and the like, which is not limited in the embodiment of the present invention.
Specifically, after receiving a marking instruction sent by a user, the method determines the indicative information of the target to be marked based on the marking instruction. The method has the advantages that the annotation data can be determined according to the annotation requirement of the user, and the target set can be accurately and efficiently locked.
S103, determining a target set from the target set to be labeled according to the labeling data, and labeling each target in the target set.
Specifically, the annotation data contains indicative information of the object to be annotated.
Illustratively, the target set to be labeled is a part set, the part set comprises A, B, C and four parts D, the aspect ratio of the part A is 1:3, the area is 25, the aspect ratio of the part B is 1:4, the area is 20, the aspect ratio of the part C is 1:1, the area is 35, the aspect ratio of the part D is 1:6, the area is 28, the aspect ratio of the target is 1:2-1:5, and the area range of the target is more than 18. Then, determining a target set from the target set to be labeled according to the labeling data, namely determining a target part set consisting of the part A and the part B from the part set according to the aspect ratio of the target and the area range of the target, and labeling each target in the target set, namely performing size labeling on the part A and the part B in the target part set.
According to the technical scheme of the embodiment of the invention, a target set to be marked is obtained; receiving a labeling instruction sent by a user, and determining labeling data based on the labeling instruction; and determining a target set from the target set to be labeled according to the labeling data, and labeling each target in the target set. According to the marking requirements of the user, the targets meeting the marking requirements in the target set to be marked can be marked by one key, so that the marking speed is increased, and the size marking time is saved. The problem of the designer's that manual mark part size leads to work load is big and mark time is long is solved.
Example two
Fig. 2 is a schematic flow chart of a dimension marking method according to a second embodiment of the present invention, where this embodiment is applicable to the dimension marking of parts and/or remnants on a plate, and the method may be executed by a dimension marking device according to the second embodiment of the present invention, where the device may be implemented in a software and/or hardware manner, and in a specific embodiment, the device may be integrated in an electronic device. The following embodiments will be described by taking as an example that the apparatus is integrated in an electronic device, and referring to fig. 2, the method specifically includes the following steps:
s201, acquiring a target set to be marked.
In one embodiment, the target set to be labeled comprises a part set; correspondingly, S201 may specifically include:
determining a selected area according to a selected instruction triggered by a user; a set of parts is determined from the parts in the selected region.
The selection instruction triggered by the user comprises a selection instruction for indicating the selected area range, and the selected area can be all plates or part of plates. When the parts on the whole plate need to be selected, the parts area can be selected by using a shortcut key selected by one key.
Specifically, after the selected region is determined, all parts of the selected region are identified, and a set consisting of all parts of the selected region is a part set.
For example, the edge of a part may be represented by a white closed multi-segment line, and a general purpose primitive group code (DXF) is data of a CAD graphic property, and a filter for filtering white multi-segment lines may be created using DXF, and the filter may determine the part in the selected region. Furthermore, the boundary line of the excess materials is a blue multi-segment line, and the excess materials can be selected by changing the screening condition of the screener into the blue multi-segment line.
S202, receiving a marking instruction sent by a user, determining an acquisition page according to the marking instruction, and sending the acquisition page to a user terminal so that the user terminal can display the acquisition page; and receiving the annotation data input by the user based on the acquired page.
Specifically, after receiving a marking instruction sent by a user, the server determines that the user has a target marking requirement, determines an acquired page according to the marking instruction, and sends the acquired page to the user terminal for displaying. The user can read the information in the acquired page based on the user terminal and input the annotation data into the acquired page, and after the user inputs the annotation data based on the acquired page, the user terminal can send the annotation data to the server.
The target to be labeled comprises a part, the labeling data comprises an aspect ratio range of the part and an area threshold of the part, and correspondingly, the receiving of the labeling data input by a user based on the acquired page comprises the following steps: and receiving the aspect ratio range of the part and the area threshold of the part input by the user based on the acquisition page.
S203, determining the aspect ratio and the area of each part in the part set; determining the part with the length-width ratio within the length-width ratio range and the area larger than the area threshold value as a target part; and determining a target set according to each target part, and labeling each target in the target set.
Specifically, the area threshold may be understood as a basis for measuring the size of the target, the part selected from the part set and meeting the labeling data is the target part, and the set formed by all the target parts is the target set.
Illustratively, assume that the part set includes A, B, C and four parts D, part A having an aspect ratio of 1:3, area 25, part B having an aspect ratio of 1:4, area 20, part C having an aspect ratio of 1:1, area 35, part D having an aspect ratio of 1:6, area 28, aspect ratio ranging from 1:2 to 1:5, and area threshold of 18. Then, the parts with the length-width ratios within the length-width ratio range and the areas larger than the area threshold are determined as target parts, namely the parts with the length-width ratios within 1:2-1:5 and the areas larger than 18 are determined as target parts, the target parts are parts a and parts B, and the set consisting of the parts a and the parts B is a target set.
Optionally, determining the aspect ratio and the area of each part in the part set includes: acquiring a boundary line of a part; determining the area of the part according to the area of the graph formed by the boundary lines; and determining the aspect ratio of the part according to the coordinate information of the diagonal points of the graph formed by the boundary lines.
Specifically, the multiple lines of the CAD have Area characteristics, and after the boundary line of the part is determined, the Area surrounded by the multiple lines can be determined, for example, the Area of the part is determined by a query command (. Area command) of the Area and the circumference. The aspect ratio of the part may also be determined according to coordinate information of diagonal points of a graph composed of boundary lines, for example, the diagonal points of the part are determined by a diagonal point command (getoutput box command) of a minimum enclosing rectangle of multiple lines, and then the dimensions of the part in the horizontal direction and the vertical direction are determined according to coordinates of two diagonal points, so as to obtain the aspect ratio of the part.
For example, when the multi-segment line of the white edge of the part is obtained, the coordinates of the starting point are set as the coordinates of the next point of the starting point, and the coordinates of the ending point are set as the coordinates of the previous point of the ending point, so that the problems of marking size errors and the like caused by cutting the lead wires from the root can be reduced.
Optionally, labeling each target in the target set, including: and determining a labeling style, and labeling each target in the target set based on the labeling style.
The marked style comprises a marked format, a marked font, a marked position and the like, the marked format comprises a diagonal mark, a length and width mark and the like, and the marked position comprises a target inside and a target outside and the like. Labeling each target in the target set based on the labeling style can be understood as labeling each target in the target set based on the labeling style such as the labeling format, the labeling font, the labeling position, and the like. The marking mode may be to mark the target part according to a marking command (AddDimAligned command).
Fig. 3 is a schematic diagram illustrating part dimension labeling provided in the second embodiment of the present invention, and fig. 4 is a schematic diagram illustrating remainder dimension labeling provided in the second embodiment of the present invention. The serial numbers in the figures are the serial numbers of the parts, fig. 3 is a labeled schematic diagram of the part 1 in a manner of labeling diagonal lines in the part, the rectangular part on the right side in fig. 4 can be understood as excess materials, and the labeling manner is that length and width labeling is performed on the inner side of the excess materials.
According to the technical scheme of the embodiment of the invention, a target set to be marked is obtained; receiving a marking instruction sent by a user, determining an acquisition page according to the marking instruction, and sending the acquisition page to a user terminal so that the user terminal can display the acquisition page; receiving annotation data input by a user based on the acquired page; determining the aspect ratio and the area of each part in the part set; determining the part with the length-width ratio within the length-width ratio range and the area larger than the area threshold value as a target part; and determining a target set according to each target part, and labeling each target in the target set. The method and the device can determine the acquired page according to the marking instruction of the user, send the acquired page to the user terminal for displaying, facilitate the user to read information in the acquired page, determine the target set according to the requirement of the user after receiving marking data input by the user, and carry out one-key marking on the targets in the target set, thereby accelerating the marking speed and saving the time for size marking.
EXAMPLE III
The size marking device provided by the third embodiment of the invention can execute the size marking method provided by any embodiment of the third embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a schematic structural diagram of a size labeling apparatus according to a third embodiment of the present invention, where the apparatus includes: an acquisition module 501, a receiving module 502 and an annotation module 503.
An obtaining module 501, configured to obtain a target set to be labeled.
A receiving module 502, configured to receive a labeling instruction sent by a user, and determine labeling data based on the labeling instruction.
And the labeling module 503 is configured to determine a target set from the target sets to be labeled according to the labeling data, and label each target in the target set.
The size marking device provided in this embodiment is for implementing the size marking method in the above embodiments, and the implementation principle and technical effect of the size marking device provided in this embodiment are similar to those of the above embodiments, and are not described here again.
Optionally, the target set to be labeled includes a part set.
Optionally, the obtaining module 501 is specifically configured to determine a selected area according to a selected instruction triggered by a user; a set of parts is determined from the parts in the selected region.
Optionally, the receiving module 502 is specifically configured to receive a labeling instruction sent by a user, determine an acquisition page according to the labeling instruction, and send the acquisition page to the user terminal, so that the user terminal displays the acquisition page; and receiving the annotation data input by the user based on the acquired page.
Optionally, the receiving module 502 is specifically configured to receive an aspect ratio range of the part and an area threshold of the part, which are input by the user based on the obtained page.
Optionally, the labeling module 503 is specifically configured to determine an aspect ratio and an area of each part in the part set; determining the part with the length-width ratio within the length-width ratio range and the area larger than the area threshold value as a target part; and determining a target set according to each target part.
Optionally, the labeling module 503 is specifically configured to obtain a boundary line of the part; determining the area of the part according to the area of the graph formed by the boundary lines; and determining the aspect ratio of the part according to the coordinate information of the diagonal points of the graph formed by the boundary lines.
Optionally, the labeling module 503 is specifically configured to determine a labeling style, and label each target in the target set based on the labeling style.
Example four
Fig. 6 shows a schematic structural diagram of an electronic device 10 that can be used to implement a fourth embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, 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. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 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, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the dimensioning method.
In some embodiments, the dimensioning method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the dimensioning method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured as a dimensioning method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a 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 that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the 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 performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a 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. A 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 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) by which a user may 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 can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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. A client and server are generally 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 host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of dimensioning, comprising:
acquiring a target set to be marked;
receiving a labeling instruction sent by a user, and determining labeling data based on the labeling instruction;
and determining a target set from the target set to be labeled according to the labeling data, and labeling each target in the target set.
2. The method according to claim 1, wherein the target set to be labeled comprises a part set;
correspondingly, the obtaining of the target set to be labeled includes:
determining a selected area according to a selected instruction triggered by a user;
determining the set of parts from the parts in the selected region.
3. The method of claim 2, wherein the receiving a labeling instruction sent by a user, and determining labeling data based on the labeling instruction comprises:
receiving a marking instruction sent by a user, determining an acquisition page according to the marking instruction, and sending the acquisition page to a user terminal so that the user terminal can display the acquisition page;
and receiving the annotation data input by the user based on the acquisition page.
4. The method of claim 3, wherein the receiving the annotation data entered by the user based on the retrieved page comprises:
and receiving the aspect ratio range of the part and the area threshold of the part input by the user based on the acquisition page.
5. The method of claim 4, wherein the determining a target set from the target sets to be labeled according to the labeling data comprises:
determining an aspect ratio and an area of each part in the set of parts;
determining the part with the length-width ratio within the length-width ratio range and the area larger than the area threshold value as a target part;
the target set is determined from each of the target parts.
6. The method of claim 5, wherein the determining the aspect ratio and the area of each part in the set of parts comprises:
acquiring a boundary line of the part;
determining the area of the part according to the area of the graph formed by the boundary lines;
and determining the aspect ratio of the part according to the coordinate information of the diagonal points of the graph formed by the boundary lines.
7. The method of claim 1, wherein the labeling each target in the set of targets comprises:
and determining a labeling style, and labeling each target in the target set based on the labeling style.
8. A sizing device, comprising:
the acquisition module is used for acquiring a target set to be marked;
the receiving module is used for receiving a marking instruction sent by a user and determining marking data based on the marking instruction;
and the marking module is used for determining a target set from the target set to be marked according to the marking data and marking each target in the target set.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the dimensioning method of any of claims 1 to 7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the dimensioning method of one of claims 1 to 7 when executed.
CN202211020957.3A 2022-08-24 2022-08-24 Dimension marking method and device, electronic equipment and storage medium Pending CN115374499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211020957.3A CN115374499A (en) 2022-08-24 2022-08-24 Dimension marking method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211020957.3A CN115374499A (en) 2022-08-24 2022-08-24 Dimension marking method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115374499A true CN115374499A (en) 2022-11-22

Family

ID=84068470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211020957.3A Pending CN115374499A (en) 2022-08-24 2022-08-24 Dimension marking method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115374499A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117235831A (en) * 2023-11-13 2023-12-15 北京天圣华信息技术有限责任公司 Automatic part labeling method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117235831A (en) * 2023-11-13 2023-12-15 北京天圣华信息技术有限责任公司 Automatic part labeling method, device, equipment and storage medium
CN117235831B (en) * 2023-11-13 2024-02-23 北京天圣华信息技术有限责任公司 Automatic part labeling method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3916634A2 (en) Text recognition method and device, and electronic device
CN113377890B (en) Map quality inspection method and device, electronic equipment and storage medium
CN114880337B (en) Map data integrated updating method, device, equipment and storage medium
CN115374499A (en) Dimension marking method and device, electronic equipment and storage medium
CN117236236B (en) Chip design data management method and device, electronic equipment and storage medium
CN116595089A (en) Task dependency graph layout method, device, equipment and storage medium
CN116451619A (en) Component information processing method, device, medium and equipment
CN112988932B (en) High-precision map labeling method, device, equipment, readable storage medium and product
CN116303461A (en) Component library creation method and device, electronic equipment and storage medium
CN115328736A (en) Probe deployment method, device, equipment and storage medium
CN115049369A (en) Project management method and device, electronic equipment and storage medium
CN114564268A (en) Equipment management method and device, electronic equipment and storage medium
CN115858891A (en) Visual display method and device of data, electronic equipment and storage medium
CN114721942A (en) Test data generation method, device, equipment and storage medium
CN113254993B (en) Data protection method, apparatus, device, storage medium, and program product
CN112835007B (en) Point cloud data conversion method and device, electronic equipment and storage medium
CN116468824B (en) Animation redirection method, device, electronic equipment and storage medium
CN113326890B (en) Labeling data processing method, related device and computer program product
CN115618834A (en) Table extraction method, device, equipment and storage medium
CN117632874A (en) Automatic drawing storage method, device, equipment and medium for CAD software
CN115237289A (en) Hot area range determining method, device, equipment and storage medium
CN115510838A (en) Template generation method and device, electronic equipment and storage medium
CN117349961A (en) Ship model processing method and device, electronic equipment and medium
CN113961775A (en) Data visualization method and device, electronic equipment and readable storage medium
CN114528366A (en) Map information tracing method, device, equipment, storage medium and program product

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