CN114821627B - Intelligent examination method and system for door installation drawing, storage medium and electronic equipment - Google Patents

Intelligent examination method and system for door installation drawing, storage medium and electronic equipment Download PDF

Info

Publication number
CN114821627B
CN114821627B CN202210744849.4A CN202210744849A CN114821627B CN 114821627 B CN114821627 B CN 114821627B CN 202210744849 A CN202210744849 A CN 202210744849A CN 114821627 B CN114821627 B CN 114821627B
Authority
CN
China
Prior art keywords
door
target
information
area
preset
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.)
Active
Application number
CN202210744849.4A
Other languages
Chinese (zh)
Other versions
CN114821627A (en
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.)
Jiangxi Shaoke Intelligent Construction Technology Co ltd
Original Assignee
Jiangxi Shaoke Intelligent Construction Technology 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 Jiangxi Shaoke Intelligent Construction Technology Co ltd filed Critical Jiangxi Shaoke Intelligent Construction Technology Co ltd
Priority to CN202210744849.4A priority Critical patent/CN114821627B/en
Publication of CN114821627A publication Critical patent/CN114821627A/en
Application granted granted Critical
Publication of CN114821627B publication Critical patent/CN114821627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document
    • G06V30/422Technical drawings; Geographical maps

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an intelligent examination method, a system, a storage medium and electronic equipment for a door installation drawing, wherein the method comprises the following steps: identifying all door information contained in the target residence according to the house type drawing; screening entry doors which accord with the attributes of the side hung doors from the door information to extract side hung door information corresponding to the entry doors, wherein the side hung door information comprises outline information and coordinate information of the entry doors; acquiring opening direction information of the corresponding entrance door according to the contour information and the coordinate information of the entrance door, and judging whether the entrance door is an outward vertical hinged door or not according to the opening direction information; and if the entrance door is the outward side hung door, the door information of the outward side hung door is inspected according to a preset inspection strategy so as to judge whether the entrance door violates the preset inspection rule. The intelligent examination method for the house door installation drawing can automatically identify the house door in the house type drawing and match with a specific examination rule, so that the examination work of the relevant examination items of the house door is automatically realized, and the examination efficiency is greatly improved.

Description

Intelligent examination method and system for door installation drawing, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of building drawing examination, in particular to an intelligent examination method and system for a door installation drawing, a storage medium and electronic equipment.
Background
With the rapid development of the scientific and technical level, people have more and more requirements on the residential conditions, and meanwhile, the building quality problem of the building industry is increasingly highlighted. The essence of the building quality problem is the design problem of construction drawings, so the drawing review is a very important link.
At present, CAD software is commonly used in the building design industry to draw house type drawings, the drawn drawings generally need to inspect every house in the house type drawings to judge whether the house type drawings meet the inspection scrutiny rules published by the state, however, the inspection work of every house needs to be manually inspected by engineers with abundant experience or special inspectors to judge whether the drawing design has places violating the national building standards, because the inspection work can be different due to personal project experience, knowledge storage and working years, the inspection efficiency is generally low, a great amount of manpower is invested in the inspection work, the inspection work is still difficult to establish a perfect flow, the inspection time is easily overlong, and even the life cycle of the building is influenced.
Disclosure of Invention
Based on this, the invention aims to provide an intelligent examination method, system, storage medium and electronic equipment for a house door installation drawing, so as to solve the problem of low examination efficiency caused by manual examination of house door installation items in a house type drawing.
The intelligent examination method of the door installation drawing provided by the invention is applied to electronic equipment, and comprises the following steps:
acquiring a to-be-checked drawing uploaded by a scanning terminal, wherein the to-be-checked drawing is a house type drawing corresponding to a target house, and identifying all door information contained in the target house according to the house type drawing;
screening entry doors which accord with the attributes of the side hung doors from the door information to extract the side hung door information corresponding to the entry doors, wherein the side hung door information comprises the outline information and the coordinate information of the entry doors;
acquiring opening direction information of a corresponding entrance door according to the contour information and the coordinate information of the entrance door, and judging whether the entrance door is an outward opening door or not according to the opening direction information;
and if the entrance door is an outward side hung door, checking the door information of the outward side hung door according to a preset checking strategy so as to judge whether the entrance door violates the preset checking rule or not and outputting a checking result.
In summary, according to the above intelligent examination method for the house door installation drawing, the examination efficiency can be greatly improved by automatically examining the house door in the house type drawing by using a specific examination rule. The method includes the steps of actively acquiring a to-be-inspected drawing uploaded by a scanning terminal, identifying all door information contained in the to-be-inspected drawing, screening out a door meeting the attribute of a vertical hinged door from the door information to obtain vertical hinged door information, acquiring the opening direction of the corresponding vertical hinged door according to the outline and the coordinates of the vertical hinged door included in the vertical hinged door information to judge whether the door is a vertical hinged door with an outward opening direction, and if the door is an outward vertical hinged door, inspecting the door with the attribute of the outward vertical hinged door based on a preset inspection strategy to automatically judge whether the door in the door type drawing violates a preset inspection detail, so that a final inspection result is obtained, the traditional method of manually inspecting the drawing is effectively replaced, and the problem of low efficiency caused by manual inspection is solved.
Further, the step of screening out an entry door meeting the attributes of the side hung door from the door information to extract the side hung door information corresponding to the entry door, wherein the step of the side hung door information including the profile information and the coordinate information of the entry door includes:
acquiring a minimum external rectangle outline corresponding to a target door area according to the door information, and acquiring a minimum external rectangle outline corresponding to the target residential area according to the house type drawing, wherein the target door is any one of all door information contained in the target residence;
acquiring a first intersection value between the minimum external rectangle area corresponding to a target door area and the minimum external rectangle area corresponding to a target residential area, and acquiring a first ratio of the first intersection value to the minimum external rectangle area corresponding to a target vertical hinged door area;
judging whether the first ratio is smaller than a first preset ratio or not;
and if the first ratio is smaller than the first preset ratio, judging that the target door is an entrance door meeting the attribute of the vertical hinged door.
Further, the step of acquiring opening direction information of the corresponding entry door according to the profile information and the coordinate information of the entry door, and judging whether the entry door is an outward vertical hinged door according to the opening direction information includes:
acquiring the contour line of a target vertical hinged door area according to the contour information and the coordinate information of the entrance door, and extracting an arc line primitive or an elliptic arc primitive according to the contour line of the target vertical hinged door area;
acquiring a second intersection value of the minimum circumscribed rectangular area corresponding to the arc line primitive or the elliptical arc primitive of the target vertical hinged door and the minimum circumscribed rectangular area corresponding to the inner space of the sleeve, and acquiring a second ratio of the second intersection value to the minimum circumscribed rectangular area corresponding to the arc line primitive or the elliptical arc primitive of the target vertical hinged door, wherein the inner space of the sleeve comprises a bedroom area, a kitchen area, a living room area, a balcony area and a toilet area;
judging whether the second ratio is smaller than a second preset ratio or not;
if the second ratio is smaller than the second preset ratio, judging that the target vertical hinged door is an outward vertical hinged door;
and if the second ratio is greater than the second preset ratio, determining that the target vertical hinged door is an inward-opening door.
Further, if the entrance door is an outward side hung door, the door information of the outward side hung door is inspected according to a preset inspection strategy to judge whether the entrance door violates a preset inspection rule, and the step of outputting an inspection result includes:
acquiring the door leaf opening number of the outer vertical hinged door according to the door information corresponding to the outer vertical hinged door, and dividing the outer vertical hinged door into a single door leaf or a plurality of door leaves according to the door leaf opening number of the outer vertical hinged door;
and acquiring the external rectangle of each door in the multiple doors, and dividing the multiple doors into double doors or primary and secondary doors according to the area of the external rectangle of each door.
Further, the step of obtaining the external rectangle of each door of the multiple doors to divide the multiple doors into two doors or a child-mother door according to the area of the external rectangle of each door further includes:
expanding a target leaf door of the outward vertical hinged door by a first preset length outwards along the transverse direction to obtain an outward expansion area of the target leaf door after the target leaf door is expanded by the first preset length outwards, wherein the target leaf door is a leaf door of the single leaf door or a leaf door with the largest area in the multiple leaf doors;
acquiring a wall line in the target residential area from the house type drawing, and judging whether an externally expanded area of the target door, which is expanded by a first preset length, is overlapped with the wall line of the target residential area;
if the superposition does not exist, generating a detection perpendicular line with a second preset length along the opening direction of the target door leaf, and judging whether the detection perpendicular line is intersected with the wall line of the target residential area;
and if the detection vertical line is intersected with a wall line, judging that the outer vertical hinged door corresponding to the target leaf door violates a first preset fine examination rule.
Further, the step of determining whether the detected perpendicular line intersects with the wall line of the target residential area further includes:
if the detection vertical line does not intersect with the wall line, acquiring a minimum circumscribed rectangular area of the target door;
judging whether the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors or not;
and if the target door is overlapped, judging that the target door violates a second preset scrutiny rule.
Further, after the step of determining whether the extended area of the target door extended by the first preset length coincides with the wall line of the target residential area, the method further includes:
if the wall line of the expanded region of the target door leaf after the expansion by the first preset length is overlapped with the wall line of the target residential region, acquiring the minimum external rectangular region of the target door;
judging whether the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors or not;
and if the coincidence exists, judging that the target door violates a second preset fine inspection rule.
The intelligent checking system for the door installation drawing is applied to electronic equipment and comprises the following components:
the door information identification module is used for acquiring a to-be-checked drawing uploaded by a scanning terminal, wherein the to-be-checked drawing is a house type drawing corresponding to a target house, and identifying all door information contained in the target house according to the house type drawing;
the entrance door retrieval module is used for screening entrance doors which accord with the attributes of the side hung doors from the door information so as to extract the side hung door information corresponding to the entrance doors, and the side hung door information comprises the outline information and the coordinate information of the entrance doors;
the door direction identification module is used for acquiring opening direction information of a corresponding entrance door according to the outline information and the coordinate information of the entrance door and judging whether the entrance door is an outward vertical hinged door or not according to the opening direction information;
and the examination execution module is used for examining the door information of the outer vertical hinged door according to a preset examination strategy if the entrance door is the outer vertical hinged door so as to judge whether the entrance door violates a preset examination rule and output an examination result.
In another aspect, the present invention further provides a storage medium, which includes one or more programs stored in the storage medium, and when executed, the intelligent censoring method for the door installation drawing is implemented as described above.
Another aspect of the present invention also provides an electronic device, which includes a memory and a processor, wherein:
the memory is used for storing computer programs;
the processor is used for realizing the intelligent examination method of the door installation drawing when executing the computer program stored in the memory.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart of an intelligent examination method for a door installation drawing according to a first embodiment of the present invention;
FIG. 2 is a detailed diagram of step S02 in the first embodiment of the present invention;
fig. 3 is a flowchart of an intelligent examination method for a door installation drawing according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an intelligent auditing system of a door installation drawing according to a third embodiment of the present invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, a flowchart of a method for intelligently reviewing a door installation drawing according to a first embodiment of the present invention is shown, the method being applied to an electronic device, and the method including steps S01 to S04, wherein:
step S01: acquiring a to-be-checked drawing uploaded by a scanning terminal, wherein the to-be-checked drawing is a house type drawing corresponding to a target house, and identifying all door information contained in the target house according to the house type drawing;
it can be understood that, in the process of actually reviewing the drawing, the electronic device first receives a scanning piece uploaded by the drawing to be reviewed by the scanning terminal, where the scanning piece includes the subject of the review, i.e., the house door in the house-type drawing.
Step S02: screening entry doors which accord with the attributes of the side hung doors from the door information to extract the side hung door information corresponding to the entry doors, wherein the side hung door information comprises the outline information and the coordinate information of the entry doors;
the door information includes all door information included in the house such as a bedroom door, a kitchen door, a bathroom door, and an entrance door, and therefore, it is necessary to screen the target entrance door for the current examination from the door information.
Please refer to fig. 2, step S02 includes steps S021 to S024, in which:
step S021: acquiring a minimum external rectangle outline corresponding to a target door area according to the door information, and acquiring a minimum external rectangle outline corresponding to the target residential area according to the house type drawing, wherein the target door is any one of all door information contained in the target residence;
the method includes the steps that a to-be-checked drawing is a house type drawing corresponding to a daily house, the house type drawing is divided into regions, region names are marked in the regions, and based on the fact that after the to-be-checked drawing is received by electronic equipment, the region names of the regions in the house type drawing are firstly identified through a trained model algorithm, doors are retrieved from all the region names, and then contour lines where the doors are located are obtained through identification.
Furthermore, after the contour line of the door is obtained, the area of the door is accurately locked, and therefore the minimum external rectangle corresponding to the target door area is simulated according to the contour line of the door.
The purpose of simulating the minimum external rectangle is that each area contained in the actual house type drawing may be an irregular figure, and the house type drawing corresponding to the house itself may also be an irregular figure.
Step S022: acquiring a first intersection value between the minimum external rectangle area corresponding to a target door area and the minimum external rectangle area corresponding to a target residential area, and acquiring a first ratio of the first intersection value to the minimum external rectangle area corresponding to a target vertical hinged door area;
it should be noted that after the contour corresponding to the target door region is obtained, the minimum circumscribed rectangle can be effectively simulated, so that the area of the minimum circumscribed rectangle is accurately obtained.
Step S023: judging whether the first ratio is smaller than a first preset ratio or not;
step S024: and if the first ratio is smaller than the first preset ratio, judging that the target door is an entrance door meeting the attribute of the vertical hinged door.
It can be understood that the target door meeting the attribute of the vertical hinged door is the entrance door, i.e. the target of the current examination, and then the vertical hinged door information corresponding to the locked entrance door is extracted from the door information.
Step S03: acquiring opening direction information of a corresponding entrance door according to the contour information and the coordinate information of the entrance door, and judging whether the entrance door is an outward opening door or not according to the opening direction information;
it should be noted that, after the identified door meeting the attribute of the vertical hinged door is identified, in order to further determine the opening direction of the vertical hinged door so as to examine the vertical hinged doors in different opening directions, the electronic device needs to identify whether the door is opened outward or inward according to the profile information and the coordinate information of the vertical hinged door.
Step S04: and if the entrance door is an outward side hung door, checking the door information of the outward side hung door according to a preset checking strategy so as to judge whether the entrance door violates the preset checking rule or not and outputting a checking result.
It should be noted that, in this embodiment, the audit rule includes two rules, the first rule is that an outward-opened door should not obstruct public transportation, the second rule is that an outward-opened door should not obstruct the opening of an adjacent door, the door is accurately retrieved from the house type drawing, and then the door is audited according to the preset audit rule, so as to determine whether the sliding door information corresponding to the door violates the relevant audit rule, and then output the final audit result, thereby completing the automatic audit work of the drawing on the door.
In summary, according to the above intelligent examination method for the house door installation drawing, the examination efficiency can be greatly improved by automatically examining the house door in the house type drawing by using a specific examination rule. The method comprises the steps of actively acquiring a to-be-inspected drawing uploaded by a scanning terminal, identifying all door information contained in the to-be-inspected drawing, screening out a door meeting the attribute of a vertical hinged door from the door information to obtain vertical hinged door information, acquiring the opening direction of the corresponding vertical hinged door according to the outline and coordinates of the vertical hinged door included in the vertical hinged door information to judge whether the door is a vertical hinged door with an outward opening direction, and if the door is an outward vertical hinged door, inspecting the door with the attribute of the outward vertical hinged door based on a preset inspection strategy to automatically judge whether the door in the house type drawing violates a preset inspection detail to obtain a final inspection result, thereby effectively replacing the traditional mode of manually inspecting the drawing and solving the problem of low efficiency caused by manual inspection.
Referring to fig. 3, a flowchart of a method for intelligently reviewing a door installation drawing according to a second embodiment of the present invention is shown, the method being applied to an electronic device, and the method including steps S11 to S20, wherein:
step S11: acquiring a to-be-checked drawing uploaded by a scanning terminal, wherein the to-be-checked drawing is a house type drawing corresponding to a target house, and identifying all door information contained in the target house according to the house type drawing;
step S12: screening entry doors which accord with the attributes of the side hung doors from the door information to extract the side hung door information corresponding to the entry doors, wherein the side hung door information comprises the outline information and the coordinate information of the entry doors;
step S13: acquiring the contour line of a target vertical hinged door area according to the contour information and the coordinate information of the entrance door, and extracting an arc line primitive or an elliptic arc primitive according to the contour line of the target vertical hinged door area;
it should be noted that, a door area in a house drawing generally includes an area scanned from closing to opening of the door, and based on this, an arc-shaped outline part, that is, an arc-shaped primitive or an elliptical-arc primitive in the area can be valid according to a contour line of a target vertical hinged door area.
Step S14: acquiring a second intersection value of the minimum circumscribed rectangular area corresponding to the arc line primitive or the elliptical arc primitive of the target vertical hinged door and the minimum circumscribed rectangular area corresponding to the inner space of the sleeve, and acquiring a second ratio of the second intersection value to the minimum circumscribed rectangular area corresponding to the arc line primitive or the elliptical arc primitive of the target vertical hinged door;
it is understood that, in this step, the interior space of the sleeve includes a bedroom area, a kitchen area, a living room area, a balcony area and a bathroom area, and the areas are obtained by identifying the area names.
Further, after a second ratio is obtained, the opening direction of the target vertical hinged door can be effectively analyzed by judging whether the second ratio is smaller than a second preset ratio, and the method specifically comprises the following steps: if the second ratio is smaller than the second preset ratio, judging that the target vertical hinged door is an outward vertical hinged door; and if the second ratio is greater than the second preset ratio, determining that the target vertical hinged door is an inward-opening door. In this embodiment, if it is recognized that the target side hung door is an inner side hung door, the examination is ended.
It should be noted that, in this embodiment, the set second preset ratio is 0.5, that is, if the intersection ratio of the minimum circumscribed rectangular area corresponding to the target vertical hinged door to the minimum circumscribed rectangular area corresponding to the inner space of the sleeve is less than 0.5, it indicates that the overlap ratio between the scanned area of the target vertical hinged door from closing to opening and the inner space of the sleeve is low, so the target vertical hinged door is the outer vertical hinged door.
In addition, because the house type building figures are various, the drawing methods of designers are various, the situation that the outlines of some outer house doors are partially embedded into the house type can occur, and on the basis, the obtained second intersection value is generally not zero, so that the purpose of obtaining the second ratio is mainly to monitor whether the coincidence degree between the outline space of the target vertical hinged door and the inner space of the house type door is in a lower range, namely to confirm that the target vertical hinged door is the outer vertical hinged door.
Step S15: expanding a target leaf door of the outward vertical hinged door by a first preset length outwards along the transverse direction to obtain an outward expansion area of the target leaf door after the target leaf door is expanded by the first preset length outwards, wherein the target leaf door is a leaf door of the single leaf door or a leaf door with the largest area in the multiple leaf doors;
before obtaining a target leaf of the outer side-hung door, the electronic device further needs to obtain the leaf opening number of the outer side-hung door according to the outer side-hung door information, so as to divide the outer side-hung door into a single leaf or multiple leaves according to the leaf opening number of the outer side-hung door; that is, if it is recognized that the number of the currently opened door leaves of the outward vertical hinged door is 1, the outward vertical hinged door is a single-leaf door, and if it is recognized that the number of the currently opened door leaves of the outward vertical hinged door is 2, the outward vertical hinged door is a multi-leaf door.
Further, due to the fact that the doors of the multiple doors may have different sizes, based on the situation, the external rectangles of the doors of the multiple doors need to be obtained, so that the multiple doors are divided into the double doors or the child-mother doors according to the area of the external rectangles of the doors, if the areas of the external rectangles of the two doors are consistent, the external vertical hinged door is the double door, and if the areas of the external rectangles of the two doors are inconsistent, the external vertical hinged door is the child-mother door.
Specifically, for a single-leaf door, the target leaf door is a leaf door which can be opened by the single-leaf door, and for a multi-leaf door, the target leaf door is one of two leaf doors which can be opened, or the target leaf door is a leaf door with the largest minimum external rectangular area in a mother-son door, so that after the target leaf door of one of the external vertical hinged doors is locked by the electronic device, the target leaf door is expanded outwards.
Step S16: acquiring a wall line in the target residential area from the house type drawing, and judging whether an outward expansion area of the target door expanded by a first preset length is overlapped with the wall line of the target residential area;
the first preset length is set according to actual examination rules, and in the present embodiment, the first preset length is 500 mm.
Further, if the external expansion area of the target door after the external expansion by the first preset length is overlapped with the wall line of the target residential area, acquiring a minimum external rectangular area of the target door; judging whether the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors or not; if the coincidence exists, the target door is judged to violate a second preset fine inspection rule
Step S17: if the superposition does not exist, generating a detection perpendicular line with a second preset length along the opening direction of the target door leaf, and judging whether the detection perpendicular line is intersected with the wall line of the target residential area;
it should be noted that, if it is recognized that the expanded area corresponding to the target door does not intersect and coincide with the wall line, the target door may obstruct public transportation, and based on this, the electronic device makes a detection perpendicular line of a second preset length along the opening direction of the target door, so as to further confirm whether the target door affects public transportation.
It is understood that the second preset length is set according to the examination rule, in this embodiment, the second preset length is specifically 1200mm, and in other embodiments of the present invention, the second preset length may also be set to other values according to the actual examination rule.
Step S18: and if the detection vertical line is intersected with the wall line, judging that the outer vertical hinged door corresponding to the target leaf door violates a first preset fine examination rule.
In this step, the first preset fine inspection rule is that the outward-opened doors should not obstruct public transportation, and if it is recognized that the generated detection perpendicular line is still intersected with the wall line, the outward-sliding door corresponding to the target leaf door violates the first preset fine inspection rule, and at this time, the electronic device will automatically mark the outward-sliding door violating the first preset fine inspection rule, so that the staff can check the outward-sliding door according to the inspection result.
Step S19: judging whether the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors or not;
it should be noted that the target door is an entrance door corresponding to the target residence, and if the detection perpendicular line does not intersect with the wall line, the minimum circumscribed rectangular area of the target door is obtained; and thus, the target door is inspected aiming at the second preset inspection rule, and the target door is aimed at all the outer vertical hinged doors and the inner vertical hinged doors.
If the extended area of the target door extended by the first preset length coincides with the wall line of the target residential area, the target door corresponding to the target door needs to be repeatedly determined, that is, whether the target door including the target door is obstructed by other doors is determined.
Step S20: and if the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors, judging that the target door violates a second preset fine examination rule.
It should be noted that, in this embodiment, the second preset fine audit rule is that the outward opening doors should not prevent the adjacent doors from opening, if the electronic device recognizes that the minimum circumscribed rectangular region of the target door overlaps with the minimum circumscribed rectangular regions of the other doors, the second preset fine audit rule is violated, otherwise, if the overlap does not exist, the second preset fine audit rule is not violated.
And summarizing the examination results of the first preset examination rule and the second examination rule to output a final examination result, thereby completing the automatic examination work of the house type drawing.
In summary, according to the above intelligent examination method for the house door installation drawing, the examination efficiency can be greatly improved by automatically examining the house door in the house type drawing by using a specific examination rule. The method comprises the steps of actively acquiring a to-be-inspected drawing uploaded by a scanning terminal, identifying all door information contained in the to-be-inspected drawing, screening out a door meeting the attribute of a vertical hinged door from the door information to obtain vertical hinged door information, acquiring the opening direction of the corresponding vertical hinged door according to the outline and coordinates of the vertical hinged door included in the vertical hinged door information to judge whether the door is a vertical hinged door with an outward opening direction, and if the door is an outward vertical hinged door, inspecting the door with the attribute of the outward vertical hinged door based on a preset inspection strategy to automatically judge whether the door in the house type drawing violates a preset inspection detail to obtain a final inspection result, thereby effectively replacing the traditional mode of manually inspecting the drawing and solving the problem of low efficiency caused by manual inspection.
Referring to fig. 4, a schematic structural diagram of an intelligent household installation drawing review system according to a third embodiment of the present invention is shown, where the system is applied to an electronic device, and the system includes:
the door information identification module 10 is used for acquiring a to-be-checked drawing uploaded by a scanning terminal, wherein the to-be-checked drawing is a house type drawing corresponding to a target house, and identifying all door information contained in the target house according to the house type drawing;
the entrance door retrieval module 20 is configured to screen an entrance door meeting the attributes of a side hung door from the door information to extract side hung door information corresponding to the entrance door, where the side hung door information includes profile information and coordinate information of the entrance door;
further, the entry retrieval module 20 includes:
the external rectangular contour extraction unit is used for acquiring a minimum external rectangular contour corresponding to a target door area according to the door information and acquiring a minimum external rectangular contour corresponding to the target residential area according to the house type drawing, wherein the target door is any one of all door information contained in the target house;
the first intersection value calculation unit is used for acquiring a first intersection value between the minimum circumscribed rectangle area corresponding to the target door area and the minimum circumscribed rectangle area corresponding to the target residential area, and acquiring a first ratio of the first intersection value to the minimum circumscribed rectangle area corresponding to the target vertical hinged door area;
the first analysis unit is used for judging whether the first ratio is smaller than a first preset ratio or not;
and the side hung door judging unit is used for judging that the target door is an entrance door which accords with the attribute of the side hung door if the first ratio is smaller than the first preset ratio.
The door direction identification module 30 is configured to obtain opening direction information of a corresponding door according to the profile information and the coordinate information of the door, and determine whether the door is an outward-sliding door according to the opening direction information;
further, the door direction identifying module 30 further includes:
the primitive extraction unit is used for acquiring the contour line of the target vertical hinged door area according to the contour information and the coordinate information of the entrance door and extracting an arc primitive or an elliptic arc primitive according to the contour line of the target vertical hinged door area;
the second intersection calculation unit is used for acquiring a second intersection value of the minimum external rectangular area corresponding to the arc line primitive or the elliptic arc primitive of the target vertical hinged door and the minimum external rectangular area corresponding to the inner space of the sliding door, and acquiring a second ratio of the second intersection value to the minimum external rectangular area corresponding to the arc line primitive or the elliptic arc primitive of the target vertical hinged door, wherein the inner space of the sliding door comprises a bedroom area, a kitchen area, a living room area, a balcony area and a bathroom area;
the second analysis unit is used for judging whether the second ratio is smaller than a second preset ratio or not;
the outer vertical hinged door judging unit is used for judging that the target vertical hinged door is the outer vertical hinged door if the second ratio is smaller than the second preset ratio;
an inner flat-open door determination unit, configured to determine that the target flat-open door is an inner flat-open door if the second ratio is greater than the second preset ratio
And the examination execution module 40 is configured to, if the entry door is an outward side hung door, examine door information of the outward side hung door according to a preset examination policy to determine whether the entry door violates a preset examination rule, and output an examination result.
Further, the examination execution module 40 further includes:
the door opening number acquiring unit is used for acquiring the door opening number of the outer vertical hinged door according to the door information corresponding to the outer vertical hinged door, so that the outer vertical hinged door is divided into a single door or a plurality of doors according to the door opening number of the outer vertical hinged door;
the door dividing unit is used for acquiring the external rectangle of each door in the multiple doors and dividing the multiple doors into double doors or primary and secondary doors according to the area of the external rectangle of each door;
the first outward expansion unit is used for expanding a target door leaf of the outward vertical hinged door by a first preset length outwards along the transverse direction to obtain an outward expansion area of the target door leaf after the target door leaf is expanded by the first preset length outwards, and the target door leaf is a door leaf of the single door leaf or a door leaf with the largest area in the multiple door leaves;
the wall line obtaining unit is used for obtaining a wall line in the target residential area from the house type drawing and judging whether an externally expanded area of the target door, which is expanded by a first preset length, is overlapped with the wall line of the target residential area;
the perpendicular line production unit is used for generating a detection perpendicular line with a second preset length along the opening direction of the target door leaf if no coincidence exists, and judging whether the detection perpendicular line is intersected with a wall line of the target residential area;
the first examination result output unit is used for judging that the outer vertical hinged door corresponding to the target leaf door violates a first preset examination rule if the detection vertical line is intersected with the wall line;
the target door identification unit is used for acquiring a minimum external rectangular area of the target door if the detection vertical line does not intersect with the wall line;
the third analysis unit is used for judging whether the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors;
and the second examination result output unit is used for judging that the target door violates a second preset examination rule if the target door coincides with the second preset examination rule.
In summary, according to the above intelligent examination system for the house door installation drawing, the examination efficiency can be greatly improved by automatically examining the house door in the house type drawing by using a specific examination rule. The method includes the steps of actively acquiring a to-be-inspected drawing uploaded by a scanning terminal, identifying all door information contained in the to-be-inspected drawing, screening out a door meeting the attribute of a vertical hinged door from the door information to obtain vertical hinged door information, acquiring the opening direction of the corresponding vertical hinged door according to the outline and the coordinates of the vertical hinged door included in the vertical hinged door information to judge whether the door is a vertical hinged door with an outward opening direction, and if the door is an outward vertical hinged door, inspecting the door with the attribute of the outward vertical hinged door based on a preset inspection strategy to automatically judge whether the door in the door type drawing violates a preset inspection detail, so that a final inspection result is obtained, the traditional method of manually inspecting the drawing is effectively replaced, and the problem of low efficiency caused by manual inspection is solved.
In another aspect, the present invention further provides a computer storage medium, on which one or more programs are stored, which when executed by a processor implement the intelligent censoring method for a door installation drawing described above.
The invention also provides an electronic device, which comprises a memory and a processor, wherein the memory is used for storing the computer program, and the processor is used for executing the computer program stored in the memory, so as to implement the intelligent examination method for the door installation drawing.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

Claims (9)

1. An intelligent examination method for a door installation drawing is applied to electronic equipment, and comprises the following steps:
acquiring a to-be-checked drawing uploaded by a scanning terminal, wherein the to-be-checked drawing is a house type drawing corresponding to a target house, and identifying all door information contained in the target house according to the house type drawing;
screening entry doors which accord with the attributes of the side hung doors from the door information to extract the side hung door information corresponding to the entry doors, wherein the side hung door information comprises the outline information and the coordinate information of the entry doors;
acquiring opening direction information of a corresponding entrance door according to the contour information and the coordinate information of the entrance door, and judging whether the entrance door is an outward opening door or not according to the opening direction information;
if the entrance door is an outward side hung door, the door information of the outward side hung door is inspected according to a preset inspection strategy so as to judge whether the entrance door violates a preset inspection rule or not, and an inspection result is output, wherein:
the method comprises the steps that a target leaf door of an outward side hung door is expanded outwards along the transverse direction by a first preset length to obtain an outward expansion area of the target leaf door after the target leaf door is expanded outwards by the first preset length, wherein the target leaf door is a leaf door of a single leaf door or a leaf door with the largest area in multiple leaves;
acquiring a wall line in a target residential area from the house type drawing, and judging whether an outward expansion area of the target door expanded by a first preset length is overlapped with the wall line of the target residential area;
if the external expansion area of the target door with the external expansion first preset length does not coincide with the wall line of the target residential area, generating a detection perpendicular line with a second preset length along the opening direction of the target door, and judging whether the detection perpendicular line is intersected with the wall line of the target residential area;
if the detection vertical line is intersected with the wall line, the fact that the outer vertical hinged door corresponding to the target leaf door violates a first preset fine check is judged, and the first preset fine check is that the outward-opened door cannot hinder public transportation.
2. The intelligent examination method for the door installation drawings according to claim 1, wherein the step of screening the entry door meeting the properties of the side hung door from the door information to extract the side hung door information corresponding to the entry door, wherein the step of the side hung door information including the outline information and the coordinate information of the entry door comprises the steps of:
acquiring a minimum external rectangle outline corresponding to a target door area according to the door information, and acquiring a minimum external rectangle outline corresponding to the target residential area according to the house type drawing, wherein the target door is any one of all door information contained in the target residence;
acquiring a first intersection value between the minimum external rectangle area corresponding to a target door area and the minimum external rectangle area corresponding to a target residential area, and acquiring a first ratio of the first intersection value to the minimum external rectangle area corresponding to a target vertical hinged door area;
judging whether the first ratio is smaller than a first preset ratio or not;
and if the first ratio is smaller than the first preset ratio, judging that the target door is an entrance door meeting the attribute of the vertical hinged door.
3. The intelligent examination method for the door installation drawing of claim 2, wherein the step of obtaining the opening direction information of the corresponding door according to the profile information and the coordinate information of the door, and judging whether the door is an outward opening door according to the opening direction information comprises:
acquiring the contour line of a target vertical hinged door area according to the contour information and the coordinate information of the entrance door, and extracting an arc line primitive or an elliptic arc primitive according to the contour line of the target vertical hinged door area;
acquiring a second intersection value of the minimum circumscribed rectangular area corresponding to the arc line primitive or the elliptical arc primitive of the target vertical hinged door and the minimum circumscribed rectangular area corresponding to the inner space of the sleeve, and acquiring a second ratio of the second intersection value to the minimum circumscribed rectangular area corresponding to the arc line primitive or the elliptical arc primitive of the target vertical hinged door, wherein the inner space of the sleeve comprises a bedroom area, a kitchen area, a living room area, a balcony area and a toilet area;
judging whether the second ratio is smaller than a second preset ratio or not;
if the second ratio is smaller than the second preset ratio, judging that the target vertical hinged door is an outer vertical hinged door;
and if the second ratio is greater than the second preset ratio, determining that the target vertical hinged door is an inward-opening door.
4. The intelligent household door installation drawing examination method of claim 1, wherein if the household door is an outward vertical hinged door, the door information of the outward vertical hinged door is examined according to a preset examination strategy to judge whether the household door violates a preset examination rule, and the step of outputting the examination result comprises:
acquiring the door leaf opening number of the outer vertical hinged door according to the door information corresponding to the outer vertical hinged door, and dividing the outer vertical hinged door into a single door leaf or a plurality of door leaves according to the door leaf opening number of the outer vertical hinged door;
and acquiring the external rectangle of each door in the multiple doors, and dividing the multiple doors into double doors or primary and secondary doors according to the area of the external rectangle of each door.
5. The intelligent examination method of door installation drawings according to claim 4, wherein the step of determining whether the detection vertical line intersects with the wall line of the target residential area further comprises:
if the detection vertical line does not intersect with the wall line, acquiring a minimum circumscribed rectangular area of the target door;
judging whether the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors or not;
and if the overlap exists, judging that the target door violates a second preset examination detail, wherein the second preset examination detail is that the outward-opened door does not hinder the opening of the adjacent door.
6. The intelligent examination method for the door installation drawings as claimed in claim 4, wherein the step of judging whether the outward expansion area of the target door expanded by the first preset length is coincident with the wall line of the target residential area further comprises:
if the external expansion area of the target door after the external expansion by the first preset length is superposed with the wall line of the target residential area, acquiring the minimum external rectangular area of the target door;
judging whether the minimum circumscribed rectangular area of the target door is overlapped with the minimum circumscribed rectangular areas of other doors or not;
and if the coincidence exists, judging that the target door violates a second preset fine inspection rule.
7. The utility model provides a house door installation drawing intelligence is examined and is reviewed system which characterized in that, is applied to electronic equipment, house door installation drawing intelligence is examined and is reviewed system and include:
the door information identification module is used for acquiring a to-be-checked drawing uploaded by a scanning terminal, wherein the to-be-checked drawing is a house type drawing corresponding to a target house, and identifying all door information contained in the target house according to the house type drawing;
the entrance door retrieval module is used for screening entrance doors which accord with the attributes of the side hung doors from the door information so as to extract the side hung door information corresponding to the entrance doors, and the side hung door information comprises the outline information and the coordinate information of the entrance doors;
the door direction identification module is used for acquiring opening direction information of the corresponding entrance door according to the contour information and the coordinate information of the entrance door and judging whether the entrance door is an outward vertical hinged door or not according to the opening direction information;
the examination execution module is used for examining the door information of the outward vertical hinged door according to a preset examination strategy if the entrance door is the outward vertical hinged door so as to judge whether the entrance door violates a preset examination rule and output an examination result;
the first outward expansion unit is used for expanding a target door leaf of the outward vertical hinged door by a first preset length outwards along the transverse direction to obtain an outward expansion area of the target door leaf after the target door leaf is expanded by the first preset length outwards, and the target door leaf is a door leaf of a single door leaf or a door leaf with the largest area in a plurality of door leaves;
the wall line obtaining unit is used for obtaining a wall line in a target residential area from the house type drawing, and judging whether an outward expansion area of the target door expanded by a first preset length is overlapped with the wall line of the target residential area;
the vertical line generating unit is used for generating a detection vertical line with a second preset length along the opening direction of the target door sash if the expanded area of the target door sash expanded by the first preset length does not coincide with the wall line of the target residential area, and judging whether the detection vertical line is intersected with the wall line of the target residential area;
and the first examination result output unit is used for judging that the outer vertical hinged door corresponding to the target leaf door violates a first preset examination detail if the detection vertical line intersects with a wall line, and the first preset examination detail is that the outward opened door cannot obstruct public transportation.
8. A storage medium, comprising: the storage medium stores one or more programs which, when executed by a processor, implement the intelligent review method of the house door installation drawing of any one of claims 1 to 6.
9. An electronic device, comprising a memory and a processor, wherein:
the memory is used for storing computer programs;
the processor is used for implementing the intelligent examination method of the door installation drawing of any one of claims 1 to 6 when executing the computer program stored in the memory.
CN202210744849.4A 2022-06-29 2022-06-29 Intelligent examination method and system for door installation drawing, storage medium and electronic equipment Active CN114821627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210744849.4A CN114821627B (en) 2022-06-29 2022-06-29 Intelligent examination method and system for door installation drawing, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744849.4A CN114821627B (en) 2022-06-29 2022-06-29 Intelligent examination method and system for door installation drawing, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114821627A CN114821627A (en) 2022-07-29
CN114821627B true CN114821627B (en) 2022-09-27

Family

ID=82522831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744849.4A Active CN114821627B (en) 2022-06-29 2022-06-29 Intelligent examination method and system for door installation drawing, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114821627B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004050062A1 (en) * 2004-10-13 2006-04-27 Boehringer Ingelheim Microparts Gmbh Apparatus, meter and method for receiving and assaying or manipulating sample fluids in a microfluidic platform
CN109791281B (en) * 2016-10-04 2021-07-30 株式会社尼康 Light beam scanning device
CN111985291A (en) * 2020-02-19 2020-11-24 广东三维家信息科技有限公司 Method and device for identifying door in house type graph and electronic equipment
US11934510B2 (en) * 2020-12-17 2024-03-19 International Business Machines Corporation Using drawing capability as a credential or authentication mechanism via generative and adversarial network
CN114329688A (en) * 2021-11-19 2022-04-12 江西少科智能建造科技有限公司 Method and device for examining design of drainage system in construction drawing
CN114550187A (en) * 2022-01-24 2022-05-27 万翼科技有限公司 Method and device for identifying doors and windows in drawing, electronic equipment and storage medium
CN114241509B (en) * 2022-02-24 2022-07-08 江西少科智能建造科技有限公司 Space segmentation method, system, storage medium and equipment based on construction drawing

Also Published As

Publication number Publication date
CN114821627A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN114241509B (en) Space segmentation method, system, storage medium and equipment based on construction drawing
CN115471181A (en) Method, system, storage medium and equipment for checking building distribution diagram
CN111161379B (en) Indoor home automatic layout method based on deep learning empty house type feature detection
CN109086356A (en) The incorrect link relationship diagnosis of extensive knowledge mapping and modification method
CN110223284A (en) A kind of detection method and detection device of the pinhole cameras based on intelligent terminal
CN114821627B (en) Intelligent examination method and system for door installation drawing, storage medium and electronic equipment
CN109753286A (en) A method of the code method based on functional label counts its call number
CN112749434A (en) Construction inspection model processing method, device, equipment and storage medium
CN110309498A (en) The implementation method and device of examination report, and the method for generating examination report using it are generated based on parameter
Pekar et al. Improvement methods for software requirement specifications: a mapping study
Lange Improving the quality of UML models in practice
CN111476121A (en) Intelligent teaching supervision method, system, equipment and storage medium for online education
CN115510521A (en) Safety exit design examination method and system based on building drawing
CN115310167A (en) Method, system and equipment for examining household ventilation area based on building drawing
CN110275896A (en) Optical cable invasion construction event recognition method, device, equipment and readable storage medium storing program for executing
CN114359947A (en) Method and device for examining elevator design in building drawing
CN115310153A (en) Intelligent drawing checking method and system, readable storage medium and electronic equipment
CN114550187A (en) Method and device for identifying doors and windows in drawing, electronic equipment and storage medium
CN107870898B (en) Domain semantic web modeling method oriented to engineering application
CN110019323A (en) A kind of check method of electrical cabinet component cable
CN113947303A (en) Intelligent quantification method for fire-fighting acceptance check
CN113486974A (en) Pathological image recognition and classification method, system and medium based on glomerulus
KR20200123891A (en) Method and apparatus for providing quality information of application
TWI715428B (en) Identification method, identification device and identification system of cell image
CN110189019A (en) Airport Internet of things node equipment working state dynamic early-warning method and system

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
GR01 Patent grant
GR01 Patent grant