MACHINE VISION CARGO MONITORING IN A VEHICLE
20170372484 ยท 2017-12-28
Inventors
Cpc classification
G06T7/246
PHYSICS
B60R11/04
PERFORMING OPERATIONS; TRANSPORTING
G06V10/44
PHYSICS
B60R1/00
PERFORMING OPERATIONS; TRANSPORTING
G06T7/262
PHYSICS
G06V20/56
PHYSICS
G06V20/59
PHYSICS
B60R2300/70
PERFORMING OPERATIONS; TRANSPORTING
G06F18/40
PHYSICS
International classification
G06T7/262
PHYSICS
B60R1/00
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A cargo position tracking routine implemented in an electronic control unit of an automotive vehicle uses machine vision to monitor the position of cargo in a cargo area of an automotive vehicle and determine whether the cargo has shifted. Upon determining that the cargo has shifted, the cargo position tracking routine causes a driver of the vehicle to be alerted.
Claims
1. A method of monitoring a position of cargo in a cargo area of an automotive vehicle and determining if the cargo has shifted, the automotive vehicle including an electronic control unit to which a camera positioned to see the cargo area is coupled and a display coupled to the electronic control unit, the method comprising: periodically receiving with the electronic control unit a cargo area image of the cargo area from the camera and determining whether a current cargo image in a current cargo area image has moved with respect to a prior cargo image in a prior cargo area image; determining with the electronic control unit that the cargo has shifted upon determining with the electronic control unit that the current cargo image has moved with respect to the prior cargo image; and having the electronic control unit activate an alert upon determining that the cargo has shifted.
2. The method of claim 1 including determining with the electronic control unit a position of an initial cargo image in an initial cargo area image and setting this position as a baseline cargo image position; determining with the electronic control unit a position of the current cargo image in the current cargo area image; and determining with the electronic control unit that the current cargo image has moved with respect to the prior cargo image if the positon of the current cargo image in the current cargo area image has shifted from the baseline cargo image position.
3. The method of claim 2 including defining with the electronic control unit edges of the initial cargo image and having the electronic control unit display on the display the initial cargo image with the defined edges highlighted and prompting for an input selecting the highlighted edges and upon receiving the input selecting the highlighted edges as selected edges setting with the electronic control unit the baseline cargo image position as an area in the initial cargo area image defined by the selected edges.
4. The method of claim 2 including: having the electronic control unit display on the display the initial cargo area image including the initial cargo image; prompting a user with the electronic control unit to touch on the display a center of the initial cargo image; having the electronic control unit search outwardly from the center of the initial cargo image until it encounters edges of the initial cargo image; and having the electronic control unit set the baseline cargo image position as an area in the initial cargo area image defined by the encountered edges of the initial cargo image.
5. The method of claim 1 including with the electronic control unit prompting on the display for a user input selecting an area in an initial cargo area image and setting an area selected by the user as a baseline area, and determining with the electronic control unit that the current cargo image has moved with respect to the prior cargo image if the current cargo image has moved in the baseline area relative to the prior cargo image.
6. An automotive vehicle, comprising: a cargo area; an electronic control unit to which a camera positioned to see the cargo area is coupled; a display coupled to the electronic control unit; the electronic control unit configured to periodically receive a cargo area image of the cargo area from the camera and determine whether a current cargo image in a current cargo area image has moved with respect to a prior cargo image in a prior cargo area image; the electronic control unit configured to determine that the cargo has shifted upon determining that the current cargo image has moved with respect to the prior cargo image; and the electronic control unit configured to activate an alert upon determining that the cargo has shifted.
7. The automotive vehicle of claim 6 wherein the electronic control unit is configured to: determine a position of an initial cargo image in an initial cargo area image and set this position as a baseline cargo image position; determine a position of the current cargo image in the current cargo area image; and determine that the current cargo image has moved with respect to the prior cargo image if the positon of the current cargo image in the current cargo area image has shifted from the baseline cargo image position.
8. The automotive vehicle of claim 7 wherein the electronic control unit is configured to define edges of the initial cargo image and display on the display the initial cargo image with the defined edges highlighted and prompt for an input selecting the highlighted edges and upon receiving the input selecting the highlighted edges as selected edges and set the baseline cargo image position as an area in the initial cargo area image defined by the selected edges.
9. The automotive vehicle of claim 7 wherein the electronic control unit is configured to: display on the display the initial cargo area image including the initial cargo image; prompt a user to touch on the display a center of the initial cargo image; search outwardly from the center of the initial cargo image until it encounters edges of the initial cargo image; and set the baseline cargo image position as an area in the initial cargo area image defined by the encountered edges of the initial cargo image.
10. The automotive vehicle of claim 6 wherein the electronic control unit is configured to prompt on the display for a user input selecting an area in an initial cargo area image and setting an area selected by a user as a baseline area, and determine that the current cargo image has moved with respect to the prior cargo image if the current cargo image has moved in the baseline area relative to the prior cargo image.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The present invention will become more fully understood from the detailed description and the accompanying drawings, wherein:
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
DETAILED DESCRIPTION
[0017] Further areas of applicability of the teachings of the present disclosure will become apparent from the detailed description, claims and the drawings provided hereinafter, wherein like reference numerals refer to like features throughout the several views of the drawings. It should be understood that the detailed description, including disclosed embodiments and drawings referenced therein, are merely exemplary in nature intended for purposes of illustration only and are not intended to limit the scope of the present disclosure, its application or uses. Thus, variations that do not depart from the gist of the present disclosure are intended to be within the scope of the present disclosure.
[0018] In accordance with an aspect of the present disclosure, a cargo position tracking routine implemented in an electronic control unit of an automotive vehicle uses machine vision to monitor the position of cargo in a cargo area of an automotive vehicle and determine whether the cargo has shifted. Upon determining that the cargo has shifted, the cargo position tracking routine causes a driver of the vehicle to be alerted.
[0019]
[0020] In an aspect, electronic control unit 106 is configured with control logic to determine if cargo 110 has shifted. In an aspect, this control logic includes of edge detection image processing and in another aspect, this control logic includes optical flow estimation image processing. As is known in the art of machine vision and image processing, edge detection is an image processing technique for finding the boundaries of objects within images. It works by detecting discontinuities in brightness. That is, an edge of an object in an image is detected when there is a sufficient discontinuity in brightness between adjacent segments in the image. Common edge detection techniques include Sobel, Canny, Prewitt, Roberts, and fuzzy logic methods. Also as known in the art, optical flow is the distribution of the apparent velocities of objects in an image. In general, moving objects that are closer to the camera will display more apparent motion than distance objects that are moving at the same speed. Optical flow estimate is often used in machine vision to characterize and quantify the motion of objects in a video stream, often for motion-based object detection and tracking systems. Common optical flow techniques include the Horn-Schunk method and the Lucas-Kanade algorithm.
[0021]
[0022]
[0023] If at 314 the cargo tracking routine determined that cargo tracking is to be turned off, the cargo tracking routine proceeds to 216 where it ends. If at 314 the cargo tracking routine determined that cargo tracking is not to be turned off, it branches back to 308.
[0024]
[0025]
[0026]
[0027] The electronic control unit such as electronic control unit 106 in which any of the above cargo position tracking routines are implemented is or includes any of a digital processor (DSP), microprocessor, microcontroller, or other programmable device which are programmed with software implementing the above described methods. It should be understood that alternatively it is or includes other logic devices, such as a Field Programmable Gate Array (FPGA), a complex programmable logic device (CPLD), or application specific integrated circuit (ASIC). When it is stated that the electronic control unit 106 or any of the cargo tracking control routines implemented in electronic control unit 106 performs a function or is configured to perform a function, it should be understood that the electronic control unit 106 is configured to do so with appropriate logic (such as in software, logic devices, or a combination thereof).
[0028] The description of the invention is merely exemplary in nature and, thus, variations that do not depart from the gist of the invention are intended to be within the scope of the invention. Such variations are not to be regarded as a departure from the spirit and scope of the invention.