CN115510519A - Lane lamp planning method, device, equipment and storage medium - Google Patents

Lane lamp planning method, device, equipment and storage medium Download PDF

Info

Publication number
CN115510519A
CN115510519A CN202210696332.2A CN202210696332A CN115510519A CN 115510519 A CN115510519 A CN 115510519A CN 202210696332 A CN202210696332 A CN 202210696332A CN 115510519 A CN115510519 A CN 115510519A
Authority
CN
China
Prior art keywords
lane
lane line
line
information
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210696332.2A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Kunyi Construction Technology Partnership LP
Original Assignee
Hefei Kunyi Construction Technology Partnership LP
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 Hefei Kunyi Construction Technology Partnership LP filed Critical Hefei Kunyi Construction Technology Partnership LP
Priority to CN202210696332.2A priority Critical patent/CN115510519A/en
Publication of CN115510519A publication Critical patent/CN115510519A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects

Abstract

The invention relates to the technical field of building design and discloses a lane lamp planning method, a lane lamp planning device, lane lamp planning equipment and a storage medium. The method comprises the following steps: extracting a fire zone image of a fire zone design drawing from the obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition image is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.

Description

Lane lamp planning method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of building design, in particular to a lane lamp planning method, a lane lamp planning device, lane lamp planning equipment and a storage medium.
Background
The method has the advantages of accelerating the integrated application of the Building Information Model (BIM) technology in the whole life cycle of the engineering, perfecting data interaction and safety standard, strengthening the digital cooperation of each link of design, production and construction, and promoting the digital fruit delivery and application in the whole process of engineering construction, and is a new requirement put forward in the building industry development planning. The data source of the Building Information Model (BIM) is mainly focused on the design stage, so that the digital production faces a huge challenge.
The arrangement of the lane lamps is used as a necessary link of design, under the condition that the current two-dimensional design and the three-dimensional forward design exist simultaneously, the auxiliary design is mainly carried out through the effect-improving plug-in, and the design result is manually rechecked and adjusted to meet the requirements of the depth and the related standards of the construction drawing. The existing arrangement modes are divided into two types, the first type is based on two-dimensional drawing software (CAD) and adopts effect-enhancing plug-ins to carry out two-point, linear, rectangular and other arrangement modes; the second is based on three-dimensional modeling software (BIM) that is arranged at fixed intervals along a lane line by identifying the lane line. Therefore, how to reduce the manual intervention time is achieved, the arrangement result is more accurate, the requirements of different arrangement forms are met simultaneously, the arrangement efficiency is greatly improved, and the technical problem to be solved by technical personnel in the field is solved.
Disclosure of Invention
The lane lamp arrangement method mainly aims to improve the accuracy of lane lamp arrangement, meet the requirements of different arrangement forms and improve the arrangement efficiency by processing the lane information in the fireproof subarea image.
The invention provides a lane lamp planning method in a first aspect, which comprises the following steps: obtaining a building model, and extracting a fire-protection subarea image of a fire-protection subarea design drawing from the building model; identifying the fireproof subarea image, and determining lane information in the fireproof subarea image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding target lane area according to the target lane information; performing illumination calculation on the target lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the target lane area; planning the lane lamps based on the arrangement quantity and the installation height, the installation mode and the arrangement form of the lane lamps, and obtaining a lane lamp arrangement scheme corresponding to the fireproof subarea image.
Optionally, in a first implementation manner of the first aspect of the present invention, the identifying the fire-protection zone image and determining the lane information in the fire-protection zone image includes: identifying the fireproof subarea image, acquiring a lane line image in the fireproof subarea image, and identifying the lane line image through a preset lane line identification model to obtain a lane line identification result; sampling the lane line based on the lane line identification result to obtain a plurality of sampling points corresponding to the lane line; and determining lane information in the fireproof subarea image according to a plurality of sampling points corresponding to the lane line and a lane line identification result of preset history, wherein the lane information comprises lane line colors and lane line types of the lane line.
Optionally, in a second implementation manner of the first aspect of the present invention, the sampling the lane line based on the lane line identification result to obtain a plurality of sampling points corresponding to the lane line includes: determining a lane line fitting equation corresponding to the lane line based on the lane line identification result; and sampling the lane line based on the lane line fitting equation and the start and stop point data corresponding to the lane line to obtain a plurality of sampling points corresponding to the lane line.
Optionally, in a third implementation manner of the first aspect of the present invention, the determining lane information in the fire-protection partition image according to the lane line identification result of the preset history and a plurality of corresponding sampling points of the lane line includes: establishing a multi-dimensional feature vector based on saturation information and hue information under a preset HSV color space; constructing a lane line pixel point set based on the plurality of sampling points, and converting the RGB colors of all the lane line pixel points in the lane line pixel point set to HSV color space; classifying all the lane line pixel points in the lane line pixel point set according to the multi-dimensional feature vector, and performing normalization processing on the classified multi-dimensional feature vector to obtain a normalization result; and classifying the normalized result by utilizing an SVM (support vector machine) classifier, and determining a lane line in the fireproof subarea image, wherein the lane line comprises the type of the lane line and the color of the lane line.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the correcting the lane information to obtain target lane information includes: performing center line recognition on the lane information based on a preset machine learning model to obtain the lane line to be corrected, which comprises a plurality of reference points; determining correction points in a preset area corresponding to each reference point, correcting the reference points to the correction points, and fitting the correction points in a preset sliding window mode to obtain a fit line; and correcting the lane line to be corrected according to the fitting line to obtain target lane information.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the calculating, according to the target lane information, a region area of the corresponding target lane region includes: determining a target lane area corresponding to a target lane line according to the target lane information; mapping each pixel point in the target lane area to the three-dimensional coordinate system of the fire-proof subarea to obtain the coordinate of each pixel point in the three-dimensional coordinate system of the fire-proof subarea; and calculating the area of the target lane area corresponding to the target lane line according to the coordinates.
Optionally, in a sixth implementation manner of the first aspect of the present invention, before the identifying the fire-protection zone image and determining the lane information in the fire-protection zone image, the method further includes: and detecting the fireproof subarea image, and judging whether fireproof subarea data and lane information contained in the fireproof subarea image are complete or not.
A second aspect of the present invention provides a lane light planning apparatus, comprising: the extraction module is used for acquiring a building model and extracting a fireproof subarea image of a fireproof subarea design drawing from the building model; the identification module is used for identifying the fireproof subarea image and determining lane information in the fireproof subarea image; the calculation module is used for correcting the lane information to obtain target lane information and calculating the area of a corresponding target lane area according to the target lane information; the determining module is used for calculating the illumination of the target lane area based on a preset illumination calculation formula and determining the arrangement number of the lane lamps in the target lane area; and the planning module is used for planning the lane lamps based on the arrangement quantity and the installation heights, the installation modes and the arrangement forms of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fireproof subarea image.
Optionally, in a first implementation manner of the second aspect of the present invention, the identification module includes: the identification unit is used for identifying the fireproof subarea image, acquiring a lane line image in the fireproof subarea image, and identifying the lane line image through a preset lane line identification model to obtain a lane line identification result; the sampling unit is used for sampling the lane line based on the lane line identification result to obtain a plurality of sampling points corresponding to the lane line; and the determining unit is used for determining lane information in the fireproof subarea image according to a plurality of sampling points corresponding to the lane lines and a preset historical lane line identification result, wherein the lane information comprises lane line colors and lane line types of the lane lines.
Optionally, in a second implementation manner of the second aspect of the present invention, the sampling unit is specifically configured to: determining a lane line fitting equation corresponding to the lane line based on the lane line identification result; and sampling the lane line based on the lane line fitting equation and the start-stop point data corresponding to the lane line to obtain a plurality of sampling points corresponding to the lane line.
Optionally, in a third implementation manner of the second aspect of the present invention, the determining unit is specifically configured to: establishing a multi-dimensional feature vector based on saturation information and hue information under a preset HSV color space; constructing a lane line pixel point set based on the plurality of sampling points, and converting the RGB colors of all the lane line pixel points in the lane line pixel point set to HSV color space; classifying all the lane line pixel points in the lane line pixel point set according to the multi-dimensional feature vector, and performing normalization processing on the classified multi-dimensional feature vector to obtain a normalization result; and classifying the normalized result by using an SVM (support vector machine) classifier, and determining a lane line in the image of the fire-proof subarea, wherein the lane line comprises the type of the lane line and the color of the lane line.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the calculation module is specifically configured to: performing center line recognition on the lane information based on a preset machine learning model to obtain the lane line to be corrected, which comprises a plurality of reference points; determining correction points in a preset area corresponding to each reference point, correcting the reference points to the correction points, and fitting the correction points in a preset sliding window mode to obtain a fit line; and correcting the lane line to be corrected according to the fitting line to obtain target lane information.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the calculating module is further specifically configured to: determining a target lane area corresponding to a target lane line according to the target lane information; mapping each pixel point in the target lane area to the three-dimensional coordinate system of the fire-proof subarea to obtain the coordinate of each pixel point in the three-dimensional coordinate system of the fire-proof subarea; and calculating the area of the target lane area corresponding to the target lane line according to the coordinates.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the lane lamp planning apparatus further includes: and the judging module is used for detecting the fireproof subarea image and judging whether fireproof subarea data and lane information contained in the fireproof subarea image are complete or not.
A third aspect of the present invention provides a lane light planning apparatus comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the lane light planning apparatus to perform the steps of the lane light planning method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the above-described lane light planning method.
According to the technical scheme provided by the invention, the fireproof subarea image of the fireproof subarea design drawing is extracted from the obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition image is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of a lane lamp planning method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a lane lamp planning method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a lane light planning method according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a lane light planning apparatus according to a first embodiment of the present invention;
FIG. 5 is a schematic diagram of a lane lamp planning apparatus according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of an embodiment of the lane lamp planning device provided by the invention.
Detailed Description
The embodiment of the invention provides a lane lamp planning method, a lane lamp planning device, lane lamp planning equipment and a storage medium, wherein in the technical scheme of the invention, firstly, fireproof subarea images of fireproof subarea design drawings are extracted from an obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition image is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Moreover, the terms "comprises," "comprising," or "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.
For convenience of understanding, a detailed flow of an embodiment of the present invention is described below, and referring to fig. 1, a first embodiment of a lane lamp planning method according to an embodiment of the present invention includes:
101. acquiring a building model, and extracting a fire-protection subarea image of a fire-protection subarea design drawing from the building model;
in this embodiment, a building model is obtained, and a fire zone image of a fire zone design drawing is extracted from the building model. Specifically, a BIM model in RVT format built by building and structure professions through three-dimensional modeling software (Revit) is read, and whether information such as fire partitions, lane lines and lane widths is complete or not is checked.
The fireproof subareas are read from the building model, the fireproof subarea outline is obtained, the fireproof subareas are displayed in the current view port in the form of detailed drawing items, preview viewing can be performed, and a user can select the fireproof subareas with the lane lamps according to actual needs, and single selection and multiple selection can be performed. The lane lights within each fire zone are arranged relatively independently. And meanwhile, the lane line is read through the name, and lane width information is obtained and is used in the subsequent steps.
102. Identifying the fireproof subarea image, and determining lane information in the fireproof subarea image;
in this embodiment, the fire zone image is identified, and lane information in the fire zone image is determined. Specifically, center line recognition is carried out on the lane information based on a preset machine learning model, and a lane line to be corrected, which comprises a plurality of reference points, is obtained. Specifically, the lane line to be corrected is identified by acquiring an image including the lane line. The lane line can be sampled according to a preset sampling interval, and a plurality of reference points on the lane line are obtained.
In another mode, the lane line can be processed according to the line shape of the lane line, and a plurality of inflection points on the lane line are determined as a plurality of reference points on the lane line. The inflection point on the lane line may be, for example, a linear change point of the lane line. In other modes, the lane line can be processed in other modes to obtain the plurality of reference points. For example, the lane line may be sampled according to a preset sampling interval to obtain a part of reference points on the lane line, and the lane line may be further processed according to the line shape of the lane line to determine a plurality of inflection points on the lane line as other reference points on the lane line, so as to obtain a plurality of reference points on the lane line.
103. Correcting the lane information to obtain target lane information, and calculating the area of a corresponding target lane area according to the target lane information;
in this embodiment, the lane information is corrected to obtain target lane information, and the area of the corresponding target lane area is calculated according to the target lane information. Specifically, in the specific implementation, the center points of the sliding windows in the sliding process can be connected according to a preset sliding window moving sequence to obtain the corrected lane line, so that the lane line is corrected.
The lane line correction position comprises a free end point, a turning position, a T-shaped intersection, a cross intersection and an intersection with the contour of the fireproof partition; at the intersection of the profiles of the fire zones, cutting all lane lines by using the profiles of the fire zones, namely grouping the lane lines according to the fire zones, wherein the lane lines of each fire zone are relatively independent; at the free end point, along the advancing direction of the lane line, the end point is extended to the fire-protection subarea outline or the wall and the column of the civil engineering and capital improvement model, and the extension is stopped when the end point meets the wall (the column/the fire-protection subarea outline) by taking the nearest principle as the principle; at the turning part, when the bending angle is [85,120], the longer lane line extends 1/2 lane width; the shorter lane line is cut by 1/2 lane width; at the intersection of the T-shaped lines, the vertical lane lines corresponding to the T-shaped lines are cut, and the cutting length is 1/2 lane width; and at the intersection of the cross, when the intersection is intersected with the main lane line, the non-main lane line is cut, and the cutting length is 1/2 of the lane width. When the two non-main lane lines are intersected, the number of intersection points on the two non-main lane lines is compared, the intersection points are cut less, and the cutting length is 1/2 of the length of the lane line.
104. Performing illumination calculation on the target lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the target lane area;
in this embodiment, illuminance calculation is performed on the target lane area based on a preset illuminance calculation formula, and the arrangement number corresponding to the lane lights in the target lane area is determined. Specifically, the illuminance calculation is performed independently for each target lane region according to the region area based on the target lane region generated in step 103. Firstly, determining the model selection parameters of the lamp, including power, luminous flux, light source number, color rendering index, color temperature and the like; further, automatically acquiring design parameters in the lane area, including an illumination requirement value, a utilization coefficient, a maintenance coefficient and a power density current value; substituting the parameters into a preset illumination calculation formula:
E=(Φ×N)×(U)×(K)/(A)
wherein: Φ refers to single-lamp luminous flux, generally selected according to a lamp sample (single-lamp luminous flux = number of light sources in the lamp × luminous flux of light sources), N refers to number of lamps, U refers to lamp utilization coefficient, K refers to lamp maintenance coefficient, and a refers to area.
And determining the arrangement number N corresponding to the lane lamps in the target lane area according to a calculation formula. The calculated arrangement number N corresponding to the lane lamps adopts an upward rounding method, for example, if N =1.1, then N is 2; n =0.8, N is taken to be 1.
105. Planning the lane lamps based on the arrangement quantity, the installation height, the installation mode and the arrangement form of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fireproof partition image.
In this embodiment, the lane lamps are planned based on the arrangement number, the installation height, the installation manner and the arrangement form of the lane lamps, and a lane lamp arrangement scheme corresponding to the fire-protection subarea image is obtained. In a specific application scene, the installation mode of the lane lamp mainly adopts hoisting, and the hoisting can be divided into a chain hoist and a wire groove. The installation height refers to the distance between the lane lamp and the ground (the reference elevation is the building elevation); the rotation angle refers to an included angle between the central line of the lamp and a lane line; the arrangement form can be divided into single-row arrangement and double-row arrangement: wherein, the number of rows in the single-row arrangement is 1, and the number of columns is N. When the lamps are arranged in a single row, the lamps are uniformly arranged on the lane line; double-row arrangement: the number of rows is 2 and the number of columns is N; when the lamps are arranged in double rows, the lamps are arranged on two sides of the lane line at equal intervals, the arrangement number N corresponding to the lane lamps calculated in the step 104 needs to be corrected, when N is an odd number, the even number needs to be taken upwards, and when N =7, the arrangement number N corresponding to the lane lamps is 8.
Based on the steps 104 and 105, calculating each lamp coordinate point, wherein the lamp arrangement adopts uniform arrangement, and the schematic description is arranged in double rows: calculating the distance between the lamps, wherein d =2L/N; calculating the distance between the lamp and the lane line, wherein W = W/4; reading the installation height h of the lamp; calculating relative coordinate points of each lamp, and taking the leftmost and lowest parts of the lane areas as coordinate dots, the coordinate points of the lamps can be expressed as ((n-0.5) d,0.25W, h), ((n-0.5) d, 0.75W, h); wherein N is more than or equal to 1 and less than or equal to N/2.
In the embodiment of the invention, the fireproof subarea image of the fireproof subarea design drawing is extracted from the obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition image is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.
Referring to fig. 2, a second embodiment of a lane light planning method according to the embodiment of the present invention includes:
201. acquiring a building model, and extracting a fireproof subarea image of a fireproof subarea design drawing from the building model;
202. identifying the fireproof subarea image, acquiring a lane line image in the fireproof subarea image, and identifying the lane line image through a preset lane line identification model to obtain a lane line identification result;
in this embodiment, the fireproof subarea image is recognized, the lane line image in the fireproof subarea image is obtained, and the lane line image is recognized through the preset lane line recognition model, so that a lane line recognition result is obtained. Specifically, in the embodiment of the present application, when a lane line is identified, a lane line image acquired at the current time needs to be acquired first, and then the lane line image is identified by using a pre-trained lane line identification model, so that a lane line identification result at the current time, such as a lane line binary image, which may include one or more lane lines, is obtained.
The lane line recognition model can be obtained based on the training of an existing Deep learning model, and includes, but is not limited to, various Deep Neural Networks (DNNs), convolutional Neural Networks (CNNs), support Vector Machines (SVMs), decision trees, random forest models, and the like.
203. Determining a lane line fitting equation corresponding to the lane line based on the lane line identification result;
in this embodiment, based on the lane line recognition result, a lane line fitting equation corresponding to the lane line is determined. Specifically, the lane line recognition result may further include a lane line fitting equation corresponding to each lane line and information of start points and end points of the lane lines, where the lane line fitting equation fits a line based on information of all the lane line points corresponding to the same lane line, so that the lane line points are located on the line or close to the line as much as possible, and may be represented in the form of a cubic equation as follows, for example:
y=ax3+bx2+cx+d
wherein x represents the image column coordinates, y represents the image row coordinates, and a, b, c, d are the coefficients of the equation.
However, since the trained lane line recognition algorithm has a certain recognition error more or less, for each lane line, the actually recognized lane line points cannot be made to conform to the lane line fitting equation corresponding to the lane line, and the intervals between the actually recognized lane line points are also uncertain, and are difficult to be directly used for subsequent recognition of lane line colors and lane line types. On the basis that the accuracy of the lane line fitting equation is acceptable, the embodiment of the application may determine a plurality of sampling points by using the lane line fitting equation and uniformly sampling at equal intervals with the lane line starting point and the lane line ending point as constraints, and although some of the sampling points may not be lane line points actually identified by the identification algorithm, the sampling points may be lane line points closer to a real lane line, so that errors caused by subsequent identification of lane line colors and types can be accepted.
204. Sampling the lane line based on a lane line fitting equation and start-stop point data corresponding to the lane line to obtain a plurality of sampling points corresponding to the lane line;
in this embodiment, based on the lane line fitting equation and the start-stop point data corresponding to the lane line, the lane line is sampled to obtain a plurality of sampling points corresponding to the lane line. Specifically, the uniform sampling mode may specifically use the image column coordinate x as an equation independent variable, and sampling is performed at intervals of 2 or more pixel points, and the sampling in an equal interval mode instead of continuous sampling mainly aims to improve the efficiency of lane line identification, which also meets the real-time requirement for lane line identification in an automatic driving scene.
205. Establishing a multi-dimensional feature vector based on saturation information and hue information under a preset HSV color space;
in this embodiment, a multidimensional feature vector is established based on saturation information and hue information in a preset HSV color space. Among them, HSV (Value) is a color space created by a.r. smith in 1978 according to intuitive characteristics of colors, and is also called a hexagonal cone Model (Hexcone Model). The parameters of the colors in this model are hue (H), saturation (S) and value (V), respectively. Color tone H
The value range is 0-360 degrees by angle measurement, and the counter-clockwise direction is counted from red, the red is 0 degree, the green is 120 degrees, and the blue is 240 degrees. Their complementary colors are: yellow 60 °, cyan 180 °, violet 300 °;
saturation S, which represents the degree to which a color approaches a spectral color. A color can be seen as the result of a mixture of a certain spectral color and white. The greater the proportion of spectral colors, the higher the degree of color approaching spectral colors and the higher the saturation of colors. High saturation and dark and bright color. The white light component of the spectral color is 0, and the saturation reaches the highest. Usually the value ranges from 0% to 100%, the larger the value, the more saturated the color.
Lightness V: lightness represents the degree of brightness of a color, and for a light source color, the lightness value is related to the lightness of the illuminant; for object colors, this value is related to the transmittance or reflectance of the object. Values typically range from 0% (black) to 100% (white). Both the RGB and CMY color models are hardware-oriented, while the HSV (Hue failure Value) color model is user-oriented.
The three-dimensional representation of the HSV model evolved from the RGB cube. The hexagonal shape of the cube is assumed to be visible from the RGB looking along the white vertices towards the black vertices of the cube diagonal. The hexagonal boundaries represent color, the horizontal axis represents purity, and brightness is measured along the vertical axis.
206. Constructing a lane line pixel point set based on a plurality of sampling points, and converting the RGB colors of all lane line pixel points in the lane line pixel point set to HSV color space;
in this embodiment, a lane line pixel point set is constructed based on a plurality of sampling points, and the RGB colors of all the lane line pixel points in the lane line pixel point set are converted into HSV color space. Specifically, in the present embodiment, when lane line color identification is performed, saturation (Saturation) information and Hue (Hue) information defined in HSV (Hue-Saturation-Value) color space may be used to establish a multidimensional feature vector Vtemplate, for example, a 360-dimensional feature vector may be established, saturation may be normalized and divided into 36 groups, and Hue may be normalized and divided into 10 groups.
Then acquiring all sampling points to establish a lane line pixel point set S, converting RGB colors of all pixel points in the set S into HSV color space, classifying all sampling points in the set S according to the feature vector Vtemp obtained in the front, normalizing the classified feature vector to obtain vlan, and finally classifying the vlan by using an SVM (Support vector machine) classifier to further obtain the color classification of the lane line.
207. Classifying all the lane line pixel points in the lane line pixel point set according to the multi-dimensional feature vector, and performing normalization processing on the classified multi-dimensional feature vector to obtain a normalization result;
in this embodiment, according to the multidimensional feature vector, all the lane line pixel points in the lane line pixel point set are classified, and the classified multidimensional feature vector is normalized to obtain a normalization result.
The normalization method has two forms, one is to change the number into a decimal number between (0,1), and the other is to change the dimensional expression into a dimensionless expression. The method is mainly provided for convenient data processing, maps data into a range of 0-1 for processing, is more convenient and faster, and is expected to fall into the digital signal processing range. Specifically, normalization is a simplified calculation method, i.e., a dimensional expression is transformed into a dimensionless expression, which becomes a scalar quantity. For example, the complex impedance can be written normalized: z = R + j ω L = R (1+j ω L/R), the complex portion becomes pure and dimensionless.
208. Classifying the normalized result by using an SVM (support vector machine) classifier, and determining a lane line in the fireproof subarea image, wherein the lane line comprises a lane line type and a lane line color;
in this embodiment, an SVM support vector machine classifier is used to classify the normalized result, and a lane line in the fire-protection subarea image is determined, where the lane line includes a lane line type and a lane line color. Specifically, the lane line identification result at the historical moment is used as prior information, and the colors of the lane lines at the current moment, such as white lane lines or yellow lane lines, and the types of the lane lines at the current moment, such as solid lines or dotted lines, are determined according to the information of a plurality of sampling points corresponding to each lane line at the current moment, so that reliable data support is provided for a fusion positioning module and the like.
209. Correcting the lane information to obtain target lane information, and calculating the area of a corresponding target lane area according to the target lane information;
210. performing illumination calculation on the target lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the target lane area;
211. planning the lane lamps based on the arrangement quantity, the installation height, the installation mode and the arrangement form of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fireproof partition image.
Steps 201 and 209 to 211 in this embodiment are similar to steps 101 and 103 to 105 in the first embodiment, and are not described again here.
In the embodiment of the invention, the fireproof subarea image of the fireproof subarea design drawing is extracted from the obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition image is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.
Referring to fig. 3, a third embodiment of the lane lamp planning method according to the embodiment of the present invention includes:
301. acquiring a building model, and extracting a fireproof subarea image of a fireproof subarea design drawing from the building model;
302. detecting the fireproof subarea image, and judging whether fireproof subarea data and lane information contained in the fireproof subarea image are complete or not;
in this embodiment, the fire zone image is detected, and whether fire zone data and lane information included in the fire zone image are complete is determined. The civil engineering module detects the fireproof subarea image, judges whether fireproof subarea data and lane information contained in the fireproof subarea image are complete or not, and aims to detect whether the information is complete or not, so that the information cannot be directly extracted in the step without detecting the completeness of the information. Because the extracted information is the input condition of function operation, if the information is not completely input, the program operation is wrong, and the civil engineering module cannot be guaranteed to have the information.
Specifically, a BIM model in RVT format built by a three-dimensional modeling software (Revit) in building and structure professions is read, and whether information such as fire partitions, lane lines and lane widths is complete or not is checked. The fire-proof subareas are read through names, the fire-proof subarea outline is obtained, the fire-proof subareas are displayed in the current view port in the form of detailed drawing items, preview viewing can be performed, and a user can select the fire-proof subareas with lane lamps according to actual needs, and single selection and multiple selection can be performed. The lane lights within each fire zone are arranged relatively independently. And meanwhile, the lane line is read through the name, and lane width information is obtained and is used in the subsequent steps.
303. Identifying the fireproof subarea image, and determining lane information in the fireproof subarea image;
304. performing center line recognition on the lane information based on a preset machine learning model to obtain a lane line to be corrected, wherein the lane line comprises a plurality of reference points;
in this embodiment, center line recognition is performed on the lane information based on a preset machine learning model, so as to obtain a lane line to be corrected, which includes a plurality of reference points. Specifically, the lane line to be corrected is identified by acquiring an image including the lane line. The lane line can be sampled according to a preset sampling interval, and a plurality of reference points on the lane line are obtained.
In another mode, the lane line can be processed according to the line shape of the lane line, and a plurality of inflection points on the lane line are determined as a plurality of reference points on the lane line. The inflection point on the lane line may be, for example, a linear change point of the lane line. In other manners, the lane line may be processed in other manners to obtain the plurality of reference points. For example, the lane line may be sampled according to a preset sampling interval to obtain a part of reference points on the lane line, and the lane line may be further processed according to the line shape of the lane line to determine a plurality of inflection points on the lane line as other reference points on the lane line, so as to obtain a plurality of reference points on the lane line.
In this embodiment, no matter what manner is adopted to obtain the lane line to be corrected, the lane line to be corrected may be a lane line obtained based on a reflection value base map of the lane line. Of course, other ways of obtaining the initial lane lines are possible. The lane line to be corrected may also be referred to as an initial lane line.
305. Determining correction points in a preset area corresponding to each reference point, correcting the reference points to the correction points, and fitting the correction points in a preset sliding window mode to obtain a fitting line;
in this embodiment, a correction point is determined in a preset region corresponding to each reference point, the reference point is corrected to the correction point, and the correction point is fitted by a preset sliding window method to obtain a fitting line. Specifically, the reference point may be moved from the original position to the position where the marker with the highest confidence coefficient is located. And moving each reference point in the plurality of reference points to the position of the mark point with the highest confidence coefficient to obtain the moved reference point. And moving the position of each reference point to the position of the marking point with the highest confidence corresponding to each reference point, so that a plurality of moved reference points exist. The sliding window can slide along the lane line according to the preset size of the sliding window, and the moved reference point in the sliding window in the sliding process is fitted to obtain a fitting line. The fitting line may include a plurality of shifted reference points.
306. Correcting the lane line to be corrected according to the fit line to obtain target lane information;
in the embodiment, the lane line to be corrected is corrected according to the fit line to obtain the target lane information. Specifically, according to the fitting line, determining the center point of the sliding window; and correcting the lane line according to the central point of the sliding window. The center point of the sliding window may be a projection point of one sampling point on the fitting line, that is, one sampling point after moving. The shifted sampling points may also be referred to as projection points of the sampling points.
In the concrete implementation, the center points of the sliding windows in the sliding process can be connected according to the preset sliding window moving sequence to obtain the corrected lane line, so that the correction of the lane line is realized. The lane line correction position comprises a free end point, a turning position, a T-shaped intersection, a cross intersection and an intersection with the contour of the fireproof partition; at the intersection of the profiles of the fire zones, cutting all lane lines by using the profiles of the fire zones, namely grouping the lane lines according to the fire zones, wherein the lane lines of each fire zone are relatively independent; at the free end point, along the advancing direction of the lane line, the end point is extended to the fire-protection zone outline or the wall and the column of the civil engineering capital improvement model, and the extension is stopped when meeting the wall (the column/the fire-protection zone outline) by taking the nearest principle as the principle; at the turning part, when the bending angle is in the range of [85,120], the longer lane line extends for 1/2 lane width; the shorter lane line is cut by 1/2 lane width; at the intersection of the T-shaped lines, the vertical lane lines corresponding to the T-shaped lines are cut, and the cutting length is 1/2 lane width; and at the intersection of the crosses, when the crosses with the main lane line, the non-main lane line is cut, and the cutting length is 1/2 lane width. When the two non-main lane lines are intersected, the intersection points are cut less by comparing the number of the intersection points on the two non-main lane lines, and the cutting length is 1/2 of the length of the lane lines.
307. Determining a target lane area corresponding to a target lane line according to the target lane information;
in this embodiment, a target lane area corresponding to the target lane line is determined according to the target lane information, wherein the target lane area is drawn according to the corrected lane line and lane width, and the target lane area is mostly rectangular.
308. Mapping each pixel point in the target lane area to a three-dimensional coordinate system of a fire-proof subarea to obtain a coordinate of each pixel point in the three-dimensional coordinate system of the fire-proof subarea;
in this embodiment, each pixel point in the target lane area is mapped to the three-dimensional coordinate system of the fire-protection zone, so as to obtain the coordinate of each pixel point in the three-dimensional coordinate system of the fire-protection zone. Specifically, each pixel point in the area to be recognized may be mapped into an image physical coordinate system, where the image physical coordinate system indicates a physical location where the area to be recognized is actually located, and the location of a focal point (referred to as a main point of the image) of a camera light extraction and an image plane is an origin O1, and an imaging coordinate system x-y expressed in physical units is established on the image, where the unit of the coordinate system is millimeters, and (x, y) represents a coordinate of each pixel point in the area to be recognized in the image physical coordinate system.
309. Calculating the area of the target lane area corresponding to the target lane line according to the coordinates;
in this embodiment, the area of the target lane area corresponding to the target lane line is calculated according to the coordinates. Specifically, after the target lane area is calculated to obtain the coordinates of each pixel point in the three-dimensional coordinate system of the fire-protection subarea, the actual area of the area to be identified can be further calculated by using the existing or future area calculation formula.
310. Performing illumination calculation on the target lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the target lane area;
311. planning the lane lamps based on the arrangement quantity, the installation height, the installation mode and the arrangement form of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fireproof partition image.
Steps 301, 303, 310-311 in this embodiment are similar to steps 101-102, 105 in the first embodiment, and are not repeated here.
In the embodiment of the invention, the fireproof subarea image of the fireproof subarea design drawing is extracted from the obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition image is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.
With reference to fig. 4, the method for planning lane lights in the embodiment of the present invention is described above, and a lane light planning apparatus in the embodiment of the present invention is described below, where a first embodiment of the lane light planning apparatus in the embodiment of the present invention includes:
an extraction module 401, configured to obtain a building model, and extract a fire zone image of a fire zone design drawing from the building model;
the identification module 402 is configured to identify the fire-protection zone image, and determine lane information in the fire-protection zone image;
a calculating module 403, configured to correct the lane information to obtain target lane information, and calculate a region area of a corresponding target lane region according to the target lane information;
a determining module 404, configured to perform illuminance calculation on the target lane area based on a preset illuminance calculation formula, and determine the arrangement number of the lane lights in the target lane area;
and the planning module 405 is configured to plan the lane lamps based on the arrangement number, the installation heights, the installation manners, and the arrangement forms of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fire-prevention subarea image.
In the embodiment of the invention, the fireproof subarea image of the fireproof subarea design drawing is extracted from the obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; and planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition image is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.
Referring to fig. 5, a lane lamp planning apparatus according to a second embodiment of the present invention includes:
the extraction module 401 is configured to obtain a building model, and extract a fire-protection zone image of a fire-protection zone design drawing from the building model;
the identification module 402 is configured to identify the fire-protection zone image, and determine lane information in the fire-protection zone image;
a calculating module 403, configured to correct the lane information to obtain target lane information, and calculate a region area of a corresponding target lane region according to the target lane information;
a determining module 404, configured to perform illuminance calculation on the target lane area based on a preset illuminance calculation formula, and determine the arrangement number of the lane lights in the target lane area;
and the planning module 405 is configured to plan the lane lamps based on the arrangement number, the installation heights, the installation manners, and the arrangement forms of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fire-prevention subarea image.
In this embodiment, the identifying module 402 includes:
the identification unit 4021 is configured to identify the fireproof subarea image, acquire a lane line image in the fireproof subarea image, and identify the lane line image through a preset lane line identification model to obtain a lane line identification result;
the sampling unit 4022 is configured to sample the lane line based on the lane line identification result to obtain a plurality of sampling points corresponding to the lane line;
the determining unit 4023 is configured to determine lane information in the fire protection zone image according to a plurality of sampling points corresponding to the lane line and a preset historical lane line recognition result, where the lane information includes a lane line color and a lane line type of the lane line.
In this embodiment, the sampling unit 4022 is specifically configured to:
determining a lane line fitting equation corresponding to the lane line based on the lane line identification result;
and sampling the lane line based on the lane line fitting equation and the start-stop point data corresponding to the lane line to obtain a plurality of sampling points corresponding to the lane line.
In this embodiment, the determining unit 4023 is specifically configured to:
establishing a multi-dimensional feature vector based on saturation information and hue information under a preset HSV color space;
constructing a lane line pixel point set based on the plurality of sampling points, and converting the RGB colors of all the lane line pixel points in the lane line pixel point set to HSV color space;
classifying all the lane line pixel points in the lane line pixel point set according to the multi-dimensional feature vector, and performing normalization processing on the classified multi-dimensional feature vector to obtain a normalization result;
and classifying the normalized result by utilizing an SVM (support vector machine) classifier, and determining a lane line in the fireproof subarea image, wherein the lane line comprises the type of the lane line and the color of the lane line.
In this embodiment, the calculating module 403 is specifically configured to:
performing center line recognition on the lane information based on a preset machine learning model to obtain the lane line to be corrected, which comprises a plurality of reference points;
determining correction points in a preset area corresponding to each reference point, correcting the reference points to the correction points, and fitting the correction points in a preset sliding window mode to obtain a fit line;
and correcting the lane line to be corrected according to the fitting line to obtain target lane information.
In this embodiment, the calculating module 403 is further specifically configured to:
determining a target lane area corresponding to a target lane line according to the target lane information;
mapping each pixel point in the target lane area to the three-dimensional coordinate system of the fireproof subarea to obtain the coordinate of each pixel point in the three-dimensional coordinate system of the fireproof subarea;
and calculating the area of the target lane area corresponding to the target lane line according to the coordinates.
In this embodiment, the lane lamp planning apparatus further includes:
and the judging module 406 is configured to detect the fire-protection zone image, and judge whether fire-protection zone data and lane information included in the fire-protection zone image are complete.
In the embodiment of the invention, the fireproof subarea image of the fireproof subarea design drawing is extracted from the obtained building model; identifying the fireproof subarea image, and determining lane information in the image; correcting the lane information to obtain target lane information, and calculating the area of a corresponding lane area according to the target lane information; performing illumination calculation on the lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the lane area; and planning the lane lamps based on the arrangement number, the installation height, the installation mode and the arrangement form of the lamps to obtain a corresponding lane lamp arrangement scheme. According to the scheme, the lane information in the fireproof partition images is processed, so that the accuracy of lane lamp arrangement is improved, the requirements of different arrangement forms are met, and the arrangement efficiency is improved.
Fig. 4 and 5 describe the lane lamp planning apparatus in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the lane lamp planning apparatus in the embodiment of the present invention in detail from the perspective of the hardware processing.
Fig. 6 is a schematic structural diagram of a lane light planning apparatus 800 according to an embodiment of the present invention, where the lane light planning apparatus 800 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 810 (e.g., one or more processors) and a memory 820, and one or more storage media 830 (e.g., one or more mass storage devices) storing an application 833 or data 832. Memory 820 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations for the lane light planning apparatus 800. Further, the processor 810 may be configured to communicate with the storage medium 830, and execute a series of instruction operations in the storage medium 830 on the lane lamp planning apparatus 800 to implement the steps of the lane lamp planning method provided by the above-described method embodiments.
The lane light planning apparatus 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input-output interfaces 860, and/or one or more operating systems 831, such as Windows service, mac OS X, unix, linux, freeBSD, and so forth. Those skilled in the art will appreciate that the configuration of the lane light planning apparatus shown in fig. 6 does not constitute a limitation of the lane light planning apparatus provided herein, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, which may also be a volatile computer readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the above-described lane light planning method.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
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: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A lane light planning method, comprising:
obtaining a building model, and extracting a fire-protection subarea image of a fire-protection subarea design drawing from the building model;
identifying the fireproof subarea image, and determining lane information in the fireproof subarea image;
correcting the lane information to obtain target lane information, and calculating the area of a corresponding target lane area according to the target lane information;
performing illumination calculation on the target lane area based on a preset illumination calculation formula, and determining the arrangement number corresponding to lane lamps in the target lane area;
planning the lane lamps based on the arrangement quantity, the installation height, the installation mode and the arrangement form of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fireproof subarea image.
2. The lane light planning method of claim 1, wherein the identifying the fire zone image and determining the lane information in the fire zone image comprises:
identifying the fireproof subarea image, acquiring a lane line image in the fireproof subarea image, and identifying the lane line image through a preset lane line identification model to obtain a lane line identification result;
sampling the lane line based on the lane line identification result to obtain a plurality of sampling points corresponding to the lane line;
and determining lane information in the fireproof subarea image according to a plurality of sampling points corresponding to the lane line and a lane line identification result of preset history, wherein the lane information comprises lane line colors and lane line types of the lane line.
3. The method for planning a lane lamp according to claim 2, wherein the step of sampling the lane line based on the lane line identification result to obtain a plurality of sampling points corresponding to the lane line comprises:
determining a lane line fitting equation corresponding to the lane line based on the lane line identification result;
and sampling the lane line based on the lane line fitting equation and the start and stop point data corresponding to the lane line to obtain a plurality of sampling points corresponding to the lane line.
4. The lane lamp planning method according to claim 2, wherein the determining lane information in the fire-protection zone image according to the lane line corresponding to the plurality of sampling points and a lane line recognition result of a preset history comprises:
establishing a multi-dimensional feature vector based on saturation information and hue information under a preset HSV color space;
constructing a lane line pixel point set based on the plurality of sampling points, and converting the RGB colors of all the lane line pixel points in the lane line pixel point set to HSV color space;
classifying all the lane line pixel points in the lane line pixel point set according to the multi-dimensional feature vector, and performing normalization processing on the classified multi-dimensional feature vector to obtain a normalization result;
and classifying the normalized result by utilizing an SVM (support vector machine) classifier, and determining a lane line in the fireproof subarea image, wherein the lane line comprises the type of the lane line and the color of the lane line.
5. The lane light planning method of claim 1, wherein the modifying the lane information to obtain target lane information comprises:
performing center line recognition on the lane information based on a preset machine learning model to obtain the lane line to be corrected, which comprises a plurality of reference points;
determining correction points in a preset area corresponding to each reference point, correcting the reference points to the correction points, and fitting the correction points in a preset sliding window mode to obtain a fit line;
and correcting the lane line to be corrected according to the fitting line to obtain target lane information.
6. The lane light planning method of claim 1, wherein the calculating a region area of a corresponding target lane region according to the target lane information comprises:
determining a target lane area corresponding to a target lane line according to the target lane information;
mapping each pixel point in the target lane area to the three-dimensional coordinate system of the fire-proof subarea to obtain the coordinate of each pixel point in the three-dimensional coordinate system of the fire-proof subarea;
and calculating the area of the target lane area corresponding to the target lane line according to the coordinates.
7. The lane light planning method of claim 1, wherein before the identifying the fire zone image and determining the lane information in the fire zone image, the method further comprises:
and detecting the fireproof subarea image, and judging whether fireproof subarea data and lane information contained in the fireproof subarea image are complete or not.
8. A lane light planning apparatus, comprising:
the extraction module is used for acquiring a building model and extracting a fireproof subarea image of a fireproof subarea design drawing from the building model;
the identification module is used for identifying the fireproof subarea image and determining lane information in the fireproof subarea image;
the calculation module is used for correcting the lane information to obtain target lane information and calculating the area of a corresponding target lane area according to the target lane information;
the determining module is used for performing illumination calculation on the target lane area based on a preset illumination calculation formula and determining the arrangement number corresponding to the lane lamps in the target lane area;
and the planning module is used for planning the lane lamps based on the arrangement quantity and the installation heights, the installation modes and the arrangement forms of the lane lamps to obtain a lane lamp arrangement scheme corresponding to the fireproof subarea image.
9. A lane light planning apparatus, characterized by comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the lane light planning apparatus to perform the steps of the lane light planning method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the lane lamp planning method according to any one of claims 1-7.
CN202210696332.2A 2022-06-20 2022-06-20 Lane lamp planning method, device, equipment and storage medium Pending CN115510519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210696332.2A CN115510519A (en) 2022-06-20 2022-06-20 Lane lamp planning method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210696332.2A CN115510519A (en) 2022-06-20 2022-06-20 Lane lamp planning method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115510519A true CN115510519A (en) 2022-12-23

Family

ID=84500821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210696332.2A Pending CN115510519A (en) 2022-06-20 2022-06-20 Lane lamp planning method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115510519A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077271A (en) * 2023-10-12 2023-11-17 广州中望龙腾软件股份有限公司 Automatic generation method and device for garage lamp component, storage medium and equipment
CN117454496A (en) * 2023-12-25 2024-01-26 合肥坤颐建筑科技合伙企业(有限合伙) Fire control broadcast arrangement method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077271A (en) * 2023-10-12 2023-11-17 广州中望龙腾软件股份有限公司 Automatic generation method and device for garage lamp component, storage medium and equipment
CN117077271B (en) * 2023-10-12 2024-02-09 广州中望龙腾软件股份有限公司 Automatic generation method and device for garage lamp component, storage medium and equipment
CN117454496A (en) * 2023-12-25 2024-01-26 合肥坤颐建筑科技合伙企业(有限合伙) Fire control broadcast arrangement method, device, equipment and storage medium
CN117454496B (en) * 2023-12-25 2024-03-22 合肥坤颐建筑科技合伙企业(有限合伙) Fire control broadcast arrangement method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN115510519A (en) Lane lamp planning method, device, equipment and storage medium
CN110084243B (en) File identification and positioning method based on two-dimensional code and monocular camera
US9367737B2 (en) Floor plan space detection
CN110659634A (en) Container number positioning method based on color positioning and character segmentation
CN102930279B (en) For the image-recognizing method that product quantity detects
US20220365186A1 (en) Automatic detection of a calibration standard in unstructured lidar point clouds
KR100591608B1 (en) Method for searching matching point in image matching
CN103049731A (en) Decoding method for point-distributed color coding marks
CN113012096B (en) Display screen sub-pixel positioning and brightness extraction method, device and storage medium
US20220375170A1 (en) System for generation of floor plans and three-dimensional models
CN106952346B (en) System and method for generating suspended ceiling 3D model based on drawing plane polygon
CN115115998A (en) Indoor wall surface construction progress prediction method and system and computer readable storage medium
CN110334581B (en) Multi-source remote sensing image change detection method
US11455767B1 (en) Intelligent material completeness detection and configuration method based on digital twin and augmented reality (AR)
CN112270716B (en) Decoding and positioning method for artificial visual landmarks
CN112561989A (en) Method for identifying hoisting object in construction scene
JP7043992B2 (en) Change point detection device, change point detection method and change point detection program
CN111210410A (en) Signal lamp state detection method and device
JP7111599B2 (en) Drawing recognition device, drawing recognition method and program
JP2021103562A (en) Change detection device, change detection method, and change detection program
CN113901541A (en) Identification method for elevation marking of building and structure diagram
CN113807315A (en) Method, device, equipment and medium for constructing recognition model of object to be recognized
CN107403151A (en) Method, apparatus, equipment and the computer-readable recording medium positioned by indoor ceiling
CN113160340A (en) City color quantitative analysis and evaluation method, system and storage medium
CN114202548A (en) Forklift pallet positioning method and device, storage medium and electronic equipment

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