WO2016131310A1 - Method and apparatus for camera shooting - Google Patents

Method and apparatus for camera shooting Download PDF

Info

Publication number
WO2016131310A1
WO2016131310A1 PCT/CN2015/094230 CN2015094230W WO2016131310A1 WO 2016131310 A1 WO2016131310 A1 WO 2016131310A1 CN 2015094230 W CN2015094230 W CN 2015094230W WO 2016131310 A1 WO2016131310 A1 WO 2016131310A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
video information
information
shooting
camera
Prior art date
Application number
PCT/CN2015/094230
Other languages
French (fr)
Chinese (zh)
Inventor
范雪峰
袁晓丽
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016131310A1 publication Critical patent/WO2016131310A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for imaging.
  • a dedicated driving recorder which is generally about 9 inches in size, is clipped in front of the car glass, and is connected to a car charger to capture video information in front and save it.
  • the other is a sports camera, such as the small ant motion camera launched by Huawei, and similar devices from many other companies.
  • a mobile phone more and more people will turn on the camera function of the mobile phone, fixed in front of the car glass, instead of the driving recorder.
  • the above technology is generally limited to the driving record function, does not have the real-time road condition analysis, and the user driving safety reminding function, and the mobile phone as the driving recording device, because the storage space is relatively small, the length of the video that can be saved is limited.
  • the invention provides a method and a device for photographing, so as to at least solve the problem that the driving recorder records the video information in the related art in a relatively simple manner.
  • a method for imaging includes: storing video information collected by an imaging apparatus in a first vehicle in which the imaging apparatus is located; analyzing the stored video information to obtain the The condition information of the environment in which the first vehicle is located; adjusting the shooting parameters of the image capturing device according to the situation information of the environment in which the first vehicle is located.
  • storing the video information collected by the imaging device in the first vehicle where the imaging device is located includes: compressing the video information, wherein the video information is collected by a first camera of the imaging device And video information indicating the road condition in front of the first vehicle; storing the video information.
  • the analyzing the stored video information to obtain the status information of the environment in which the first vehicle is located comprises: analyzing the front of the first vehicle according to a manner of image recognition and a location service
  • the video information of the road condition obtains status information of the environment in which the first vehicle is located, wherein the status information includes: the number of vehicles passing through the first vehicle in the predetermined time period, the first vehicle and the pedestrian, and/or The distance between the obstacle and/or other vehicles, the weather parameters of the environment in which the first vehicle is located.
  • the adjusting the shooting parameters of the imaging device according to the condition information of the environment in which the first vehicle is located includes: when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or When the weather parameter indicates good, reducing a first shooting parameter of the shooting parameters of the camera rear camera; when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second Increase when the predetermined threshold or the weather parameter indicates a difference
  • the method further includes: starting the first voice prompt information when the number of the vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference .
  • the video information collected by the camera device in the first vehicle where the camera device is located includes: compressing the video information, wherein the video information is collected by a second camera of the camera device The video information is stored in the video information indicating the first vehicle driver's face information.
  • the method further includes: identifying the video information for indicating the first vehicle driver's face information, and obtaining information for indicating the driver status; The information of the driver status determines whether to activate the second voice prompt information.
  • an apparatus for photographing comprising: a storage module configured to store video information acquired by an imaging apparatus in a first vehicle in which the imaging apparatus is located; and an analysis module configured to The stored video information is analyzed to obtain status information of the environment in which the first vehicle is located; and the adjusting module is configured to adjust the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located.
  • the storage module includes: a first compression unit configured to compress the video information, wherein the video information is collected by a first camera of the imaging device for indicating the front of the first vehicle Video information of the road condition; a first storage unit configured to store the video information.
  • the analyzing module is further configured to analyze, according to the manner of image recognition and the manner of positioning service, the video information used to indicate the road condition in front of the first vehicle, and obtain the condition of the environment in which the first vehicle is located.
  • Information wherein the status information includes: a number of vehicles passing through the first vehicle in a predetermined time period, a distance between the first vehicle and a pedestrian and/or an obstacle and/or other vehicle, the first The weather parameters of the environment in which the vehicle is located.
  • the adjusting module includes: a first adjusting unit, configured to reduce the number when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or the weather parameter indicates good a first one of the photographing parameters of the camera of the rear camera; the second adjusting unit is configured to set the number of vehicles to be greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or When the weather parameter indicates a difference, the first shooting parameter in the shooting parameter of the camera rear camera is increased, wherein the first shooting parameter includes at least one of: shooting resolution, shooting frame rate, Shoot the light intensity.
  • the device further includes: an activation module, configured to start when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference The first voice prompt information.
  • an activation module configured to start when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference The first voice prompt information.
  • the storage module further includes: a second compression unit configured to compress the video information, wherein the video information is collected by a second camera of the imaging device for indicating the first vehicle Video information of driver's face information; a second storage unit configured to store the video information.
  • a second compression unit configured to compress the video information, wherein the video information is collected by a second camera of the imaging device for indicating the first vehicle Video information of driver's face information
  • a second storage unit configured to store the video information.
  • the device further includes: an identification module, configured to identify the used after storing the video information And displaying, by the video information indicating the first vehicle driver's face information, information for indicating the state of the driver; and determining, configured to determine whether to activate the second voice prompt information according to the information of the driver state.
  • an identification module configured to identify the used after storing the video information And displaying, by the video information indicating the first vehicle driver's face information, information for indicating the state of the driver; and determining, configured to determine whether to activate the second voice prompt information according to the information of the driver state.
  • the video information collected by the storage camera device in the first vehicle where the imaging device is located is used; the stored video information is analyzed to obtain the situation information of the environment in which the first vehicle is located; according to the environment of the first vehicle
  • the condition information adjusts the shooting parameters of the camera device, and solves the problem that the driving recorder records the video information in a related art in a relatively simple manner, thereby achieving the effect of dynamically adjusting the size of the video information according to the situation information of the environment in which the vehicle is located.
  • FIG. 1 is a flow chart of a method of imaging according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 3 is a block diagram of a structure of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 4 is a second structural block diagram of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 5 is a third structural block diagram of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 4 of an apparatus for imaging according to an embodiment of the present invention.
  • FIG. 7 is a block diagram 5 of a device for imaging according to an embodiment of the present invention.
  • FIG. 8 is a block diagram of a driving record and assist driving software module according to an embodiment of the present invention.
  • FIG. 9 is a flow chart showing the implementation of driving record and assisted driving according to an embodiment of the present invention.
  • FIG. 10 is a flow chart of a front camera assisted driving implementation in accordance with an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for imaging according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 storing video information collected by the imaging device in the first vehicle where the imaging device is located;
  • Step S104 analyzing the stored video information to obtain status information of an environment in which the first vehicle is located;
  • Step S106 adjusting the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located.
  • the imaging device only implements the driving record function.
  • the video information collected by the imaging device in the first vehicle is stored, and then the stored video information is analyzed to obtain the status information of the first vehicle, and then Adjusting the shooting parameters of the imaging device according to the above situation information, solving the problem that the driving recorder stores the video information in a related art in a relatively simple manner, thereby achieving the effect of dynamically adjusting the size of the video information according to the situation information of the environment in which the vehicle is located.
  • the method for storing the video information collected by the image capturing device in the first vehicle where the image capturing device is located in the step S102 is implemented in the following manner. And compressing the video information, wherein the video information is video information collected by the first camera of the imaging device for indicating a road condition in front of the first vehicle, and after the compression, storing the video information.
  • the manner of obtaining the status information of the environment in which the first vehicle is located is obtained for the analysis of the stored video information in the step S104 of the embodiment, in an optional implementation of this embodiment.
  • the step S104 may be implemented by: analyzing video information used to indicate a road condition in front of the first vehicle according to a manner of image recognition and a location service, and obtaining status information of an environment in which the first vehicle is located, where The status information includes a number of vehicles passing through the first vehicle during a predetermined time period, a distance between the first vehicle and a pedestrian and/or an obstacle and/or other vehicle, and a weather parameter of an environment in which the first vehicle is located.
  • the image recognition technology may be used in the step S104 to distinguish information such as roads, vehicles, pedestrians, obstacles, and the like, and the manner of the positioning service may be: a smart phone.
  • the map information and GPS information in order to determine the current driving scene, for example, the highway with smooth road surface or the road with poor road conditions, empty roads or vehicles, frequent vehicles, pedestrians, non-motor vehicles are rare or pedestrians, non-machine Frequent driving, weather conditions, ambient light conditions, etc.
  • the step S106 may be implemented by: when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or the weather parameter indicates good, reducing a first shooting parameter of the shooting parameters of the first camera of the imaging device; When the quantity is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference, the first shooting parameter in the shooting parameters of the camera rear camera is improved; wherein the first shooting involved in the step Parameters include, but are not limited to, shooting resolution, shooting frame rate, and shooting light intensity.
  • the first predetermined threshold, the second predetermined threshold, and the weather parameter in the above step S106 may be respectively taken as: 10 vehicles, 20 meters, and clear in the application scenario of the embodiment; that is, in the present embodiment, the vehicle When the number is less than 10 vehicles, or the distance is less than 20m, or the weather parameter indicates that the weather is clear, the shooting resolution of the first camera of the camera device can be reduced.
  • the camera can be adjusted in real time according to the situation information of the environment in which the vehicle is located.
  • the shooting parameters of the device that is, the resolution of the shooting, can save the storage space of the device without affecting the recording effect.
  • the number of vehicles is greater than a first predetermined threshold, or the distance is less than the second pre-
  • the first voice prompt information is activated when the threshold value or the weather parameter indicates a difference. For example, the current car is frequent, pedestrians and non-motor vehicles are interspersed, and the user can be prompted to pay attention to keep the distance from the front car. Pay attention to keep the distance from the pedestrian on the right side, pay attention to the pits or obstacles on the road, and improve the safe driving. Safety factor.
  • the manner involved in step S102 may also be implemented by compressing video information, where the video information is collected by a second camera of the imaging device. Video information indicating the first vehicle driver's face information; storing video information.
  • the camera in this mode is not limited to the first camera and the second camera, and may include more cameras in some scenarios, so that video streams in various directions, such as 360-degree video, can be captured in real time. dynamic. By this method, the driver's driving state can be observed in real time.
  • the method of the embodiment further includes: identifying video information for indicating the first vehicle driver's face information, obtaining information for indicating the driver's state, and determining according to the driver's state information. Whether to activate the second voice prompt information. That is to say, in the embodiment, by identifying the driver's face information, determining whether the current driver is driving fatigue, whether the attention is dispersed, or the like, the driver is prompted to voice prompt according to the driver state information, for example, When the driver's attention is dispersed, he or she is prompted to pay attention to the road ahead; when the driver is tired of driving, he is prompted to take a proper rest for a while.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • an image capturing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the detailed description thereof has been omitted.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: a storage module 22 configured to store video information collected by an imaging apparatus in a first vehicle in which the imaging apparatus is located;
  • the analyzing module 24 is configured to analyze the stored video information to obtain status information of the environment in which the first vehicle is located; and the adjusting module 26 is configured to adjust the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located.
  • FIG. 3 is a block diagram of a structure of an apparatus according to an embodiment of the present invention.
  • the apparatus relates to the storage module 22 of FIG. 2, wherein the storage module 22 includes: a first compression unit 222, configured to be compressed.
  • Video information wherein the video information is video information collected by a first camera of the imaging device for indicating a road condition ahead of the first vehicle; and the first storage unit 224 is configured to store the video information.
  • the analysis module 24 involved in FIG. 2 is also set in accordance with the manner of image recognition.
  • the manner of locating the service analyzes the video information used to indicate the road condition in front of the first vehicle, and obtains status information of the environment in which the first vehicle is located, wherein the status information includes: the number of vehicles passing through the first vehicle in the predetermined time period, and the first vehicle and The distance between pedestrians and/or obstacles and/or other vehicles, and the weather parameters of the environment in which the first vehicle is located.
  • the adjustment module 26 of FIG. 2 includes: a first adjustment unit 262 configured to set the number of vehicles to be less than a first predetermined threshold, or distance.
  • the first shooting parameter of the shooting parameters of the camera rear camera is lowered; the second adjusting unit 264 is configured to set the number of vehicles to be greater than the first predetermined threshold, or the distance is less than When the second predetermined threshold or the weather parameter indicates a difference, the first shooting parameter of the shooting parameters of the camera rear camera is improved, wherein the first shooting parameter includes but is not limited to: shooting resolution, shooting frame rate, shooting Light intensity.
  • the apparatus includes, in addition to all the modules included in FIG. 2, a startup module 52 configured to have a number of vehicles greater than the first
  • the first voice prompt information is activated when the predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference.
  • FIG. 6 is a block diagram of a structure of an apparatus according to an embodiment of the present invention.
  • the storage module 22 of FIG. 2 further includes: a second compression unit 226 configured to compress video information, wherein the video information is The video information for indicating the first vehicle driver's face information collected by the second camera of the image capturing apparatus; the second storage unit 228 is configured to store the video information.
  • the apparatus includes, in addition to all the modules in FIG. 2, an identification module 72 configured to identify after storing the video information.
  • the video information for indicating the first vehicle driver's face information is obtained for indicating the state of the driver; and the determining module 74 is configured to determine whether to activate the second voice prompt information according to the information of the driver state.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the optional embodiment of the present invention is directed to a technical method based on the related art, and a smart phone-based imaging method is designed, which can intelligently recognize driving road condition information, and dynamically adjust imaging parameters according to driving road condition information to reduce video storage size; According to the obtained traffic condition information, the user is prompted with safety.
  • FIG. 8 is a block diagram of a driving record and assist driving software module according to an embodiment of the present invention.
  • the invention includes a camera module, an intelligent identification module, a storage module, an integrated control module, and a user interaction module.
  • other application information of the mobile phone such as map information and GPS positioning information, can also be obtained.
  • the user sets the mobile phone to the front end of the vehicle, and the integrated control module starts the driving mode according to the instruction of the user acquired by the user interaction module, controls the camera module to capture the front video, and outputs the video to the storage module for storage.
  • the intelligent identification module analyzes the video, determines the road condition information, passing vehicle information, nearby pedestrians and obstacle information, etc., and obtains scene judgment information, such as the current safe driving scene, or the frequent driving scene of the vehicle, or the downtown area.
  • the driving scene of the crowd is a high-speed road with good road conditions or a country road with complicated obstacles.
  • the intelligent identification module can also obtain map information, GPS positioning information, etc. from the mobile phone system to assist in judging the current driving scene.
  • the integrated control module determines, according to the judgment of the intelligent identification module, that in a simple scene, such as good road conditions, no car, no pedestrians, etc., reducing the shooting resolution of the camera module, reducing the frame rate, etc., in order to reduce the video to be stored. Size; in complex scenes, such as frequent vehicles, pedestrians walking through the bicycle, improve the shooting resolution of the camera module, restore the normal video frame rate, in order to improve the effectiveness of the necessary information storage.
  • the integrated control module can also adjust the shooting parameters of the camera module according to the current shooting effects, such as rainy days, sunny days, etc., so that the video information is clear and effective.
  • control module can remind the user of the road condition information through the user interaction module according to the output of the intelligent identification module, for example, reminding the user that the vehicle is currently frequent. Please pay attention to the vehicle in front, the distance from the front is too close, and the road is too close to the nearby pedestrian. There are stones or pits and other information to ensure safe driving.
  • FIG. 9 is a flowchart of implementation of driving record and assisted driving according to an embodiment of the present invention. As shown in FIG. 9, the steps of the process include:
  • Step S901 the user sets the smart phone on the front end of the window, starts the driving mode through the user interaction module, and the integrated control module starts the camera module according to the instruction of the user;
  • Step S902 the camera module activates the rear camera, captures the driving video, records the road condition information in front, and saves it to the storage module in real time;
  • the related video can adopt a common compression algorithm, such as H.264, MPEG4, etc.;
  • Step S903 the intelligent identification module acquires the currently captured driving video, uses image recognition technology to distinguish road, vehicle, pedestrian, obstacle and other information, integrates map information and GPS information of the smart phone, and determines the current driving scene, for example: road surface.
  • the flat highway is also a poor road.
  • the road is empty or there are many vehicles, frequent vehicles, pedestrians, non-motor vehicles are rare or pedestrians, non-motor vehicles interspersed frequently, weather conditions, ambient lighting conditions.
  • Step S904 the integrated control module determines whether the weather condition and the ambient light condition are appropriate according to the intelligent identification module, if it is step S906; if not, step S905 is performed;
  • Step S905 adjusting the imaging parameters, so that the obtained video brightness is appropriate, and the content is clear;
  • Step S906 the integrated control module determines whether the video size can be reduced according to the current driving scene determined by the intelligent identification module, and if yes, step S907;
  • Step S907 if the current road condition is good, the motor vehicle and the non-motor vehicle are scarce, and there is no car scene, the camera module is controlled to reduce the resolution of the shooting and reduce the video frame rate;
  • Step S908 it is determined whether the user is required to be prompted, if not, step S902 is performed, and if yes, step S909 is performed;
  • Step S909 the integrated control module controls the user interaction module to prompt the user according to the current driving scene determined by the intelligent identification module, for example, prompting the user to pay attention to keep the distance from the preceding vehicle, paying attention to keeping the distance from the pedestrian on the right side, paying attention to the pit on the road or Obstacle, etc.
  • FIG. 10 is a flowchart of the front camera assisted driving according to an embodiment of the present invention. As shown in Figure 10, the steps of the process include:
  • step S1001 the mobile phone is fixed at the front end of the window, and the rear camera can be aligned with the front camera, and the front camera is aimed at the driver inside the vehicle;
  • Step S1002 during the driving, the camera module can also start the front camera continuously or intermittently, grab the driver's face information and save;
  • the smart identification module can also identify the driver's facial information
  • Step S1004 it is determined whether the current driver is fatigued driving; if not, step S1006 is performed; if yes, step S1005 is performed;
  • Step S1005 reminding the driver to take a break
  • Step S1006 it is determined whether the driver is distracted; if yes, step S1007 is performed; if not, step S1002 is performed;
  • step S1007 the integrated control module prompts the driver according to the driver state information recognized by the intelligent identification module, for example, when the driver's attention is dispersed, prompting the driver to pay attention to the road ahead; when the driver is fatigued, the driver is prompted to take a proper rest. meeting.
  • the present invention adopts the video information collected by the storage camera device in the first vehicle where the imaging device is located; analyzes the stored video information to obtain the situation information of the environment in which the first vehicle is located; according to the environment in which the first vehicle is located
  • the condition information adjusts the shooting parameters of the camera device, and solves the related art, the imaging method involved is limited to the driving record, and the device storage space cannot meet the problem of the video real-time storage requirement, thereby achieving the first invention according to the actual situation.
  • the use environment controls and adjusts the camera parameters to ensure that the captured driving record is clear and effective.
  • the invention can dynamically adjust the video size according to the driving information, and save the storage space while ensuring the validity of the video, and the key scene. The clear and complete record is achieved; finally, the invention can provide safety tips to the driver according to the driving information and the driver's state, thereby improving driving safety.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described Alternatively, each of them may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes the above S1, S2, and S3 according to the stored program code in the storage medium.
  • the video information collected by the storage camera device in the first vehicle where the imaging device is located is used; the stored video information is analyzed to obtain the situation information of the environment in which the first vehicle is located; according to the environment of the first vehicle
  • the condition information adjusts the shooting parameters of the camera device, and solves the problem that the driving recorder records the video information in a related art in a relatively simple manner, thereby achieving the effect of dynamically adjusting the size of the video information according to the situation information of the environment in which the vehicle is located.

Abstract

Provided are a method and apparatus for camera shooting. The method comprises: storing video information collected by a camera shooting device in a first vehicle where the camera shooting device is located; analysing the stored video information to obtain condition information about an environment where the first vehicle is located; and adjusting a shooting parameter of the camera shooting device according to the condition information about the environment where the first vehicle is located. By means of the present invention, the problem in the relevant art that the method of a driving recorder storing shot video information is relatively monotonous is solved, thereby achieving the effect that the size of video information can be adjusted dynamically according to condition information about an environment where a vehicle is located.

Description

摄像的方法及装置Camera method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种摄像的方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for imaging.
背景技术Background technique
相关技术中的摄像方法分别有以下3种,一种是专用的行车记录仪,一般是9寸左右大小,夹在车玻璃前方,连接车载充电器,能够拍摄前方的视频信息并保存。另一种是运动相机,例如小米公司推出的小蚁运动相机,以及其他很多公司的类似设备。还有就是手机,越来越多的人将手机打开摄像功能,固定在车玻璃前方,替代行车记录仪。There are three types of imaging methods in the related art, one is a dedicated driving recorder, which is generally about 9 inches in size, is clipped in front of the car glass, and is connected to a car charger to capture video information in front and save it. The other is a sports camera, such as the small ant motion camera launched by Xiaomi, and similar devices from many other companies. There is also a mobile phone, more and more people will turn on the camera function of the mobile phone, fixed in front of the car glass, instead of the driving recorder.
但是上述技术一般仅局限于行车记录功能,不具备实时路况分析,以及用户行车安全提示功能,而手机作为行车记录设备,因为存储空间相对较小,所以所能保存的视频时长有限。However, the above technology is generally limited to the driving record function, does not have the real-time road condition analysis, and the user driving safety reminding function, and the mobile phone as the driving recording device, because the storage space is relatively small, the length of the video that can be saved is limited.
针对相关技术中,行车记录仪存储拍摄视频信息的方式比较单一问题,尚未提出有效地解决方案。In the related art, the way in which the driving recorder stores video information is relatively single, and an effective solution has not been proposed.
发明内容Summary of the invention
本发明提供了一种摄像的方法及装置,以至少解决相关技术中行车记录仪存储拍摄视频信息的方式比较单一的问题。The invention provides a method and a device for photographing, so as to at least solve the problem that the driving recorder records the video information in the related art in a relatively simple manner.
根据本发明实施例的一个方面,提供了一种摄像的方法,包括:存储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息;分析存储的所述视频信息,得到所述第一车辆所处环境的状况信息;依据所述第一车辆所处环境的状况信息调整所述摄像设备的拍摄参数。According to an aspect of the embodiments of the present invention, a method for imaging includes: storing video information collected by an imaging apparatus in a first vehicle in which the imaging apparatus is located; analyzing the stored video information to obtain the The condition information of the environment in which the first vehicle is located; adjusting the shooting parameters of the image capturing device according to the situation information of the environment in which the first vehicle is located.
可选地,存储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息包括:压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第一摄像头采集的用于指示所述第一车辆前方路况的视频信息;存储所述视频信息。Optionally, storing the video information collected by the imaging device in the first vehicle where the imaging device is located includes: compressing the video information, wherein the video information is collected by a first camera of the imaging device And video information indicating the road condition in front of the first vehicle; storing the video information.
可选地,所述分析存储的所述视频信息,得到所述第一车辆所处环境的状况信息包括:依据图像识别的方式和定位服务的方式分析所述用于指示所述第一车辆前方路况的视频信息,得到所述第一车辆所处环境的状况信息,其中,所述状况信息包括:预定时间段内过往所述第一车辆的车辆数量、所述第一车辆与行人和/或障碍物和/或其他车辆之间的距离、所述第一车辆所处环境的天气参数。Optionally, the analyzing the stored video information to obtain the status information of the environment in which the first vehicle is located comprises: analyzing the front of the first vehicle according to a manner of image recognition and a location service The video information of the road condition obtains status information of the environment in which the first vehicle is located, wherein the status information includes: the number of vehicles passing through the first vehicle in the predetermined time period, the first vehicle and the pedestrian, and/or The distance between the obstacle and/or other vehicles, the weather parameters of the environment in which the first vehicle is located.
可选地,所述依据所述第一车辆所处环境的状况信息调整所述摄像设备的拍摄参数包括:在所述车辆数量小于第一预定阈值、或所述距离大于第二预定阈值、或所述天气参数指示良好时,降低所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数;在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,提高 所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数,其中,所述第一拍摄参数包括以下至少之一:拍摄分辨率,拍摄帧率、拍摄光线强度。Optionally, the adjusting the shooting parameters of the imaging device according to the condition information of the environment in which the first vehicle is located includes: when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or When the weather parameter indicates good, reducing a first shooting parameter of the shooting parameters of the camera rear camera; when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second Increase when the predetermined threshold or the weather parameter indicates a difference The first shooting parameter of the shooting parameter of the camera of the rear camera, wherein the first shooting parameter comprises at least one of the following: shooting resolution, shooting frame rate, and shooting light intensity.
可选地,所述方法还包括:在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,启动第一语音提示信息。Optionally, the method further includes: starting the first voice prompt information when the number of the vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference .
可选地,储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息包括:压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第二摄像头采集的用于指示所述第一车辆驾驶员面部信息的视频信息,存储所述视频信息。Optionally, the video information collected by the camera device in the first vehicle where the camera device is located includes: compressing the video information, wherein the video information is collected by a second camera of the camera device The video information is stored in the video information indicating the first vehicle driver's face information.
可选地,在存储所述视频信息之后,所述方法还包括:识别所述用于指示所述第一车辆驾驶员面部信息的视频信息,得到用于指示所述驾驶员状态的信息;依据所述驾驶员状态的信息确定是否启动第二语音提示信息。Optionally, after the storing the video information, the method further includes: identifying the video information for indicating the first vehicle driver's face information, and obtaining information for indicating the driver status; The information of the driver status determines whether to activate the second voice prompt information.
根据本发明实施例的另一方面,提供了一种摄像的装置,包括:存储模块,设置为存储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息;分析模块,设置为分析存储的所述视频信息,得到所述第一车辆所处环境的状况信息;调整模块,设置为依据所述第一车辆所处环境的状况信息调整所述摄像设备的拍摄参数。According to another aspect of the embodiments of the present invention, there is provided an apparatus for photographing, comprising: a storage module configured to store video information acquired by an imaging apparatus in a first vehicle in which the imaging apparatus is located; and an analysis module configured to The stored video information is analyzed to obtain status information of the environment in which the first vehicle is located; and the adjusting module is configured to adjust the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located.
可选地,所述存储模块包括:第一压缩单元,设置为压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第一摄像头采集的用于指示所述第一车辆前方路况的视频信息;第一存储单元,设置为存储所述视频信息。Optionally, the storage module includes: a first compression unit configured to compress the video information, wherein the video information is collected by a first camera of the imaging device for indicating the front of the first vehicle Video information of the road condition; a first storage unit configured to store the video information.
可选地,所述分析模块,还设置为依据图像识别的方式和定位服务的方式分析所述用于指示所述第一车辆前方路况的视频信息,得到所述第一车辆所处环境的状况信息,其中,所述状况信息包括:预定时间段内过往所述第一车辆的车辆数量、所述第一车辆与行人和/或障碍物和/或其他车辆之间的距离、所述第一车辆所处环境的天气参数。Optionally, the analyzing module is further configured to analyze, according to the manner of image recognition and the manner of positioning service, the video information used to indicate the road condition in front of the first vehicle, and obtain the condition of the environment in which the first vehicle is located. Information, wherein the status information includes: a number of vehicles passing through the first vehicle in a predetermined time period, a distance between the first vehicle and a pedestrian and/or an obstacle and/or other vehicle, the first The weather parameters of the environment in which the vehicle is located.
可选地,所述调整模块包括:第一调整单元,设置为在所述车辆数量小于第一预定阈值、或所述距离大于第二预定阈值、或所述天气参数指示良好时,降低所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数;第二调整单元,设置为在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,提高所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数,其中,所述第一拍摄参数包括以下至少之一:拍摄分辨率,拍摄帧率、拍摄光线强度。Optionally, the adjusting module includes: a first adjusting unit, configured to reduce the number when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or the weather parameter indicates good a first one of the photographing parameters of the camera of the rear camera; the second adjusting unit is configured to set the number of vehicles to be greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or When the weather parameter indicates a difference, the first shooting parameter in the shooting parameter of the camera rear camera is increased, wherein the first shooting parameter includes at least one of: shooting resolution, shooting frame rate, Shoot the light intensity.
可选地,所述装置还包括:启动模块,设置为在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,启动第一语音提示信息。Optionally, the device further includes: an activation module, configured to start when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference The first voice prompt information.
可选地,所述存储模块还包括:第二压缩单元,设置为压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第二摄像头采集的用于指示所述第一车辆驾驶员面部信息的视频信息;第二存储单元,设置为存储所述视频信息。Optionally, the storage module further includes: a second compression unit configured to compress the video information, wherein the video information is collected by a second camera of the imaging device for indicating the first vehicle Video information of driver's face information; a second storage unit configured to store the video information.
可选地,所述装置还包括:识别模块,设置为在存储所述视频信息之后,识别所述用于 指示所述第一车辆驾驶员面部信息的视频信息,得到用于指示所述驾驶员状态的信息;确定模块,设置为依据所述驾驶员状态的信息确定是否启动第二语音提示信息。Optionally, the device further includes: an identification module, configured to identify the used after storing the video information And displaying, by the video information indicating the first vehicle driver's face information, information for indicating the state of the driver; and determining, configured to determine whether to activate the second voice prompt information according to the information of the driver state.
通过本发明实施例,采用存储摄像设备在摄像设备所位于的第一车辆中采集的视频信息;分析存储的视频信息,得到第一车辆所处环境的状况信息;依据该第一车辆所处环境的状况信息调整该摄像设备的拍摄参数,解决了相关技术中行车记录仪存储拍摄视频信息的方式比较单一的问题,进而达到了能够根据车辆所处环境的状况信息,动态调整视频信息大小的效果。According to the embodiment of the present invention, the video information collected by the storage camera device in the first vehicle where the imaging device is located is used; the stored video information is analyzed to obtain the situation information of the environment in which the first vehicle is located; according to the environment of the first vehicle The condition information adjusts the shooting parameters of the camera device, and solves the problem that the driving recorder records the video information in a related art in a relatively simple manner, thereby achieving the effect of dynamically adjusting the size of the video information according to the situation information of the environment in which the vehicle is located. .
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的摄像的方法流程图;1 is a flow chart of a method of imaging according to an embodiment of the present invention;
图2是根据本发明实施例的摄像的装置结构框图;2 is a block diagram showing the structure of an apparatus for imaging according to an embodiment of the present invention;
图3是根据本发明实施例的摄像的装置结构框图一;3 is a block diagram of a structure of an apparatus for imaging according to an embodiment of the present invention;
图4是根据本发明实施例的摄像的装置结构框图二;4 is a second structural block diagram of an apparatus for imaging according to an embodiment of the present invention;
图5是根据本发明实施例的摄像的装置结构框图三;FIG. 5 is a third structural block diagram of an apparatus for imaging according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的摄像的装置结构框图四;6 is a block diagram 4 of an apparatus for imaging according to an embodiment of the present invention;
图7是根据本发明实施例的摄像的装置结构框图五;7 is a block diagram 5 of a device for imaging according to an embodiment of the present invention;
图8是根据本发明实施例的行车记录及辅助驾驶软件模块图;8 is a block diagram of a driving record and assist driving software module according to an embodiment of the present invention;
图9是根据本发明实施例的行车记录及辅助驾驶实施流程图;9 is a flow chart showing the implementation of driving record and assisted driving according to an embodiment of the present invention;
图10是根据本发明实施例的前置摄像头辅助驾驶实施流程图。10 is a flow chart of a front camera assisted driving implementation in accordance with an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种摄像的方法,图1是根据本发明实施例的摄像的方法流程图,如图1所示,该流程包括如下步骤:In the embodiment, a method for imaging is provided. FIG. 1 is a flowchart of a method for imaging according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,存储摄像设备在摄像设备所位于的第一车辆中采集的视频信息; Step S102, storing video information collected by the imaging device in the first vehicle where the imaging device is located;
步骤S104,分析存储的该视频信息,得到第一车辆所处环境的状况信息;Step S104, analyzing the stored video information to obtain status information of an environment in which the first vehicle is located;
步骤S106,依据该第一车辆所处环境的状况信息调整该摄像设备的拍摄参数。Step S106, adjusting the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located.
相比于相关技术中,摄像设备仅仅实现了行车记录功能,通过上述步骤,存储摄像设备在第一车辆中采集的视频信息,然后分析存储的视频信息得到第一车辆所处的状况信息,再根据上述状况信息调整摄像设备的拍摄参数,解决了相关技术中行车记录仪存储拍摄视频信息的方式比较单一的问题,进而达到了能够根据车辆所处环境的状况信息,动态调整视频信息大小的效果。Compared with the related art, the imaging device only implements the driving record function. Through the above steps, the video information collected by the imaging device in the first vehicle is stored, and then the stored video information is analyzed to obtain the status information of the first vehicle, and then Adjusting the shooting parameters of the imaging device according to the above situation information, solving the problem that the driving recorder stores the video information in a related art in a relatively simple manner, thereby achieving the effect of dynamically adjusting the size of the video information according to the situation information of the environment in which the vehicle is located. .
对于本实施例中步骤S102涉及到的存储摄像设备在摄像设备所位于的第一车辆中采集的视频信息的方式,在本实施例的一个可选实施方式中,该方式可以通过如下方式来实现:压缩视频信息,其中,该视频信息为通过摄像设备的第一摄像头采集的用于指示第一车辆前方路况的视频信息,在压缩之后,存储该视频信息。In an optional implementation manner of the embodiment, the method for storing the video information collected by the image capturing device in the first vehicle where the image capturing device is located in the step S102 is implemented in the following manner. And compressing the video information, wherein the video information is video information collected by the first camera of the imaging device for indicating a road condition in front of the first vehicle, and after the compression, storing the video information.
基于上述步骤S102的可选实施方式,对于本实施例步骤S104中涉及到的分析存储的该视频信息,得到第一车辆所处环境的状况信息的方式,在本实施例的一个可选的实施方式中,该步骤S104可以通过如下方式来实现:依据图像识别的方式和定位服务的方式分析用于指示第一车辆前方路况的视频信息,得到第一车辆所处环境的状况信息,其中,该状况信息包括:预定时间段内过往该第一车辆的车辆数量、该第一车辆与行人和/或障碍物和/或其他车辆之间的距离、该第一车辆所处环境的天气参数。Based on the optional implementation of the foregoing step S102, the manner of obtaining the status information of the environment in which the first vehicle is located is obtained for the analysis of the stored video information in the step S104 of the embodiment, in an optional implementation of this embodiment. In this manner, the step S104 may be implemented by: analyzing video information used to indicate a road condition in front of the first vehicle according to a manner of image recognition and a location service, and obtaining status information of an environment in which the first vehicle is located, where The status information includes a number of vehicles passing through the first vehicle during a predetermined time period, a distance between the first vehicle and a pedestrian and/or an obstacle and/or other vehicle, and a weather parameter of an environment in which the first vehicle is located.
在本实施例的应用场景中,在该步骤S104中可以采用图像识别技术,来区分道路、车辆、行人、障碍物等信息,且综合定位服务的方式,该定位服务的方式可以是:智能手机的地图信息和GPS信息,进而判断出当前的行车场景,例如,路面平整的高速路还是路况较差的小路、道路空旷还是车辆众多、会车频繁、行人、非机动车稀少还是行人、非机动车穿插频繁、天气情况、环境光线情况如何等。In the application scenario of the embodiment, the image recognition technology may be used in the step S104 to distinguish information such as roads, vehicles, pedestrians, obstacles, and the like, and the manner of the positioning service may be: a smart phone. The map information and GPS information, in order to determine the current driving scene, for example, the highway with smooth road surface or the road with poor road conditions, empty roads or vehicles, frequent vehicles, pedestrians, non-motor vehicles are rare or pedestrians, non-machine Frequent driving, weather conditions, ambient light conditions, etc.
基于上述步骤S104的可选实施方式,本实施例中步骤S106涉及到的依据该第一车辆所处环境的状况信息调整该摄像设备的拍摄参数的方式,在可选的实施方式中,该步骤S106可以通过如下方式来实现:在车辆数量小于第一预定阈值、或距离大于第二预定阈值、或天气参数指示良好时,降低摄像设备第一摄像头的拍摄参数中的第一拍摄参数;在车辆数量大于该第一预定阈值、或距离小于该第二预定阈值、或天气参数指示差时,提高摄像设备后置摄像头的拍摄参数中的第一拍摄参数;其中,该步骤中涉及的第一拍摄参数包括但并不限于:拍摄分辨率,拍摄帧率、拍摄光线强度。对于上述步骤S106中的第一预定阈值、第二预定阈值、天气参数在本实施例的应用场景中可以分别取值为:10辆、20m、晴;也就是说,在本实施例中在车辆数量小于10辆、或距离小于20m、或天气参数指示为晴时,可以通过降低摄像设备第一摄像头的拍摄分辨率进行拍摄,通过该方式,可以实现根据车辆所处环境的状况信息实时调整摄像设备的拍摄参数,即拍摄的分辨率,进而在不影响记录效果的情况下可以节省设备存储空间。Based on the optional implementation of the foregoing step S104, the method of adjusting the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located in step S106 in this embodiment, in an optional embodiment, the step S106 may be implemented by: when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or the weather parameter indicates good, reducing a first shooting parameter of the shooting parameters of the first camera of the imaging device; When the quantity is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference, the first shooting parameter in the shooting parameters of the camera rear camera is improved; wherein the first shooting involved in the step Parameters include, but are not limited to, shooting resolution, shooting frame rate, and shooting light intensity. The first predetermined threshold, the second predetermined threshold, and the weather parameter in the above step S106 may be respectively taken as: 10 vehicles, 20 meters, and clear in the application scenario of the embodiment; that is, in the present embodiment, the vehicle When the number is less than 10 vehicles, or the distance is less than 20m, or the weather parameter indicates that the weather is clear, the shooting resolution of the first camera of the camera device can be reduced. By this method, the camera can be adjusted in real time according to the situation information of the environment in which the vehicle is located. The shooting parameters of the device, that is, the resolution of the shooting, can save the storage space of the device without affecting the recording effect.
而基于该步骤S106的另一种方式,在车辆数量大于第一预定阈值、或距离小于该第二预 定阈值、或天气参数指示差时,启动第一语音提示信息。例如当前会车频繁,行人、非机动车穿插,可以提示用户注意与前车保持距离,注意与右侧的行人保持距离,注意道路上有坑或障碍物等,通过该方式可以实现提高安全驾驶的安全系数。And in another manner based on the step S106, the number of vehicles is greater than a first predetermined threshold, or the distance is less than the second pre- The first voice prompt information is activated when the threshold value or the weather parameter indicates a difference. For example, the current car is frequent, pedestrians and non-motor vehicles are interspersed, and the user can be prompted to pay attention to keep the distance from the front car. Pay attention to keep the distance from the pedestrian on the right side, pay attention to the pits or obstacles on the road, and improve the safe driving. Safety factor.
在本实施例的另一个可选的实施方式中,对于步骤S102中涉及到的的方式,还可以通过如下方式来实现:压缩视频信息,其中,该视频信息为通过摄像设备的第二摄像头采集的用于指示第一车辆驾驶员面部信息的视频信息;存储视频信息。In another optional implementation manner of this embodiment, the manner involved in step S102 may also be implemented by compressing video information, where the video information is collected by a second camera of the imaging device. Video information indicating the first vehicle driver's face information; storing video information.
需要说明的是,该方式中的摄像头并不仅仅局限于第一摄像头和第二摄像头,在某些场景下还可以包括更多摄像头,进而可以实时拍摄各个方向的视频流,例如360度的视频动态。通过该方法可以实时观察驾驶员的驾驶状态。It should be noted that the camera in this mode is not limited to the first camera and the second camera, and may include more cameras in some scenarios, so that video streams in various directions, such as 360-degree video, can be captured in real time. dynamic. By this method, the driver's driving state can be observed in real time.
基于上述在存储上述视频信息之后,本实施例的方法还包括:识别用于指示第一车辆驾驶员面部信息的视频信息,得到用于指示该驾驶员状态的信息,依据驾驶员状态的信息确定是否启动第二语音提示信息。也就是说,在本实施例中可以通过对驾驶员的面部信息进行识别,判断当前驾驶员是否疲劳驾驶,是否注意力分散等,根据驾驶员状态信息,对驾驶员进行提示语音提示,例如在驾驶员注意力分散时,提示其注意前方道路;在驾驶员疲劳驾驶时,提示其适当休息一会。After the above-mentioned video information is stored, the method of the embodiment further includes: identifying video information for indicating the first vehicle driver's face information, obtaining information for indicating the driver's state, and determining according to the driver's state information. Whether to activate the second voice prompt information. That is to say, in the embodiment, by identifying the driver's face information, determining whether the current driver is driving fatigue, whether the attention is dispersed, or the like, the driver is prompted to voice prompt according to the driver state information, for example, When the driver's attention is dispersed, he or she is prompted to pay attention to the road ahead; when the driver is tired of driving, he is prompted to take a proper rest for a while.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种摄像装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an image capturing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the detailed description thereof has been omitted. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的摄像的装置结构框图,如图2所示,该装置包括:存储模块22,设置为存储摄像设备在该摄像设备所位于的第一车辆中采集的视频信息;分析模块24,设置为分析存储的该视频信息,得到该第一车辆所处环境的状况信息;调整模块26,设置为依据该第一车辆所处环境的状况信息调整该摄像设备的拍摄参数。2 is a structural block diagram of an apparatus for imaging according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a storage module 22 configured to store video information collected by an imaging apparatus in a first vehicle in which the imaging apparatus is located; The analyzing module 24 is configured to analyze the stored video information to obtain status information of the environment in which the first vehicle is located; and the adjusting module 26 is configured to adjust the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located.
图3是根据本发明实施例的摄像的装置结构框图一,如图3所示,该装置涉及到图2中的存储模块22,其中该存储模块22包括:第一压缩单元222,设置为压缩视频信息,其中,视频信息为通过摄像设备的第一摄像头采集的用于指示第一车辆前方路况的视频信息;第一存储单元224,设置为存储该视频信息。FIG. 3 is a block diagram of a structure of an apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus relates to the storage module 22 of FIG. 2, wherein the storage module 22 includes: a first compression unit 222, configured to be compressed. Video information, wherein the video information is video information collected by a first camera of the imaging device for indicating a road condition ahead of the first vehicle; and the first storage unit 224 is configured to store the video information.
在一个可选的实施方式中,图2中涉及到的分析模块24,还设置为依据图像识别的方式 和定位服务的方式分析用于指示第一车辆前方路况的视频信息,得到第一车辆所处环境的状况信息,其中状况信息包括:预定时间段内过往第一车辆的车辆数量、第一车辆与行人和/或障碍物和/或其他车辆之间的距离、第一车辆所处环境的天气参数。In an optional implementation manner, the analysis module 24 involved in FIG. 2 is also set in accordance with the manner of image recognition. And the manner of locating the service analyzes the video information used to indicate the road condition in front of the first vehicle, and obtains status information of the environment in which the first vehicle is located, wherein the status information includes: the number of vehicles passing through the first vehicle in the predetermined time period, and the first vehicle and The distance between pedestrians and/or obstacles and/or other vehicles, and the weather parameters of the environment in which the first vehicle is located.
图4是根据本发明实施例的摄像的装置结构框图二,如图4所示,图2中的调整模块26包括:第一调整单元262,设置为在车辆数量小于第一预定阈值、或距离大于第二预定阈值、或天气参数指示良好时,降低摄像设备后置摄像头的拍摄参数中的第一拍摄参数;第二调整单元264,设置为在车辆数量大于该第一预定阈值、或距离小于该第二预定阈值、或天气参数指示差时,提高摄像设备后置摄像头的拍摄参数中的第一拍摄参数,其中,第一拍摄参数包括但并不限于:拍摄分辨率,拍摄帧率、拍摄光线强度。4 is a block diagram of a structure of an apparatus for imaging according to an embodiment of the present invention. As shown in FIG. 4, the adjustment module 26 of FIG. 2 includes: a first adjustment unit 262 configured to set the number of vehicles to be less than a first predetermined threshold, or distance. When the second predetermined threshold is greater than the second predetermined threshold, or the weather parameter indicates good, the first shooting parameter of the shooting parameters of the camera rear camera is lowered; the second adjusting unit 264 is configured to set the number of vehicles to be greater than the first predetermined threshold, or the distance is less than When the second predetermined threshold or the weather parameter indicates a difference, the first shooting parameter of the shooting parameters of the camera rear camera is improved, wherein the first shooting parameter includes but is not limited to: shooting resolution, shooting frame rate, shooting Light intensity.
图5是根据本发明实施例的摄像的装置结构框图三,如图5所示,该装置除了包括图2所包括的所有模块外还包括:启动模块52,设置为在车辆数量大于该第一预定阈值、或距离小于该第二预定阈值、或天气参数指示差时,启动第一语音提示信息。5 is a block diagram 3 of a structure of an apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes, in addition to all the modules included in FIG. 2, a startup module 52 configured to have a number of vehicles greater than the first The first voice prompt information is activated when the predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference.
图6是根据本发明实施例的摄像的装置结构框图四,如图6所示,图2中涉及的存储模块22还包括:第二压缩单元226,设置为压缩视频信息,其中,该视频信息为通过摄像设备的第二摄像头采集的用于指示第一车辆驾驶员面部信息的视频信息;第二存储单元228,设置为存储该视频信息。FIG. 6 is a block diagram of a structure of an apparatus according to an embodiment of the present invention. As shown in FIG. 6, the storage module 22 of FIG. 2 further includes: a second compression unit 226 configured to compress video information, wherein the video information is The video information for indicating the first vehicle driver's face information collected by the second camera of the image capturing apparatus; the second storage unit 228 is configured to store the video information.
图7是根据本发明实施例的摄像的装置结构框图五,如图7所示,该装置除了包括图2中的所有模块外,还包括识别模块72,设置为在存储该视频信息之后,识别用于指示该第一车辆驾驶员面部信息的视频信息,得到用于指示驾驶员状态的信息;确定模块74,设置为依据该驾驶员状态的信息确定是否启动第二语音提示信息。7 is a block diagram 5 of an apparatus for imaging according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes, in addition to all the modules in FIG. 2, an identification module 72 configured to identify after storing the video information. The video information for indicating the first vehicle driver's face information is obtained for indicating the state of the driver; and the determining module 74 is configured to determine whether to activate the second voice prompt information according to the information of the driver state.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
下面将结合本发明可选实施例对本发明做进一步描述。The invention will now be further described in conjunction with alternative embodiments of the invention.
本发明可选实施例针对相关技术中的技术缺陷,设计了一种基于智能手机的摄像方法,能够智能识别行车路况信息,并且根据行车路况信息,动态调整摄像参数,降低视频存储大小;另外,根据所获得的行车路况信息,给用户安全提示。The optional embodiment of the present invention is directed to a technical method based on the related art, and a smart phone-based imaging method is designed, which can intelligently recognize driving road condition information, and dynamically adjust imaging parameters according to driving road condition information to reduce video storage size; According to the obtained traffic condition information, the user is prompted with safety.
本发明可选实施例所用装置可以是智能手机。图从模块上来说,图8是根据本发明实施例的行车记录及辅助驾驶软件模块图,如图8所示,包括摄像模块,智能识别模块,存储模块,综合控制模块,用户交互模块。另外,还可以获取手机的其它应用信息,例如地图信息,GPS定位信息。The device used in an alternative embodiment of the invention may be a smartphone. FIG. 8 is a block diagram of a driving record and assist driving software module according to an embodiment of the present invention. As shown in FIG. 8 , the invention includes a camera module, an intelligent identification module, a storage module, an integrated control module, and a user interaction module. In addition, other application information of the mobile phone, such as map information and GPS positioning information, can also be obtained.
首先用户将手机架设到车辆前端,综合控制模块根据用户交互模块获取的用户的指令,启动行车模式,控制摄像模块拍摄前方视频,并且将视频输出到存储模块进行存储。 Firstly, the user sets the mobile phone to the front end of the vehicle, and the integrated control module starts the driving mode according to the instruction of the user acquired by the user interaction module, controls the camera module to capture the front video, and outputs the video to the storage module for storage.
智能识别模块对视频进行分析,判断路况信息,过往车辆信息,附近的行人及障碍物信息等,得到场景判断信息,例如当前是空旷安全的行车场景,还是车辆会车频繁的行车场景,还是闹市人流穿梭的行车场景,是路况良好的高速路,还是障碍物复杂的乡间小路。除了视频信息识别以外,智能识别模块还可以从手机系统获取地图信息,GPS定位信息等,来辅助判断当前行车场景。The intelligent identification module analyzes the video, determines the road condition information, passing vehicle information, nearby pedestrians and obstacle information, etc., and obtains scene judgment information, such as the current safe driving scene, or the frequent driving scene of the vehicle, or the downtown area. The driving scene of the crowd is a high-speed road with good road conditions or a country road with complicated obstacles. In addition to video information recognition, the intelligent identification module can also obtain map information, GPS positioning information, etc. from the mobile phone system to assist in judging the current driving scene.
综合控制模块,根据智能识别模块的判断,来确定在简单的场景下,例如路况良好,无会车,无行人等,降低摄像模块的拍摄分辨率,降低帧率等,以便降低需要存储的视频大小;在复杂场景下,例如会车频繁,行人自行车穿行,提高摄像模块的拍摄分辨率,恢复到正常的视频帧率,以便提升必要信息存储的有效性。The integrated control module determines, according to the judgment of the intelligent identification module, that in a simple scene, such as good road conditions, no car, no pedestrians, etc., reducing the shooting resolution of the camera module, reducing the frame rate, etc., in order to reduce the video to be stored. Size; in complex scenes, such as frequent vehicles, pedestrians walking through the bicycle, improve the shooting resolution of the camera module, restore the normal video frame rate, in order to improve the effectiveness of the necessary information storage.
另外,综合控制模块还可以根据当前的拍摄效果,比如阴雨天,艳阳天等,调整摄像模块的拍摄参数,使得视频信息清晰有效。In addition, the integrated control module can also adjust the shooting parameters of the camera module according to the current shooting effects, such as rainy days, sunny days, etc., so that the video information is clear and effective.
最后,控制模块可以根据智能识别模块的输出,来通过用户交互模块提醒用户路况信息,比如提醒用户当前会车频繁,请注意前方车辆,与前方车距过近,与附近行人过近,前方路面有石头或坑等等信息,保障行车安全。Finally, the control module can remind the user of the road condition information through the user interaction module according to the output of the intelligent identification module, for example, reminding the user that the vehicle is currently frequent. Please pay attention to the vehicle in front, the distance from the front is too close, and the road is too close to the nearby pedestrian. There are stones or pits and other information to ensure safe driving.
可选实施例一Alternative embodiment 1
本发明可选实施例利用智能手机,实现了一种行车记录及辅助系统,能够有效利用存储空间来进行行车记录,并且能够识别路况信息,对用户提供安全提醒。图9是根据本发明实施例的行车记录及辅助驾驶实施流程图,如图9所示,该流程的步骤包括:The optional embodiment of the present invention realizes a driving record and auxiliary system by using a smart phone, can effectively utilize the storage space to perform driving records, and can recognize road condition information, and provides a safety reminder to the user. FIG. 9 is a flowchart of implementation of driving record and assisted driving according to an embodiment of the present invention. As shown in FIG. 9, the steps of the process include:
步骤S901,用户将智能手机架设在车窗前端,通过用户交互模块启动行车模式,综合控制模块根据用户的指令,启动摄像模块;Step S901, the user sets the smart phone on the front end of the window, starts the driving mode through the user interaction module, and the integrated control module starts the camera module according to the instruction of the user;
步骤S902,摄像模块启动后置摄像头,拍摄行车视频,记录前方的路况信息,并且实时保存到存储模块中;相关视频可以采用常用的压缩算法,例如H.264,MPEG4等;Step S902, the camera module activates the rear camera, captures the driving video, records the road condition information in front, and saves it to the storage module in real time; the related video can adopt a common compression algorithm, such as H.264, MPEG4, etc.;
步骤S903,智能识别模块获取当前拍摄的行车视频,采用图像识别技术,区分道路、车辆、行人、障碍物等信息,综合智能手机的地图信息、GPS信息,判断出当前的行车场景,例如:路面平整的高速路还是路况较差的小路,道路空旷还是车辆众多、会车频繁,行人、非机动车稀少还是行人、非机动车穿插频繁,天气情况、环境光线情况如何等。Step S903, the intelligent identification module acquires the currently captured driving video, uses image recognition technology to distinguish road, vehicle, pedestrian, obstacle and other information, integrates map information and GPS information of the smart phone, and determines the current driving scene, for example: road surface. The flat highway is also a poor road. The road is empty or there are many vehicles, frequent vehicles, pedestrians, non-motor vehicles are rare or pedestrians, non-motor vehicles interspersed frequently, weather conditions, ambient lighting conditions.
步骤S904,综合控制模块根据智能识别模块判断天气情况、环境光线情况是否合适,如果是步骤S906;如果否,执行步骤S905;Step S904, the integrated control module determines whether the weather condition and the ambient light condition are appropriate according to the intelligent identification module, if it is step S906; if not, step S905 is performed;
步骤S905,调整摄像参数,使得获得的视频亮度合适,内容较清晰;Step S905, adjusting the imaging parameters, so that the obtained video brightness is appropriate, and the content is clear;
步骤S906,综合控制模块根据智能识别模块判断的当前行车场景,确定是否可以降低视频大小,如果是,执行步骤S907;Step S906, the integrated control module determines whether the video size can be reduced according to the current driving scene determined by the intelligent identification module, and if yes, step S907;
步骤S907,如果当前路况良好,机动车、非机动车稀少,没有会车场景,则控制摄像模块,降低拍摄的分辨率,减少视频帧率; Step S907, if the current road condition is good, the motor vehicle and the non-motor vehicle are scarce, and there is no car scene, the camera module is controlled to reduce the resolution of the shooting and reduce the video frame rate;
步骤S908,判断是否需要提示用户,如果否,执行步骤S902,如果是,执行步骤S909;Step S908, it is determined whether the user is required to be prompted, if not, step S902 is performed, and if yes, step S909 is performed;
步骤S909,综合控制模块根据智能识别模块判断的当前行车场景,控制用户交互模块对用户进行提示,例如提示用户注意与前车保持距离,注意与右侧的行人保持距离,注意道路上有坑或障碍物等。Step S909, the integrated control module controls the user interaction module to prompt the user according to the current driving scene determined by the intelligent identification module, for example, prompting the user to pay attention to keep the distance from the preceding vehicle, paying attention to keeping the distance from the pedestrian on the right side, paying attention to the pit on the road or Obstacle, etc.
可选实施例二Alternative embodiment 2
一般智能手机都是双摄像头,本发明可选实施例也可以利用前置摄像头的信息,对驾驶员状态进行监测,图10是根据本发明实施例的前置摄像头辅助驾驶实施流程图,如图10所示,该流程的步骤包括:Generally, the smart phones are dual cameras. The optional embodiment of the present invention can also monitor the state of the driver by using the information of the front camera. FIG. 10 is a flowchart of the front camera assisted driving according to an embodiment of the present invention. As shown in Figure 10, the steps of the process include:
步骤S1001,将手机固定在车窗前端,可以将后置摄像头对准前方,前置摄像头对准车内驾驶员;In step S1001, the mobile phone is fixed at the front end of the window, and the rear camera can be aligned with the front camera, and the front camera is aimed at the driver inside the vehicle;
步骤S1002,在行车途中,摄像模块还可以连续或间歇的启动前置摄像头,抓取驾驶员的面部信息并保存;Step S1002, during the driving, the camera module can also start the front camera continuously or intermittently, grab the driver's face information and save;
步骤S1003,智能识别模块还可以对驾驶员的面部信息进行识别;In step S1003, the smart identification module can also identify the driver's facial information;
步骤S1004,判断当前驾驶员是否疲劳驾驶;如果否,执行步骤S1006;如果是,执行步骤S1005;Step S1004, it is determined whether the current driver is fatigued driving; if not, step S1006 is performed; if yes, step S1005 is performed;
步骤S1005,提醒驾驶员休息一会;Step S1005, reminding the driver to take a break;
步骤S1006,判断驾驶员是否注意力分散;如果是,执行步骤S1007;如果否,执行步骤S1002;Step S1006, it is determined whether the driver is distracted; if yes, step S1007 is performed; if not, step S1002 is performed;
步骤S1007,综合控制模块根据智能识别模块识别的驾驶员状态信息,对驾驶员进行提示,例如在驾驶员注意力分散时,提示其注意前方道路;在驾驶员疲劳驾驶时,提示其适当休息一会。In step S1007, the integrated control module prompts the driver according to the driver state information recognized by the intelligent identification module, for example, when the driver's attention is dispersed, prompting the driver to pay attention to the road ahead; when the driver is fatigued, the driver is prompted to take a proper rest. meeting.
综上,通过本发明采用存储摄像设备在摄像设备所位于的第一车辆中采集的视频信息;分析存储的视频信息,得到第一车辆所处环境的状况信息;依据该第一车辆所处环境的状况信息调整该摄像设备的拍摄参数,解决了相关技术中,所涉及的摄像方法仅仅局限于行车记录,导致设备存储空间不能满足视频实时存储要求的问题,进而达到了首先本发明能够根据实际的使用环境,控制调整摄像头参数,以保证拍摄到的行车记录清晰有效;其次,本发明能够根据行车信息,动态调整视频大小,在节约存储空间的同时,保证视频的有效性,对关键的场景做到清晰完整记录;最后,本发明能够根据行车信息和驾驶员状态,对驾驶员进行安全提示,提高了行车安全。In summary, the present invention adopts the video information collected by the storage camera device in the first vehicle where the imaging device is located; analyzes the stored video information to obtain the situation information of the environment in which the first vehicle is located; according to the environment in which the first vehicle is located The condition information adjusts the shooting parameters of the camera device, and solves the related art, the imaging method involved is limited to the driving record, and the device storage space cannot meet the problem of the video real-time storage requirement, thereby achieving the first invention according to the actual situation. The use environment controls and adjusts the camera parameters to ensure that the captured driving record is clear and effective. Secondly, the invention can dynamically adjust the video size according to the driving information, and save the storage space while ensuring the validity of the video, and the key scene. The clear and complete record is achieved; finally, the invention can provide safety tips to the driver according to the driving information and the driver's state, thereby improving driving safety.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步 骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described Alternatively, each of them may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,存储摄像设备在摄像设备所位于的第一车辆中采集的视频信息;S1. Store video information collected by the imaging device in the first vehicle where the imaging device is located;
S2,分析存储的该视频信息,得到第一车辆所处环境的状况信息;S2, analyzing the stored video information to obtain status information of an environment in which the first vehicle is located;
S3,依据该第一车辆所处环境的状况信息调整该摄像设备的拍摄参数。S3. Adjust the shooting parameters of the imaging device according to the situation information of the environment in which the first vehicle is located.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述S1,S2以及S3。Optionally, in this embodiment, the processor executes the above S1, S2, and S3 according to the stored program code in the storage medium.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
通过本发明实施例,采用存储摄像设备在摄像设备所位于的第一车辆中采集的视频信息;分析存储的视频信息,得到第一车辆所处环境的状况信息;依据该第一车辆所处环境的状况信息调整该摄像设备的拍摄参数,解决了相关技术中行车记录仪存储拍摄视频信息的方式比较单一的问题,进而达到了能够根据车辆所处环境的状况信息,动态调整视频信息大小的效果。 According to the embodiment of the present invention, the video information collected by the storage camera device in the first vehicle where the imaging device is located is used; the stored video information is analyzed to obtain the situation information of the environment in which the first vehicle is located; according to the environment of the first vehicle The condition information adjusts the shooting parameters of the camera device, and solves the problem that the driving recorder records the video information in a related art in a relatively simple manner, thereby achieving the effect of dynamically adjusting the size of the video information according to the situation information of the environment in which the vehicle is located. .

Claims (14)

  1. 一种摄像的方法,包括:A method of photographing, comprising:
    存储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息;Storing video information collected by the camera device in a first vehicle in which the camera device is located;
    分析存储的所述视频信息,得到所述第一车辆所处环境的状况信息;Analyzing the stored video information to obtain status information of an environment in which the first vehicle is located;
    依据所述第一车辆所处环境的状况信息调整所述摄像设备的拍摄参数。Adjusting the shooting parameters of the imaging device according to the condition information of the environment in which the first vehicle is located.
  2. 根据权利要求1所述的方法,其中,存储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息包括:The method of claim 1, wherein storing the video information collected by the imaging device in the first vehicle in which the imaging device is located comprises:
    压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第一摄像头采集的用于指示所述第一车辆前方路况的视频信息;Compressing the video information, wherein the video information is video information collected by a first camera of the imaging device for indicating a road condition ahead of the first vehicle;
    存储所述视频信息。Storing the video information.
  3. 根据权利要求2所述的方法,其中,所述分析存储的所述视频信息,得到所述第一车辆所处环境的状况信息包括:The method of claim 2, wherein the analyzing the stored video information to obtain status information of an environment in which the first vehicle is located comprises:
    依据图像识别的方式和定位服务的方式分析所述用于指示所述第一车辆前方路况的视频信息,得到所述第一车辆所处环境的状况信息,其中,所述状况信息包括:预定时间段内过往所述第一车辆的车辆数量、所述第一车辆与行人和/或障碍物和/或其他车辆之间的距离、所述第一车辆所处环境的天气参数。And analyzing the video information for indicating the road condition in front of the first vehicle according to the manner of image recognition and the location service, and obtaining status information of the environment in which the first vehicle is located, wherein the status information includes: a predetermined time The number of vehicles passing through the first vehicle in the segment, the distance between the first vehicle and pedestrians and/or obstacles and/or other vehicles, and the weather parameters of the environment in which the first vehicle is located.
  4. 根据权利要求3所述的方法,其中,所述依据所述第一车辆所处环境的状况信息调整所述摄像设备的拍摄参数包括:The method according to claim 3, wherein the adjusting the shooting parameters of the image capturing device according to the situation information of the environment in which the first vehicle is located comprises:
    在所述车辆数量小于第一预定阈值、或所述距离大于第二预定阈值、或所述天气参数指示良好时,降低所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数;Reducing a first shooting parameter of the shooting parameters of the rear camera of the camera device when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or the weather parameter indicates good;
    在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,提高所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数;Increasing the number of the photographing parameters of the rear camera of the image pickup apparatus when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference a shooting parameter;
    其中,所述第一拍摄参数包括以下至少之一:拍摄分辨率,拍摄帧率、拍摄光线强度。The first shooting parameter includes at least one of the following: shooting resolution, shooting frame rate, and shooting light intensity.
  5. 根据权利要求4所述的方法,其中,所述方法还包括:The method of claim 4 wherein the method further comprises:
    在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,启动第一语音提示信息。The first voice prompt information is activated when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference.
  6. 根据权利要求1所述的方法,其中,存储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息包括:The method of claim 1, wherein storing the video information collected by the imaging device in the first vehicle in which the imaging device is located comprises:
    压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第二摄像头采集的用于指示所述第一车辆驾驶员面部信息的视频信息; Compressing the video information, wherein the video information is video information collected by a second camera of the imaging device for indicating face information of the first vehicle driver;
    存储所述视频信息。Storing the video information.
  7. 根据权利要求6所述的方法,其中,在存储所述视频信息之后,所述方法还包括:The method of claim 6, wherein after storing the video information, the method further comprises:
    识别所述用于指示所述第一车辆驾驶员面部信息的视频信息,得到用于指示所述驾驶员状态的信息;Identifying the video information for indicating the first vehicle driver's face information, and obtaining information for indicating the driver's state;
    依据所述驾驶员状态的信息确定是否启动第二语音提示信息。Determining whether to activate the second voice prompt information according to the information of the driver state.
  8. 一种摄像的装置,包括:A camera device comprising:
    存储模块,设置为存储摄像设备在所述摄像设备所位于的第一车辆中采集的视频信息;a storage module, configured to store video information collected by the imaging device in a first vehicle where the imaging device is located;
    分析模块,设置为分析存储的所述视频信息,得到所述第一车辆所处环境的状况信息;An analysis module, configured to analyze the stored video information to obtain status information of an environment in which the first vehicle is located;
    调整模块,设置为依据所述第一车辆所处环境的状况信息调整所述摄像设备的拍摄参数。The adjustment module is configured to adjust a shooting parameter of the imaging device according to the condition information of the environment in which the first vehicle is located.
  9. 根据权利要求8所述的装置,其中,所述存储模块包括:The apparatus of claim 8 wherein said storage module comprises:
    第一压缩单元,设置为压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第一摄像头采集的用于指示所述第一车辆前方路况的视频信息;a first compression unit configured to compress the video information, wherein the video information is video information collected by a first camera of the imaging device for indicating a road condition ahead of the first vehicle;
    第一存储单元,设置为存储所述视频信息。a first storage unit configured to store the video information.
  10. 根据权利要求9所述的装置,其中,所述分析模块,还设置为依据图像识别的方式和定位服务的方式分析所述用于指示所述第一车辆前方路况的视频信息,得到所述第一车辆所处环境的状况信息,其中,所述状况信息包括:预定时间段内过往所述第一车辆的车辆数量、所述第一车辆与行人和/或障碍物和/或其他车辆之间的距离、所述第一车辆所处环境的天气参数。The device according to claim 9, wherein the analysis module is further configured to analyze the video information for indicating the road condition in front of the first vehicle according to a manner of image recognition and a manner of positioning service, to obtain the Status information of an environment in which the vehicle is located, wherein the status information includes: a number of vehicles passing through the first vehicle in a predetermined time period, between the first vehicle and a pedestrian and/or an obstacle and/or another vehicle The distance, the weather parameter of the environment in which the first vehicle is located.
  11. 根据权利要求10所述的装置,其中,所述调整模块包括:The apparatus of claim 10, wherein the adjustment module comprises:
    第一调整单元,设置为在所述车辆数量小于第一预定阈值、或所述距离大于第二预定阈值、或所述天气参数指示良好时,降低所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数;a first adjusting unit, configured to reduce the shooting parameter of the rear camera of the imaging device when the number of vehicles is less than a first predetermined threshold, or the distance is greater than a second predetermined threshold, or the weather parameter indicates good The first shooting parameter in
    第二调整单元,设置为在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,提高所述摄像设备后置摄像头的所述拍摄参数中的第一拍摄参数;a second adjusting unit, configured to increase the rear camera of the camera device when the number of vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference a first shooting parameter of the shooting parameters;
    其中,所述第一拍摄参数包括以下至少之一:拍摄分辨率,拍摄帧率、拍摄光线强度。The first shooting parameter includes at least one of the following: shooting resolution, shooting frame rate, and shooting light intensity.
  12. 根据权利要求11所述的装置,其中,所述装置还包括: The apparatus of claim 11 wherein said apparatus further comprises:
    启动模块,设置为在所述车辆数量大于所述第一预定阈值、或所述距离小于所述第二预定阈值、或所述天气参数指示差时,启动第一语音提示信息。And activating the module, configured to start the first voice prompt information when the number of the vehicles is greater than the first predetermined threshold, or the distance is less than the second predetermined threshold, or the weather parameter indicates a difference.
  13. 根据权利要求8所述的装置,其中,所述存储模块还包括:The device of claim 8, wherein the storage module further comprises:
    第二压缩单元,设置为压缩所述视频信息,其中,所述视频信息为通过所述摄像设备的第二摄像头采集的用于指示所述第一车辆驾驶员面部信息的视频信息;a second compression unit configured to compress the video information, wherein the video information is video information collected by a second camera of the imaging device for indicating face information of the first vehicle driver;
    第二存储单元,设置为存储所述视频信息。a second storage unit configured to store the video information.
  14. 根据权利要求13所述的装置,其中,所述装置还包括:The device of claim 13 wherein said device further comprises:
    识别模块,设置为在存储所述视频信息之后,识别所述用于指示所述第一车辆驾驶员面部信息的视频信息,得到用于指示所述驾驶员状态的信息;An identification module, configured to: after storing the video information, identify the video information for indicating the first vehicle driver's face information, and obtain information for indicating the driver status;
    确定模块,设置为依据所述驾驶员状态的信息确定是否启动第二语音提示信息。 The determining module is configured to determine whether to activate the second voice prompt information according to the information of the driver state.
PCT/CN2015/094230 2015-09-30 2015-11-10 Method and apparatus for camera shooting WO2016131310A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510644301.2 2015-09-30
CN201510644301.2A CN106558121A (en) 2015-09-30 2015-09-30 The method and device of shooting

Publications (1)

Publication Number Publication Date
WO2016131310A1 true WO2016131310A1 (en) 2016-08-25

Family

ID=56692199

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094230 WO2016131310A1 (en) 2015-09-30 2015-11-10 Method and apparatus for camera shooting

Country Status (2)

Country Link
CN (1) CN106558121A (en)
WO (1) WO2016131310A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756987A (en) * 2019-03-28 2020-10-09 上海擎感智能科技有限公司 Control method and device for vehicle-mounted camera and vehicle-mounted image capturing system
CN111862640A (en) * 2020-03-27 2020-10-30 北京骑胜科技有限公司 Road condition early warning data generation method, road condition early warning device and electronic equipment
CN115152200A (en) * 2022-05-23 2022-10-04 广东逸动科技有限公司 Camera frame rate adjusting method and device, electronic equipment and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510617A (en) * 2018-03-28 2018-09-07 北京新能源汽车股份有限公司 The method of data capture and collection system of driving cycles
CN109784322A (en) * 2019-01-04 2019-05-21 平安科技(深圳)有限公司 A kind of recognition methods of vin code, equipment and medium based on image procossing
CN112584030B (en) * 2019-09-27 2022-06-14 中移物联网有限公司 Driving video recording method and electronic equipment
CN110675527B (en) * 2019-09-28 2021-01-29 侯小芳 On-site prevention device for porcelain collision behavior
CN114995487A (en) * 2019-11-07 2022-09-02 深圳市道通智能航空技术股份有限公司 Omnidirectional obstacle avoidance method and unmanned aerial vehicle
CN113525233A (en) * 2020-04-20 2021-10-22 上汽通用汽车有限公司 Self-adaptive driving image monitoring system based on vehicle state and vehicle using scene
CN114095664A (en) * 2020-11-06 2022-02-25 北京京东乾石科技有限公司 Camera parameter adjusting method and device
CN113612969A (en) * 2021-07-29 2021-11-05 北京三快在线科技有限公司 Method and device for transmitting video data for remote control of unmanned equipment
CN117692779A (en) * 2022-09-02 2024-03-12 浙江宇视科技有限公司 Camera rapid exposure method, device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070135979A1 (en) * 2005-12-09 2007-06-14 Smartdrive Systems Inc Vehicle event recorder systems
CN101123721A (en) * 2007-09-30 2008-02-13 湖北东润科技有限公司 An intelligent video monitoring system and its monitoring method
CN103873776A (en) * 2014-03-26 2014-06-18 惠州Tcl移动通信有限公司 Method and system for making camera of mobile terminal adapt to scene automatically
CN104183091A (en) * 2014-08-14 2014-12-03 苏州清研微视电子科技有限公司 System for adjusting sensitivity of fatigue driving early warning system in self-adaptive mode
CN104933773A (en) * 2015-05-28 2015-09-23 燕山大学 Real-time road condition information monitoring vehicle data recorder and recording method for same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070135979A1 (en) * 2005-12-09 2007-06-14 Smartdrive Systems Inc Vehicle event recorder systems
CN101123721A (en) * 2007-09-30 2008-02-13 湖北东润科技有限公司 An intelligent video monitoring system and its monitoring method
CN103873776A (en) * 2014-03-26 2014-06-18 惠州Tcl移动通信有限公司 Method and system for making camera of mobile terminal adapt to scene automatically
CN104183091A (en) * 2014-08-14 2014-12-03 苏州清研微视电子科技有限公司 System for adjusting sensitivity of fatigue driving early warning system in self-adaptive mode
CN104933773A (en) * 2015-05-28 2015-09-23 燕山大学 Real-time road condition information monitoring vehicle data recorder and recording method for same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756987A (en) * 2019-03-28 2020-10-09 上海擎感智能科技有限公司 Control method and device for vehicle-mounted camera and vehicle-mounted image capturing system
CN111756987B (en) * 2019-03-28 2023-09-26 上海擎感智能科技有限公司 Control method and device of vehicle-mounted camera and vehicle-mounted image capturing system
CN111862640A (en) * 2020-03-27 2020-10-30 北京骑胜科技有限公司 Road condition early warning data generation method, road condition early warning device and electronic equipment
CN111862640B (en) * 2020-03-27 2023-01-10 北京骑胜科技有限公司 Road condition early warning data generation method, road condition early warning device and electronic equipment
CN115152200A (en) * 2022-05-23 2022-10-04 广东逸动科技有限公司 Camera frame rate adjusting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106558121A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
WO2016131310A1 (en) Method and apparatus for camera shooting
CN108460395B (en) Target detection method and device and fuzzy processing method and device
CN104506804B (en) Motor vehicle abnormal behaviour monitoring device and its method on a kind of through street
WO2020024457A1 (en) Liability cognizance method and device of traffic accident and computer readable storage medium
CN110728218A (en) Dangerous driving behavior early warning method and device, electronic equipment and storage medium
CN110580808B (en) Information processing method and device, electronic equipment and intelligent traffic system
CN110136091B (en) Image processing method and related product
CN104827968A (en) Android-based low-cost waiting driving reminding system
JP6700373B2 (en) Apparatus and method for learning object image packaging for artificial intelligence of video animation
CN114679607B (en) Video frame rate control method and device, electronic equipment and storage medium
CN104933773A (en) Real-time road condition information monitoring vehicle data recorder and recording method for same
CN106529411B (en) Vehicle prompting method and device
WO2021053689A1 (en) Methods and systems for managing storage of videos in a storage device
JP2020518165A (en) Platform for managing and validating content such as video images, pictures, etc. generated by different devices
CN110782653A (en) Road information acquisition method and system
CN105139481A (en) Vehicle speaker recognition system
JP2020170319A (en) Detection device
CN103761878A (en) License plate recognition system and method
CN113112813A (en) Illegal parking detection method and device
CN108305476A (en) A kind of method, system and ambulance obtaining illegal vehicle information
CN115134533B (en) Shooting method and equipment for automatically calling vehicle-mounted image acquisition device
CN112307221A (en) Dynamic data acquisition and analysis method and system based on cloud control
CN109388368B (en) Human-computer interaction method and device, unmanned vehicle and storage medium thereof
CN111064924A (en) Video monitoring method and system based on artificial intelligence
WO2022179124A1 (en) Image restoration method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15882449

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15882449

Country of ref document: EP

Kind code of ref document: A1