CN111815804B - Control method, device, equipment and storage medium - Google Patents

Control method, device, equipment and storage medium Download PDF

Info

Publication number
CN111815804B
CN111815804B CN202010617546.7A CN202010617546A CN111815804B CN 111815804 B CN111815804 B CN 111815804B CN 202010617546 A CN202010617546 A CN 202010617546A CN 111815804 B CN111815804 B CN 111815804B
Authority
CN
China
Prior art keywords
vehicle
information
mode
position information
current mode
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
CN202010617546.7A
Other languages
Chinese (zh)
Other versions
CN111815804A (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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202010617546.7A priority Critical patent/CN111815804B/en
Publication of CN111815804A publication Critical patent/CN111815804A/en
Application granted granted Critical
Publication of CN111815804B publication Critical patent/CN111815804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a control method, a control device, control equipment and a storage medium. The method comprises the following steps: acquiring vehicle information; if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode; if the current mode is a video mode, the current mode is switched to a high dynamic range HDR mode, and by the technical scheme of the invention, a normal video mode without color temperature deviation can be adopted in a non-high light ratio environment to more accurately restore a field environment, and in a high light ratio environment, the HDR video mode is adopted to clearly record the whole picture.

Description

Control method, device, equipment and storage medium
Technical Field
The present invention relates to vehicle technologies, and in particular, to a control method, apparatus, device, and storage medium.
Background
With the development of society, automobiles become a main transportation mode of people, which facilitates the life of people, but the frequent occurrence of traffic accidents is brought about by the automobiles, and the tunnel portal is also a high-occurrence place of the traffic accidents, so that a vehicle driving recorder is required to be installed on a vehicle to provide evidence for the traffic accidents.
In the prior art, most of HDR (High-Dynamic Range) functions of a vehicle event data recorder are actively started by a driver, and only one of a normal mode and an HDR mode can be kept for recording in a driving process. If the HDR mode is actively turned on or off during driving, the driver's attention may be distracted, and there is a risk of a traffic accident. Although the current technology also considers that the HDR mode is automatically turned on in a high light ratio environment, the high light ratio environment is determined only by real-time sampling comparison, and the high light ratio environment is not predicted by historical data, which causes delay in automatically turning on the HDR mode and overexposed or underexposed videos in the analysis process.
Disclosure of Invention
Embodiments of the present invention provide a control method, an apparatus, a device, and a storage medium, so as to implement a normal video recording mode without color temperature deviation in a non-high light ratio environment, and more accurately restore a field environment, while in a high light ratio environment, an HDR video recording mode is employed, so that a whole picture can be clearly recorded.
In a first aspect, an embodiment of the present invention provides a control method, including:
acquiring vehicle information;
if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode;
and if the current mode is the video recording mode, switching the current mode to a High Dynamic Range (HDR) mode.
In a second aspect, an embodiment of the present invention further provides a control apparatus, where the apparatus includes:
the first acquisition module is used for acquiring vehicle information;
the second obtaining module is used for obtaining the current mode if the vehicle is determined to be in the high-light-ratio position according to the vehicle information;
and the switching module is used for switching the current mode to the high dynamic range HDR mode if the current mode is the video recording mode.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the control method according to any one of the embodiments of the present invention when executing the program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the control method according to any one of the embodiments of the present invention.
The embodiment of the invention obtains the vehicle information; if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode; if the current mode is a video mode, the current mode is switched to a high dynamic range HDR mode so as to realize that a normal video mode without color temperature deviation can be adopted in the environment with non-high light ratio to more accurately restore the field environment, and the HDR video mode is adopted in the environment with high light ratio to clearly record the whole picture.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a control method according to a first embodiment of the present invention;
FIG. 1a is a flow chart of an automatic video recording mode switching method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a control device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example one
Fig. 1 is a flowchart of a control method provided in an embodiment of the present invention, where the present embodiment is applicable to a situation of controlling a vehicle event data recorder, and the method may be executed by a control device in an embodiment of the present invention, where the device may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
and S110, acquiring vehicle information.
The vehicle information may include current position information, vehicle corner information, and a vehicle driving track, which is not limited in this embodiment of the present invention.
Specifically, the vehicle information may be acquired, for example, by acquiring current position information and a vehicle travel track of the vehicle through a GPS, and acquiring vehicle corner information through a sensor.
And S120, if the vehicle is determined to be in the high-light-ratio position according to the vehicle information, acquiring the current mode.
The high light ratio position may be a high light ratio position obtained by analyzing image data acquired by the historical driving recorder and position information acquired by the GPS, a high light ratio position obtained by analyzing image data acquired by the historical driving recorder, position information acquired by the GPS, and a vehicle driving track, or a high light ratio position obtained by analyzing image data acquired by the historical driving recorder, position information acquired by the GPS, and a vehicle corner, which is not limited in this embodiment of the present invention.
Specifically, if it is determined that the vehicle is located at the high light ratio position according to the vehicle information, the current mode is obtained, for example, if the vehicle information includes: current location information; inquiring a database according to the current position information to obtain position information matched with the current position information, and determining that the vehicle is in a high-light-ratio position to obtain a current mode; if the vehicle information includes: inquiring a database according to the current position information and the vehicle running track at the previous moment, and if the position information and the vehicle running track which are matched with the current position information and the vehicle running track at the previous moment are obtained, determining that the vehicle is at a high-light ratio position and obtaining a current mode; if the vehicle information includes: and querying a database according to the current position information and the vehicle corner, and if the position information and the vehicle corner matched with the current position information and the vehicle corner are obtained, determining that the vehicle is in a high-light-ratio position and obtaining a current mode.
S130, if the current mode is the video recording mode, switching the current mode to the high dynamic range HDR mode.
Specifically, if the current mode is a video recording mode, the current mode is switched to a high dynamic range HDR mode; if the current mode is the HDR mode, keeping the current mode unchanged.
Optionally, if it is determined that the vehicle is located at the high light ratio position according to the vehicle information, before the current mode is acquired, the method further includes:
acquiring image data;
if the image data meet a preset condition, acquiring position information with the same acquisition time as the image data;
and marking the position information as a high-light ratio position and storing the position information in a database.
Specifically, image data is acquired; if the image data meet a preset condition, acquiring position information with the same acquisition time as the image data; the position information is marked as a high-light-ratio position and is stored in a database, for example, image data is obtained through a vehicle data recorder, and if the difference value between the area of a high-light area and the area of a dark area in the image data is larger than a first threshold value, the position information with the same acquisition time as the image data is obtained; and marking the position information as a high-light ratio position and storing the position information in a database.
Optionally, the vehicle information includes: current location information;
correspondingly, if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring the current mode includes:
and querying a database according to the current position information to obtain position information matched with the current position information, and determining that the vehicle is in a high-light-ratio position to obtain a current mode.
The database stores at least one piece of position information determined as a high light ratio position, for example, the database may include a position a and a position B, where the position a is the high light ratio position and the position B is the high light ratio position.
Optionally, if it is determined that the vehicle is located at the high light ratio position according to the vehicle information, before the current mode is acquired, the method further includes:
acquiring image data;
if the image data meet the preset conditions, acquiring position information which is the same as the acquisition time of the image data and a vehicle running track within the time range of the acquisition time;
and marking the position information as a high-light ratio position, and storing the position information and the vehicle running track in a database.
Optionally, the vehicle information includes: current position information and a vehicle running track at the previous moment;
correspondingly, if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring the current mode includes:
and inquiring a database according to the current position information and the vehicle running track at the previous moment, and if the position information and the vehicle running track which are matched with the current position information and the vehicle running track at the previous moment are obtained, determining that the vehicle is at a high-light-ratio position, and obtaining the current mode.
Specifically, if the vehicle is located at a multi-layer position, for example, the position located by the GPS when the vehicle is located on the overpass may be the same as the position located by the GPS when the vehicle is located under the overpass, the travel track at the previous time needs to be acquired, and whether the vehicle is located at the high light ratio position is determined according to the travel track at the previous time.
Optionally, the vehicle information includes: current position information and vehicle turning angles;
correspondingly, if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring the current mode includes:
and inquiring a database according to the current position information and the vehicle corner, and if the position information and the vehicle running track which are matched with the current position information and the vehicle corner are obtained, determining that the vehicle is in a high-light-ratio position, and obtaining a current mode.
Specifically, when the vehicle is in the same position, there may be a situation of turning left or right, and when the vehicle is in a certain position and the vehicle is turning left, there may be a situation of turning left in the high light ratio position, and if the vehicle is turning right, there may not be a high light ratio environment. It is necessary to consider both the vehicle position and the vehicle turning angle, and in the case where both the vehicle position and the vehicle turning angle match, it is determined that the vehicle is in the high light ratio position.
Optionally, the preset conditions include: the difference between the area of the highlight region and the area of the dark region in the image data is larger than a first threshold value.
Optionally, the method further includes:
if the vehicle is determined to be in the normal position according to the vehicle information, acquiring a current mode;
and if the current mode is the HDR mode, switching the current mode to a video recording mode.
The vehicle is in a normal position, that is, the vehicle is in a non-high light ratio position, that is, the vehicle information is matched with the database, and no matched information is found, it is indicated that the vehicle is in the normal position, if the vehicle is in the normal position, the current mode is obtained, if the current mode is the video recording mode, the current mode is kept as the video recording mode, and if the current mode is the HDR mode, the current mode is switched to the video recording mode.
In a specific example, as shown in fig. 1a, during the recording process of the car recorder, the brightness of the collected image is analyzed, and whether the current environment is in the high light ratio environment is determined according to the area size of the highlight area and the dark area. The GPS module is used for collecting information such as the location information of the vehicle, the running track of the vehicle and the like. When the automobile data recorder judges that the current environment is a high-light-ratio environment, and information collected by a GPS is combined, effective data are formed: travel trajectory and high light ratio location. The automobile data recorder stores the effective data and provides a data base for the third step. When the automobile passes through the same place for multiple times, the phenomenon of high light ratio occurs, and the automobile data recorder system can record the current place as the high light ratio place. If the vehicle passes through the high-light-ratio place recorded before, the high-light-ratio phenomenon does not occur any more, the automobile data recorder can reject the high-light-ratio place, and the high-light-ratio place is updated. When the vehicle is going to pass through a high light ratio place stored in the automobile data recorder system, and the current running track of the vehicle is the same as the recorded running track, the automobile data recorder can be switched into the HDR mode in advance, and when the vehicle leaves the high light ratio place, the automobile data recorder automatically closes the HDR mode and is switched into the normal video mode.
When a vehicle enters or exits a tunnel entrance and is in an environment with high light ratio, the automobile data recorder cannot clearly record the whole picture, and overexposure or underexposure can occur. The HDR video mode can clearly record a high light ratio environment, but the video in the HDR mode has a color temperature deviation. The automobile data recorder can determine the high-light-ratio environment by analyzing the highest brightness value and the lowest brightness value, and record and store the GPS position of the high-light-ratio environment and the driving direction of the vehicle. The automobile data recorder can automatically update the place where the high light ratio environment appears by continuously and repeatedly recording the high light ratio information, can start the HDR mode in advance when passing through the place with the high light ratio, clearly records the whole picture, and automatically switches to the normal video recording mode when recovering to the normal environment.
The embodiment of the invention can adopt a normal video mode without color temperature deviation in the environment with non-high light ratio to more accurately restore the field environment, and adopt an HDR video mode in the environment with high light ratio to clearly record the whole picture.
According to the technical scheme of the embodiment, vehicle information is acquired; if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode; if the current mode is a video mode, the current mode is switched to a high dynamic range HDR mode so as to realize that a normal video mode without color temperature deviation can be adopted in the environment with non-high light ratio to more accurately restore the field environment, and the HDR video mode is adopted in the environment with high light ratio to clearly record the whole picture.
Example two
Fig. 2 is a schematic structural diagram of a control device according to a second embodiment of the present invention. The present embodiment may be applicable to the case of control, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing a control function, for example, a driving recorder, as shown in fig. 2, where the control apparatus specifically includes: a first acquisition module 210, a second acquisition module 220, and a switching module 230.
The first obtaining module 210 is configured to obtain vehicle information;
the second obtaining module 220 is configured to obtain the current mode if it is determined that the vehicle is located at the high light ratio position according to the vehicle information;
a switching module 230, configured to switch the current mode to an HDR mode with a high dynamic range if the current mode is a video recording mode.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, vehicle information is acquired; if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode; if the current mode is a video mode, the current mode is switched to a high dynamic range HDR mode so as to realize that a normal video mode without color temperature deviation can be adopted in the environment with non-high light ratio to more accurately restore the field environment, and the HDR video mode is adopted in the environment with high light ratio to clearly record the whole picture.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a computer device in a third embodiment of the present invention. FIG. 3 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 3 is only an example and should not impose any limitation on the scope of use or functionality of embodiments of the present invention.
As shown in FIG. 3, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. In the computer device 12 of the present embodiment, the display 24 is not provided as a separate body but is embedded in the mirror surface, and when the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement the control method provided by the embodiment of the present invention:
acquiring vehicle information;
if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode;
and if the current mode is the video recording mode, switching the current mode to a High Dynamic Range (HDR) mode.
Example four
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the control method provided in all the embodiments of the present invention of the present application:
acquiring vehicle information;
if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode;
and if the current mode is the video recording mode, switching the current mode to a High Dynamic Range (HDR) mode.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A vehicle event data recorder control method is characterized by comprising the following steps:
acquiring vehicle information;
if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring a current mode;
if the current mode is a video recording mode, switching the current mode to a High Dynamic Range (HDR) mode;
if the vehicle is determined to be in the high light ratio position according to the vehicle information, before the current mode is obtained, the method further comprises the following steps:
acquiring image data;
if the image data meet a preset condition, acquiring position information with the same acquisition time as the image data;
marking the position information as a high-light ratio position and storing the position information in a database;
or if the image data meets a preset condition, acquiring position information which is the same as the acquisition time of the image data and a vehicle running track within the time range of the acquisition time;
marking the position information as a high-light ratio position, and storing the position information and the vehicle running track into a database;
the preset conditions include: the difference between the area of the highlight region and the area of the dark region in the image data is larger than a first threshold value.
2. The method of claim 1, wherein the vehicle information comprises: current location information;
correspondingly, if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring the current mode includes:
and querying a database according to the current position information to obtain position information matched with the current position information, and determining that the vehicle is in a high-light-ratio position to obtain a current mode.
3. The method of claim 1, wherein the vehicle information comprises: current position information and a vehicle running track at the previous moment;
correspondingly, if the vehicle is determined to be in the high light ratio position according to the vehicle information, acquiring the current mode includes:
and inquiring a database according to the current position information and the vehicle running track at the previous moment, and if the position information and the vehicle running track which are matched with the current position information and the vehicle running track at the previous moment are obtained, determining that the vehicle is at a high-light-ratio position, and obtaining the current mode.
4. The method of claim 1, further comprising:
if the vehicle is determined to be in the normal position according to the vehicle information, acquiring a current mode;
and if the current mode is the HDR mode, switching the current mode to a video recording mode.
5. A control device, comprising:
the first acquisition module is used for acquiring vehicle information;
the second obtaining module is used for obtaining the current mode if the vehicle is determined to be in the high-light-ratio position according to the vehicle information;
the switching module is used for switching the current mode to a High Dynamic Range (HDR) mode if the current mode is a video recording mode;
the second obtaining module is configured to, before obtaining the current mode, if it is determined that the vehicle is located at the high light ratio position according to the vehicle information, further include:
acquiring image data;
if the image data meet a preset condition, acquiring position information with the same acquisition time as the image data;
marking the position information as a high-light ratio position and storing the position information in a database;
or if the image data meets a preset condition, acquiring position information which is the same as the acquisition time of the image data and a vehicle running track within the time range of the acquisition time;
marking the position information as a high-light ratio position, and storing the position information and the vehicle running track into a database;
the preset conditions include: the difference between the area of the highlight region and the area of the dark region in the image data is larger than a first threshold value.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-4 when executing the program.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202010617546.7A 2020-06-30 2020-06-30 Control method, device, equipment and storage medium Active CN111815804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010617546.7A CN111815804B (en) 2020-06-30 2020-06-30 Control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010617546.7A CN111815804B (en) 2020-06-30 2020-06-30 Control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111815804A CN111815804A (en) 2020-10-23
CN111815804B true CN111815804B (en) 2022-02-18

Family

ID=72856471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010617546.7A Active CN111815804B (en) 2020-06-30 2020-06-30 Control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111815804B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117119291B (en) * 2023-02-06 2024-06-21 荣耀终端有限公司 Picture mode switching method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220431A (en) * 2013-05-07 2013-07-24 深圳市中兴移动通信有限公司 Method and device for automatically switching photographing mode
CN105959566A (en) * 2016-06-21 2016-09-21 北京奇虎科技有限公司 Image pickup mode switching method and device, and automobile data recorder
CN108965726A (en) * 2017-05-25 2018-12-07 电装国际美国公司 Vehicular camera system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685389B (en) * 2012-04-06 2014-12-10 天津市亚安科技股份有限公司 Device and method for automatically adjusting parameters of camera
CN109883414B (en) * 2019-03-20 2021-08-27 百度在线网络技术(北京)有限公司 Vehicle navigation method and device, electronic equipment and storage medium
CN110868533B (en) * 2019-10-15 2021-06-18 宇龙计算机通信科技(深圳)有限公司 HDR mode determination method, device, storage medium and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220431A (en) * 2013-05-07 2013-07-24 深圳市中兴移动通信有限公司 Method and device for automatically switching photographing mode
CN105959566A (en) * 2016-06-21 2016-09-21 北京奇虎科技有限公司 Image pickup mode switching method and device, and automobile data recorder
CN108965726A (en) * 2017-05-25 2018-12-07 电装国际美国公司 Vehicular camera system

Also Published As

Publication number Publication date
CN111815804A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN109255341B (en) Method, device, equipment and medium for extracting obstacle perception error data
US11126876B2 (en) Method for recognizing traffic light, device, and vehicle
CN109345829B (en) Unmanned vehicle monitoring method, device, equipment and storage medium
CN113335276A (en) Obstacle trajectory prediction method, obstacle trajectory prediction device, electronic device, and storage medium
US11361555B2 (en) Road environment monitoring device, road environment monitoring system, and road environment monitoring program
CN111814746A (en) Method, device, equipment and storage medium for identifying lane line
CN110293903B (en) Vehicle steering lamp control method, device, equipment and storage medium
CN112172835A (en) Vehicle early warning method, device, equipment and storage medium
WO2021053689A1 (en) Methods and systems for managing storage of videos in a storage device
CN111815804B (en) Control method, device, equipment and storage medium
CN108924461B (en) Video image processing method and device
CN114194217A (en) Vehicle automatic driving method, device, electronic equipment and storage medium
CN114475656B (en) Travel track prediction method, apparatus, electronic device and storage medium
CN110493521B (en) Automatic driving camera control method and device, electronic equipment and storage medium
CN109147091B (en) Method, device and equipment for processing data of unmanned vehicle and storage medium
CN108986253B (en) Method and apparatus for storing data for multi-thread parallel processing
JP6600344B2 (en) VEHICLE CONTROL DEVICE, VEHICLE CONTROL METHOD, AND CONTROL PROGRAM FOR VEHICLE CONTROL DEVICE
CN112102648B (en) Vacant parking space pushing method, device, equipment and storage medium
CN111785000B (en) Vehicle state data uploading method and device, electronic equipment and storage medium
CN112102584B (en) Automatic driving alarm method and device for vehicle, vehicle and storage medium
US11104329B2 (en) Parking control method and apparatus, and storage medium
CN113299108B (en) Parking space information determination method, device, equipment and storage medium
CN111324202A (en) Interaction method, device, equipment and storage medium
CN112365544A (en) Image recognition interference detection method and device, computer equipment and storage medium
CN110852253A (en) Ladder control scene detection method and device and electronic equipment

Legal Events

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