CN107230373B - Information recommendation method and device, computer readable storage medium and mobile terminal - Google Patents

Information recommendation method and device, computer readable storage medium and mobile terminal Download PDF

Info

Publication number
CN107230373B
CN107230373B CN201710626267.5A CN201710626267A CN107230373B CN 107230373 B CN107230373 B CN 107230373B CN 201710626267 A CN201710626267 A CN 201710626267A CN 107230373 B CN107230373 B CN 107230373B
Authority
CN
China
Prior art keywords
acquiring
image
information
vehicle
physical distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710626267.5A
Other languages
Chinese (zh)
Other versions
CN107230373A (en
Inventor
袁全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710626267.5A priority Critical patent/CN107230373B/en
Publication of CN107230373A publication Critical patent/CN107230373A/en
Application granted granted Critical
Publication of CN107230373B publication Critical patent/CN107230373B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • G08G1/096708Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control
    • G08G1/096716Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control where the received information does not generate an automatic action on the vehicle control
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Atmospheric Sciences (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention relates to an information recommendation method, an information recommendation device, a computer readable storage medium and a mobile terminal. The method comprises the following steps: acquiring a traffic scene image and corresponding physical distance information; acquiring a fog concentration parameter in a traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and physical distance information; and acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal. According to the information recommendation method, the information recommendation device, the computer readable storage medium and the mobile terminal, the relatively safe vehicle running speed can be obtained and recommended to the user, so that the travel safety is guaranteed.

Description

Information recommendation method and device, computer readable storage medium and mobile terminal
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information recommendation method and apparatus, a computer-readable storage medium, and a mobile terminal.
Background
The traffic system provides convenience for life of people, and particularly the electronic map is developed, so that the travel of people is more convenient. In the traveling process, the user can inquire the traffic condition of the destination through the electronic map at any time, wherein the traffic condition comprises information such as traveling routes, traveling time, traveling road conditions and peripheral facilities. Due to the particularity of the traffic system, the safety factor in the travelling process can be greatly reduced in the travelling process due to the fact that the travelling is very easily influenced by weather, such as heavy snow, haze and heavy rain.
Disclosure of Invention
The embodiment of the invention provides an information recommendation method, an information recommendation device, a computer-readable storage medium and a mobile terminal, which can ensure the travel safety of a user.
An information recommendation method, the method comprising:
acquiring a traffic scene image and corresponding physical distance information;
acquiring a fog concentration parameter in a traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and physical distance information;
and acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
An information recommendation apparatus, the apparatus comprising:
the image acquisition module is used for acquiring a traffic scene image and corresponding physical distance information;
the parameter acquisition module is used for acquiring fog concentration parameters in the traffic scene images according to a preset parameter model and acquiring visibility parameters according to the fog concentration parameters and the physical distance information;
and the information output module is used for acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a traffic scene image and corresponding physical distance information;
acquiring a fog concentration parameter in a traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and physical distance information;
and acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the steps of:
acquiring a traffic scene image and corresponding physical distance information;
acquiring a fog concentration parameter in a traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and physical distance information;
and acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
The information recommendation method, the information recommendation device, the computer-readable storage medium and the mobile terminal provided by the embodiment of the invention can acquire the traffic scene image and the corresponding physical distance information, acquire the visibility parameter of the traffic scene according to the acquired traffic scene image and the physical distance information, acquire the recommended vehicle speed according to the visibility parameter, and output the recommended vehicle speed on the mobile terminal. Therefore, when the user encounters weather with low visibility, the relatively safe vehicle running speed can be acquired and recommended to the user, the user runs according to the recommended vehicle speed when going out, traffic accidents caused by too fast vehicle speed can be avoided, and the safety of going out is guaranteed.
Drawings
FIG. 1 is a schematic diagram showing an internal structure of an electronic apparatus according to an embodiment;
FIG. 2 is a diagram illustrating an internal architecture of a server according to an embodiment;
FIG. 3 is a flow diagram of a method for information recommendation in one embodiment;
FIG. 4 is a flow chart of a method of information recommendation in another embodiment;
FIG. 5 is a schematic diagram of obtaining physical distance information in one embodiment;
FIG. 6 is a diagram of a terminal display interface for prompting messages in one embodiment;
FIG. 7 is a diagram illustrating an exemplary configuration of an information recommendation device;
FIG. 8 is a schematic structural diagram of an information recommendation device in another embodiment;
FIG. 9 is a schematic diagram of an image processing circuit in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present invention. Both the first client and the second client are clients, but they are not the same client.
Fig. 1 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 1, the electronic apparatus includes a processor, a nonvolatile storage medium, an internal memory, and a network interface, a display screen, and an input device, which are connected by a system bus. Wherein the non-volatile storage medium of the electronic device stores an operating system and computer readable instructions. The computer readable instructions, when executed by a processor, implement an information recommendation method. The processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. Internal memory in the electronic device provides an environment for the execution of computer-readable instructions in the non-volatile storage medium. The network interface is used for performing network communication with the server, such as sending a traffic scene image acquisition request to the server, receiving a traffic scene image returned by the server, and the like. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, and the input device may be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a housing of the electronic device, or an external keyboard, a touch pad or a mouse. The electronic device may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc. Those skilled in the art will appreciate that the architecture shown in fig. 1 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Fig. 2 is a schematic diagram of an internal structure of the server in one embodiment. As shown in fig. 2, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected through a system bus. Wherein the non-volatile storage medium of the server stores an operating system and computer readable instructions. The computer readable instructions, when executed by a processor, implement an information recommendation method. The processor of the server is used for providing calculation and control capacity and supporting the operation of the whole server. The network interface of the server is used for communicating with an external terminal through network connection, such as receiving a traffic scene image acquisition request sent by the terminal and returning a traffic scene image to the terminal. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers. Those skilled in the art will appreciate that the architecture shown in fig. 2 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 3 is a flow diagram of a method for information recommendation in one embodiment. As shown in fig. 3, the information recommendation method includes steps 302 to 306. Wherein:
step 302, acquiring a traffic scene image and corresponding physical distance information.
In the embodiment provided by the invention, the traffic scene image refers to an image corresponding to a traffic scene in which a vehicle of a user runs, and the traffic scene image can clearly display the air visibility of the traffic scene in which the user is located. For example, the traffic scene image may be an image corresponding to a certain road segment. The traffic scene image can be collected through an image collecting device, wherein the image collecting device is a device for collecting images.
For example, the image capturing device may be a camera, a camera on a mobile terminal, a camera for traffic video monitoring, or the like. The physical distance information refers to a relevant parameter indicating a physical distance from the image acquisition device to an object corresponding to each pixel point in the traffic scene image. Because the traffic scene image is composed of a plurality of pixel points, each pixel point in the traffic scene image has corresponding physical distance information.
It is understood that the traffic scene image and the corresponding physical distance information may be obtained in real time or may be pre-stored in a database. Specifically, a traffic scene image can be collected through a camera for traffic video monitoring, and then the collected traffic scene image is uploaded to a server for storage, so that the user terminal can directly obtain the corresponding traffic scene image on the server.
And 304, acquiring a fog concentration parameter in the traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and the physical distance information.
In the embodiment provided by the invention, the fog concentration parameter refers to a parameter representing the fog concentration of a scene in an image, the preset parameter model refers to a data model for acquiring the fog concentration parameter in the image, and the fog concentration parameter in the traffic scene image can be acquired according to the preset parameter model. In addition, the traffic scene image can be processed according to the fog concentration parameter, and the original fog-free image can be restored.
The visibility parameter refers to a relevant parameter indicating the visibility of the air in a traffic scene, and generally, the greater the visibility of the air in the traffic scene; the smaller the visibility parameter, the less visible air in the traffic scene.
And step 306, acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
Generally, the lower the air visibility, the smaller the user visibility range. That is, when the visibility of the air is low, the user can only see the obstacles in a small range, and if the vehicle runs at too high speed, the user cannot easily see the obstacles clearly, so that traffic accidents are easy to happen.
In one embodiment, the recommended vehicle speed is a safe vehicle speed when the vehicle is traveling on a highway, and the vehicle traveling within the recommended vehicle speed is generally considered to be relatively safe. The correspondence between the visibility parameter and the recommended vehicle speed may be stored in advance in a server or a user terminal. Generally, the visibility parameter and the recommended vehicle speed may be, but are not limited to, in a linear relationship, and the corresponding recommended vehicle speed may be obtained according to the visibility parameter.
It can be understood that the user terminal may set an update time of the recommended vehicle speed, and the user terminal acquires the traffic scene image and the corresponding physical distance information once every update time, acquires the recommended vehicle speed according to the acquired traffic scene image and the corresponding physical distance information, and outputs the updated recommended vehicle speed.
The recommended speed is output on the user terminal, can be displayed on a user terminal interface, can also be broadcasted through voice of the user terminal, and can also be prompted through a prompt tone of the user terminal, so that the user can drive according to the output recommended speed.
The information recommendation method can acquire the traffic scene image and the corresponding physical distance information, acquire the visibility parameter of the traffic scene according to the acquired traffic scene image and the physical distance information, acquire the recommended vehicle speed according to the visibility parameter, and output the recommended vehicle speed on the mobile terminal. Therefore, when the user encounters weather with low visibility, the relatively safe vehicle running speed can be acquired and recommended to the user, the user runs according to the recommended vehicle speed when going out, traffic accidents caused by too fast vehicle speed can be avoided, and the safety of going out is guaranteed.
Fig. 4 is a flowchart of an information recommendation method in another embodiment. As shown in fig. 4, the information recommendation method includes steps 402 to 408. Wherein:
step 402, acquiring a traffic scene image and corresponding physical distance information.
In one embodiment, the vehicle-mounted video image and the physical distance information corresponding to each frame of image can be obtained in real time, and each frame of image in the vehicle-mounted video image is obtained as a traffic scene image. It can be understood that the vehicle-mounted video image and the corresponding physical distance information can be acquired through the vehicle-mounted monitoring or the mobile terminal, and then each frame of image in the vehicle-mounted video image is processed.
In other embodiments provided by the present invention, the traffic scene image may be acquired by the image acquisition device, and the traffic scene image may be uploaded to the server for storage. Specifically, a one-to-one correspondence relationship is established between the traffic scene image and the corresponding physical distance information stored in the server and the geographical location identifier, and the mobile terminal can acquire the corresponding traffic scene image and the corresponding physical distance information according to the geographical location identifier. The geographic location refers to a unique identifier indicating a specific geographic location, and may be, but is not limited to, indicated by one or more of latitude and longitude, a geographic location name, a geographic location number, and the like. And the mobile terminal directly obtains the corresponding traffic scene image and the corresponding physical distance information through the geographical position identifier.
For example, the image acquisition device may be a camera for traffic video monitoring or a camera for a mobile terminal, the position of each camera for traffic video monitoring is fixed, and the corresponding geographical location identifier is stored in the server. When the image acquisition device is a camera for traffic video monitoring, after the traffic scene image and the corresponding physical distance information are acquired, the traffic scene image and the physical distance information are uploaded to the server, then the corresponding relation among the geographical position identification, the traffic scene image and the physical distance information is established on the server, and the corresponding relation is stored in a database of the server. When the image acquisition device is a camera of the mobile terminal, the mobile terminal firstly acquires the traffic scene image, the physical distance information and the corresponding geographic position identification, uploads the geographic position identification, the traffic scene image and the physical distance information to the server, and the server establishes a corresponding relation among the geographic position identification, the traffic scene image and the physical distance information and stores the corresponding relation in the database to realize data sharing.
Furthermore, the mobile terminal can acquire the current position, acquire a geographical position identifier corresponding to the current position, and then acquire the corresponding traffic scene image and the physical distance information from the server according to the geographical position identifier.
In one embodiment, the image acquisition device may be mounted with dual cameras, and the information of the physical distance between the image acquisition device and the object is measured by the dual cameras. It is also possible to acquire physical distance information by a distance sensor, which refers to a device that can measure a physical distance.
Specifically, images of an object are respectively shot through a first camera and a second camera; acquiring a first included angle and a second included angle according to the image, wherein the first included angle is an included angle between a horizontal line from the first camera to the object and a horizontal line from the first camera to the second camera, and the second included angle is an included angle between a horizontal line from the second camera to the object and a horizontal line from the second camera to the first camera; and acquiring physical distance information between the image acquisition device and the object according to the first included angle, the second included angle and the distance between the first camera and the second camera.
FIG. 5 is a schematic diagram of obtaining physical distance information in one embodiment. As shown in fig. 5, the first camera 502 and the second camera 504 respectively capture images of the object 506, a first included angle a1 and a second included angle a2 can be obtained according to the images, and then a physical distance D between any point on the horizontal line of the first camera 402 to the second camera 504 and the object 506 can be obtained according to the first included angle a1, the second included angle a2 and the distance T between the first camera 502 and the second camera 504.
And 404, acquiring a fog concentration parameter in the traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and the physical distance information.
In one embodiment, the step of obtaining the fog concentration parameter of the traffic scene image based on the dark channel prior algorithm comprises:
obtaining atmospheric scattering model
I(x)=J(x)t(x)+A(1-t(x))
Where i (x) is the observed image information, j (x) is the radiation information from the target, i.e. the restored fog-free image, x represents the spatial position of a certain pixel in the image, t (x) is the transmittance, and a is the atmospheric light value at infinity. The atmospheric light value A can be obtained by calculating a gray scale map of a traffic scene image and also can be obtained by the corresponding relation between the atmospheric light value and the weather condition and the current time. In a normal case, the pixel with the maximum intensity in the image may be selected as the estimation of the atmospheric light value. Assuming that the atmospheric light value a is a known value, a channel with a very low channel value exists in three channels of RGB in the traffic scene image, and the channel value is close to zero, then:
Figure BDA0001362889540000071
the transmittance obtained from the above formula is:
whereinNamely, the dark primary color value of the fog-containing image in the field x can be adjusted by introducing a weight omega between 0 and 1, and finally the defogging parameter, namely the transmittance expression, is obtained as follows:
Figure BDA0001362889540000083
in order to ensure the defogging effect, a threshold value t may be set for the transmittance0Then the light intensity of the scene without fog is:
Figure BDA0001362889540000084
as can be seen from the above formula, the haze concentration parameters may include the transmittance t (x) and the atmospheric light value A. Generally, the higher the transmittance in the above equation is, the lower the fog density in the traffic scene image is, and the closer the traffic scene image is to the original fog-free image; conversely, the greater the fog density in the traffic scene image.
The transmission (x) and the visibility parameter L are related as follows:
Figure BDA0001362889540000085
wherein d is the physical distance information corresponding to the traffic scene image, and C is a constant. The visibility parameter L can be obtained according to the fog concentration parameter and the physical distance information of the traffic scene image.
And 406, acquiring a recommended vehicle speed according to the visibility parameter and the corresponding relation between the visibility parameter and the recommended vehicle speed, and outputting the recommended vehicle speed on the user terminal.
And step 408, acquiring the current running speed of the vehicle.
In one embodiment, the current driving speed of the vehicle refers to a driving speed of the vehicle currently driving, and generally, the driving speed of the vehicle may be measured by a radar velocimeter, a Global Positioning System (GPS), a coil sensor, or the like.
In other embodiments provided by the invention, when the terminal acquires the traffic scene image and the corresponding physical distance information, the terminal can simultaneously send a vehicle speed acquisition request to the server, and the server initiates a task of acquiring the vehicle speed and returns the acquired current running speed of the vehicle to the terminal. The terminal can be an intelligent mobile terminal or a vehicle-mounted terminal.
It can be understood that the obtaining of the current running speed of the vehicle may also be completed through a device of the vehicle itself, and after the current running speed of the vehicle is obtained, the obtained current running speed of the vehicle is sent to the mobile terminal through the vehicle-mounted bluetooth device.
And step 410, if the current running speed of the vehicle is greater than the recommended vehicle speed, sending out prompt information.
In the embodiment provided by the invention, the acquired current running speed of the vehicle is compared with the recommended vehicle speed, if the current running speed of the vehicle is greater than the recommended vehicle speed, the situation that the current running of the vehicle has greater potential safety hazard is shown, and the terminal can send out prompt information to prompt a user to reduce the running speed of the vehicle. It will be appreciated that the notification may be in the form of a vibration, sound, flashing lights, etc.
FIG. 6 is a diagram of a terminal presentation interface for prompting messages in an embodiment. As shown in fig. 6, the currently acquired recommended vehicle speed is displayed on the terminal interface, and when the current driving speed of the vehicle is greater than the recommended vehicle speed, the sent prompt information is displayed.
In other embodiments provided by the invention, the current position of the vehicle can be obtained; and if the vehicle speed limit corresponding to the current position of the vehicle is greater than the recommended vehicle speed, sending prompt information. The current position of the vehicle refers to the current geographical position of the vehicle, and the position can be represented by latitude and longitude, but not limited to. The vehicle speed limit means a minimum vehicle speed for limiting the vehicle to run, for example, the minimum running speed of the vehicle on an expressway is limited to 60 km/h.
Specifically, a corresponding relationship between the geographic position identifier and the vehicle speed limit is stored in advance, and after the geographic position identifier corresponding to the current position of the vehicle is obtained, the corresponding vehicle speed limit is obtained through the corresponding relationship. And if the vehicle speed limit corresponding to the current position of the vehicle is greater than the recommended vehicle speed, indicating that the vehicle is dangerous to run at the current position of the vehicle, sending prompt information to remind a user.
The information recommendation method can acquire the traffic scene image and the corresponding physical distance information, acquire the visibility parameter of the traffic scene according to the acquired traffic scene image and the physical distance information, acquire the recommended vehicle speed according to the visibility parameter, and output the recommended vehicle speed on the mobile terminal. Therefore, when the user encounters weather with low visibility, the relatively safe vehicle running speed can be acquired and recommended to the user, the user runs according to the recommended vehicle speed when going out, traffic accidents caused by too fast vehicle speed can be avoided, and the safety of going out is guaranteed. Meanwhile, the current running speed of the vehicle can be acquired, and if the current running speed is greater than the recommended vehicle speed, prompt information is sent out, so that the running safety of the vehicle is further improved.
Fig. 7 is a schematic structural diagram of an information recommendation device in one embodiment. As shown in fig. 7, the information recommendation apparatus 700 includes an image acquisition module 702, a parameter acquisition module 704, and an information output module 708. Wherein:
an image obtaining module 702 is configured to obtain a traffic scene image and corresponding physical distance information.
The parameter obtaining module 704 is configured to obtain a fog concentration parameter in a traffic scene image according to a preset parameter model, and obtain a visibility parameter according to the fog concentration parameter and the physical distance information.
And the information output module 708 is configured to obtain a recommended vehicle speed according to the visibility parameter and the corresponding relationship between the visibility parameter and the recommended vehicle speed, and output the recommended vehicle speed on the user terminal.
Fig. 8 is a schematic structural diagram of an information recommendation device in another embodiment. As shown in fig. 8, the information recommendation apparatus 800 includes an image acquisition module 802, a parameter acquisition module 804, an information output module 806, a vehicle speed acquisition module 808, a location acquisition module 810, and an information presentation module 812. Wherein:
the image obtaining module 802 is configured to obtain a traffic scene image and corresponding physical distance information.
The parameter obtaining module 804 is configured to obtain a fog concentration parameter in the traffic scene image according to a preset parameter model, and obtain a visibility parameter according to the fog concentration parameter and the physical distance information.
And the information output module 806 is configured to obtain a recommended vehicle speed according to the visibility parameter and the corresponding relationship between the visibility parameter and the recommended vehicle speed, and output the recommended vehicle speed on the user terminal.
And a vehicle speed obtaining module 808, configured to obtain a current running speed of the vehicle.
And the position obtaining module 810 is used for obtaining the current position of the vehicle.
An information prompt module 812, configured to send a prompt message if the current driving speed of the vehicle is greater than the recommended vehicle speed; and if the speed limit corresponding to the current position of the vehicle is greater than the recommended speed, sending prompt information.
The information recommendation device can acquire the traffic scene image and the corresponding physical distance information, acquire the visibility parameter of the traffic scene according to the acquired traffic scene image and the physical distance information, acquire the recommended vehicle speed according to the visibility parameter, and output the recommended vehicle speed on the mobile terminal. Therefore, when the user encounters weather with low visibility, the relatively safe vehicle running speed can be acquired and recommended to the user, the user runs according to the recommended vehicle speed when going out, traffic accidents caused by too fast vehicle speed can be avoided, and the safety of going out is guaranteed.
In one embodiment, the image obtaining module 802 is further configured to obtain the vehicle-mounted video image and the physical distance information corresponding to each frame of image in real time, and obtain each frame of image in the vehicle-mounted video image as a traffic scene image.
The division of each module in the information recommendation device is only used for illustration, and in other embodiments, the information recommendation device may be divided into different modules as needed to complete all or part of the functions of the information recommendation device.
The embodiment of the invention also provides a computer readable storage medium. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a traffic scene image and corresponding physical distance information;
acquiring a fog concentration parameter in a traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and physical distance information;
and acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
In one embodiment, the acquiring traffic scene images and corresponding physical distance information performed by a processor comprises:
and acquiring the vehicle-mounted video image and the physical distance information corresponding to each frame of image in real time, and acquiring each frame of image in the vehicle-mounted video image as a traffic scene image.
In other embodiments provided herein, the method performed by the processor further comprises:
acquiring the current running speed of the vehicle;
and if the current running speed of the vehicle is greater than the recommended vehicle speed, sending prompt information.
In one embodiment, the method performed by the processor further comprises:
acquiring the current position of a vehicle;
and if the speed limit corresponding to the current position of the vehicle is greater than the recommended speed, sending prompt information.
The embodiment of the invention also provides computer equipment. The computer device includes therein an Image processing circuit, which may be implemented using hardware and/or software components, and may include various processing units defining an ISP (Image signal processing) pipeline. FIG. 9 is a schematic diagram of an image processing circuit in one embodiment. As shown in fig. 9, for convenience of explanation, only aspects of the image processing technique related to the embodiment of the present invention are shown.
As shown in fig. 9, the image processing circuit includes an ISP processor 940 and a control logic 950. The image data captured by the imaging device 910 is first processed by the ISP processor 940, and the ISP processor 940 analyzes the image data to capture image statistics that may be used to determine and/or control one or more parameters of the imaging device 910. The imaging device 910 may include a camera having one or more lenses 912 and an image sensor 914. Image sensor 914 may include an array of color filters (e.g., Bayer filters), and image sensor 914 may acquire light intensity and wavelength information captured with each imaging pixel of image sensor 914 and provide a set of raw image data that may be processed by ISP processor 940. The sensor 920 may provide the raw image data to the ISP processor 940 based on the type of interface of the sensor 920. The sensor 920 interface may utilize a SMIA (Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces, or a combination of the above.
The ISP processor 940 processes the raw image data pixel by pixel in a variety of formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 940 may perform one or more image processing operations on the raw image data, collecting statistical information about the image data. Wherein the image processing operations may be performed with the same or different bit depth precision.
ISP processor 940 may also receive pixel data from image memory 930. For example, raw pixel data is sent from the sensor 920 interface to the image memory 930, and the raw pixel data in the image memory 930 is then provided to the ISP processor 940 for processing. The image Memory 930 may be a part of a Memory device, a storage device, or a separate dedicated Memory within an electronic device, and may include a DMA (Direct Memory Access) feature.
Upon receiving raw image data from the sensor 920 interface or from the image memory 930, the ISP processor 940 may perform one or more image processing operations, such as temporal filtering. The processed image data may be sent to image memory 930 for additional processing before being displayed. ISP processor 940 may also receive processed data from image memory 930 for image data processing in the raw domain and in the RGB and YCbCr color spaces. The processed image data may be output to a display 980 for viewing by a user and/or further processing by a graphics engine or GPU (graphics processing Unit). Further, the output of ISP processor 940 may also be sent to image memory 930 and display 980 may read image data from image memory 930. In one embodiment, image memory 930 may be configured to implement one or more frame buffers. In addition, the output of the ISP processor 940 may be transmitted to an encoder/decoder 970 for encoding/decoding image data. The encoded image data may be saved and decompressed before being displayed on a display 980 device.
The ISP processed image data may be sent to a defogging module 960 to defogge the image before being displayed. The defogging module 960 may perform defogging on the image data, including acquiring a fog concentration parameter in the traffic scene image according to the preset parameter model, performing defogging on the traffic scene image according to the fog concentration parameter, and the like. The defogging module 960 may be a Central Processing Unit (CPU) or a Graphics Processing Unit (GPU) in the mobile terminal. After the defogging module 960 defogges the image data, the defogged image data may be transmitted to the encoder/decoder 970 to encode/decode the image data. The encoded image data may be saved and decompressed prior to display on a display 980 device. It is understood that the image data processed by the defogging module 960 may be sent directly to the display 980 for display without passing through the encoder/decoder 970. The image data processed by the ISP processor 940 may also be processed by the encoder/decoder 970 and then processed by the defogging module 960.
The statistical data determined by the ISP processor 940 may be transmitted to the control logic 950 unit. For example, the statistical data may include image sensor 914 statistics such as auto-exposure, auto-white balance, auto-focus, flicker detection, black level compensation, lens 912 shading correction, and the like. The control logic 950 may include a processor and/or microcontroller that executes one or more routines (e.g., firmware) that may determine control parameters of the imaging device 910 and control parameters of the ISP processor 940 based on the received statistical data. For example, the control parameters may include sensor 920 control parameters (e.g., gain, integration time for exposure control), camera flash control parameters, lens 912 control parameters (e.g., focal length for focusing or zooming), or a combination of these parameters. The ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (e.g., during RGB processing), as well as lens 912 shading correction parameters.
The following steps are implemented by using the image processing technology in fig. 9 to implement the information recommendation method:
acquiring a traffic scene image and corresponding physical distance information;
acquiring a fog concentration parameter in a traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and physical distance information;
and acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
In one embodiment, the acquiring the traffic scene image and the corresponding physical distance information comprises:
and acquiring the vehicle-mounted video image and the physical distance information corresponding to each frame of image in real time, and acquiring each frame of image in the vehicle-mounted video image as a traffic scene image.
In other embodiments provided herein, the method further comprises:
acquiring the current running speed of the vehicle;
and if the current running speed of the vehicle is greater than the recommended vehicle speed, sending prompt information.
In one embodiment, the method further comprises:
acquiring the current position of a vehicle;
and if the speed limit corresponding to the current position of the vehicle is greater than the recommended speed, sending prompt information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An information recommendation method, characterized in that the method comprises:
acquiring a traffic scene image and corresponding physical distance information; the physical distance information is acquired through a geometric relation between the double cameras and an object or a distance sensor;
acquiring a fog concentration parameter in a traffic scene image according to a preset parameter model, and acquiring a visibility parameter according to the fog concentration parameter and physical distance information; the fog concentration parameters comprise transmittance and atmospheric light values;
and acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
2. The information recommendation method according to claim 1, wherein the acquiring traffic scene images and corresponding physical distance information comprises:
and acquiring the vehicle-mounted video image and the physical distance information corresponding to each frame of image in real time, and acquiring each frame of image in the vehicle-mounted video image as a traffic scene image.
3. The information recommendation method of claim 1, further comprising:
acquiring the current running speed of the vehicle;
and if the current running speed of the vehicle is greater than the recommended vehicle speed, sending prompt information.
4. The information recommendation method of claim 1, further comprising:
acquiring the current position of a vehicle;
and if the speed limit corresponding to the current position of the vehicle is greater than the recommended speed, sending prompt information.
5. An information recommendation apparatus, characterized in that the apparatus comprises:
the image acquisition module is used for acquiring a traffic scene image and corresponding physical distance information; the physical distance information is acquired through a geometric relation between the double cameras and an object or a distance sensor;
the parameter acquisition module is used for acquiring fog concentration parameters in the traffic scene images according to a preset parameter model and acquiring visibility parameters according to the fog concentration parameters and the physical distance information; the fog concentration parameters comprise transmittance and atmospheric light values;
and the information output module is used for acquiring a recommended vehicle speed according to the visibility parameters and the corresponding relation between the visibility parameters and the recommended vehicle speed, and outputting the recommended vehicle speed on a user terminal.
6. The information recommendation device according to claim 5, wherein the image acquisition module is further configured to acquire the vehicle-mounted video images and the physical distance information corresponding to each frame of image in real time, and acquire each frame of image in the vehicle-mounted video images as a traffic scene image.
7. The information recommendation device according to claim 5, further comprising:
the vehicle speed acquisition module is used for acquiring the current running speed of the vehicle;
and the information prompting module is used for sending out prompting information if the current running speed of the vehicle is greater than the recommended vehicle speed.
8. The information recommendation device according to claim 5, further comprising:
the position acquisition module is used for acquiring the current position of the vehicle;
and the information prompt module is used for sending prompt information if the speed limit corresponding to the current position of the vehicle is greater than the recommended speed.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out an information recommendation method according to any one of claims 1 to 4.
10. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the information recommendation method according to any one of claims 1 to 4 when executing the program.
CN201710626267.5A 2017-07-27 2017-07-27 Information recommendation method and device, computer readable storage medium and mobile terminal Expired - Fee Related CN107230373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710626267.5A CN107230373B (en) 2017-07-27 2017-07-27 Information recommendation method and device, computer readable storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710626267.5A CN107230373B (en) 2017-07-27 2017-07-27 Information recommendation method and device, computer readable storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107230373A CN107230373A (en) 2017-10-03
CN107230373B true CN107230373B (en) 2020-01-10

Family

ID=59956753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710626267.5A Expired - Fee Related CN107230373B (en) 2017-07-27 2017-07-27 Information recommendation method and device, computer readable storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107230373B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888778A (en) * 2017-11-28 2018-04-06 维沃移动通信有限公司 The method and mobile terminal of a kind of overspeed prompting
CN109383289B (en) * 2018-10-19 2020-12-22 湖北亿咖通科技有限公司 Automobile speed limit control method and device, electronic equipment and readable storage medium
CN112837535B (en) * 2021-03-22 2023-11-17 北京百度网讯科技有限公司 Traffic information processing method, device, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136942A (en) * 2011-11-22 2013-06-05 支录奎 Study on automatic traffic signboard modification and over-speed camera snapshot parameters based on concentration of dense fog
CN104809707A (en) * 2015-04-28 2015-07-29 西南科技大学 Method for estimating visibility of single fog-degraded image
CN105303889A (en) * 2015-10-20 2016-02-03 广东欧珀移动通信有限公司 Vehicle distance detection method and device
CN106297407A (en) * 2015-06-11 2017-01-04 小米科技有限责任公司 Driving safety prompt method and device based on intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101331054B1 (en) * 2010-05-13 2013-11-19 한국전자통신연구원 Method and Device of advisory safety speed determination based on road surface states and statistical traffic condition
CN106228849A (en) * 2016-08-19 2016-12-14 深圳市元征科技股份有限公司 A kind of vehicle early warning method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136942A (en) * 2011-11-22 2013-06-05 支录奎 Study on automatic traffic signboard modification and over-speed camera snapshot parameters based on concentration of dense fog
CN104809707A (en) * 2015-04-28 2015-07-29 西南科技大学 Method for estimating visibility of single fog-degraded image
CN106297407A (en) * 2015-06-11 2017-01-04 小米科技有限责任公司 Driving safety prompt method and device based on intelligent terminal
CN105303889A (en) * 2015-10-20 2016-02-03 广东欧珀移动通信有限公司 Vehicle distance detection method and device

Also Published As

Publication number Publication date
CN107230373A (en) 2017-10-03

Similar Documents

Publication Publication Date Title
JP7307259B2 (en) Three-dimensional information processing method and three-dimensional information processing apparatus
US9846927B2 (en) Systems and methods for haziness detection
EP3457380A1 (en) Traffic accident pre-warning method and traffic accident pre-warning device
US11205284B2 (en) Vehicle-mounted camera pose estimation method, apparatus, and system, and electronic device
JP6261815B1 (en) Crowd monitoring device and crowd monitoring system
CN107230373B (en) Information recommendation method and device, computer readable storage medium and mobile terminal
CN107704798B (en) Image blurring method and device, computer readable storage medium and computer device
US10704957B2 (en) Imaging device and imaging method
CN107277299B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
JP2014089491A (en) Picture processing system
JP6816769B2 (en) Image processing equipment and image processing method
JP6816768B2 (en) Image processing equipment and image processing method
CN107454335B (en) Image processing method, image processing device, computer-readable storage medium and mobile terminal
US11270136B2 (en) Driving support device, vehicle, information providing device, driving support system, and driving support method
CN107454319B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
CN107464225B (en) Image processing method, image processing device, computer-readable storage medium and mobile terminal
CN107295261B (en) Image defogging method and device, storage medium and mobile terminal
JP2010226652A (en) Image processing apparatus, image processing method, and computer program
JP2019146012A (en) Imaging apparatus
JP2016166794A (en) Image creating apparatus, image creating method, program for image creating apparatus, and image creating system
KR100926274B1 (en) The camera system for producing the panorama of a map information
US11889199B2 (en) Imaging device, signal processing device, signal processing method, program, and imaging apparatus
JP2019101806A (en) Running field survey support system
CN107402020A (en) Path planning methods of exhibiting, device, storage medium and mobile terminal
CN114422656A (en) Image processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200110