CN109840376B - Method and device for reading house-type graph and storage medium - Google Patents

Method and device for reading house-type graph and storage medium Download PDF

Info

Publication number
CN109840376B
CN109840376B CN201910082366.0A CN201910082366A CN109840376B CN 109840376 B CN109840376 B CN 109840376B CN 201910082366 A CN201910082366 A CN 201910082366A CN 109840376 B CN109840376 B CN 109840376B
Authority
CN
China
Prior art keywords
information
name
room
house type
determining
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
CN201910082366.0A
Other languages
Chinese (zh)
Other versions
CN109840376A (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.)
Sikong Customized Home Technology Co ltd
Original Assignee
Sikong Customized Home 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 Sikong Customized Home Technology Co ltd filed Critical Sikong Customized Home Technology Co ltd
Priority to CN201910082366.0A priority Critical patent/CN109840376B/en
Publication of CN109840376A publication Critical patent/CN109840376A/en
Application granted granted Critical
Publication of CN109840376B publication Critical patent/CN109840376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for reading a house-type graph and a storage medium. The method comprises the following steps: acquiring a house type graph; determining name and location information of a room name marked in the house type graph, wherein the name and location information is used for indicating the position of the room name in the house type graph; determining wall information of a wall surrounding the room name according to the name location information; and determining the room information of the room corresponding to the room name according to the name and position information and the wall information. The technical effect that the house type graph is subjected to big datamation, and the requirements of different users on different house types can be met conveniently is achieved. And then solved the current house type identification mode who exists among the prior art and designed again according to the house type size sign on the picture by the manual work, had that the speed of drawing is slow, work efficiency is low and the uncontrollable technical problem of quality of drawing.

Description

Method and device for reading house-type graph and storage medium
Technical Field
The present application relates to the field of physical measurement and artificial intelligence, and in particular, to a method, an apparatus, and a storage medium for reading a house-type diagram.
Background
The existing house-type picture recognition is carried out manually, after a designer takes a house-type picture, the designer needs to reuse an AutoCAD system to design the house-type picture once according to the size identification of the house-type picture, and the wall, the door and the window, the furniture and the like are drawn manually, so that the drawing speed is low, a large amount of labor time is needed, and the efficiency is low. And the quality of the CAD graph is uncontrollable, and the effect of the drawn graph is completely dependent on the level of a designer.
Aiming at the technical problems that the existing house type identification mode in the prior art is designed again manually according to the house type size identification on the picture, the picture drawing speed is low, the working efficiency is low and the drawing quality is uncontrollable, and an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and a storage medium for reading a house type graph, so as to at least solve the technical problems that in the prior art, the existing house type identification mode is designed again manually according to the house type size identification on the graph, the graph plotting speed is slow, the working efficiency is low and the graph plotting quality is uncontrollable.
According to an aspect of an embodiment of the present disclosure, there is provided a method for reading a user-type graph, including: acquiring a house type graph; determining name and position information of a room name marked in the house type graph, wherein the name and position information is used for indicating the position of the room name in the house type graph; determining wall information of a wall surrounding the name of the room according to the name location information; and determining room information of the room corresponding to the room name according to the name location information and the wall information.
According to another aspect of the embodiments of the present disclosure, there is also provided a storage medium including a stored program, wherein the method of any one of the above is performed by a processor when the program is executed.
According to another aspect of the embodiments of the present disclosure, there is also provided a house layout reading apparatus, including: the acquisition module is used for acquiring a house type graph; the name and position information determining module is used for determining name and position information of the room name marked in the house type graph, wherein the name and position information is used for indicating the position of the room name in the house type graph; the wall information determining module is used for determining the wall information of the wall surrounding the room name according to the name and position information; and a room information determining module for determining room information of the room corresponding to the room name according to the name location information and the wall information.
According to another aspect of the embodiments of the present disclosure, there is also provided a house layout reading apparatus, including: a processor; and a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: acquiring a floor plan; determining name and position information of a room name marked in the house type graph, wherein the name and position information is used for indicating the position of the room name in the house type graph; determining wall information of a wall surrounding the room name according to the name location information; and determining the room information of the room corresponding to the room name according to the name position information and the wall information.
In the embodiment of the disclosure, a house type graph is obtained first, name and position information of a room name marked in the house type graph is determined, wall information of a wall surrounding the room name is determined based on the determined name and position information, and finally room information corresponding to the room name is determined according to the determined name and position information and the wall information. The method achieves the purpose of determining the room information corresponding to each room in the indoor type graph based on the existing indoor type graph. Therefore, the room information can be converted into image data required by corresponding drawing software based on the determined room information, so that a designer can design correspondingly based on the image data. Thereby achieving the technical effect of reducing the workload of designers of the house-type diagrams. Meanwhile, the house type graph is subjected to big datamation, and the requirements of different users on different house types can be met conveniently. And then solved the current house type identification mode who exists among the prior art and designed again according to the house type size sign on the picture by the manual work, had that the speed of drawing is slow, work efficiency is low and the uncontrollable technical problem of quality of drawing.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a hardware configuration block diagram of a computer terminal (or mobile device) for implementing the method according to embodiment 1 of the present disclosure;
fig. 2 is a schematic flow chart of a reading method of a house map according to the first aspect of embodiment 1 of the present disclosure;
fig. 3 is a schematic diagram of a house view according to embodiment 1 of the present disclosure;
fig. 4 is a schematic diagram of a house type graph for determining the main lying edge information according to embodiment 1 of the present disclosure;
FIG. 5 is a schematic illustration of an outdoor graph after a door is erased according to embodiment 1 of the present disclosure;
fig. 6 is a schematic diagram of a before-normalization floor plan according to embodiment 1 of the present disclosure;
fig. 7 is a schematic diagram of a house layout reading device according to embodiment 2 of the present disclosure; and
fig. 8 is a schematic diagram of a reader of a house graph according to embodiment 3 of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. It is to be understood that the described embodiments are merely exemplary of some, and not all, of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the present embodiment, a method embodiment of a method for reading a layout is provided, it should be noted that the steps illustrated in the flow chart of the figure can be executed in a computer system such as a set of computer executable instructions, and although a logical order is illustrated in the flow chart, in some cases, the steps illustrated or described can be executed in an order different from the order presented herein.
The method provided by the embodiment can be executed in a mobile terminal, a computer terminal or a similar operation device. Fig. 1 shows a hardware configuration block diagram of a computer terminal (or mobile device) for implementing the reading method of the user-type diagram. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …,102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the disclosed embodiments, the data processing circuit acts as a processor control (e.g., selection of variable resistance termination paths connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the reading method of the user-type diagram in the embodiment of the present disclosure, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implements the reading method of the user-type diagram of the application program. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
It should be noted that in some alternative embodiments, the computer device (or mobile device) shown in fig. 1 may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in the computer device (or mobile device) described above.
Under the operating environment described above, according to the first aspect of the present embodiment, there is provided a method for reading a user-type diagram, which is implemented by the computer terminal 10 shown in fig. 1. Fig. 2 shows a flow diagram of the method, which, with reference to fig. 2, comprises:
s202: acquiring a house type graph;
s204: determining name and position information of a room name marked in the house type graph, wherein the name and position information is used for indicating the position of the room name in the house type graph;
s206: determining wall information of a wall surrounding the name of the room according to the name location information; and
s208: the room information of the room corresponding to the room name is determined based on the name location information and the wall information.
As described in the foregoing background art, the existing house type graph recognition is performed manually, and after a designer takes a house type graph, the designer needs to design the house type graph again by using the AutoCAD system according to the size of the house type on the graph, and manually draws out a wall, a door, a window, furniture, and the like, so that the drawing speed is slow, a large amount of labor time is required, and the efficiency is low. And the quality of the CAD graph is uncontrollable, and the effect of the drawn graph is completely dependent on the level of a designer.
In view of the above-mentioned problems in the background art, the computer terminal 10 provided in the present embodiment first acquires a house view (for example, an image of the house view is acquired by scanning or shooting the house view) as shown in fig. 1. Wherein figure 3 shows a schematic view of a house diagram. As shown in fig. 3, information of a use function, a corresponding position, a size, etc. of each independent space is shown. The computer terminal 10 then determines name location information for the name of the room noted within the house type diagram. Wherein the name location information is used to indicate where the room name is located in the house type map. For example: the computer terminal 10 determines where the master is located in the floor plan, which is shown in reference to fig. 3 in the lower right hand corner of the floor plan.
Further, the computer terminal 10 determines wall information of a wall surrounding the name of the room according to the name location information. Then, the computer terminal 10 specifies the room information corresponding to the room name based on the specified name and location information and the wall information. For example: the computer terminal 10 determines the master-sleeping information corresponding to the master-sleeping position based on the determined position information of the master-sleeping position in the family diagram and the information of the walls surrounding the master-sleeping position. The master-lying information can comprise the following parts of information: the position of the master-sleeper in the house type figure, the wall information of the master-sleeper, the size of the master-sleeper, the position of a door of the master-sleeper, the position of a window of the master-sleeper and the like.
Therefore, in the present embodiment, the computer terminal 10 first obtains the house type map, then determines the name and location information of the room name marked in the house type map, then determines the wall information of the wall surrounding the room name based on the determined name and location information, and finally determines the room information corresponding to the room name according to the determined name and location information and the wall information. The purpose that the computer terminal 10 can determine the room information corresponding to each room in the house type graph based on the existing house type graph is achieved. Accordingly, the computer terminal 10 can convert the room information into image data required by the corresponding drawing software based on the determined respective room information, so that the designer can perform a corresponding design based on the image data. Thereby achieving the technical effect of reducing the workload of designers of the house-type diagrams. And then solved the current house type identification mode that exists among the prior art and designed again by the manual work according to the house type size sign on the picture, had that the speed of drawing is slow, work efficiency is low and the uncontrollable technical problem of drawing quality.
Optionally, the operation of determining name location information of a room name labeled in the house type graph includes: identifying the name of a room marked in the house type graph; and determining a location of the room name within the floor plan as name location information.
Specifically, the computer terminal 10 needs to identify the name of the room marked in the house type map by using an image recognition technology, and then determine the position of the name of the room in the house type map by using an image positioning technology. For example: the computer terminal 10 may use optical character recognition (i.e., OCR) technology to recognize characters in the house type map and convert the characters into text, thereby obtaining the room name. The computer terminal 10 then determines the location of the room name within the floor plan using image location techniques. In this way, the computer terminal 10 is thereby enabled to quickly determine where the room name within the house view is located within the house view.
Optionally, the operation of determining wall information of the wall surrounding the name of the room according to the name location information includes: determining edge information of an edge surrounding a room name; and determining wall information according to the edge information, wherein the wall information comprises the position, the extending direction, the length and the thickness of the wall.
In particular, FIG. 4 shows a schematic diagram of a family graph with the information of the main lying edge determined. Referring to fig. 4, the computer terminal 10 recognizes edge information of an object, i.e., edge information of a main lying, through an eight-way connectivity method, based on position information of the main lying in the family diagram. The computer terminal 10 then determines wall information surrounding the wall on which the master sleeper lies from the edge information. Wherein, the wall information may include: the location of the wall, the direction of extension, the length and thickness, etc.
Optionally, the operation of determining wall information of walls surrounding the room name according to the name location information further comprises, before determining the edge information, performing the following operations: identifying a door within the house graph; determining the position of a door in the house type graph as door position information; the doors in the house map are erased. And an operation of determining room information of a room corresponding to the room name, including: room information is determined based on the name location information, the wall information, and the door location information.
Specifically, referring to fig. 3, a sector structure portion in the floor plan refers to a door, and the pixels of the door and the wall in the floor plan are sufficiently close, so that the information of the door and the wall information are easily confused when determining the wall information. Thus, the computer terminal 10 needs to identify the door in the house type map and then determine the door position information where the door is located in the house type map before determining the wall information. And after determining the door position information, erasing the doors in the house type graph. Fig. 5 shows a schematic diagram after erasing the doors in the house view. As shown in fig. 5, the portion of the sector structure representing the door within the house view is erased in its entirety. Wherein the effect of erasing the gate in the house figure can be achieved by changing the pixels of the fan structure from black to white. The computer terminal 10 then determines room information based on the determined name location information, wall information, and door location information. Thus, in this way, the efficiency and accuracy of the wall information determined by the computer terminal 10 can be guaranteed by erasing the door in the house map. And the door position information of the door in the floor plan is determined before the information of the door in the floor plan is erased, so that the integrity of the room information determined by the computer terminal 10 is ensured.
Optionally, the method further comprises: identifying size information marked in the house type graph; and determining the location and area of the room within the custom map based on the identified dimensional information. Specifically, the computer terminal 10 may recognize the size information labeled in the house type drawing using an optical character recognition technique. For example: the horizontal axis and the vertical axis of the partial household-type graph are marked with dimension information represented by each scale respectively. The computer terminal 10 may then determine the location and area of the room within the floor plan based on the identified dimensional information.
Optionally, the method further comprises: identifying area information corresponding to each room marked in the house type graph; and determining an area of a room within the floor plan based on the identified area information. Specifically, the computer terminal 10 may identify area information corresponding to each room marked in the house type map by using an optical character recognition technology. For example: area information corresponding to each room is marked around each room name of the part of the household type graph. The computer terminal 10 may then determine the area of the floor plan based on the area information corresponding to each identified room. Namely, the area of the room in the house type graph is determined by calculating the sum of the area information corresponding to each room.
Optionally, the method further comprises: and generating the house type information corresponding to the house type graph according to the room information. Specifically, after determining the room information corresponding to each room name, the computer terminal 10 may generate the house type information corresponding to the house type map from the room information. Therefore, the room information of each room is determined first, and the house type information corresponding to the house type graph is generated, so that the effects of local to overall and complex to simple are achieved.
Optionally, the method further comprises: and converting the house type information into JSON house type information, and storing the JSON house type information. In this way, the computer terminal 10 can call the stored JSON house type information according to the actual requirement of the CAD designer and convert the JSON house type information into CAD image data required by the designer.
Optionally, before the operation of obtaining name and location information of the room name in the floor plan, the method includes: and carrying out normalization processing on the house type graph. Specifically, fig. 6 shows a schematic diagram of a floor plan before normalization processing is performed. Before the operation of acquiring the name and position information of the room name in the house type graph, the computer terminal 10 needs to perform normalization processing on the house type graph to change the image from gray to black, that is, the house type graphs in multiple formats are normalized into a standard house type graph, thereby reducing the burden of the computer terminal 10 in acquiring the name and position information of the room name in the house type graph.
Further, referring to fig. 1, according to a second aspect of the present embodiment, a storage medium 104 is provided. The storage medium 104 comprises a stored program, wherein the method of any of the above is performed by a processor when the program is run.
Therefore, in the present embodiment, the house type map is obtained first, then the name and location information of the room name marked in the house type map is determined, then the wall information of the wall surrounding the room name is determined based on the determined name and location information, and finally the room information corresponding to the room name is determined according to the determined name and location information and the wall information. The method achieves the purpose of determining the room information corresponding to each room in the indoor type graph based on the existing indoor type graph. Therefore, the room information can be converted into image data required by corresponding drawing software based on the determined room information, so that a designer can perform corresponding design based on the image data. Thereby achieving the technical effect of lightening the workload of designers of the floor plan. Meanwhile, the house type graph is subjected to big datamation, and the requirements of different users on different house types can be met conveniently. And then solved the current house type identification mode who exists among the prior art and designed again according to the house type size sign on the picture by the manual work, had that the speed of drawing is slow, work efficiency is low and the uncontrollable technical problem of quality of drawing.
It should be noted that for simplicity of description, the above-mentioned method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
Fig. 7 shows a reading apparatus 700 of a home graph according to the present embodiment, which apparatus 700 corresponds to the method according to the first aspect of embodiment 1. Referring to fig. 7, the apparatus 700 includes: an obtaining module 710, configured to obtain a floor plan; a name location information determining module 720, configured to determine name location information of a room name labeled in the house type diagram, where the name location information is used to indicate a location of the room name in the house type diagram; a wall information determining module 730 for determining wall information of a wall surrounding the name of the room according to the name location information; and a room information determination module 740 for determining room information of a room corresponding to the room name based on the name location information and the wall information.
Optionally, the name and location information determining module 720 includes: the identification submodule is used for identifying the room names marked in the house type graph; and a name location information determination submodule for determining a location of the room name within the floor plan as name location information.
Optionally, the wall information determining module 730 includes: an edge information determination sub-module for determining edge information of an edge surrounding the room name; and the wall information determining submodule is used for determining wall information according to the edge information, wherein the wall information comprises the position, the extending direction, the length and the thickness of the wall.
Optionally, the wall information determining module 730 further comprises: an execution submodule, configured to, before determining the edge information, perform the following: identifying a door within the house graph; determining the position of a door in the house type graph as door position information; and erasing doors within the floor plan, and the room information determination module 740, includes: the room information determination submodule determines room information based on the name position information, the wall information, and the door position information.
Optionally, the method further comprises: the size information identification module is used for identifying size information marked in the house type graph; and a location and area determination module for determining a location and area of a room within the custom figure based on the identified dimensional information.
Optionally, the method further comprises: the area information identification module is used for identifying area information corresponding to each room marked in the house type graph; and a house type graph area determining module for determining the area of the room in the house type graph according to the identified area information.
Optionally, the method further comprises: and the house type information generating module is used for generating the house type information corresponding to the house type graph according to the room information.
Optionally, the method further comprises: and the conversion module is used for converting the house type information into JSON house type information and storing the JSON house type information.
Optionally, the method further comprises: and the normalization module is used for performing normalization processing on the house type graph before the operation of acquiring the name and position information of the room name in the house type graph.
Thus, according to the present embodiment, the device 700 first obtains the house type diagram, then determines the name and location information of the room name marked in the house type diagram, then determines the wall information of the wall surrounding the room name based on the determined name and location information, and finally determines the room information corresponding to the room name according to the determined name and location information and the wall information. The method achieves the purpose of determining the room information corresponding to each room in the indoor type graph based on the existing indoor type graph. Therefore, the room information can be converted into image data required by corresponding drawing software based on the determined room information, so that a designer can design correspondingly based on the image data. Thereby achieving the technical effect of reducing the workload of designers of the house-type diagrams. Meanwhile, the house type graph is subjected to big datamation, and the requirements of different users on different house types can be met conveniently. And then solved the current house type identification mode who exists among the prior art and designed again according to the house type size sign on the picture by the manual work, had that the speed of drawing is slow, work efficiency is low and the uncontrollable technical problem of quality of drawing.
Example 3
Fig. 8 shows a reading device 800 of a home graph according to the present embodiment, which device 800 corresponds to the method according to the first aspect of embodiment 1. Referring to fig. 8, the apparatus 800 includes: a processor 810; and a memory 820 coupled to the processor 810 for providing instructions to the processor 810 to process the following process steps: acquiring a house type graph; determining name and position information of a room name marked in the house type graph, wherein the name and position information is used for indicating the position of the room name in the house type graph; determining wall information of a wall surrounding the name of the room according to the name location information; and determining room information of the room corresponding to the room name according to the name location information and the wall information.
Optionally, the operation of determining name location information of a room name labeled in the house type graph includes: identifying the name of a room marked in the house type graph; and determining a location of the room name within the floor plan as name location information.
Optionally, the operation of determining wall information of walls surrounding the room name according to the name location information includes: determining edge information of an edge surrounding the room name; and determining wall information according to the edge information, wherein the wall information comprises the position, the extending direction, the length and the thickness of the wall.
Optionally, the operation of determining wall information of walls surrounding the room name according to the name location information further comprises, before determining the edge information, performing the following operations: identifying a door within the house graph; determining the position of a door in the house type graph as door position information; and an operation of erasing a door within the floor plan and determining room information of a room corresponding to the room name, including: room information is determined from the name location information, the wall information, and the door location information.
Optionally, the memory 820 is further configured to provide the processor 810 with instructions for processing the following processing steps: identifying size information marked in the house type graph; and determining a location and an area of the room within the custom figure based on the identified dimensional information.
Optionally, the memory 820 is further configured to provide the processor 810 with instructions for processing the following processing steps: identifying area information corresponding to each room marked in the house type graph; and determining an area of a room within the floor plan based on the identified area information.
Optionally, the memory 820 is further configured to provide the processor 810 with instructions for processing the following processing steps: and generating the house type information corresponding to the house type graph according to the room information.
Optionally, the memory 820 is further configured to provide the processor 810 with instructions for processing the following processing steps: and converting the house type information into JSON house type information, and storing the JSON house type information.
Optionally, before the operation of obtaining name and location information of the room name in the floor plan, the method includes: and carrying out normalization processing on the house pattern graph.
Thus, according to the present embodiment, the device 800 first obtains the floor plan, then determines the name and location information of the room name in the floor plan, then determines the wall information of the wall surrounding the room name based on the determined name and location information, and finally determines the room information corresponding to the room name according to the determined name and location information and the wall information. The purpose that the room information corresponding to each room in the indoor type graph can be determined based on the existing indoor type graph is achieved. Therefore, the room information can be converted into image data required by corresponding drawing software based on the determined room information, so that a designer can design correspondingly based on the image data. Thereby achieving the technical effect of reducing the workload of designers of the house-type diagrams. Meanwhile, the house type graph is subjected to big datamation, and the requirements of different users on different house types can be met conveniently. And then solved the current house type identification mode who exists among the prior art and designed again according to the house type size sign on the picture by the manual work, had that the speed of drawing is slow, work efficiency is low and the uncontrollable technical problem of quality of drawing.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and amendments can be made without departing from the principle of the present invention, and these modifications and amendments should also be considered as the protection scope of the present invention.

Claims (7)

1. A method for reading a house-type graph, comprising:
acquiring a house type graph;
determining name and location information of a room name marked in the house type graph, wherein the name and location information is used for indicating the position of the room name in the house type graph;
the operation of determining name location information of a room name labeled in the house type diagram comprises the following operations:
identifying the name of a room marked in the house type graph; and
determining a location of the room name within the floor plan as the name location information;
determining wall information of a wall surrounding the room name according to the name location information; and
determining room information of a room corresponding to the room name according to the name and position information and the wall information;
an operation of determining wall information of walls surrounding the room name according to the name location information, comprising:
determining edge information of an edge surrounding the room name; and
determining the wall information according to the edge information, wherein the wall information comprises a position, an extending direction, a length and a thickness of the wall;
determining wall information of walls surrounding the room name from the name location information, further comprising, prior to determining the edge information, performing the following:
identifying a door within the floor plan;
determining the position of the door in the house type graph as door position information; and
erasing the door in the house type graph, and
an operation of determining room information of a room corresponding to the room name, comprising: determining the room information according to the name position information, the wall information, and the door position information.
2. The method of claim 1, further comprising:
identifying size information marked in the house type graph; and
determining a location and an area of a room within the floor plan based on the identified dimensional information.
3. The method of claim 1, further comprising:
identifying area information corresponding to each room marked in the house type graph; and
determining an area of a room within the floor plan from the identified area information.
4. The method of claim 3, further comprising: and generating the house type information corresponding to the house type graph according to the room information.
5. The method of claim 4, further comprising: and converting the house type information into JSON house type information, and storing the JSON house type information.
6. The method of claim 1, prior to the operation of obtaining name location information for a room name within the floor plan, comprising: and carrying out normalization processing on the house type graph.
7. A storage medium comprising a stored program, wherein the method of any one of claims 1 to 6 is performed by a processor when the program is run.
CN201910082366.0A 2019-01-28 2019-01-28 Method and device for reading house-type graph and storage medium Active CN109840376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910082366.0A CN109840376B (en) 2019-01-28 2019-01-28 Method and device for reading house-type graph and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910082366.0A CN109840376B (en) 2019-01-28 2019-01-28 Method and device for reading house-type graph and storage medium

Publications (2)

Publication Number Publication Date
CN109840376A CN109840376A (en) 2019-06-04
CN109840376B true CN109840376B (en) 2023-04-18

Family

ID=66884226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910082366.0A Active CN109840376B (en) 2019-01-28 2019-01-28 Method and device for reading house-type graph and storage medium

Country Status (1)

Country Link
CN (1) CN109840376B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150492A (en) * 2019-06-26 2020-12-29 司空定制家居科技有限公司 Method and device for reading house-type graph and storage medium
CN111127357B (en) * 2019-12-18 2021-05-04 北京城市网邻信息技术有限公司 House type graph processing method, system, device and computer readable storage medium
CN112232131B (en) * 2020-09-18 2021-12-24 云南省设计院集团有限公司 Method and system for automatically extracting house type characteristic indexes based on computer vision
CN112541214A (en) * 2020-12-03 2021-03-23 深圳市矩阵室内装饰设计有限公司 Method and device for processing house type design drawing and house type design drawing processing equipment
CN113591177B (en) * 2021-07-05 2024-05-31 成都云中楼阁科技有限公司 Method for automatically identifying house type based on residential building plan
CN116206325A (en) * 2023-02-14 2023-06-02 南京艾小宝智能科技有限公司 System and method for identifying house type graph

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008067191A2 (en) * 2006-11-27 2008-06-05 Designin Corporation Systems, methods, and computer program products for home and landscape design
CN107169595A (en) * 2017-04-25 2017-09-15 北京小米移动软件有限公司 The method for drafting and device of room layout figure
CN108520481A (en) * 2018-04-10 2018-09-11 万翼科技有限公司 House type is quoted and the method, apparatus and computer storage media of house type partition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8989440B2 (en) * 2012-03-27 2015-03-24 Way Out Ip, Llc System and method of room decoration for use with a mobile device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008067191A2 (en) * 2006-11-27 2008-06-05 Designin Corporation Systems, methods, and computer program products for home and landscape design
CN107169595A (en) * 2017-04-25 2017-09-15 北京小米移动软件有限公司 The method for drafting and device of room layout figure
CN108520481A (en) * 2018-04-10 2018-09-11 万翼科技有限公司 House type is quoted and the method, apparatus and computer storage media of house type partition

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
AutoCAD与Coreldraw制作户型图的比较分析;周爱华;《山西建筑》;20080301(第07期);全文 *
基于OpenCV的三维户型图智能重建;肖毅等;《信息与电脑(理论版)》;20180325(第06期);全文 *
基于虚拟现实的三维虚拟样板间设计研究;杨秀杰;《信息与电脑(理论版)》;20171108(第21期);全文 *
基于透明适配法的虚拟家居在线协同设计系统;张博等;《系统仿真学报》;20130708(第07期);全文 *

Also Published As

Publication number Publication date
CN109840376A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN109840376B (en) Method and device for reading house-type graph and storage medium
CN110852332B (en) Training sample generation method and device, storage medium and electronic equipment
CN109040960A (en) A kind of method and apparatus for realizing location-based service
CN109783757B (en) Method, device and system for rendering webpage, storage medium and electronic device
CN113763533B (en) Model processing method, storage medium and processor for object
CN111435304B (en) Method and device for generating space unit, storage medium and processor
CN102906768A (en) System and method for providing an enhanced facility plan
CN112150492A (en) Method and device for reading house-type graph and storage medium
CN110428505B (en) Method for removing video projection interferents in three-dimensional map and computer storage medium
CN116933362A (en) Automatic generation method and device for indoor design scheme, computer equipment and medium
CN114048539A (en) CAD file analysis and rule judgment method and related device
CN105451229A (en) Connection equipment and method for portable Wi-Fi wireless devices
CN113516697A (en) Image registration method and device, electronic equipment and computer-readable storage medium
CN107679222A (en) Image processing method, mobile terminal and computer-readable recording medium
CN105466415B (en) A kind of shop localization method and mobile terminal
CN110969701B (en) Method, device and storage medium for modeling house
CN111678519B (en) Intelligent navigation method, device and storage medium
CN113989427A (en) Illumination simulation method and device, electronic equipment and storage medium
CN113377708A (en) Method and device for converting two-dimensional design drawing into three-dimensional design drawing
CN113626022A (en) Object model creating method and device, storage medium and electronic equipment
CN111061878A (en) Page clustering method, device, medium and equipment
CN205507888U (en) Intelligent management system of house intermediary
CN112560555A (en) Method, device and storage medium for expanding key points
CN109032742A (en) A kind of painting canvas clarity compatibility method and device
CN111737372A (en) Map data generation method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20200228

Address after: Room 3110, No. 17, Tianshan Road, Yantai Economic and Technological Development Zone, Shandong Province

Applicant after: Sikong customized home Technology Co.,Ltd.

Address before: 518052 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant before: SKONG TECHNOLOGY CO.,LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant