CN118172339A - Method, device and equipment for detecting part positioning point and readable storage medium - Google Patents
Method, device and equipment for detecting part positioning point and readable storage medium Download PDFInfo
- Publication number
- CN118172339A CN118172339A CN202410363099.5A CN202410363099A CN118172339A CN 118172339 A CN118172339 A CN 118172339A CN 202410363099 A CN202410363099 A CN 202410363099A CN 118172339 A CN118172339 A CN 118172339A
- Authority
- CN
- China
- Prior art keywords
- points
- projection
- distribution
- projection view
- positioning points
- 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 65
- 238000001514 detection method Methods 0.000 claims abstract description 66
- 238000012216 screening Methods 0.000 claims abstract description 9
- 238000004590 computer program Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 18
- 238000013461 design Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000009471 action Effects 0.000 description 3
- 238000004801 process automation Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- IHQKEDIOMGYHEB-UHFFFAOYSA-M sodium dimethylarsinate Chemical class [Na+].C[As](C)([O-])=O IHQKEDIOMGYHEB-UHFFFAOYSA-M 0.000 description 2
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
The application provides a method, a device, equipment and a readable storage medium for detecting part positioning points, wherein the method comprises the steps of respectively projecting parts to be detected along coordinate axis planes and screening projection views with largest projection areas to obtain target projection views; projecting all positioning points on the part to be detected onto a target projection view to obtain a plurality of projection points; determining distribution conditions of a plurality of projection points on a target projection view, wherein the distribution conditions comprise long-side distribution and wide-side distribution; according to the distribution condition, two adjacent positioning points are arbitrarily selected for detection. The method can achieve the effect of rapidly and accurately detecting whether the positioning point of the part meets the requirements.
Description
Technical Field
The present application relates to the field of part inspection, and in particular, to a method, apparatus, device, and readable storage medium for inspecting part positioning points.
Background
At present, when the existing host factory designs products, positioning surfaces are designed on two connecting parts, and positioning points are arranged in the centers of the positioning surfaces so as to determine the clamping positions of units during tooling design. The design of each unit and the requirement specification of the whole tool design during the tool design require a user to evaluate whether the design of the locating surface on the part meets the design specification.
However, the positioning surface is required to have a parallel relationship with a certain plane of the vehicle body coordinate system. In the prior art, deviation exists when the locating surfaces are identified manually, the parallel relation between all the locating surfaces and the vehicle body coordinate system is required to be measured by manual measurement, and the manual operation workload is large. After the positioning surfaces are determined, the user needs to measure the overall size of the product and the spacing between positioning points on two adjacent positioning surfaces in the same axis direction. And then judging according to the judgment standard of the positioning point position judgment schematic diagram, so that the detection is insufficient.
Therefore, how to quickly and accurately detect whether the positioning point of the part meets the requirement is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application aims to provide a method for detecting part positioning points, which can be used for rapidly and accurately detecting whether the part positioning points meet the requirements.
In a first aspect, an embodiment of the present application provides a method for detecting a positioning point of a part, including projecting a part to be detected along a coordinate axis plane, and screening a projection view with a largest projection area to obtain a target projection view; projecting all positioning points on the part to be detected onto a target projection view to obtain a plurality of projection points; determining distribution conditions of a plurality of projection points on a target projection view, wherein the distribution conditions comprise long-side distribution and wide-side distribution; according to the distribution condition, two adjacent positioning points are arbitrarily selected for detection.
In the embodiment of the application, through the projection of the part to be detected and the projection of the positioning point on the part to be detected, the adjacent positioning point can be selected to be compared with the target projection view, the whole process automation can be realized, and the effect of rapidly and accurately detecting whether the positioning point of the part meets the requirement is achieved.
In some embodiments, according to the distribution situation, arbitrarily selecting two adjacent positioning points for detection includes: selecting any two adjacent positioning points in one long-side distribution or one wide-side distribution in the distribution condition; and comparing the distance between two adjacent positioning points with the length or the width of the target projection view to obtain the detection result of the two adjacent positioning points.
In the embodiment of the application, the projection coordinates of the positioning points on the coordinate plane are compared with the length or width of the whole projection of the part, and the comparison result can accurately judge whether the selected positioning points meet the requirements.
In some embodiments, comparing the distance between two adjacent positioning points with the length or width of the target projection view to obtain the detection result of the two adjacent positioning points, including: comparing the distance between two adjacent positioning points with the length or width of the target projection view to obtain a comparison value; comparing the comparison value with a preset threshold value to obtain a detection result, wherein the comparison value is larger than or equal to the preset threshold value, the detection result is that two adjacent positioning points are qualified, the comparison value is smaller than the preset threshold value, and the detection result is a positioning point detection result report.
In the embodiment of the application, whether the selected positioning point meets the requirement can be accurately judged by comparing the preset threshold value with the positioning point and the projection length or width ratio.
In some embodiments, determining a distribution of the plurality of proxels over the target projection view includes: determining distances between the plurality of projection points and each length and width of the target projection view respectively; and determining the distribution condition of the plurality of projection points according to the distance between each projection point and each length and width.
In the embodiment of the application, the projection points are accurately classified according to the distances by the distances between the positioning points and the length and width of the target projection view.
In a second aspect, an embodiment of the present application provides an apparatus for detecting a positioning point of a part, including:
The first projection module is used for respectively projecting the part to be detected along the coordinate axis plane and screening the projection view with the largest projection area to obtain a target projection view;
the second projection module is used for projecting all positioning points on the part to be detected onto the target projection view to obtain a plurality of projection points;
The determining module is used for determining the distribution condition of a plurality of projection points on the target projection view, wherein the distribution condition comprises long-side distribution and wide-side distribution;
And the detection module is used for arbitrarily selecting two adjacent positioning points for detection according to the distribution condition.
Optionally, the detection module is specifically configured to:
Selecting any two adjacent positioning points in one long-side distribution or one wide-side distribution in the distribution condition;
And comparing the distance between two adjacent positioning points with the length or the width of the target projection view to obtain the detection result of the two adjacent positioning points.
Optionally, the detection module is specifically configured to:
comparing the distance between two adjacent positioning points with the length or width of the target projection view to obtain a comparison value;
Comparing the comparison value with a preset threshold value to obtain a detection result, wherein the comparison value is larger than or equal to the preset threshold value, the detection result is that two adjacent positioning points are qualified, the comparison value is smaller than the preset threshold value, and the detection result is a positioning point detection result report.
Optionally, the determining module is specifically configured to:
determining distances between the plurality of projection points and each length and width of the target projection view respectively;
and determining the distribution condition of the plurality of projection points according to the distance between each projection point and each length and width.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing computer readable instructions which, when executed by the processor, perform the steps of the method as provided in the first aspect above.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method as provided in the first aspect above.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for detecting part locating points according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a part to be detected projected along a coordinate axis plane according to an embodiment of the present application;
fig. 3 is a schematic diagram of a positioning point dividing method according to an embodiment of the present application;
Fig. 4 is a schematic diagram of a positioning point determining method according to an embodiment of the present application;
FIG. 5 is a flowchart of an implementation method for detecting a part locating point according to an embodiment of the present application;
FIG. 6 is a schematic block diagram of an apparatus for detecting part locating points provided by an embodiment of the present application;
fig. 7 is a schematic structural diagram of a device for detecting positioning points of parts according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
The method is applied to a scene for rapidly detecting the positioning point of the part, wherein the specific scene is to project the part into a plane, compare the projection of the positioning point of the part with the projection of the whole part, and judge whether the positioning point meets the requirement according to the distribution interval of the positioning point on the part.
At present, when the existing host factory designs products, positioning surfaces are designed on two connecting parts, and positioning points are arranged in the centers of the positioning surfaces so as to determine the clamping positions of units during tooling design. The design of each unit and the requirement specification of the whole tool design during the tool design require a user to evaluate whether the design of the locating surface on the part meets the design specification. However, the positioning surface is required to have a parallel relationship with a certain plane of the vehicle body coordinate system. In the prior art, deviation exists when the locating surfaces are identified manually, the parallel relation between all the locating surfaces and the vehicle body coordinate system is required to be measured by manual measurement, and the manual operation workload is large. After the positioning surfaces are determined, the user needs to measure the overall size of the product and the spacing between positioning points on two adjacent positioning surfaces in the same axis direction. And then judging whether the positioning point of the part meets the requirement according to the positioning point position, so that the detection is not standard enough.
The method comprises the steps of respectively projecting the part to be detected along a coordinate axis plane, and screening a projection view with the largest projection area to obtain a target projection view; projecting all positioning points on the part to be detected onto a target projection view to obtain a plurality of projection points; determining distribution conditions of a plurality of projection points on a target projection view, wherein the distribution conditions comprise long-side distribution and wide-side distribution; according to the distribution condition, two adjacent positioning points are arbitrarily selected for detection. In the embodiment of the application, the projection of the part to be detected and the projection of the positioning point on the part to be detected are adopted, and the adjacent positioning point is selected to be compared with the target projection view, so that the whole process automation can be realized, and the effect of rapidly and accurately detecting whether the positioning point of the part meets the requirement can be achieved.
In the embodiment of the application, the execution main body can be the part positioning point detection equipment in the part positioning point detection system, and in practical application, the part positioning point detection equipment can be electronic equipment such as terminal equipment, a server and the like, and the limitation is not limited.
The method for detecting the positioning point of the part according to the embodiment of the present application will be described in detail with reference to fig. 1.
Referring to fig. 1, fig. 1 is a flowchart of a method for detecting a part positioning point according to an embodiment of the present application, where the method for detecting a part positioning point shown in fig. 1 includes:
step 110: and respectively projecting the parts to be detected along the coordinate axis plane, and screening the projection view with the largest projection area to obtain the target projection view.
Each part to be detected needs to be designed with a locating surface, and the locating surface comprises a plurality of locating points. The part to be detected can be a part of the object to be detected, for example, the body of a motor vehicle, and the locating surface is often required to be parallel to the whole part, so that whether the locating point and the locating surface meet the requirements can be judged through the detection of the locating point. The target projection view is one of the projection views, and a specific projection view can be referred to as a schematic diagram shown in fig. 2.
Referring to fig. 2, fig. 2 is a schematic diagram of a part to be inspected projected along a coordinate axis plane, where the projection view shown in fig. 2 includes:
xy plane projection view, yz plane projection view, and xz plane projection view.
The area of the xy plane projection view can be measured to be the largest by measuring the areas of the three views, and the xy plane projection view can be used as the target projection view in fig. 1.
Step 120: and projecting all positioning points on the part to be detected onto the target projection view to obtain a plurality of projection points.
The positioning point is a point on a positioning surface representing a plane of the part to be detected, and the positioning point can be an area, for example, a rectangular area, and the positioning point is a center point of the area, or can be directly a point.
Step 130: and determining the distribution condition of the plurality of projection points on the target projection view, wherein the distribution condition comprises long-side distribution and wide-side distribution.
The long-side distribution further comprises a first long-side distribution and a second long-side distribution, the wide-side distribution comprises a first wide-side distribution and a second wide-side distribution, the target projection view can be regarded as a projection view of a positioning surface of the part to be detected, the positioning surface can be determined to be a polygonal area, for example, a rectangle, according to the selected positioning point, the target projection view can also be a polygonal area corresponding to the positioning surface, and at the moment, the first long-side distribution, the second long-side distribution, the first wide-side distribution and the second wide-side distribution respectively represent areas close to one side of the polygon.
In some embodiments of the present application, determining a distribution of a plurality of proxels over a projection view of a target includes: determining distances between the plurality of projection points and each length and width of the target projection view respectively; and determining the distribution condition of the plurality of projection points according to the distance between each projection point and each length and width.
In the process, the projection points are accurately classified according to the distances by the length and the width of the positioning points and the target projection view.
The target projection view can divide a rectangular area comprising the part to be detected according to the part to be detected, and a long side and a wide side, which are close to the projection of the positioning point, are regarded as the distribution condition of the corresponding projection points of the positioning point.
In particular, see a schematic diagram of the partitioning of anchor points shown in fig. 3.
Referring to fig. 3, fig. 3 is a schematic diagram of a positioning point dividing method according to the present application, where the positioning point dividing method shown in fig. 3 includes:
If the distance from the positioning point to the long side 2 (length l=y2) in fig. 3 is z2, and z2 is smaller than the distance from the positioning point to the other long side 1 (length l=y1), the positioning point is distributed on one side of the long side 2 and belongs to the second long side distribution, and all the positioning points distributed on one side of the long side 2 can be counted by analogy. When the distribution of the positioning points on one side of the long side 2 is calculated to be reasonable, the distance between adjacent positioning points can be compared with the dimension of the long side where the adjacent positioning points are located. By comparing the distances from the positioning point to two long sides or the broadsides, the positioning point is distributed on which long side is determined, and the same is true for the distribution situation of the positioning point on the broadsides, wherein the length from the positioning point to the broadside 1 (length l=z1) is y2, and y2 is smaller than the distance from the positioning point to the other broadside 2 (length l=z2), so that the positioning point is distributed on one side of the broadside 1 and belongs to the first broadside distribution.
Step 140: according to the distribution condition, two adjacent positioning points are arbitrarily selected for detection.
In some embodiments of the present application, according to the distribution situation, two adjacent positioning points are arbitrarily selected for detection, including: selecting any two adjacent positioning points in one long-side distribution or one wide-side distribution in the distribution condition; and comparing the distance between two adjacent positioning points with the length or the width of the target projection view to obtain the detection result of the two adjacent positioning points.
In the process, the projection coordinates of the positioning points on the coordinate plane are compared with the length or width of the whole projection of the part, and whether the selected positioning points meet the requirements can be accurately judged according to the comparison result.
In some embodiments of the present application, comparing a distance between two adjacent positioning points with a length or a width of a target projection view to obtain a detection result of the two adjacent positioning points, including: comparing the distance between two adjacent positioning points with the length or width of the target projection view to obtain a comparison value; comparing the comparison value with a preset threshold value to obtain a detection result, wherein the comparison value is larger than or equal to the preset threshold value, the detection result is that two adjacent positioning points are qualified, the comparison value is smaller than the preset threshold value, and the detection result is a positioning point detection result report.
In the process, the application can accurately judge whether the selected positioning point meets the requirement or not through comparing the preset threshold value with the positioning point and the projection length or width ratio.
The preset threshold value can be set according to requirements, for example, 2/3, and the positioning point detection result report includes coordinates of two adjacent positioning points and a result of whether each positioning point meets the requirements or not.
Specifically, reference may be made to a schematic diagram of the anchor point determination method shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic diagram of a positioning point determining method according to the present application, where the positioning point determining method shown in fig. 4 includes:
anchor point 1, anchor point 2, anchor point 3, and anchor point 4.
Wherein, the distance X between two adjacent positioning points (positioning point 1 and positioning point 3) is compared with the length X of the target projection view or the distance Y between two adjacent positioning points (positioning point 3 and positioning point 4) is compared with the width Y to obtain a comparison value; and comparing the comparison value with a preset threshold value to obtain a detection result, for example, the interval [ X, Y ]/total length [ X, Y ]. Gtoreq.2/3 of the positioning points, wherein the positioning points meet the requirements, and otherwise, the positioning points do not meet the requirements.
In the process shown in fig. 1, the present application obtains the target projection view by respectively projecting the part to be detected along the coordinate axis plane and screening the projection view with the largest projection area; projecting all positioning points on the part to be detected onto a target projection view to obtain a plurality of projection points; determining distribution conditions of a plurality of projection points on a target projection view, wherein the distribution conditions comprise long-side distribution and wide-side distribution; according to the distribution condition, two adjacent positioning points are arbitrarily selected for detection. In the embodiment of the application, through the projection of the part to be detected and the projection of the positioning point on the part to be detected, the adjacent positioning point can be selected to be compared with the target projection view, the whole process automation can be realized, and the effect of rapidly and accurately detecting whether the positioning point of the part meets the requirement is achieved.
The following describes in detail an implementation method for detecting a part locating point according to an embodiment of the present application with reference to fig. 5.
Referring to fig. 5, fig. 5 is a flowchart of an implementation method for detecting a part positioning point according to an embodiment of the present application, where the implementation method for detecting a part positioning point shown in fig. 5 includes:
A platform end and a software (catia) end.
The platform end may open a model, e.g., an automobile model, click detection, e.g., detection of clicking on an automobile body part.
The software end selects the largest projection (i.e. the target projection view in the step shown in fig. 1) area of the product model (i.e. the part to be detected in the step shown in fig. 1) by projecting the model onto the coordinate plane, measures the outline dimension (i.e. the length and the width) of the largest projection surface, projects the positioning point on the positioning surface onto the coordinate plane, calculates the coordinates of each positioning point, compares the coordinate values of the positioning points, determines the arrangement of the positioning points in the length and the width directions of the projection (i.e. the distribution condition in the step shown in fig. 1), respectively measures the distances X and Y between two adjacent positioning points in the length (X) and the width (Y), compares the positioning point distances in the length and the width directions with the length and the width of the projection, and judges whether the total length [ X, Y ] of the positioning surface is more than or equal to 2/3 (preset threshold), otherwise, outputs the positioning point detection result, and ends the flow.
In addition, the specific method and steps shown in fig. 5 may refer to the method shown in fig. 1, and will not be repeated here.
The method of detecting the part anchor point is described above by fig. 1 to 5, and the apparatus for detecting the part anchor point is described below with reference to fig. 6 to 7.
Referring to fig. 6, a schematic block diagram of an apparatus 600 for detecting a part positioning point according to an embodiment of the present application is shown, where the apparatus 600 may be a module, a program segment, or a code on an electronic device. The apparatus 600 corresponds to the above-described embodiment of the method of fig. 1, and is capable of performing the steps involved in the embodiment of the method of fig. 1, and specific functions of the apparatus 600 may be referred to as the following description, and detailed descriptions thereof are omitted herein as appropriate to avoid redundancy.
Optionally, the apparatus 600 includes:
The first projection module 610 is configured to project the part to be detected along the coordinate axis plane and screen a projection view with the largest projection area, so as to obtain a target projection view;
The second projection module 620 is configured to project all positioning points on the part to be detected onto the target projection view, so as to obtain a plurality of projection points;
A determining module 630, configured to determine a distribution situation of a plurality of projection points on the target projection view, where the distribution situation includes a long-side distribution and a wide-side distribution;
And the detection module 640 is used for arbitrarily selecting two adjacent positioning points for detection according to the distribution condition.
Optionally, the detection module 640 is specifically configured to:
Selecting any two adjacent positioning points in one long-side distribution or one wide-side distribution in the distribution condition; and comparing the distance between two adjacent positioning points with the length or the width of the target projection view to obtain the detection result of the two adjacent positioning points.
Optionally, the detection module 640 is specifically configured to:
comparing the distance between two adjacent positioning points with the length or width of the target projection view to obtain a comparison value; comparing the comparison value with a preset threshold value to obtain a detection result, wherein the comparison value is larger than or equal to the preset threshold value, the detection result is that two adjacent positioning points are qualified, the comparison value is smaller than the preset threshold value, and the detection result is a positioning point detection result report.
Optionally, the determining module 630 is specifically configured to:
Determining distances between the plurality of projection points and each length and width of the target projection view respectively; and determining the distribution condition of the plurality of projection points according to the distance between each projection point and each length and width.
Referring to fig. 7, a schematic block diagram of an apparatus for detecting a positioning point of a part according to an embodiment of the present application may include a memory 710 and a processor 720. Optionally, the apparatus may further include: a communication interface 730, and a communication bus 740. The apparatus corresponds to the embodiment of the method of fig. 1 described above, and is capable of performing the steps involved in the embodiment of the method of fig. 1, and specific functions of the apparatus may be found in the following description.
In particular, the memory 710 is used to store computer readable instructions.
Processor 720, which processes the memory-stored readable instructions, is capable of performing the various steps in the method of fig. 1.
Communication interface 730 for communicating signaling or data with other node devices. For example: for communication with a server or terminal, or with other device nodes, although embodiments of the application are not limited in this regard.
A communication bus 740 for implementing direct connection communication of the above-described components.
The communication interface 730 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 710 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. Memory 710 may optionally also be at least one storage device located remotely from the aforementioned processor. The memory 710 has stored therein computer readable instructions which, when executed by the processor 720, perform the method process described above in fig. 1. Processor 720 may be used on apparatus 600 and to perform functions in the present application. By way of example, the Processor 720 may be a general purpose Processor, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), an Application SPECIFIC INTEGRATED Circuit (ASIC), a field programmable gate array (Field Programmable GATE ARRAY, FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, to which embodiments of the application are not limited.
Embodiments of the present application also provide a readable storage medium, which when executed by a processor, performs a method process performed by an electronic device in the method embodiment shown in fig. 1.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding procedure in the foregoing method for the specific working procedure of the apparatus described above, and this will not be repeated here.
In summary, the embodiment of the application provides a method, a device, an electronic device and a readable storage medium for detecting a positioning point of a part, wherein the method comprises the steps of respectively projecting the part to be detected along a coordinate axis plane and screening a projection view with the largest projection area to obtain a target projection view; projecting all positioning points on the part to be detected onto a target projection view to obtain a plurality of projection points; determining distribution conditions of a plurality of projection points on a target projection view, wherein the distribution conditions comprise long-side distribution and wide-side distribution; according to the distribution condition, two adjacent positioning points are selected at will for detection, and the effect of rapidly and accurately detecting whether the positioning points of the parts meet the requirements is achieved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method of detecting a part setpoint, comprising:
Projecting the part to be detected along the coordinate axis plane respectively, and screening a projection view with the largest projection area to obtain a target projection view;
Projecting all positioning points on the part to be detected onto the target projection view to obtain a plurality of projection points;
Determining distribution conditions of the plurality of projection points on the target projection view, wherein the distribution conditions comprise long-side distribution and wide-side distribution;
and according to the distribution condition, arbitrarily selecting two adjacent positioning points for detection.
2. The method of claim 1, wherein the arbitrarily selecting two adjacent positioning points for detection according to the distribution condition includes:
selecting any two adjacent positioning points in one long-side distribution or one wide-side distribution in the distribution condition;
And comparing the distance between the two adjacent positioning points with the length or the width of the target projection view to obtain the detection result of the two adjacent positioning points.
3. The method according to claim 2, wherein comparing the distance between the two adjacent positioning points with the length or width of the target projection view to obtain the detection result of the two adjacent positioning points includes:
comparing the distance between the two adjacent positioning points with the length or the width of the target projection view to obtain a comparison value;
Comparing the comparison value with a preset threshold value to obtain the detection result, wherein the comparison value is larger than or equal to the preset threshold value, the detection result is that the two adjacent positioning points are qualified, the comparison value is smaller than the preset threshold value, and the detection result is a positioning point detection result report.
4. A method according to any of claims 1-3, wherein said determining a distribution of said plurality of proxels over said target projection view comprises:
Determining distances between the plurality of projection points and each length and width of the target projection view respectively;
The distribution of the plurality of projection points is determined according to the distance between each projection point and each length and width of the plurality of projection points.
5. An apparatus for detecting a part locating point, comprising.
The first projection module is used for respectively projecting the part to be detected along the coordinate axis plane and screening the projection view with the largest projection area to obtain a target projection view;
The second projection module is used for projecting all positioning points on the part to be detected onto the target projection view to obtain a plurality of projection points;
The determining module is used for determining the distribution condition of the plurality of projection points on the target projection view, wherein the distribution condition comprises long-side distribution and wide-side distribution;
and the detection module is used for arbitrarily selecting two adjacent positioning points for detection according to the distribution condition.
6. The apparatus of claim 5, wherein the detection module is specifically configured to:
selecting any two adjacent positioning points in one long-side distribution or one wide-side distribution in the distribution condition;
And comparing the distance between the two adjacent positioning points with the length or the width of the target projection view to obtain the detection result of the two adjacent positioning points.
7. The apparatus of claim 6, wherein the detection module is specifically configured to:
comparing the distance between the two adjacent positioning points with the length or the width of the target projection view to obtain a comparison value;
Comparing the comparison value with a preset threshold value to obtain the detection result, wherein the comparison value is larger than or equal to the preset threshold value, the detection result is that the two adjacent positioning points are qualified, the comparison value is smaller than the preset threshold value, and the detection result is a positioning point detection result report.
8. The apparatus according to any one of claims 5-7, wherein the determining module is specifically configured to:
Determining distances between the plurality of projection points and each length and width of the target projection view respectively;
The distribution of the plurality of projection points is determined according to the distance between each projection point and each length and width of the plurality of projection points.
9. An electronic device, comprising:
a memory and a processor, the memory storing computer readable instructions that, when executed by the processor, perform the steps in the method of any of claims 1-4.
10. A computer-readable storage medium, comprising:
Computer program which, when run on a computer, causes the computer to perform the method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410363099.5A CN118172339A (en) | 2024-03-28 | 2024-03-28 | Method, device and equipment for detecting part positioning point and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410363099.5A CN118172339A (en) | 2024-03-28 | 2024-03-28 | Method, device and equipment for detecting part positioning point and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118172339A true CN118172339A (en) | 2024-06-11 |
Family
ID=91359806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410363099.5A Pending CN118172339A (en) | 2024-03-28 | 2024-03-28 | Method, device and equipment for detecting part positioning point and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118172339A (en) |
-
2024
- 2024-03-28 CN CN202410363099.5A patent/CN118172339A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10115035B2 (en) | Vision system and analytical method for planar surface segmentation | |
CN115077425B (en) | Product detection equipment and method based on structured light three-dimensional vision | |
WO2009087367A1 (en) | A method of creating a representation of the surface of an object | |
CN112381791A (en) | Bolt looseness detection method based on 3D point cloud | |
CN116481836A (en) | Method, device, equipment, medium and product for testing digital twin of vehicle | |
CN112597662B (en) | Building model error correction checking method and system | |
CN118172339A (en) | Method, device and equipment for detecting part positioning point and readable storage medium | |
CN115393381A (en) | Straightness detection method and device, computer equipment and storage medium | |
US11781932B2 (en) | Product imbalance analysis methods and related systems and apparatuses | |
CN114782315B (en) | Shaft hole assembly pose precision detection method, device, equipment and storage medium | |
CN112344966B (en) | Positioning failure detection method and device, storage medium and electronic equipment | |
US20150233992A1 (en) | System and method for analyzing arrangement of vehicle and building wire harnesses for emi | |
CN111288929B (en) | Three-dimensional high-precision vision measurement method for workpiece with large curvature surface | |
JPH07262243A (en) | Shape data check method | |
CN117437602B (en) | Dual-layer data calibration method, device, equipment and readable storage medium | |
Jbira et al. | A comparative study of extraction cylinder features in industrial point clouds | |
CN113393450B (en) | Data quality inspection method and system for digital line drawing and readable storage medium | |
CN115327497B (en) | Radar detection range determining method, radar detection range determining device, electronic equipment and readable medium | |
CN115106837B (en) | Attitude determination method and system based on intelligent pressing plate | |
CN111044813B (en) | Charging mode identification method and device and terminal equipment | |
CN111473756B (en) | Surface curve measuring method, system and medium based on Unity3D model | |
CN115063106A (en) | Vehicle payment management and control method, system and computer readable storage medium | |
CN107306211B (en) | Intranet diagnosis method and gateway for intranet diagnosis | |
KR20170094709A (en) | Apparatus and method for detecting feature of circle object | |
JP2003271687A (en) | Device and method for detecting interference model and memory 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 |