CN107458299B - Vehicle lamp control method and device and computer readable storage medium - Google Patents

Vehicle lamp control method and device and computer readable storage medium Download PDF

Info

Publication number
CN107458299B
CN107458299B CN201710661608.2A CN201710661608A CN107458299B CN 107458299 B CN107458299 B CN 107458299B CN 201710661608 A CN201710661608 A CN 201710661608A CN 107458299 B CN107458299 B CN 107458299B
Authority
CN
China
Prior art keywords
scene image
preset
scene
determining
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.)
Active
Application number
CN201710661608.2A
Other languages
Chinese (zh)
Other versions
CN107458299A (en
Inventor
周伟
靳惠惠
沈红荣
殷尚品
马磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery Automobile Co Ltd
Original Assignee
Chery Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chery Automobile Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN201710661608.2A priority Critical patent/CN107458299B/en
Publication of CN107458299A publication Critical patent/CN107458299A/en
Application granted granted Critical
Publication of CN107458299B publication Critical patent/CN107458299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a vehicle lamp control method, a vehicle lamp control device and a computer readable storage medium, and belongs to the field of vehicle engineering. The method comprises the following steps: acquiring a scene image of a current position; when the scene image accords with a preset control rule, acquiring a car light identifier corresponding to the scene image, wherein the preset control rule is a rule for controlling a car light; and turning on or turning off the vehicle lamp corresponding to the vehicle lamp identifier. According to the invention, the scene image of the automobile is collected and the collected scene image is analyzed, so that the automobile lamp which needs driving assistance at present is automatically turned on or off, the probability of accidents is reduced, and the driving safety of the automobile is improved.

Description

Vehicle lamp control method and device and computer readable storage medium
Technical Field
The present invention relates to the field of vehicle engineering technologies, and in particular, to a method and an apparatus for controlling a vehicle lamp, and a computer-readable storage medium.
Background
With the progress of society, the development of technology and the improvement of living standard, automobiles have started to walk into ordinary families as important travel vehicles for people. The vehicle lights of the vehicle generally include a low beam light, a high beam light, a running light, a front fog light, etc., and when a user drives the vehicle, the vehicle lights are usually turned on or off to improve driving safety.
At present, a user can manually turn on corresponding lights according to the current driving environment. For example, when a user drives a car at night or in a dark place, the user can turn on the dipped headlight by manually operating the light button in order to safely drive on the road.
However, the user may not be in time to turn on the vehicle lamp or forget to turn on the vehicle lamp, which causes accidents, thereby increasing the probability of traffic accidents and generating potential safety hazards.
Disclosure of Invention
In order to reduce the probability of occurrence of a traffic accident and avoid the generation of potential safety hazards, the embodiment of the invention provides a vehicle lamp control method, a vehicle lamp control device and a computer-readable storage medium. The technical scheme is as follows:
in a first aspect, a vehicle lamp control method is provided, the method including:
acquiring a scene image of a current position;
when the scene image accords with a preset control rule, acquiring a car light identifier corresponding to the scene image, wherein the preset control rule is a rule for controlling a car light;
and turning on or turning off the vehicle lamp corresponding to the vehicle lamp identifier.
Optionally, after acquiring the scene image of the current position, the method further includes:
determining the brightness of the scene image;
and when the brightness of the scene image is the same as that of any one of the stored preset scene templates, determining that the scene image conforms to the preset control rule.
Optionally, after acquiring the scene image of the current position, the method further includes:
determining a weather condition indicated by the scene imagery;
and when a preset scene template with the weather condition the same as that indicated by the scene image exists in the plurality of stored preset scene templates, determining that the scene image conforms to the preset control rule.
Optionally, after acquiring the scene image of the current position, the method further includes:
determining the brightness of the scene image;
and when the brightness of the scene image is less than or equal to the preset brightness, determining that the scene image conforms to the preset control rule.
Optionally, after acquiring the scene image of the current position, the method further includes:
when a pedestrian exists in the scene image, determining the distance and the direction between the pedestrian and the scene image;
and when the direction between the pedestrians is a preset direction and the distance between the pedestrians is smaller than or equal to a preset distance, giving an alarm.
In a second aspect, there is provided a vehicle lamp control device, the device including:
the acquisition module is used for acquiring a scene image of a current position;
the acquisition module is used for acquiring the car light identifier corresponding to the scene image when the scene image accords with a preset control rule, wherein the preset control rule is a rule for controlling the car light;
and the control module is used for starting or closing the vehicle lamp corresponding to the vehicle lamp identifier.
Optionally, the apparatus further comprises:
the first determining module is used for determining the brightness of the scene image;
and the second determining module is used for determining that the scene image accords with the preset control rule when the brightness of the scene image is the same as that of any one of the stored preset scene templates.
Optionally, the apparatus further comprises:
a third determining module, configured to determine a weather condition indicated by the scene image;
and the fourth determining module is used for determining that the scene image accords with the preset control rule when a preset scene template with the weather condition same as the weather condition indicated by the scene image exists in the plurality of stored preset scene templates.
Optionally, the apparatus further comprises:
a fifth determining module, configured to determine brightness of the scene image;
and the sixth determining module is used for determining that the scene image accords with the preset control rule when the brightness of the scene image is less than or equal to the preset brightness.
Optionally, the apparatus further comprises:
a seventh determining module, configured to determine, when a pedestrian exists in the scene image, a distance and a direction to the pedestrian;
and the warning module is used for warning when the direction between the pedestrians is a preset direction and the distance between the pedestrians is less than or equal to a preset distance.
In a third aspect, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, implements any of the methods provided in the first aspect above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: in the embodiment of the invention, the scene image of the current position can be collected, and when the collected scene image accords with the preset control rule, the automobile lamp which needs driving assistance currently is automatically turned on or off, so that the probability of accident occurrence is reduced, and the driving safety of the automobile is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a vehicle lamp control system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a vehicle light control method according to an embodiment of the present invention;
fig. 3A is a schematic structural diagram of a first vehicle lamp control device according to an embodiment of the present invention;
fig. 3B is a schematic structural diagram of a second vehicle lamp control device according to an embodiment of the present invention;
FIG. 3C is a schematic structural diagram of a third vehicular lamp control device according to an embodiment of the present invention;
fig. 3D is a schematic structural diagram of a fourth vehicle lamp control device according to the embodiment of the invention;
fig. 3E is a schematic structural diagram of a fifth vehicle lamp control device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a sixth vehicle lamp control device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, an application scenario and a system architecture related to the embodiments of the present invention are explained separately.
First, an application scenario related to the embodiment of the present invention is described.
At present, when a user drives a car, the user may use the light of the car according to the driving environment, for example, when the car is driven in a rainy and foggy weather, the fog light of the car needs to be turned on; when the automobile runs at night, the dipped headlight or the high beam needs to be turned on; when the automobile turns, a turn light needs to be turned on, and the like. However, at present, the user can only manually turn on the automobile light according to the judgment of the user. Based on the scene, the embodiment of the invention provides a method for automatically turning on or turning off the automobile lamp according to the scene of the automobile.
Next, a system architecture according to an embodiment of the present invention will be described.
Fig. 1 is a schematic structural diagram of a vehicle light Control system according to an embodiment of the present invention, and referring to fig. 1, the system includes a camera 1, an AVM (Around View Monitor, panoramic parking image system) Controller 2, a CAN (Controller Area Network) bus 3, a BCM (Body Control Module) Controller 4, and a light Control system 5. The camera may include one camera or a plurality of cameras, and in the embodiment of the present invention, one camera is taken as an example for description. The camera 1 CAN be connected with the AVM controller 2 through the CAN bus 3, the AVM controller 2 CAN be connected with the BCM controller 4 through the CAN bus 3, and the BCM controller 4 CAN be connected with the light control system 5 through the CAN bus 3. The camera 1 CAN collect images around the vehicle, obtain a scene image of the current position of the vehicle, send the scene image to the AVM controller 2, the AVM controller 2 CAN receive the scene image sent by the camera, analyze the scene image, judge whether the scene image meets a preset control rule, and obtain a vehicle lamp identifier corresponding to the scene image when the scene image meets the preset control rule, and send the vehicle lamp identifier to the BCN controller through the CAN bus, the BCM controller CAN send an opening or closing instruction to a corresponding vehicle lamp in a light control system according to the vehicle lamp identifier, so as to control the vehicle lamp to be opened or closed.
It should be noted that, in the embodiment of the present invention, the vehicle lamp control system may further include other modules, for example, a horn control system, a power supply unit, and the like.
Fig. 2 is a flowchart of a vehicle lamp control method according to an embodiment of the present invention, and referring to fig. 2, the method specifically includes the following steps.
Step 201: and acquiring a scene image of the current position.
The automobile can acquire the scene image of the current position in real time through the installed camera, and certainly, in practical application, because the automobile can be in the same scene for a long time, in order to reduce consumption of automobile resources, the automobile can acquire the scene image of the current position at specified time intervals.
It should be noted that the specified time interval may be set in advance, for example, the specified time interval may be 1 minute, 5 minutes, 10 minutes, and so on.
Step 202: after the automobile acquires the scene image of the current position, whether the scene image meets the preset control rule or not can be determined.
It should be noted that the preset control rule is a rule for controlling the vehicle lights, and the preset control rule may be set in advance, for example, the preset control rule may be a scene template with the same brightness as the scene image existing in the preset scene module board, or a scene template with the same weather condition as the weather condition indicated by the scene image existing in the preset scene template. In addition, the vehicle may include one preset control rule or a plurality of different preset control rules, and in practical applications, in order to reduce the probability of an accident, the vehicle generally includes a plurality of different preset control rules, so as to meet the vehicle lamp control requirements of the vehicle in different scenes.
The method for determining whether the scene image meets the preset rule by the automobile is different according to different preset control rules, and specifically includes the following three methods.
In the first way, the automobile can determine the brightness of the scene image; and when the brightness of the scene image is the same as that of any one of the stored preset scene templates, determining that the scene image conforms to a preset control rule.
When the same camera is used for image acquisition in different scenes, the acquired scene images have different brightness due to different scene brightness, so that the automobile can compare the brightness of the scene images with the brightness of any one of the preset scene templates, and when the brightness of the scene images is the same as the brightness of any one of the stored preset scene templates, the scene images are determined to accord with the preset control rule.
It should be noted that the multiple preset scene templates may be stored in advance, and the multiple preset scene templates include multiple driving scenes of the vehicle, for example, a scene in which the vehicle is driven at night, a scene in which the vehicle is driven in rainy and foggy weather, and the like.
It should be noted that, the automobile may not only determine whether the scene image meets the preset control rule through the preset scene template, but also determine the automobile through other manners, for example, after the automobile determines the brightness of the scene image, when the brightness of the scene image is less than or equal to the preset brightness, it is determined that the scene image meets the preset control rule.
It should be noted that the preset luminance may be set in advance, for example, the preset luminance may be 10cd (candela), 15cd, 20cd, and so on.
For example, when the brightness of the scene image determined by the vehicle is 20cd and the preset brightness is 25cd, and the brightness of the scene image is less than the preset brightness of 25cd, it is determined that the scene image conforms to the preset control rule.
And when the brightness of the scene image is greater than the preset brightness, determining that the scene image does not accord with the preset control rule.
In the second mode, the automobile determines the weather condition indicated by the scene image; and when a preset scene template with the weather condition the same as that indicated by the scene image exists in the plurality of stored preset scene templates, determining that the scene image conforms to the preset control rule.
Because the car under different weather conditions, may also need to open different light, for example, when the car was gone in rain and fog weather, light probably can reduce, leads to user's sight to receive the hindrance, and at this moment, in order to guarantee the security of driving, the fog light lamp need be opened. Therefore, when the automobile acquires the currently acquired scene image, the weather condition indicated by the scene image can be determined, whether the weather condition which is the same as the weather condition indicated by the scene image exists in the plurality of preset scene templates or not is determined, and when the preset scene template which is the same as the weather condition indicated by the scene image exists in the plurality of preset scene templates, the scene image is determined to accord with the preset control rule.
The automobile can acquire any frame of image in the scene image, the definition of the image is determined, and when the definition of the image is smaller than or equal to the preset definition, the weather condition indicated by the scene image is determined to be rain and fog weather. And when the definition of the image is greater than the preset definition, determining that the weather condition indicated by the scene image is sunny.
In the third mode, the automobile determines the road condition indicated by the scene image; and when the road condition indicated by the scene image is a turning road condition, determining that the scene image conforms to the preset control rule.
The automobile can determine the driving road in the scene image through an image recognition technology, determine whether the driving road of the automobile is not a straight line through a straight line detection mode, determine that the bending direction of the driving road of the automobile is left-hand bending or right-hand bending, and at the moment, determine that the scene image conforms to the preset control rule.
Furthermore, after the automobile collects the scene image of the current position, not only can whether the scene image meets the preset control rule be determined, but also whether a pedestrian exists in the scene image can be determined, and when the pedestrian exists in the scene image, the distance and the direction between the automobile and the pedestrian can be determined; and when the direction between the pedestrian and the pedestrian is a preset direction and the distance between the pedestrian and the pedestrian is less than or equal to a preset distance, giving an alarm.
In the embodiment of the invention, after the automobile collects the current scene image, whether the pedestrian exists in the scene image can be determined. When a pedestrian exists in the scene image, sometimes the pedestrian has a certain distance from the automobile and the direction between the pedestrian and the automobile does not cause an accident, at this moment, the automobile still needs to determine the distance and the direction between the automobile and the pedestrian, and when the direction between the automobile and the pedestrian is a preset direction and the distance between the automobile and the pedestrian is smaller than or equal to the preset distance, an alarm is given.
The automobile can determine whether pedestrians exist in the scene image through an image analysis method. In addition, the preset direction may be set in advance, for example, the preset direction may be right in front of the automobile, left above, right above, and the like.
It should be noted that, in the embodiment of the present invention, the operation of step 202 may be implemented by the AVM controller in fig. 1.
It should be noted that, in order to improve the safety of driving the automobile, when the automobile determines whether the scene image meets the preset control rule, and also determines whether a pedestrian exists in the scene image, and when it is determined that the scene image meets the preset control rule, the direction between the automobile and the pedestrian is the preset direction, and the distance between the automobile and the pedestrian is less than or equal to the preset distance, on one hand, the lamps of the automobile are controlled through the following operations of steps 203 and 204, and on the other hand, an alarm is given through a horn system and the like.
Step 203: and when the scene image accords with the preset control rule, acquiring the car lamp identifier corresponding to the scene image.
When the scene image meets the preset control rule, it is indicated that the scene where the automobile is located needs to be assisted by the automobile lamp for driving, so that when the scene image meets the preset control rule, the automobile can acquire the automobile lamp identifier corresponding to the scene image.
It should be noted that the car light identifier is used to uniquely represent a car light of the car, and the car light identifier may be a name of the car light, a factory serial number, or the like.
When the scene image conforms to the preset control rule, the automobile can acquire the automobile lamp identifier corresponding to the scene image from the corresponding relationship between the preset control rule and the automobile lamp identifier.
It should be noted that, the corresponding relationship between the preset control rules and the car light identifiers may be stored in the car in advance, for example, when one of the preset control rules is that a scene template having the same brightness as the scene image exists in the preset scene module board (or when the preset control rule is that the brightness of the scene image is less than or equal to the preset brightness), the car light corresponding to the preset control rule is a dipped headlight; when one preset control rule in the plurality of preset control rules is a scene template with the weather condition identical to that indicated by the scene image in the preset scene module board, the vehicle lamp corresponding to the preset control rule is a fog lamp and the like.
Step 204: and turning on or turning off the vehicle lamp corresponding to the vehicle lamp identifier.
When the automobile is started or closed, if the automobile lamp corresponding to the automobile lamp identification needs to be started at the moment, and the automobile lamp is already in the starting state, the automobile can continue to keep the automobile lamp in the starting state, and if the automobile lamp is in the closing state at the moment, the automobile starts the automobile lamp corresponding to the automobile lamp identification. If the automobile lamp corresponding to the automobile lamp identification needs to be turned off at the moment, and the automobile lamp is already in the turning-off state, the automobile continues to keep the automobile lamp in the turning-off state, and if the automobile lamp is in the turning-on state at the moment, the automobile turns off the automobile lamp corresponding to the automobile lamp identification.
For example, when the vehicle light is identified as a fog light, if the fog light is already in an on state, the vehicle continues to keep the fog light in the on state, and if the fog light is in an off state, the vehicle turns on the fog light.
In the embodiment of the invention, the automobile can acquire the scene image of the current position through the installed camera, determine whether the scene image accords with the preset control rule or not by determining the brightness of the scene image, the indicated weather condition and the road condition, and automatically turn on or turn off the automobile lamp which is required to assist driving currently when the scene image accords with the preset control rule, so that the accident occurrence probability is reduced, and the driving safety of the automobile is improved.
Fig. 3A is a block diagram of a vehicle lamp control device according to an embodiment of the present invention, and referring to fig. 3A, the vehicle lamp control device may be implemented by software, hardware, or a combination of both. The device includes: an acquisition module 301, an acquisition module 302, and a control module 303.
The acquisition module 301 is configured to acquire a scene image of a current position;
an obtaining module 302, configured to obtain an automotive light identifier corresponding to the scene image when the scene image meets a preset control rule, where the preset control rule is a rule for controlling an automotive light;
and the control module 303 is configured to turn on or turn off the vehicle light corresponding to the vehicle light identifier.
Optionally, referring to fig. 3B, the apparatus further comprises:
a first determining module 304, configured to determine a brightness of the scene image;
a second determining module 305, configured to determine that the scene image conforms to the preset control rule when the brightness of the scene image is the same as the brightness of any one of the stored plurality of preset scene templates.
Optionally, referring to fig. 3C, the apparatus further comprises:
a third determining module 306, configured to determine a weather condition indicated by the scene image;
a fourth determining module 307, configured to determine that the scene image conforms to the preset control rule when a preset scene template whose weather condition is the same as the weather condition indicated by the scene image exists in the stored multiple preset scene templates.
Optionally, referring to fig. 3D, the apparatus further comprises:
a fifth determining module 308, configured to determine the brightness of the scene image;
a sixth determining module 309, configured to determine that the scene image meets the preset control rule when the brightness of the scene image is less than or equal to the preset brightness.
Optionally, referring to fig. 3E, the apparatus further comprises:
a seventh determining module 310, configured to determine a distance and a direction to a pedestrian when the pedestrian exists in the scene image;
the warning module 311 is configured to perform a warning prompt when the direction between the pedestrian and the warning module is a preset direction and the distance between the pedestrian and the warning module is less than or equal to a preset distance.
In summary, in the embodiment of the present invention, the vehicle may acquire the scene image of the current location through the installed camera, determine whether the scene image meets the preset control rule by determining the brightness of the scene image, the indicated weather condition and the road condition, and automatically turn on or off the vehicle light of the vehicle that needs driving assistance currently when the scene image meets the preset control rule, thereby reducing the probability of occurrence of an accident and improving the driving safety of the vehicle.
It should be noted that: in the above embodiment, when controlling the vehicle lamp, the vehicle lamp control device is exemplified by only the division of the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the light transmittance adjusting device for the automobile glass provided by the embodiment and the light transmittance adjusting method for the automobile glass belong to the same concept, and specific implementation processes are described in the method embodiment and are not described again.
Fig. 4 is a block diagram illustrating a vehicle lamp control device 400 according to an exemplary embodiment. For example, the apparatus 400 may be applied to an automobile or the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, 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 associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods provided by the embodiments illustrated in fig. 2 and described above.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (3)

1. A vehicle light control method, characterized by comprising:
acquiring a scene image of a current position;
determining the brightness of the scene image, and determining that the scene image conforms to a preset control rule when the brightness of the scene image is the same as the brightness of any one of a plurality of stored preset scene templates;
acquiring any frame of image in the scene image, determining the definition of any frame of image, determining that the weather condition indicated by the scene image is rainy and foggy weather when the definition of any frame of image is less than or equal to a preset definition, determining that the weather condition indicated by the scene image is sunny when the definition of any frame of image is greater than the preset definition, and determining that the scene image conforms to the preset control rule when a preset scene template with the same weather condition as the weather condition indicated by the scene image exists in a plurality of stored preset scene templates;
determining the brightness of the scene image, and determining that the scene image conforms to the preset control rule when the brightness of the scene image is less than or equal to the preset brightness; determining a road condition indicated by the scene image, and when the road condition indicated by the scene image is a turning road condition, determining that the scene image conforms to the preset control rule, wherein the preset control rule is a rule for controlling vehicle lamps, the preset control rule comprises a plurality of preset scene templates, a scene template, the brightness of which is the same as that of the scene image, exists in the plurality of preset scene templates, a scene template, the weather condition of which is the same as that indicated by the scene image exists in the plurality of preset scene templates, the brightness of the scene image satisfies the preset brightness, and the road condition indicated by the scene image is the turning road condition, and the plurality of preset scene templates comprise a plurality of automobile driving scenes;
when the scene image accords with the preset control rule, acquiring a car light identifier corresponding to the scene image;
turning on or turning off the vehicle lamp corresponding to the vehicle lamp identifier;
after the acquiring of the scene image of the current position, the method further includes:
when a pedestrian exists in the scene image, determining the distance and the direction between the pedestrian and the scene image; when the direction between the pedestrian and the pedestrian is a preset direction and the distance between the pedestrian and the pedestrian is smaller than or equal to a preset distance, giving an alarm;
the determining the road condition indicated by the scene image comprises:
determining a driving road of the automobile in the scene image through an image recognition technology; determining whether the automobile driving road is not a straight line or not in a straight line detection mode; and when the automobile driving road is not a straight line, determining that the bending direction of the automobile driving road is leftward bending or rightward bending.
2. A vehicle lamp control device characterized by comprising:
the acquisition module is used for acquiring a scene image of a current position; determining the brightness of the scene image, and determining that the scene image conforms to a preset control rule when the brightness of the scene image is the same as the brightness of any one of a plurality of stored preset scene templates; acquiring any frame of image in the scene image, determining the definition of any frame of image, determining that the weather condition indicated by the scene image is rainy and foggy weather when the definition of any frame of image is less than or equal to a preset definition, determining that the weather condition indicated by the scene image is sunny when the definition of any frame of image is greater than the preset definition, and determining that the scene image conforms to the preset control rule when a preset scene template with the same weather condition as the weather condition indicated by the scene image exists in a plurality of stored preset scene templates; determining the brightness of the scene image, and determining that the scene image conforms to the preset control rule when the brightness of the scene image is less than or equal to the preset brightness; determining a road condition indicated by the scene image, and when the road condition indicated by the scene image is a turning road condition, determining that the scene image conforms to the preset control rule, wherein the preset control rule is a rule for controlling vehicle lamps, the preset control rule comprises a plurality of preset scene templates, a scene template, the brightness of which is the same as that of the scene image, exists in the plurality of preset scene templates, a scene template, the weather condition of which is the same as that indicated by the scene image exists in the plurality of preset scene templates, the brightness of the scene image satisfies the preset brightness, and the road condition indicated by the scene image is the turning road condition, and the plurality of preset scene templates comprise a plurality of automobile driving scenes;
the acquisition module is used for acquiring the car lamp identifier corresponding to the scene image when the scene image accords with the preset control rule;
the control module is used for starting or closing the vehicle lamp corresponding to the vehicle lamp identifier;
the apparatus is further configured to:
when a pedestrian exists in the scene image, determining the distance and the direction between the pedestrian and the scene image; when the direction between the pedestrian and the pedestrian is a preset direction and the distance between the pedestrian and the pedestrian is smaller than or equal to a preset distance, giving an alarm;
the apparatus is further configured to:
determining a driving road of the automobile in the scene image through an image recognition technology; determining whether the automobile driving road is not a straight line or not in a straight line detection mode; and when the automobile driving road is not a straight line, determining that the bending direction of the automobile driving road is leftward bending or rightward bending.
3. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of claim 1.
CN201710661608.2A 2017-08-04 2017-08-04 Vehicle lamp control method and device and computer readable storage medium Active CN107458299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710661608.2A CN107458299B (en) 2017-08-04 2017-08-04 Vehicle lamp control method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710661608.2A CN107458299B (en) 2017-08-04 2017-08-04 Vehicle lamp control method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107458299A CN107458299A (en) 2017-12-12
CN107458299B true CN107458299B (en) 2021-03-02

Family

ID=60548503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710661608.2A Active CN107458299B (en) 2017-08-04 2017-08-04 Vehicle lamp control method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107458299B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109496042B (en) * 2018-11-28 2020-07-10 广州市华用智能科技有限公司 Light control method and device based on camera shooting assembly and light control equipment
CN114475415A (en) * 2022-02-17 2022-05-13 重庆金康赛力斯新能源汽车设计院有限公司 Car light control method, system and device, storage medium and car machine system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5627508A (en) * 1996-05-10 1997-05-06 The United States Of America As Represented By The Secretary Of The Navy Pilot vehicle which is useful for monitoring hazardous conditions on railroad tracks
CN201298942Y (en) * 2008-10-14 2009-08-26 张家荣 Multifunctional intelligent car light control module
KR102089106B1 (en) * 2013-06-19 2020-03-16 현대모비스 주식회사 Method for Detecting Fog for Vehicle and Apparatus therefor
CN205239298U (en) * 2015-12-31 2016-05-18 南通华腾电子科技有限公司 Full -automatic light auto -change over device of safe driving at night
CN105799574B (en) * 2016-05-31 2018-08-21 常州星宇车灯股份有限公司 Night intelligence DAS (Driver Assistant System)

Also Published As

Publication number Publication date
CN107458299A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107458189B (en) Transmittance adjusting method and device for automobile glass and computer readable storage medium
CN107539209B (en) Method and device for controlling vehicle light
EP3309711A1 (en) Vehicle alert apparatus and operating method thereof
CN107458299B (en) Vehicle lamp control method and device and computer readable storage medium
CN105564343A (en) Apparatus and method for connecting a mobile device camera
CN112135753A (en) Information processing device, information processing method, imaging device, illumination device, and moving object
KR20140128812A (en) An method for controlling a transparant display for a vehicle and an appratus using it
US20180304859A1 (en) Method, device and apparatus for controlling windscreen wiper, and vehicle
CN114103985A (en) Obstacle-based prompting method, device and equipment
CN115489536A (en) Driving assistance method, system, equipment and readable storage medium
CN111033615B (en) Camera, method, non-transitory computer-readable medium, and system
CN113002424A (en) Control method and device of vehicle display screen, equipment, medium and vehicle
CN114627443B (en) Target detection method, target detection device, storage medium, electronic equipment and vehicle
US20220078337A1 (en) Operation control device, imaging device, and operation control method
JP7125893B2 (en) TRIP CONTROL DEVICE, CONTROL METHOD AND PROGRAM
US11070714B2 (en) Information processing apparatus and information processing method
KR101319518B1 (en) Automatic traffic enforcement driving system using voice recognition interface and method for controlling thereof
CN111785044B (en) Traffic light control method and device
US11487281B2 (en) Systems and methods for executing remotely-controlled automated vehicle parking operations
CN109318790B (en) Car light delay control method and device and computer medium
KR101406222B1 (en) System and method for transmitting Around View Monitor video including automotive status information
CN115460352B (en) Vehicle-mounted video processing method, device, equipment, storage medium and program product
CN114368357B (en) Vehicle control method, vehicle, intelligent wearable device and readable storage medium
CN215097283U (en) Automobile electronic rearview mirror control panel
CN111216631B (en) Travel control device, control method, and storage medium storing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant