CN115063906A - Driving recording method and device, driving recorder and storage medium - Google Patents
Driving recording method and device, driving recorder and storage medium Download PDFInfo
- Publication number
- CN115063906A CN115063906A CN202210644089.XA CN202210644089A CN115063906A CN 115063906 A CN115063906 A CN 115063906A CN 202210644089 A CN202210644089 A CN 202210644089A CN 115063906 A CN115063906 A CN 115063906A
- Authority
- CN
- China
- Prior art keywords
- driving
- shooting
- camera
- focal length
- cameras
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 14
- 238000006243 chemical reaction Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 22
- 230000015572 biosynthetic process Effects 0.000 claims description 9
- 238000003786 synthesis reaction Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 206010039203 Road traffic accident Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/0875—Registering performance data using magnetic data carriers
- G07C5/0891—Video recorder in combination with video camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/282—Image signal generators for generating image signals corresponding to three or more geometrical viewpoints, e.g. multi-view systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a driving recording method and device, a driving recorder and a storage medium. The method comprises the steps of obtaining driving videos obtained by a plurality of cameras of the driving recorder corresponding to shooting; and synthesizing the driving videos into a three-dimensional driving video based on the timestamps of the driving videos. The scheme provided by the invention can reduce the recording blind area in the driving recording process, avoid the recorded driving picture deformation and ensure the integrity and the definition of the driving recording picture.
Description
Technical Field
The invention relates to the technical field of driving recording, in particular to a driving recording method and device, a driving recorder and a storage medium.
Background
The driving recorder is an instrument for recording the image and sound of the vehicle during driving. After the automobile data recorder is installed, the video images and the sound of the whole automobile driving process can be recorded, and evidence can be provided for traffic accidents. Therefore, the completeness and the definition of the recorded picture of the automobile data recorder are guaranteed, and the automobile data recorder has important significance for users.
However, at present, the automobile data recorder in the market is usually a single camera, and shooting is performed by adopting a certain wide-angle. Although shooting at a certain wide angle can reduce the shooting blind area, the shooting picture is deformed, and therefore the automobile data recorder in the prior art cannot well take account of the completeness and the definition of the picture.
Disclosure of Invention
In order to solve the technical problem that a shot picture is deformed due to wide-angle shooting of the conventional automobile data recorder, the embodiment of the invention provides an automobile data recording method and device, the automobile data recorder and a storage medium.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a driving recording method, which is applied to a driving recorder with a plurality of cameras and comprises the following steps:
acquiring a driving video obtained by a plurality of cameras of a driving recorder corresponding to shooting;
and synthesizing the driving videos into a three-dimensional driving video based on the timestamps of the driving videos.
In one embodiment, the method for acquiring a plurality of driving videos obtained by a plurality of cameras of a driving recorder corresponding to shooting comprises the following steps:
acquiring the running speed of a vehicle;
determining shooting focal lengths and shooting angles of the multiple cameras according to the running speed;
and obtaining the driving videos shot by the plurality of cameras correspondingly based on the shooting focal length and the shooting angle.
In one embodiment, the step of determining the shooting focal lengths and the shooting angles of the plurality of cameras according to the running speed comprises the following steps:
judging whether the running speed is greater than a first threshold value or not, if not, setting the shooting focal lengths and the shooting angles corresponding to the multiple cameras as a first shooting focal length and a first shooting angle; if so, setting the shooting focal lengths and the shooting angles corresponding to the multiple cameras as second shooting focal lengths and second shooting angles;
wherein the first focal length is smaller than the second focal length, and the first angle is larger than the second angle.
In one embodiment, the method for acquiring a plurality of driving videos obtained by a plurality of cameras of a driving recorder corresponding to shooting comprises the following steps:
acquiring a driving picture obtained by each camera in the plurality of cameras corresponding to shooting;
identifying a driving picture obtained by each camera corresponding to shooting, and determining a shooting focal length and a shooting angle corresponding to each camera;
shooting is carried out by utilizing the shooting focal length and the shooting angle corresponding to each camera, and the driving videos obtained by the plurality of cameras corresponding to shooting are obtained.
In one embodiment, the method for acquiring a plurality of driving videos obtained by a plurality of cameras of a driving recorder corresponding to shooting further comprises:
acquiring the running speed of the vehicle once every preset time interval;
judging whether the difference between the running speed of the vehicle at the current time and the running speed of the vehicle at the previous time is greater than a preset threshold value or not; if yes, executing the step of identifying the driving pictures obtained by each camera corresponding to shooting, and determining the shooting focal length and the shooting angle corresponding to each camera; if not, the step is executed, and the running speed of the vehicle is acquired once every preset time interval.
In one embodiment, the step of synthesizing the driving videos into three-dimensional driving videos based on the timestamps comprises the following steps:
determining the running speed of a vehicle, and the shooting focal length and the shooting angle of each camera in the plurality of cameras;
based on the driving speed, the shooting focal length and the shooting angle of each camera, converting the driving pictures obtained by each camera corresponding to shooting to obtain standard and uniform driving pictures;
carrying out three-dimensional image synthesis on the driving pictures with the same time in the standard unified driving pictures to obtain a three-dimensional synthesized image;
and performing video synthesis on the three-dimensional synthetic image based on the timestamp to obtain a three-dimensional driving video.
In one embodiment, the step of converting the driving pictures obtained by shooting each camera based on the driving speed, the shooting focal length and the shooting angle of each camera to obtain the driving pictures with unified standards includes:
obtaining a speed conversion offset for converting the driving picture by the driving speed based on the driving speed;
based on the shooting focal length, obtaining a focal length conversion offset for converting the driving picture by the shooting focal length;
obtaining an angle conversion deflection for converting the driving picture by the shooting angle based on the shooting angle;
and converting the driving pictures based on the speed conversion offset, the focal length conversion offset and the angle conversion offset to obtain standard and uniform driving pictures.
An embodiment of the present invention further provides a driving recording apparatus, including:
the shooting module is used for acquiring a driving video which is obtained by a plurality of cameras of the driving recorder corresponding to shooting;
and the synthesis module is used for synthesizing the driving videos into the three-dimensional driving video based on the timestamps of the driving videos.
The embodiment of the present invention further provides an automobile data recorder, including: a plurality of cameras, a processor and a memory for storing a computer program capable of running on the processor; wherein the content of the first and second substances,
the multiple cameras are used for shooting from different angles of the vehicle to obtain multiple driving videos;
the processor is used for executing the steps of the driving recording method when running the computer program.
The embodiment of the invention also provides a storage medium, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the driving recording method are realized.
According to the driving recording method and device, the driving recorder and the storage medium, driving videos obtained by shooting corresponding to a plurality of cameras of the driving recorder are obtained; and synthesizing the driving videos into a three-dimensional driving video based on the timestamps of the driving videos. The scheme provided by the invention can reduce the recording blind area in the driving recording process, avoid the recorded driving picture deformation and ensure the integrity and the definition of the driving recording picture.
Drawings
FIG. 1 is a schematic flow chart diagram of a routine vehicle recording method implemented in accordance with the present invention;
FIG. 2 is a schematic diagram of a routine vehicle recording device in accordance with the present invention;
fig. 3 is an internal structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
The embodiment of the invention provides a driving recording method, which is applied to a driving recorder with a plurality of cameras, and as shown in fig. 1, the method comprises the following steps:
step 101: acquiring a driving video obtained by a plurality of cameras of a driving recorder corresponding to shooting; specifically, in the running process of the vehicle, the driving videos obtained by shooting the plurality of cameras of the driving recorder are obtained.
Step 102: and synthesizing the driving videos into a three-dimensional driving video based on the timestamps of the driving videos.
In particular, the plurality of cameras may be integrated into a terminal device, which may be disposed at an upper portion of a roof of the vehicle, for recording a driving picture in a plurality of directions of the vehicle. The plurality of cameras may be disposed in a dispersed manner, and may be disposed in, for example, the front of the vehicle or the rear of the vehicle, or on both sides of the vehicle, for recording from a plurality of directions.
In practical application, the camera can swing up and down, left and right according to the command, so as to change the shooting angle of the camera, and the camera can shoot according to the specified shooting angle. In addition, the camera can adjust the focal length automatically based on the command so as to shoot according to the specified shooting focal length.
In practical application, the running speed of the vehicle can be acquired, when the running speed of the vehicle is not zero, the camera is controlled to be started for shooting, and when the running speed of the vehicle is zero, the camera is closed so as to save power. In addition, in order to realize the full-time monitoring of the vehicle, the camera can be started at full time intervals, so that the 7 × 24-hour omnibearing real-time monitoring of the vehicle can be realized.
In this embodiment, the cameras are arranged at a plurality of positions of the vehicle, and shooting is performed from different directions of the vehicle, so that the problems of shooting blind areas and deformation of shot pictures caused by recording from a single direction by a single camera can be avoided. Meanwhile, the driving videos shot by the cameras are synthesized into the three-dimensional driving video, so that the driving condition of the vehicle can be comprehensively restored, the driving data of the vehicle can be comprehensively recorded, and an important basis is provided for the driving safety diagnosis of the vehicle.
Further, in an embodiment, the method of step 101 includes:
acquiring the running speed of a vehicle;
determining shooting focal lengths and shooting angles of the multiple cameras according to the running speed;
and obtaining the driving videos shot by the plurality of cameras correspondingly based on the shooting focal length and the shooting angle.
In practical applications, in different driving processes of a vehicle, situations may occur in which a long-range view and a short-range view need to be shot. For example, in a wider area with a faster driving speed, in order to ensure that a comprehensive vehicle situation is shot, that is, a proper shooting range is shot, a picture at a longer distance may need to be shot, while for an area with traffic jam, a smaller vehicle speed and a shorter vehicle distance, a picture at a shorter distance may need to be shot in order to reasonably record a driving environment. Namely, when the vehicle speed is high, shooting can be carried out with a large focal length to obtain a long-range video; when the vehicle speed is slow, shooting can be performed with a small focal length, and a close-range video is obtained. In addition, for the shooting of cooperation distant view and close-range view, still can be based on the shooting demand, adjust and shoot the angle. For example, when a long shot needs to be shot, the camera can be adjusted to a smaller angle, and shooting is performed in a direction close to the original shooting angle, namely close to the horizontal direction; when a close shot needs to be shot, the camera can be adjusted to a large angle, namely, the camera is adjusted downwards, and shooting is carried out in a way of overlooking.
Further, in an embodiment, the step of determining the shooting focal lengths and the shooting angles of the plurality of cameras according to the driving speed includes:
judging whether the running speed is greater than a first threshold value or not, if not, setting the shooting focal lengths and the shooting angles corresponding to the multiple cameras as a first shooting focal length and a first shooting angle; if so, setting the shooting focal lengths and the shooting angles corresponding to the multiple cameras as second shooting focal lengths and second shooting angles;
wherein the first focal length is smaller than the second focal length, and the first angle is larger than the second angle.
Here, the first threshold, the first focal length, the first angle, the second focal length, and the second angle may be set on a case-by-case basis.
In practical application, the shooting focal length and the shooting angle of the camera can be determined according to the running speed, and the shooting focal length and the shooting angle of the camera can be adjusted directly based on the shooting picture of the camera.
Specifically, in an embodiment, the acquiring driving videos obtained by a plurality of cameras of the driving recorder corresponding to shooting includes:
acquiring a driving picture obtained by each camera in the plurality of cameras corresponding to shooting; the driving picture is a video picture in an initial driving video shot by the camera at an initial shooting focal length and an initial shooting angle.
Identifying the driving pictures obtained by shooting each camera, and determining the shooting focal length and the shooting angle corresponding to each camera; specifically, a driving picture obtained by each camera corresponding to shooting is identified by using an identification model so as to determine the shooting focal length and the shooting angle of each camera; when the driving picture shot by a certain camera identified by the identification model is a vehicle head scene, the shooting focal length of the camera can be set to be a first focal length so as to clearly shoot a close-range scene; when the driving picture shot by a certain camera identified by the identification model is the vehicle tail scene, the shooting focal length of the camera can be set to be the second focal length so as to clearly shoot the distant scene.
Shooting is carried out by utilizing the shooting focal length and the shooting angle corresponding to each camera, and the driving videos obtained by the plurality of cameras corresponding to shooting are obtained.
In practical application, the cameras are arranged at different positions, so that different cameras may have different shooting requirements for shooting. For example, a camera at the head of a vehicle may need to take a close-up view to capture the number of preceding vehicle tags, while a camera at the tail of a vehicle may need to take a far-out view to capture the number of rear vehicles and the distance between the rear vehicle and the vehicle. Therefore, based on different shooting requirements, the shooting focal length and the shooting angle of each camera are determined by using the initial shooting picture of each camera, so that the shooting requirements can be better met, and the driving road condition of the vehicle can be more flexibly recorded.
In practical application, in order to avoid repeatedly adjusting the shooting focal length and the shooting angle of the camera and reduce the calculation amount of the processor, the shooting focal length and the shooting angle of the camera can be determined by adjusting the focal length and the shooting angle of the camera once every a period of time. Specifically, a fixed time interval may be set, and the determination of the shooting focal length and the shooting angle of the camera may be performed once at every fixed interval set at intervals. In addition, the adjustment interval of the photographing focal length and the photographing angle may also be determined based on the speed of the vehicle. In the driving process of the vehicle, the vehicle can adjust the vehicle speed in different degrees based on different road conditions, and the adjustment intervals of the shooting focal distance and the shooting angle are determined based on the change of the vehicle speed, so that the actual driving condition of the vehicle can be more closely met.
Further, in an embodiment, the step of obtaining a plurality of driving videos obtained by a plurality of cameras of the driving recorder corresponding to shooting further includes:
acquiring the running speed of the vehicle once every preset time interval;
judging whether the difference between the running speed of the vehicle at the current time and the running speed of the vehicle at the previous time is greater than a preset threshold value or not; if so, executing the step of identifying the driving picture obtained by each camera corresponding to shooting, and determining the shooting focal length and the shooting angle corresponding to each camera; if not, the step is executed, and the running speed of the vehicle is acquired once every preset time interval.
In this embodiment, when the difference between the running speed of the vehicle at the next time and the running speed of the vehicle at the previous time is greater than a preset threshold, identifying a running picture obtained by shooting each camera at the current time, and determining a shooting focal length and a shooting angle corresponding to each camera; when the running speed of the vehicle is changed from slow to fast, the traffic flow is reduced, no obstacle exists in front of the vehicle, and shooting can be carried out by adopting the second focal length.
In practical application, when the road conditions are greatly changed, the running speed of the vehicle is greatly changed, so that the shooting focal length and the shooting angle are adjusted based on the change of the vehicle speed, and the shooting picture of the camera can be closer to the actual driving road conditions.
Further, in an embodiment, the step of synthesizing the driving videos into three-dimensional driving videos based on the timestamps includes:
determining the running speed of a vehicle, and the shooting focal length and the shooting angle of each camera in the plurality of cameras;
based on the driving speed, the shooting focal length and the shooting angle of each camera, converting the driving pictures obtained by each camera corresponding to shooting to obtain standard and uniform driving pictures;
carrying out three-dimensional image synthesis on the driving pictures with the same time in the standard unified driving pictures to obtain a three-dimensional synthesized image;
and performing video synthesis on the three-dimensional synthetic image based on the timestamp to obtain a three-dimensional driving video.
In practical application, due to different driving speeds, different shooting focal lengths and different shooting angles, the images possibly shot cannot be synthesized, or the synthesized images are abnormal and strange, so that the synthesized images can be used for subsequent use, the images shot by each camera can be converted based on the driving speeds, the shooting focal lengths and the shooting angles, and the driving images are converted into standard unified driving images and then synthesized by the standard unified driving images.
Specifically, in an embodiment, the step of converting the driving picture obtained by capturing by each camera based on the driving speed, the capturing focal length and the capturing angle of each camera to obtain a driving picture with a unified standard includes:
obtaining a speed conversion offset for converting the driving picture by the driving speed based on the driving speed;
based on the shooting focal length, obtaining a focal length conversion offset for converting the driving picture by the shooting focal length;
obtaining an angle conversion deflection for converting the driving picture by the shooting angle based on the shooting angle;
and converting the driving picture based on the speed conversion offset, the focal length conversion offset and the angle conversion offset to obtain a standard and uniform driving picture.
Here, the driving speed, the photographing focal length, and the photographing angle may be determined separately, and for the conversion offset of the driving picture conversion, the conversion of the driving picture is implemented using the determined conversion offset.
Here, the driving speed, the shooting focal length, and the shooting angle, and the conversion offset of the driving picture conversion can be determined based on the existing picture processing technology, and are not described in detail here. In addition, the synthesis process based on the conversion offset can also be implemented by using the prior art, and is not described herein again.
According to the driving recording method provided by the embodiment of the invention, driving videos obtained by a plurality of cameras of the driving recorder corresponding to shooting are obtained; and synthesizing the driving videos into a three-dimensional driving video based on the timestamps of the driving videos. The scheme provided by the invention can reduce the recording blind area in the driving recording process, avoid the recorded driving picture deformation and ensure the integrity and the definition of the driving recording picture.
In order to implement the method according to the embodiment of the present invention, an embodiment of the present invention further provides a driving recording device, as shown in fig. 2, the driving recording device 200 includes: a photographing module 201 and a synthesizing module 202; wherein, the first and the second end of the pipe are connected with each other,
the shooting module 201 is used for acquiring a driving video obtained by a plurality of cameras of the driving recorder corresponding to shooting;
and the synthesizing module 202 is configured to synthesize the driving videos into a three-dimensional driving video based on timestamps of the driving videos.
In practical applications, the shooting module 201 and the synthesizing module 202 may be implemented by a processor in a driving recording device.
It should be noted that: the above-mentioned apparatus provided in the above-mentioned embodiment is only exemplified by the division of the above-mentioned program modules when executing, and in practical application, the above-mentioned processing may be distributed to be completed by different program modules according to needs, that is, the internal structure of the terminal is divided into different program modules to complete all or part of the above-mentioned processing. In addition, the apparatus provided by the above embodiment and the method embodiment belong to the same concept, and the specific implementation process thereof is described in the method embodiment and is not described herein again.
To implement the method of the embodiment of the present invention, the embodiment of the present invention further provides a computer program product, where the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the steps of the above-described method.
Based on the hardware implementation of the program module, in order to implement the method according to the embodiment of the present invention, an electronic device (computer device) is also provided in the embodiment of the present invention. Specifically, in one embodiment, the computer device may be a terminal, and its internal structure diagram may be as shown in fig. 3. The computer apparatus includes a processor a01, a network interface a02, a display screen a04, an input device a05, and a memory (not shown in the figure) connected through a system bus. Wherein processor a01 of the computer device is used to provide computing and control capabilities. The memory of the computer device comprises an internal memory a03 and a non-volatile storage medium a 06. The nonvolatile storage medium a06 stores an operating system B01 and a computer program B02. The internal memory a03 provides an environment for the operation of the operating system B01 and the computer program B02 in the nonvolatile storage medium a 06. The network interface a02 of the computer device is used for communication with an external terminal through a network connection. The computer program is executed by the processor a01 to implement the method of any of the above embodiments. The display screen a04 of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device a05 of the computer device may be a touch layer covered on the display screen, a button, a trackball or a touch pad arranged on a casing of the computer device, or an external keyboard, a touch pad or a mouse.
Additionally, in one embodiment, the computer device may be a tachograph, the tachograph comprising: a plurality of cameras, a processor and a memory for storing a computer program capable of running on the processor; wherein the content of the first and second substances,
the multiple cameras are used for shooting from different angles of the vehicle to obtain multiple driving videos;
the processor is adapted to perform the steps of any of the methods described above when running the computer program.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The device provided by the embodiment of the present invention includes a processor, a memory, and a program stored in the memory and capable of running on the processor, and when the processor executes the program, the method according to any one of the embodiments described above is implemented.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It will be appreciated that the memory of embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a magnetic random access Memory (Flash Memory), a magnetic surface Memory, an optical disc, or a compact disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A driving recording method is characterized by being applied to a driving recorder with a plurality of cameras, and the method comprises the following steps:
acquiring a driving video obtained by a plurality of cameras of a driving recorder corresponding to shooting;
and synthesizing the driving videos into a three-dimensional driving video based on the timestamps of the driving videos.
2. The driving recording method according to claim 1, wherein the step of obtaining driving videos obtained by a plurality of cameras of a driving recorder corresponding to the shooting comprises:
acquiring the running speed of a vehicle;
determining shooting focal lengths and shooting angles of the multiple cameras according to the running speed;
and obtaining the driving videos shot by the plurality of cameras correspondingly based on the shooting focal length and the shooting angle.
3. The driving recording method according to claim 2, wherein the step of determining the shooting focal lengths and the shooting angles of the plurality of cameras according to the driving speed comprises:
judging whether the running speed is greater than a first threshold value or not, if not, setting the shooting focal lengths and the shooting angles corresponding to the multiple cameras as a first shooting focal length and a first shooting angle; if so, setting the shooting focal lengths and the shooting angles corresponding to the multiple cameras as second shooting focal lengths and second shooting angles;
wherein the first focal length is smaller than the second focal length, and the first angle is larger than the second angle.
4. The driving recording method according to claim 1, wherein the step of obtaining driving videos obtained by a plurality of cameras of a driving recorder corresponding to the shooting comprises:
acquiring a driving picture obtained by each camera in the plurality of cameras corresponding to shooting;
identifying a driving picture obtained by each camera corresponding to shooting, and determining a shooting focal length and a shooting angle corresponding to each camera;
shooting is carried out by utilizing the shooting focal length and the shooting angle corresponding to each camera, and the driving videos obtained by the plurality of cameras corresponding to shooting are obtained.
5. The driving recording method according to claim 4, wherein before the step of identifying the driving picture obtained by shooting by each camera and determining the shooting focal length and the shooting angle of each camera, the method further comprises:
acquiring the running speed of the vehicle once every preset time interval;
judging whether the difference between the running speed of the vehicle at the current time and the running speed of the vehicle at the previous time is greater than a preset threshold value or not;
and when the difference between the running speed of the vehicle at the next time and the running speed of the vehicle at the previous time is greater than a preset threshold value, identifying a running picture obtained by shooting each camera at the current time, and determining a shooting focal length and a shooting angle corresponding to each camera.
6. The driving recording method according to claim 1, wherein the step of synthesizing the driving videos into a three-dimensional driving video based on timestamps of the driving videos comprises:
determining the running speed of a vehicle, and the shooting focal length and the shooting angle of each camera in the plurality of cameras;
based on the driving speed, the shooting focal length and the shooting angle of each camera, converting the driving pictures obtained by each camera corresponding to shooting to obtain standard and uniform driving pictures;
carrying out three-dimensional image synthesis on the driving pictures with the same time in the standard unified driving pictures to obtain a three-dimensional synthesized image;
and performing video synthesis on the three-dimensional synthetic image based on the timestamp to obtain a three-dimensional driving video.
7. The driving recording method according to claim 6, wherein the step of converting the driving picture obtained by shooting each camera based on the driving speed, the shooting focal length of each camera, and the shooting angle of each camera to obtain a standard driving picture comprises:
obtaining a speed conversion offset for converting the driving picture by the driving speed based on the driving speed;
based on the shooting focal length, obtaining a focal length conversion offset for converting the driving picture by the shooting focal length;
obtaining an angle conversion deflection for converting the driving picture by the shooting angle based on the shooting angle;
and converting the driving picture based on the speed conversion offset, the focal length conversion offset and the angle conversion offset to obtain a standard and uniform driving picture.
8. A driving recording apparatus, comprising:
the shooting module is used for acquiring a driving video which is obtained by a plurality of cameras of the driving recorder corresponding to shooting;
and the synthesis module is used for synthesizing the driving videos into the three-dimensional driving video based on the timestamps of the driving videos.
9. A tachograph, comprising: a plurality of cameras, a processor and a memory for storing a computer program capable of running on the processor; wherein, the first and the second end of the pipe are connected with each other,
the cameras are used for shooting from different angles of the vehicle to obtain a plurality of driving videos;
the processor is adapted to perform the steps of the method of any one of claims 1 to 7 when running the computer program.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210644089.XA CN115063906A (en) | 2022-06-09 | 2022-06-09 | Driving recording method and device, driving recorder and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210644089.XA CN115063906A (en) | 2022-06-09 | 2022-06-09 | Driving recording method and device, driving recorder and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115063906A true CN115063906A (en) | 2022-09-16 |
Family
ID=83199874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210644089.XA Pending CN115063906A (en) | 2022-06-09 | 2022-06-09 | Driving recording method and device, driving recorder and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115063906A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360365A (en) * | 2017-06-30 | 2017-11-17 | 盯盯拍(深圳)技术股份有限公司 | Image pickup method, filming apparatus, terminal and computer-readable recording medium |
CN208656752U (en) * | 2018-05-30 | 2019-03-26 | 上海擎感智能科技有限公司 | Car-mounted terminal |
CN209000083U (en) * | 2018-10-31 | 2019-06-18 | 无锡宏日机电科技有限公司 | A kind of panorama automobile data recorder |
CN110853185A (en) * | 2019-11-29 | 2020-02-28 | 长城汽车股份有限公司 | Vehicle panoramic all-round looking recording system and method |
CN114173059A (en) * | 2021-12-09 | 2022-03-11 | 广州阿凡提电子科技有限公司 | Video editing system, method and device |
-
2022
- 2022-06-09 CN CN202210644089.XA patent/CN115063906A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360365A (en) * | 2017-06-30 | 2017-11-17 | 盯盯拍(深圳)技术股份有限公司 | Image pickup method, filming apparatus, terminal and computer-readable recording medium |
CN208656752U (en) * | 2018-05-30 | 2019-03-26 | 上海擎感智能科技有限公司 | Car-mounted terminal |
CN209000083U (en) * | 2018-10-31 | 2019-06-18 | 无锡宏日机电科技有限公司 | A kind of panorama automobile data recorder |
CN110853185A (en) * | 2019-11-29 | 2020-02-28 | 长城汽车股份有限公司 | Vehicle panoramic all-round looking recording system and method |
CN114173059A (en) * | 2021-12-09 | 2022-03-11 | 广州阿凡提电子科技有限公司 | Video editing system, method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110851652A (en) | Method and device for assisting in viewing driving record video | |
KR102658707B1 (en) | Image processing apparatus and method, and image processing system | |
CN107613262B (en) | Visual information processing system and method | |
CN108415855A (en) | It makes video recording file memory method and device, computer installation and storage medium | |
US11863815B2 (en) | Methods and systems for managing storage of videos in a storage device | |
US20190355394A1 (en) | Video management method and apparatus, image capturing device, and storage medium | |
US8010746B2 (en) | Data processing apparatus and shared memory accessing method | |
CN108924461B (en) | Video image processing method and device | |
CN111432134A (en) | Method and device for determining exposure time of image acquisition equipment and processor | |
CN115063906A (en) | Driving recording method and device, driving recorder and storage medium | |
JP6140061B2 (en) | Monitoring system | |
US20240019702A1 (en) | Control method for head-mounted device and image rendering method | |
CN114339062A (en) | Method and device for improving image definition of specific area and electronic equipment | |
KR102415194B1 (en) | Statistics-based electronic image stabilization | |
CN115714907A (en) | Photographing method, monitoring device, electronic equipment and storage medium | |
CN114399805A (en) | Portrait collecting control | |
CN113990103A (en) | Method, equipment and device for processing vehicle environment image and storage medium | |
US8355061B2 (en) | Image record apparatus and image record method for calculating and setting a pre-record volume | |
KR20150132672A (en) | Video recording system for saving selected frame to high resolution and method of operation thereof | |
KR101559241B1 (en) | Method and system for storing representative images of video event data recorder | |
CN111664829A (en) | Correction method, correction device and computer storage medium | |
US11902656B2 (en) | Audio sensors for controlling surveillance video data capture | |
CN114604175B (en) | Method, processor, device and system for determining engineering vehicle | |
CN114697501B (en) | Time-based monitoring camera image processing method and system | |
US11736796B1 (en) | Workload triggered dynamic capture in surveillance systems |
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 |