WO2020238699A1 - 信号指示灯的状态检测方法及装置、驾驶控制方法及装置 - Google Patents
信号指示灯的状态检测方法及装置、驾驶控制方法及装置 Download PDFInfo
- Publication number
- WO2020238699A1 WO2020238699A1 PCT/CN2020/091064 CN2020091064W WO2020238699A1 WO 2020238699 A1 WO2020238699 A1 WO 2020238699A1 CN 2020091064 W CN2020091064 W CN 2020091064W WO 2020238699 A1 WO2020238699 A1 WO 2020238699A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cluster
- signal indicator
- feature value
- color
- value
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 101
- 238000001514 detection method Methods 0.000 title claims abstract description 36
- 238000012545 processing Methods 0.000 claims abstract description 54
- 238000003860 storage Methods 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 12
- 238000010606 normalization Methods 0.000 claims description 11
- 238000003064 k means clustering Methods 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 description 21
- 238000010586 diagram Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 239000003086 colorant Substances 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 5
- 238000013528 artificial neural network Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000001902 propagating effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/56—Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
- G06V20/58—Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
- G06V20/584—Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W30/00—Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
- B60W30/14—Adaptive cruise control
- B60W30/143—Speed control
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/08—Interaction between the driver and the control system
- B60W50/14—Means for informing the driver, warning the driver or prompting a driver intervention
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W60/00—Drive control systems specially adapted for autonomous road vehicles
- B60W60/001—Planning or execution of driving tasks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2413—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/2431—Multiple classes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/28—Determining representative reference patterns, e.g. by averaging or distorting; Generating dictionaries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/56—Extraction of image or video features relating to colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06V10/751—Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/762—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
- G06V10/763—Non-hierarchical techniques, e.g. based on statistics of modelling distributions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/764—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
Definitions
- the present disclosure relates to the field of computer vision, and in particular to a method and device for detecting the state of a signal indicator, and a driving control method and device.
- Autonomous driving vehicles need to detect the location and status of the traffic lights in real time under various environmental interference road conditions to make a good path. planning.
- Self-driving vehicles can use cameras as sensors to collect images of road scenes to detect traffic lights in real time.
- the embodiment of the present disclosure provides a solution for detecting the status of a signal indicator.
- a method for detecting the status of a signal indicator which includes:
- the target area includes at least one signal indicator light with different display states
- the display state of the signal indicator is determined based on the obtained multiple clusters.
- the determining the display state of the signal indicator based on the obtained multiple clusters includes:
- the reference feature value preset in the image acquisition device of the target image and the first feature value corresponding to the cluster center of each cluster determine whether there is a cluster center matching the reference feature value
- the method further includes:
- the reference feature value is determined according to the color value of the pixel point in the preset color area in the reference image.
- the determining the reference feature value according to the color value of the pixel point in the preset color area in the reference image includes:
- the reference characteristic value includes a reference characteristic value of a red state, a reference characteristic value of a yellow state, and a reference characteristic value of a green state.
- the method further includes:
- the display color of the signal indicator in the target area is determined based on the reference feature value matched by the cluster center of the cluster with the largest area.
- the method further includes:
- the determining the first feature value of the pixel in the target area includes:
- the performing clustering processing on the pixels in the target area based on the first feature value to obtain multiple clusters for the pixels includes:
- the pixel points in the target area are clustered to obtain a preset number of clusters.
- a driving control method which includes:
- a control instruction for controlling the smart driving device is generated and output to control the smart driving device.
- control instruction includes at least one of the following: a speed maintaining control instruction, a speed adjustment control instruction, a direction maintaining control instruction, a direction adjustment control instruction, an early warning prompt control instruction, and a driving mode switching control instruction.
- a signal indicator light state detection device which includes:
- the detection module is used to detect the target area in the target image and determine the first characteristic value of the pixel points in the target area, and the target area includes at least one signal indicator with different display states;
- a clustering module configured to perform clustering processing on pixels in the target area based on the first feature value to obtain multiple clusters for the pixels
- the determining module is used to determine the display state of the signal indicator based on the obtained multiple clusters.
- the determining module is configured to determine whether there is a reference feature value preset in the image acquisition device that acquires the target image and the first feature value corresponding to the cluster center of each cluster. The class center matching the reference feature value;
- the determining module is further configured to determine whether there is a cluster center matching the reference feature value based on the reference feature value and the first feature value corresponding to the cluster center of each cluster. Afterwards, in response to the absence of a cluster center matching the reference characteristic value, it is determined that the signal indicator is in the second state.
- the device further includes a setting module, which is used to capture a color calibration plate with the image acquisition device to obtain a reference image;
- the reference feature value is determined according to the color value of the pixel point in the preset color area in the reference image.
- the setting module is used to:
- the color value of the pixel in the preset color area is determined as the reference feature value; or, the color value of the pixel in the preset color area is normalized to obtain the reference feature value.
- the reference characteristic value includes a reference characteristic value of a red state, a reference characteristic value of a yellow state, and a reference characteristic value of a green state.
- the determining module is further configured to, in the case of determining that the signal indicator is in the first state, based on the pixel points in the cluster corresponding to the cluster center matching the reference feature value, Determine the first area formed by the cluster in the target area;
- the display color of the signal indicator in the target area is determined based on the reference feature value matched by the cluster center of the cluster with the largest area.
- the determining module is further configured to perform a calculation on the pixel points in the cluster corresponding to the cluster center matching the reference characteristic value when the signal indicator is determined to be in the first state. Cluster processing to obtain multiple new clusters;
- the detection module is used to:
- the clustering module is configured to use a K-means clustering algorithm to cluster pixels in the target area to obtain a preset number of clusters.
- a driving control device which includes:
- Image collection equipment which is installed on the intelligent driving equipment and used to collect road images
- the signal indicator status detection module which is used to execute the signal indicator status detection method of any one of the first aspect of the present disclosure using the road image as a target image to obtain the signal indicator in the road image
- the control module is used for generating and outputting control instructions for controlling the intelligent driving device according to the display state of the signal indicator in the road image, so as to control the intelligent driving device.
- control instruction includes at least one of the following: a speed maintaining control instruction, a speed adjustment control instruction, a direction maintaining control instruction, a direction adjustment control instruction, an early warning prompt control instruction, and a driving mode switching control instruction.
- an electronic device which is characterized by comprising:
- a memory for storing processor executable instructions
- the processor is configured to execute any one of the methods in the first aspect or execute any one of the methods in the second aspect.
- a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the method of any one of the first aspects is implemented, or Perform any of the methods described in the second aspect.
- a computer program including computer-readable code, when the computer-readable code is executed in an electronic device, a processor in the electronic device executes for realizing the first aspect The method described in any one of the above, or execute the method described in any one of the second aspect.
- the embodiment of the present disclosure can detect the target area where the signal indicator light is located in the image, and can perform clustering processing on the feature values of the pixel points of the target area where the signal indicator light is located, to obtain multiple clusters, and then according to the multiple clusters
- the matching situation with the reference characteristic value obtains the display status of the signal indicator.
- the embodiments of the present disclosure can reduce the probability of using a neural network when detecting the display state on the premise of realizing the accurate detection of the display status of the signal indicator. On the one hand, it reduces the network training procedure, and on the other hand, it can also shorten the signal indicator The detection time of the display status.
- the display state of traffic lights can also be determined through the embodiments of the present disclosure, thereby improving the safety of automatic driving.
- Fig. 1 shows a flow chart of a method for detecting the state of a signal indicator according to an embodiment of the present disclosure
- step S30 shows a flowchart of step S30 in a method for detecting the state of a signal indicator according to an embodiment of the present disclosure
- Fig. 3 shows a flow chart of obtaining a reference characteristic value in a method for detecting the state of a signal indicator according to an embodiment of the present disclosure
- step S34 shows a flowchart of step S34 in a method for detecting the state of a signal indicator according to an embodiment of the present disclosure
- step S34 shows another flowchart of step S34 in a method for detecting the state of a signal indicator according to an embodiment of the present disclosure
- Fig. 6 shows a schematic structural diagram of a signal indicator light according to an embodiment of the present disclosure
- Fig. 7 shows a flow chart of a driving control method according to an embodiment of the present disclosure
- Fig. 8 shows a block diagram of a device for detecting the status of a signal indicator according to an embodiment of the present disclosure
- Fig. 9 shows a block diagram of a driving control device according to an embodiment of the present disclosure.
- FIG. 10 shows a block diagram of an electronic device according to an embodiment of the present disclosure
- Fig. 11 shows another block diagram of an electronic device according to an embodiment of the present disclosure.
- the embodiment of the present disclosure provides a method for detecting the status of a signal indicator, which can detect the display status of the signal indicator in a target image.
- the signal indicator status detection method of the embodiment of the present disclosure can be applied to any image acquisition and image processing equipment, such as video cameras, cameras, mobile phones, computers, PADs, smart watches, smart bracelets, or servers. It can also be applied to robots, intelligent driving equipment, blind guide equipment, etc.
- image collection or image processing can be performed, the method of the embodiments of the present disclosure can be implemented, which is not specifically limited in the present disclosure.
- the present disclosure can be applied to scenarios such as indicator status recognition and detection. For example, in automatic driving, path planning and navigation can be realized by detecting the status of traffic lights.
- the present disclosure does not limit specific application scenarios.
- Fig. 1 shows a flow chart of a method for detecting the state of a signal indicator according to an embodiment of the present disclosure.
- the state detection method of the signal indicator light may include:
- S10 Detect a target area in the target image, and determine a first feature value of a pixel point in the target area, the target area includes at least one signal indicator light with different display states;
- the method for detecting the state of the signal indicator in the embodiment of the present disclosure can realize the detection of the display state of the signal indicator (hereinafter referred to as the target object) in the target image, wherein the target image can be acquired first.
- the target image is an image collected by an image acquisition device.
- an image acquisition device such as a driving recorder can be set in an automatic driving or driving assistance device such as a vehicle or an aircraft, and the image acquisition device can be used to collect The driving record image, which may be the target image of the embodiment of the disclosure.
- the target image may be obtained by sampling from the received video image, or may be the target image received from other devices, which is not specifically limited in the present disclosure.
- step S10 may be used to detect the target area where the target object is located in the target image, where the target object may include a signal indicator, and the signal indicator may include straight, straight, and
- the signal indicator lights for turning may also include signal indicators for guiding stop, driving, and waiting, or may include signal indicators for indicating the working status of various instruments and equipment, which are not illustrated in this disclosure.
- FIG. 6 shows a schematic diagram of the structure of a signal indicator according to an embodiment of the present disclosure, which is only an example to illustrate the type of each signal indicator, such as a longitudinally arranged traffic light, a horizontally arranged traffic light, or a direction indicator. Among them, FIG. 6
- the target object shown in may include three indicator lights.
- the number of indicator lights may be one or more, which is not specifically limited.
- the signal indicator lights may have different display states. For example, it may be lit or not, or it may have a different lit color when lit, such as at least one of red, yellow, and green, or may also include other lit colors or other display states in other embodiments .
- the target object is a signal indicator as an example for description. In other embodiments, as long as the target object has different colors or different brightness and other different display states, it can also be used as the embodiment of the present disclosure. target.
- the detection of the target object and the target area in which it is located can be performed by an image recognition algorithm (a non-neural network detection method), or the target can also be performed by a neural network trained to recognize the target object.
- the touch operation input by the user can be received through the input component (ie Frame selection operation), based on the area selected by the touch operation to determine the target area where the target object is located.
- the target area where the target object is located may also be determined in other ways, which is not specifically limited in the present disclosure.
- the first feature value corresponding to multiple pixels in the target area can be obtained, and the first feature value can represent the pixel value of the pixel, which can specifically be a pixel
- the corresponding feature value of at least one color channel may be an RGB image (color image)
- the first characteristic value of the acquired pixel may be the color value of the pixel in the target area
- the color value is a color in a different color mode
- the color value corresponding to the color value in the color mode is a model that expresses a color as a digital form, or a way to record the color of an image.
- RGB mode CMYK mode
- HSB mode Lab color Mode
- bitmap mode grayscale mode
- indexed color mode duotone mode
- multi-channel mode etc. Therefore, in the RGB mode, the color value may include R value, G value, and B value.
- the RGB mode is also the most commonly used color mode at present. The following examples only take the RGB mode as an example.
- the status detection method for signal indicators using other color modes is similar to the status detection method for signal indicators using RGB mode. This will not be repeated here.
- the other form of image can be converted into an RGB image by means of spatial conversion, for example, the image in the form of YUV can be converted into an image in the form of RGB to obtain the first feature of the pixel. value.
- the embodiment of the present disclosure does not specifically limit the manner of image conversion.
- the first feature values of multiple pixels in the target area may also be normalized color values, that is, the embodiment of the present disclosure may obtain multiple pixels in the target area of the target image.
- the normalization processing method may include dividing the R value, G value, and B value with a standard value to obtain the normalization processing result of the R value, G value, and B value.
- the standard value can be determined according to requirements, and generally can be determined according to the gray levels of multiple pixels of the target image.
- the maximum pixel value of the target image can be determined as the standard value.
- the RGB of a pixel in the target area can be expressed as (255, 0, 0), and the standard value is 255, then the normalized result can be (1,0, 0).
- S20 Perform clustering processing on the pixels in the target area based on the first feature value to obtain multiple clusters for the pixels;
- the multiple pixel points can be clustered according to the obtained first feature values to obtain clusters of different color states.
- the first feature values of multiple pixels can be mapped to the three-dimensional space corresponding to the color values.
- the color value as RGB as an example
- the first feature values of multiple pixels can be mapped In the RGB three-dimensional space, the RGB value can be regarded as a coordinate point in the RGB three-dimensional space. For example, for a pixel with a first feature value of (1,0,0), the point can be located on the R axis and on the R axis. The above coordinate value is 1.
- the position of each pixel in the RGB space can be obtained, and then the multiple pixel points can be clustered according to the positions of the multiple first feature values in the RGB space.
- a K-means clustering algorithm may be used to perform clustering processing of multiple pixels.
- the K-means clustering algorithm can first randomly select K (K is an integer greater than 1) objects (first eigenvalues) from the first eigenvalues of multiple pixels in the target area as the initial cluster centers. The number of is the same as the preset number of groups. Then calculate the distance between each object and multiple initial cluster centers, and assign each object to the cluster center closest to it. The cluster centers and the objects assigned to them represent a cluster (cluster group). Once all objects are assigned, the cluster center of each cluster will be recalculated based on the existing objects in the cluster. This process will be repeated until a certain termination condition is met.
- the termination condition can be that no (or minimum number) of objects are reassigned to different clusters, and no (or minimum number) of cluster centers change again.
- the clustering of multiple pixels can be completed, and multiple clusters of the set number of clusters can be obtained.
- the cluster center (cluster center) of the cluster can be determined while obtaining multiple clusters.
- pixels with a similar first feature value distance can be assigned to a cluster (cluster), and this process can achieve clustering of pixels of the same color.
- the embodiment of the present disclosure may perform clustering processing for pixels of the same color through step S20, and different clusters obtained through the clustering processing may be expressed as clusters of pixels of different colors. Therefore, the display state of the target object in the target area can be determined according to the color represented by the cluster.
- the target object may be a signal indicator
- the display state of the target object in the corresponding embodiment of the present disclosure may include a first state and a second state.
- the first state is a state where the presence signal indicator is lit, and the second state is non-existent.
- the lighted state of the signal indicator, and in the first state can further determine the color of the lighted indicator.
- Fig. 2 shows a flowchart of step S30 in a method for detecting the status of a signal indicator according to an embodiment of the present disclosure, wherein the determining the display status of the target object based on the obtained multiple clusters may include :
- each reference feature value can have a color value of a corresponding color, such as an RGB value, and the reference feature value can be mapped to a color.
- the set reference characteristic value may include: the reference characteristic value of the red state, the reference characteristic value of the yellow state, and the reference characteristic value of the green state.
- the reference feature value can be expressed as a coordinate point in the RGB space, and the coordinate value is the corresponding RGB value.
- the cluster centers of multiple clusters By comparing the cluster centers of multiple clusters with the reference feature value, it can be determined whether the cluster centers match the reference feature value, that is, whether the color of the corresponding cluster matches the color corresponding to the reference feature value.
- the class center matches the reference feature value, that is, the color of the class group corresponding to the class center matches the distance threshold.
- the color corresponding to the reference feature value is matched, that is, the target area may have a highlighted state of the color, such as the state of an indicator light.
- the target object does not have the lighted state of the color corresponding to the reference feature value, that is, no color corresponding to the reference feature value is highlighted, that is, there is no signal indicator light.
- the target object in the target area is the first A state, that is, there is a state in which the color corresponding to the reference feature value is highlighted, and at this time, there may be a state in which the indicator light is on.
- the distance between the first feature value of the cluster center of all clusters and any reference feature value is greater than or equal to the distance threshold, it can be determined that there is no match with the reference feature value.
- the target object in the target area is in the second state, that is, there is no highlighting state of the color corresponding to the reference feature value, and at this time, it is a state where there is no signal indicator light.
- S34 Determine the display state of the target object according to the first state or the second state.
- the display state of the target object is that there is no highlight display of the color corresponding to any reference feature value, that is, there is no lighted state of the signal indicator.
- the display state of the target object is that there is a highlight display of a color corresponding to the reference characteristic value, for example, there is a state where an indicator light is on.
- the first state and the second state of the signal indicator can be determined.
- the second state it can be determined that none of the signal indicators in the target area is lit, and the location can be detected at this time.
- the signal indicator is a fault indicator (because under normal conditions, one of the signal indicators is on).
- the failure information can also be reported when it is determined that the signal indicator of the target image is in the second state.
- the target image, the location information corresponding to the target image, and the second state of the target image are transmitted to the preset storage address (such as the communication address of the transportation department), and the fault information is reported, so as to facilitate the personnel of the relevant department to check the signal indicator Carry out maintenance to improve traffic safety.
- the preset storage address such as the communication address of the transportation department
- the reference feature values corresponding to multiple colors in the embodiments of the present disclosure can be determined by the set RGB value.
- the RGB value of the red color in the standard state can be determined as the reference feature value of red
- the RGB value of the yellow color in the standard state can be determined as the reference feature value of yellow
- the RGB value of the green color in the standard state can be determined as the reference feature value of green Eigenvalues.
- the color calibration board can also be photographed by an image acquisition device, and then reference feature values of multiple colors corresponding to the image acquisition device can be obtained.
- Fig. 3 shows a flow chart of obtaining a reference characteristic value in a method for detecting the state of a signal indicator according to an embodiment of the present disclosure.
- the step of obtaining the reference characteristic value includes:
- the color calibration plate may be color samples with different colors, and a reference image for the color calibration plate can be obtained by capturing the color calibration plate by the image acquisition device that collects the target image.
- S42 Determine the reference feature value according to the color value of the pixel in the preset color area in the reference image.
- the reference image can include multiple color regions
- the color values (such as RGB values) of the pixels in the multiple color regions can be obtained.
- the embodiment of the present disclosure can use the average value of the color values of the pixels in the corresponding region as the
- the reference feature value corresponding to the color area is the reference feature value of the color.
- the average value of the color value of the corresponding color region can also be normalized to obtain the reference feature value of the color.
- the normalization processing method is the same as the above description, for example, the average value of the color value is divided by the gray level or other standard values to obtain the normalized reference feature value. The specific process is not repeated here.
- the reference feature value of multiple colors for the image acquisition device can be obtained, so that the subsequent process performs subsequent logical processing based on the reference feature value, that is, the matching process between the class center and the reference feature value, which reduces the The influence of the parameters on the color of pixels.
- it can also be adapted to be used in various types of image acquisition equipment, reducing the color deviation between the images collected by the image acquisition equipment.
- the color of the indicator light when it is determined that the target object is in the first state, the color of the indicator light can be further determined.
- FIG. 4 shows a flowchart of step S34 in a method for detecting the state of a signal indicator according to an embodiment of the present disclosure, wherein the display of the target object is determined according to the first state or the second state Status, including:
- S3401 In a case where it is determined that the target object is in the first state, based on the pixel points in the cluster corresponding to the cluster center matching the reference feature value, determine the first state formed by the cluster in the target area.
- the first area of the area formed in the target area by the pixel points in the cluster corresponding to the cluster center matching the reference feature value can be obtained.
- the pixel points corresponding to the cluster center matching the reference feature value can be remapped to the target area, and the first area formed by the cluster of pixels in the target area can be determined.
- the first area may be determined according to an integral manner, or the first area may also be obtained in other manners, which is not specifically limited in the present disclosure.
- S3402 Determine the display color of the target object in the target area based on the reference feature value matched by the cluster center of the first cluster with the largest area.
- the embodiment of the present disclosure can set the cluster with the largest first area and the first area greater than the area threshold.
- the color of the reference feature value corresponding to the group is determined as the display color of the target object in the target area. In this way, the color of the signal indicator light in the target area can be easily and conveniently determined.
- the embodiment of the present disclosure may set a corresponding area threshold according to requirements, which is not specifically limited in the present disclosure.
- further clustering processing may be performed on multiple pixels remapped into the target area to obtain multiple new clusters, and further determine the display color of the target object. That is, the color of the lit indicator. In this way, the detection accuracy of the display color can be improved.
- FIG. 5 shows another flowchart of step S34 in a method for detecting the state of a signal indicator according to an embodiment of the present disclosure, wherein the determination of the target object's status according to the first state or the second state
- the display status can also include:
- the embodiment of the present disclosure can remap the pixels in the corresponding cluster group of the determined cluster center that matches the reference feature to the target area, and can perform re-focusing on all the remapped pixels. Class processing.
- the clustering process can also be performed based on the first feature value of the remapped pixel point, for example, K-means clustering process can also be performed, wherein the number of cluster groups set in the clustering process in step S20 and this step
- the number of clusters set in the clustering process can be the same or different, and generally can be set to a value greater than or equal to 3.
- multiple new clusters may be obtained, and the new clusters may include at least one remapped to the target area. Pixels, through this step, the re-clustering of the pixel points in the cluster matching the reference feature value obtained in step S20 can be realized to form a new cluster. Based on this, the cluster centers of multiple new clusters can also be obtained. This disclosure does not specifically limit the process.
- S3412 Determine the reference feature value matched by the cluster center of the new cluster, and determine the second area formed by the pixels in the new cluster in the target area;
- S3413 Determine the display color of the target object in the target area based on the reference feature value matched by the cluster center of the new cluster with the second largest area.
- the reference feature value matched by the cluster centers of the multiple new clusters can be re-determined.
- the color corresponding to the reference feature value with the closest distance to the cluster center is determined as the color corresponding to the new cluster.
- the second area formed by the corresponding new cluster can also be determined based on the pixels in the new cluster, for example, the area enclosed by the pixels in the new cluster can be determined, and The second area of the region is further determined, that is, the second area of the corresponding new cluster.
- the new cluster with the largest second area can be selected from it. Furthermore, the color corresponding to the reference feature value matched by the cluster center of the new cluster with the second largest area and greater than the area threshold may be determined as the display color of the target object.
- the color of the reference feature value corresponding to the new cluster with the second largest area can be obtained, and the display color can be determined as the display color of the target object.
- the embodiments of the present disclosure provide a technical solution for improving the display status of the accurate detection signal indicator, in which the target area in the image (signal indicator) is detected, and the target area Clustering is performed on the feature values of the pixel points in the target area to obtain multiple clusters, so as to obtain the display state of the target object according to the matching between the multiple clusters and the reference feature values.
- clustering processing similar pixels with the same display state can be determined as a cluster, and the display state of the target object can be accurately determined through further analysis of the cluster (cluster), which can improve the background of the signal indicator Robustness of interference.
- the embodiments of the present disclosure also provide an intelligent driving control method, which can be applied to intelligent driving equipment, such as intelligent driving vehicles (including automatic driving and advanced assisted driving systems), aircraft, and robots. And in equipment such as blind guide equipment.
- intelligent driving equipment such as intelligent driving vehicles (including automatic driving and advanced assisted driving systems), aircraft, and robots.
- equipment such as blind guide equipment.
- the present disclosure does not specifically limit the type of intelligent driving equipment, as long as the device can perform driving control in combination with the display state of the signal indicator light, it can be used as the main body of the application of the embodiments of the present disclosure.
- Fig. 7 shows a flowchart of a driving control method according to an embodiment of the present disclosure, wherein the driving control method may include:
- S100 Collect road images through the image collection device on the smart driving device
- An image acquisition device may be provided in the intelligent driving device, and the image acquisition device can acquire real-time road images in front of the intelligent driving device in the form of a process, so that road images including signal indicators can be acquired.
- S200 Use the road image as the target image to execute the method for detecting the state of the signal indicator light as described in the foregoing embodiment to obtain the display state of the signal indicator light in the road image;
- the above-mentioned signal indicator state detection method can be used to detect the display state of the signal indicator included in the road image.
- the specific process will not be repeated, and the detection process of the foregoing embodiment can be referred to.
- S200 Generate and output a control instruction for controlling the intelligent driving device according to the display state of the signal indicator in the road image, so as to control the intelligent driving device.
- the control of the driving parameters of the smart driving device can be executed according to the display state, that is, a control instruction for controlling the smart driving device is generated.
- the control command includes at least one of the following: a speed maintaining control command for maintaining the formal speed, a speed adjustment control command for adjusting the traveling speed, a direction maintaining control command for maintaining the traveling direction, and a direction adjustment control for adjusting the traveling direction Commands, warning prompt control commands for executing early warnings (such as red light warning, turning warning, etc.), and driving mode switching control commands.
- the color of the reference feature value for performing the clustering process can include a red reference feature value, a green reference feature value, and a yellow reference feature value.
- the red light in the signal indicator light when it is determined that the red light in the signal indicator light is on, it can correspondingly slow down or stop .
- the green light in the signal indicator light when it is determined that the green light in the signal indicator light is on, it indicates that it is possible to go straight through, or, in other embodiments, at least one of the driving direction, the selection of the lane, and the driving speed can be determined according to the lighted color of the turn indicator. .
- the control of the driving parameters of the intelligent driving device can be performed based on the recognized display state of the signal lamp. Since the obtained signal lamp display state is more accurate, the intelligent driving device can be accurately controlled.
- the writing order of the steps does not mean a strict execution order but constitutes any limitation on the implementation process.
- the specific execution order of each step should be based on its function and possibility.
- the inner logic is determined.
- the present disclosure also provides a signal indicator state detection device, a driving control device, electronic equipment, computer-readable storage medium, and a program, all of which can be used to implement any of the signal indicator state detection methods provided in the present disclosure or Driving control methods, corresponding technical solutions and descriptions, and refer to the corresponding records in the method section, will not be repeated.
- Fig. 8 shows a block diagram of a device for detecting the status of a signal indicator according to an embodiment of the present disclosure.
- the device for detecting the status of a signal indicator includes:
- the detection module 10 is configured to detect a target area in a target image and determine the first characteristic value of a pixel in the target area, and the target area includes at least one signal indicator with different display states;
- the clustering module 20 is configured to perform clustering processing on the pixels in the target area based on the first feature value to obtain multiple clusters for the pixels;
- the determining module 30 is configured to determine the display state of the signal indicator based on the obtained multiple clusters.
- the determining module is further configured to determine whether there is a reference feature value preset in the image acquisition device that acquires the target image and the first feature value corresponding to the cluster center of the cluster. The class center matching the reference feature value;
- the determining module is configured to determine whether there is a cluster center that matches the reference feature value based on the reference feature value and the first feature value corresponding to the cluster center of the cluster. Thereafter, in response to the absence of a cluster center matching the reference characteristic value, it is determined that the signal indicator is in the second state.
- the device further includes a setting module, which is configured to use the image acquisition device to shoot a color calibration plate to obtain a reference image;
- the reference feature value is determined according to the color value of the pixel point in the preset color area in the reference image.
- the setting module is used to:
- the color value of the pixel in the preset color area is determined as the reference feature value; or, the color value of the pixel in the preset color area is normalized to obtain the reference feature value.
- the reference characteristic value includes a reference characteristic value of a red state, a reference characteristic value of a yellow state, and a reference characteristic value of a green state.
- the determining module is further configured to, in the case of determining that the signal indicator is in the first state, based on the pixels in the cluster corresponding to the cluster center matching the reference feature value, Determine the first area formed by the cluster in the target area;
- the display color of the signal indicator in the target area is determined based on the reference feature value matched by the cluster center of the cluster with the largest area.
- the determining module is further configured to perform a calculation on the pixel points in the cluster corresponding to the cluster center matching the reference characteristic value when the signal indicator is determined to be in the first state. Cluster processing to obtain multiple new clusters;
- the detection module is used to:
- the clustering module is configured to use a K-means clustering algorithm to cluster pixels in the target area to obtain a preset number of clusters.
- Fig. 9 shows a block diagram of a driving control device according to an embodiment of the present disclosure.
- the driving control device includes:
- the image acquisition device 100 is installed on the intelligent driving device and used to collect road images
- the signal indicator status detection module 200 which is used to execute the signal indicator status detection method of any one of the first aspect using the road image as a target image to obtain the display of the signal indicator in the road image status;
- the control module 300 is configured to generate and output control instructions for controlling the smart driving device according to the display state of the signal indicator in the road image, so as to control the smart driving device.
- control instruction includes at least one of the following: a speed maintaining control instruction, a speed adjustment control instruction, a direction maintaining control instruction, a direction adjustment control instruction, an early warning prompt control instruction, and a driving mode switching control instruction.
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- the embodiment of the present disclosure also proposes a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor.
- the computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium.
- An embodiment of the present disclosure also provides an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured as the above method.
- the embodiment of the present disclosure also proposes a computer program, including computer readable code, when the computer readable code is executed in an electronic device, the processor in the electronic device executes to implement the above method.
- the electronic device can be provided as a terminal, server or other form of device.
- Fig. 10 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
- the electronic device 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and other terminals.
- the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, and a sensor component 814 , And communication component 816.
- the processing component 802 generally controls the overall operations of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the foregoing method.
- the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components.
- the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
- the memory 804 is configured to store various types of data to support operations in the electronic device 800. Examples of these data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc.
- the memory 804 can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic Disk or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read-only memory
- EPROM erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Magnetic Disk Magnetic Disk or Optical Disk.
- the power supply component 806 provides power for various components of the electronic device 800.
- the power supply component 806 may include a power management system, one or more power supplies, and other components associated with the generation, management, and distribution of power for the electronic device 800.
- the multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user.
- the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
- the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 810 is configured to output and/or input audio signals.
- the audio component 810 includes a microphone (MIC).
- the microphone is configured to receive external audio signals.
- the received audio signal may be further stored in the memory 804 or transmitted via the communication component 816.
- the audio component 810 further includes a speaker for outputting audio signals.
- the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module.
- the peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
- the sensor component 814 includes one or more sensors for providing the electronic device 800 with various aspects of state evaluation.
- the sensor component 814 can detect the on/off status of the electronic device 800 and the relative positioning of the components.
- the component is the display and the keypad of the electronic device 800.
- the sensor component 814 can also detect the electronic device 800 or the electronic device 800.
- the position of the component changes, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800.
- the sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact.
- the sensor component 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
- the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
- the electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
- the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
- the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication.
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- the electronic device 800 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field A programmable gate array (FPGA), controller, microcontroller, microprocessor, or other electronic components are implemented to implement the above methods.
- ASIC application specific integrated circuits
- DSP digital signal processors
- DSPD digital signal processing devices
- PLD programmable logic devices
- FPGA field A programmable gate array
- controller microcontroller, microprocessor, or other electronic components are implemented to implement the above methods.
- a non-volatile computer-readable storage medium or a volatile computer-readable storage medium is also provided, such as the memory 804 including computer program instructions, which can be processed by the electronic device 800.
- the device 820 executes to complete the above method.
- Fig. 11 shows another block diagram of an electronic device according to an embodiment of the present disclosure.
- the electronic device 1900 may be provided as a server. 11, the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932, for storing instructions that can be executed by the processing component 1922, such as application programs.
- the application program stored in the memory 1932 may include one or more modules each corresponding to a set of instructions.
- the processing component 1922 is configured to execute instructions to perform the above-described method.
- the electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input output (I/O) interface 1958 .
- the electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
- a non-volatile computer-readable storage medium or a volatile computer-readable storage medium is also provided, such as the memory 1932 including computer program instructions, which can be processed by the electronic device 1900.
- the component 1922 executes to complete the above method.
- the present disclosure may be a system, method, and/or computer program product.
- the computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the present disclosure.
- the computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device.
- the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- Computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a printer with instructions stored thereon
- RAM random access memory
- ROM read-only memory
- EPROM erasable programmable read-only memory
- flash memory flash memory
- SRAM static random access memory
- CD-ROM compact disk read-only memory
- DVD digital versatile disk
- memory stick floppy disk
- mechanical encoding device such as a printer with instructions stored thereon
- the computer-readable storage medium used here is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through optical fiber cables), or through wires Transmission of electrical signals.
- the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
- the network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- the network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
- the computer program instructions used to perform the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, status setting data, or in one or more programming languages.
- Source code or object code written in any combination, the programming language includes object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages.
- Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server carried out.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to access the Internet connection).
- LAN local area network
- WAN wide area network
- an electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by using the status information of the computer-readable program instructions.
- the computer-readable program instructions are executed to realize various aspects of the present disclosure.
- These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these instructions are executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowchart and/or block diagram is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner, so that the computer-readable medium storing instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
- each block in the flowchart or block diagram may represent a module, program segment, or part of an instruction, and the module, program segment, or part of an instruction contains one or more functions for implementing the specified logical function.
- Executable instructions may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Probability & Statistics with Applications (AREA)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
Claims (27)
- 一种信号指示灯的状态检测方法,其特征在于,包括:检测目标图像中的目标区域,并确定所述目标区域内像素点的第一特征值,所述目标区域中包括至少一个具有不同显示状态的信号指示灯;基于所述第一特征值对所述目标区域内的像素点进行聚类处理,得到针对像素点的多个类组;基于得到的所述多个类组确定所述信号指示灯的显示状态。
- 根据权利要求1所述的方法,其特征在于,所述基于得到的所述多个类组确定所述信号指示灯的显示状态,包括:根据所述目标图像的图像采集设备中预设的参考特征值和所述类组的类中心对应的第一特征值,确定是否存在与所述参考特征值匹配的类中心;响应于存在与所述参考特征值匹配的类中心,确定所述信号指示灯为第一状态。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:在根据所述参考特征值和所述类组的类中心对应的第一特征值,确定是否存在与所述参考特征值匹配的类中心之后,响应于不存在与所述参考特征值匹配的类中心,确定所述信号指示灯为第二状态。
- 根据权利要求2或3所述的方法,其特征在于,采用以下步骤设定所述参考特征值:利用所述图像采集设备拍摄色彩标定板,得到参考图像;根据所述参考图像中预设颜色区域内的像素点的色值,确定所述参考特征值。
- 根据权利要求4所述的方法,其特征在于,所述根据所述参考图像中预设颜色区域内的像素点的色值,确定所述参考特征值,包括:将所述预设颜色区域内的像素点的色值确定为所述参考特征值;或者对所述预设颜色区域内的像素点的色值执行归一化处理,得到所述参考特征值。
- 根据权利要求2-5中任一项所述的方法,其特征在于,所述参考特征值包括红色状态的参考特征值、黄色状态的参考特征值以及绿色状态的参考特征值。
- 根据权利要求2-6中任一项所述的方法,其特征在于,所述方法还包括:在确定所述信号指示灯为第一状态的情况下,基于与所述参考特征值匹配的类中心对应的类组内的像素点,确定所述类组在所述目标区域中所形成的第一面积;将第一面积最大的类组包含的像素点确定为所述信号指示灯包含的像素点;基于所述第一面积最大的类组的类中心所匹配的参考特征值,确定所述目标区域内的所述信号指示灯的显示颜色。
- 根据权利要求2-6中任一项所述的方法,其特征在于,所述方法还包括:在确定所述信号指示灯为第一状态的情况下,对与所述参考特征值匹配的类中心对应的类组内的像素点进行聚类处理,得到多个新的类组;确定所述新的类组的类中心所匹配的参考特征值,并确定所述新的类组中的像素点在所述目标区域中所形成的第二面积;将第二面积最大的类组包含的像素点确定为所述信号指示灯包含的像素点;基于所述第二面积最大的类组的类中心所匹配的参考特征值,确定所述目标区域内的所述信号指示灯的显示颜色。
- 根据权利要求1-8中任意一项所述的方法,其特征在于,所述确定所述目标区域内像素点的第一特征值,包括:将所述目标区域内像素点的色值确定为所述第一特征值;或者对所述目标区域内像素点的色值执行归一化处理,得到所述第一特征值。
- 根据权利要求1-9中任意一项所述的方法,其特征在于,所述基于所述第一特征值对所述目标区域内的像素点进行聚类处理,得到针对像素点的多个类组,包括:通过K-均值聚类算法,对所述目标区域内的像素点进行聚类,得到预设数目个类组。
- 一种驾驶控制方法,其特征在于,包括:通过智能驾驶设备上的图像采集设备采集道路图像;将所述道路图像作为目标图像执行如权利要求1-10中任一项所述的信号指示灯的状态检测方法,得到所述道路图像中的信号指示灯的显示状态;根据所述道路图像中的信号指示灯的显示状态,生成控制所述智能行驶设备的控制指令并输出,以控制所述智能驾驶设备。
- 根据权利要求11所述的方法,其特征在于,所述控制指令包括以下至少之一:速度保持控制指令、速度调整控制指令、方向保持控制指令、方向调整控制指令、预警提示控制指令、驾驶模式切换控制指令。
- 一种信号指示灯的状态检测装置,其特征在于,包括:检测模块,其用于检测目标图像中的目标区域,并确定所述目标区域内像素点的第一特征值,所述目标区域中包括至少一个具有不同显示状态的信号指示灯;聚类模块,其用于基于所述第一特征值对所述目标区域内的像素点进行聚类处理,得到针对像素点的多个类组;确定模块,其用于基于得到的所述多个类组确定所述信号指示灯的显示状态。
- 根据权利要求13所述的装置,其特征在于,所述确定模块,用于根据获取所述目标图像的图像采集设备中预设的参考特征值和所述类组的类中心对应的第一特征值,确定是否存在与所述参考特征值匹配的类中心;响应于存在与所述参考特征值匹配的类中心,确定所述信号指示灯为第一状态。
- 根据权利要求14所述的装置,其特征在于,所述确定模块,还用于在根据所述参考特征值和所述类组的类中心对应的第一特征值,确定是否存在与所述参考特征值匹配的类中心之后,响应于不存在与所述参考特征值匹配的类中心,确定所述信号指示灯为第二状态。
- 根据权利要求14或15所述的装置,其特征在于,所述装置还包括设定模块,其用于利用所述图像采集设备拍摄色彩标定板,得到参考图像;根据所述参考图像中预设颜色区域内的像素点的色值,确定所述参考特征值。
- 根据权利要求16所述的装置,其特征在于,所述设定模块,用于:利用所述图像采集设备拍摄色彩标定板,得到参考图像;将所述预设颜色区域内的像素点的色值确定为所述参考特征值;或者,对所述预设颜色区域内的像素点的色值执行归一化处理,得到所述参考特征值。
- 根据权利要求14-17中任意一项所述的装置,其特征在于,所述参考特征值包括红色状态的参考特征值、黄色状态的参考特征值以及绿色状态的参考特征值。
- 根据权利要求14-18中任意一项所述的装置,其特征在于,所述确定模块还用于在确定所述信号指示灯为第一状态的情况下,基于与所述参考特征值匹配的类中心对应的类组内的像素点,确定所述类组在所述目标区域中所形成的第一面积;将第一面积最大的类组包含的像素点确定为所述信号指示灯包含的像素点;基于所述第一面积最大的类组的类中心所匹配的参考特征值,确定所述目标区域内的所述信号指示灯的显示颜色。
- 根据权利要求14-18中任意一项所述的装置,其特征在于,所述确定模块还用于在确定所述信号指示灯为第一状态的情况下,对与所述参考特征值匹配的类中心对应的类组内的像素点进行聚类处理,得到多个新的类组;确定所述新的类组的类中心所匹配的参考特征值,并确定所述新的类组中的像素点在所述目标区域中所形成的第二面积;将第二面积最大的类组包含的像素点确定为所述信号指示灯包含的像素点;基于所述第二面积最大的类组的类中心所匹配的参考特征值,确定所述目标区域内 的所述信号指示灯的显示颜色。
- 根据权利要求14-20中任意一项所述的装置,其特征在于,所述检测模块,用于:检测目标图像中的目标区域;将所述目标区域内像素点的色值确定为所述第一特征值;或者,对所述目标区域内像素点的色值执行归一化处理,得到所述第一特征值。
- 根据权利要求14-21中任意一项所述的装置,其特征在于,所述聚类模块,用于通过K-均值聚类算法,对所述目标区域内的像素点进行聚类,得到预设数目个类组。
- 一种驾驶控制装置,其特征在于,包括:图像采集设备,其安装在智能驾驶设备上,并用于采集道路图像;信号指示灯状态检测模块,其用于将所述道路图像作为目标图像执行如权利要求1-10中任一项所述的信号指示灯的状态检测方法,得到所述道路图像中的信号指示灯的显示状态;控制模块,其用于根据所述道路图像中的信号指示灯的显示状态,生成控制所述智能行驶设备的控制指令并输出,以控制所述智能驾驶设备。
- 根据权利要求23所述的装置,其特征在于,所述控制指令包括以下至少之一:速度保持控制指令、速度调整控制指令、方向保持控制指令、方向调整控制指令、预警提示控制指令、驾驶模式切换控制指令。
- 一种电子设备,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:执行权利要求1至10中任意一项所述的方法,或者执行权利要求11或12所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至10中任意一项所述的方法,或者实现权利要求11或12所述的方法。
- 一种计算机程序,包括计算机可读代码,其特征在于,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行用于实现权利要求1至10中任意一项所述的方法,或者实现权利要求11或12所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020217011238A KR20210058931A (ko) | 2019-05-28 | 2020-05-19 | 신호 표시등의 상태 검출 방법 및 장치, 운전 제어 방법 및 장치 |
SG11202102249UA SG11202102249UA (en) | 2019-05-28 | 2020-05-19 | State detection method and device for signal indicator, driving control method and device |
JP2021513233A JP2021536069A (ja) | 2019-05-28 | 2020-05-19 | 信号表示灯の状態検出方法及び装置、運転制御方法及び装置 |
US17/159,352 US20210150232A1 (en) | 2019-05-28 | 2021-01-27 | Method and device for detecting a state of signal indicator light, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910450394.3 | 2019-05-28 | ||
CN201910450394.3A CN112016344A (zh) | 2019-05-28 | 2019-05-28 | 信号指示灯的状态检测方法及装置、驾驶控制方法及装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/159,352 Continuation US20210150232A1 (en) | 2019-05-28 | 2021-01-27 | Method and device for detecting a state of signal indicator light, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020238699A1 true WO2020238699A1 (zh) | 2020-12-03 |
Family
ID=73501363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/091064 WO2020238699A1 (zh) | 2019-05-28 | 2020-05-19 | 信号指示灯的状态检测方法及装置、驾驶控制方法及装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20210150232A1 (zh) |
JP (1) | JP2021536069A (zh) |
KR (1) | KR20210058931A (zh) |
CN (1) | CN112016344A (zh) |
SG (1) | SG11202102249UA (zh) |
WO (1) | WO2020238699A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114148252A (zh) * | 2021-12-27 | 2022-03-08 | 一汽解放汽车有限公司 | 应用于车辆中的指示灯控制方法、装置、设备及介质 |
CN117350485A (zh) * | 2023-09-27 | 2024-01-05 | 广东电网有限责任公司 | 基于数据挖掘模型的电力市场管控方法和系统 |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699773B (zh) * | 2020-12-28 | 2023-09-01 | 阿波罗智联(北京)科技有限公司 | 交通灯识别方法、装置及电子设备 |
US20220318954A1 (en) * | 2021-03-31 | 2022-10-06 | Advanced Micro Devices, Inc. | Real time machine learning-based privacy filter for removing reflective features from images and video |
CN113657175A (zh) * | 2021-07-21 | 2021-11-16 | 山东爱普电气设备有限公司 | 配电柜开关状态智能识别方法、系统、存储介质及设备 |
CN113747636B (zh) * | 2021-08-24 | 2022-04-19 | 安顺市成威科技有限公司 | 一种基于无线传感器技术的智慧路灯智能调控方法及云调控系统 |
CN114066823A (zh) * | 2021-10-27 | 2022-02-18 | 随锐科技集团股份有限公司 | 检测色块的方法及其相关产品 |
CN114359844B (zh) * | 2022-03-21 | 2022-06-21 | 广州银狐科技股份有限公司 | 一种基于色彩识别的aed设备状态监测方法及系统 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102785645A (zh) * | 2012-04-20 | 2012-11-21 | 中兴通讯股份有限公司 | 一种判断交通灯的方法及终端 |
CN103093245A (zh) * | 2013-01-21 | 2013-05-08 | 信帧电子技术(北京)有限公司 | 视频图像中识别信号灯的方法 |
US20160318490A1 (en) * | 2015-04-28 | 2016-11-03 | Mobileye Vision Technologies Ltd. | Systems and methods for causing a vehicle response based on traffic light detection |
CN108108761A (zh) * | 2017-12-21 | 2018-06-01 | 西北工业大学 | 一种基于深度特征学习的快速交通信号灯检测方法 |
CN109389838A (zh) * | 2018-11-26 | 2019-02-26 | 爱驰汽车有限公司 | 无人驾驶路口路径规划方法、系统、设备及存储介质 |
US20190130199A1 (en) * | 2018-12-27 | 2019-05-02 | Intel Corporation | Infrastructure element state model and prediction |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1220182A3 (en) * | 2000-12-25 | 2005-08-17 | Matsushita Electric Industrial Co., Ltd. | Image detection apparatus, program, and recording medium |
CN100498870C (zh) * | 2006-06-26 | 2009-06-10 | 上海宝信软件股份有限公司 | 基于视频图像处理的交通信号灯状态判定方法 |
JP2013242686A (ja) * | 2012-05-21 | 2013-12-05 | Nissan Motor Co Ltd | 信号機検出装置及び信号機検出方法 |
CN104019901B (zh) * | 2014-06-16 | 2016-02-17 | 哈尔滨工业大学 | 一种基于动态聚类方法的汽车仪表指示灯颜色检测方法 |
JP6679857B2 (ja) * | 2015-04-02 | 2020-04-15 | 株式会社リコー | 認識装置、認識方法及びプログラム |
CN107527511B (zh) * | 2016-06-22 | 2020-10-09 | 杭州海康威视数字技术股份有限公司 | 一种智能车辆行车提醒方法及装置 |
JP6819996B2 (ja) * | 2016-10-14 | 2021-01-27 | 国立大学法人金沢大学 | 交通信号認識方法および交通信号認識装置 |
JP6825299B2 (ja) * | 2016-10-24 | 2021-02-03 | 株式会社リコー | 情報処理装置、情報処理方法およびプログラム |
CN108961357B (zh) * | 2017-05-17 | 2023-07-21 | 浙江宇视科技有限公司 | 一种交通信号灯过爆图像强化方法及装置 |
CN109684900B (zh) * | 2017-10-18 | 2021-03-02 | 百度在线网络技术(北京)有限公司 | 用于输出颜色信息的方法和装置 |
CN108681994B (zh) * | 2018-05-11 | 2023-01-10 | 京东方科技集团股份有限公司 | 一种图像处理方法、装置、电子设备及可读存储介质 |
CN109116846B (zh) * | 2018-08-29 | 2022-04-05 | 五邑大学 | 一种自动驾驶方法、装置、计算机设备和存储介质 |
CN109784317B (zh) * | 2019-02-28 | 2021-02-23 | 东软睿驰汽车技术(沈阳)有限公司 | 一种交通信号灯的识别方法及装置 |
-
2019
- 2019-05-28 CN CN201910450394.3A patent/CN112016344A/zh active Pending
-
2020
- 2020-05-19 KR KR1020217011238A patent/KR20210058931A/ko not_active Application Discontinuation
- 2020-05-19 JP JP2021513233A patent/JP2021536069A/ja active Pending
- 2020-05-19 SG SG11202102249UA patent/SG11202102249UA/en unknown
- 2020-05-19 WO PCT/CN2020/091064 patent/WO2020238699A1/zh active Application Filing
-
2021
- 2021-01-27 US US17/159,352 patent/US20210150232A1/en not_active Abandoned
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102785645A (zh) * | 2012-04-20 | 2012-11-21 | 中兴通讯股份有限公司 | 一种判断交通灯的方法及终端 |
CN103093245A (zh) * | 2013-01-21 | 2013-05-08 | 信帧电子技术(北京)有限公司 | 视频图像中识别信号灯的方法 |
US20160318490A1 (en) * | 2015-04-28 | 2016-11-03 | Mobileye Vision Technologies Ltd. | Systems and methods for causing a vehicle response based on traffic light detection |
CN108108761A (zh) * | 2017-12-21 | 2018-06-01 | 西北工业大学 | 一种基于深度特征学习的快速交通信号灯检测方法 |
CN109389838A (zh) * | 2018-11-26 | 2019-02-26 | 爱驰汽车有限公司 | 无人驾驶路口路径规划方法、系统、设备及存储介质 |
US20190130199A1 (en) * | 2018-12-27 | 2019-05-02 | Intel Corporation | Infrastructure element state model and prediction |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114148252A (zh) * | 2021-12-27 | 2022-03-08 | 一汽解放汽车有限公司 | 应用于车辆中的指示灯控制方法、装置、设备及介质 |
CN114148252B (zh) * | 2021-12-27 | 2023-12-29 | 一汽解放汽车有限公司 | 应用于车辆中的指示灯控制方法、装置、设备及介质 |
CN117350485A (zh) * | 2023-09-27 | 2024-01-05 | 广东电网有限责任公司 | 基于数据挖掘模型的电力市场管控方法和系统 |
Also Published As
Publication number | Publication date |
---|---|
JP2021536069A (ja) | 2021-12-23 |
SG11202102249UA (en) | 2021-04-29 |
KR20210058931A (ko) | 2021-05-24 |
CN112016344A (zh) | 2020-12-01 |
US20210150232A1 (en) | 2021-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020238699A1 (zh) | 信号指示灯的状态检测方法及装置、驾驶控制方法及装置 | |
TWI728621B (zh) | 圖像處理方法及其裝置、電子設備、電腦可讀儲存媒體和電腦程式 | |
US20200326179A1 (en) | Distance Measurement Method, Intelligent Control Method, Electronic Device, and Storage Medium | |
WO2021155632A1 (zh) | 图像处理方法及装置、电子设备和存储介质 | |
US10007841B2 (en) | Human face recognition method, apparatus and terminal | |
CN106651955B (zh) | 图片中目标物的定位方法及装置 | |
CN108629354B (zh) | 目标检测方法及装置 | |
WO2020259291A1 (zh) | 指示灯的指示信息识别方法及装置、电子设备和存储介质 | |
TW202105246A (zh) | 人臉識別方法、電子設備和儲存介質 | |
CN110009090B (zh) | 神经网络训练与图像处理方法及装置 | |
US11288531B2 (en) | Image processing method and apparatus, electronic device, and storage medium | |
US9733713B2 (en) | Laser beam based gesture control interface for mobile devices | |
WO2020019760A1 (zh) | 活体检测方法、装置及系统、电子设备和存储介质 | |
CN107784279B (zh) | 目标跟踪方法及装置 | |
CN105335684B (zh) | 人脸检测方法及装置 | |
JP7419495B2 (ja) | 投影方法および投影システム | |
US11455836B2 (en) | Dynamic motion detection method and apparatus, and storage medium | |
US20210152750A1 (en) | Information processing apparatus and method for controlling the same | |
WO2021057244A1 (zh) | 光强调节方法及装置、电子设备和存储介质 | |
US11450021B2 (en) | Image processing method and apparatus, electronic device, and storage medium | |
US11574415B2 (en) | Method and apparatus for determining an icon position | |
AU2020323956B2 (en) | Image processing method and apparatus, electronic device, and storage medium | |
CN112819714A (zh) | 目标对象曝光方法、装置、存储介质及设备 | |
EP3825894A1 (en) | Method, device and terminal for performing word segmentation on text information, and storage medium | |
US9684828B2 (en) | Electronic device and eye region detection method in electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20814736 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021513233 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20217011238 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20814736 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.08.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20814736 Country of ref document: EP Kind code of ref document: A1 |