This application claims the benefit of Korean Patent Application No. 10-2011-0077256, filed on Aug. 3, 2011, entitled “Camera System and Method for Recognition Distance Using the Same,” which is hereby incorporated by reference in its entirety into this application.
1. Technical Field
The present invention relates to a camera system and a method for recognizing a distance using the same.
2. Description of the Related Art
Recently, A recent trend in the automobile market seeks is to provide safety and convenience for users. Therefore, various sensors are applied to a car to improve safety and convenience for a driver.
According to the trend, cameras are mounted at a rear or a front of a car to provide a picture around a car to a driver and thus, services to confirm the picture with the naked eye are provided to the driver.
A front sensing function senses objects in front of a car by using radar, a liner, or the like, and a method of recognizing a distance has been used.
In this case, as the method for recognizing a distance, two cameras are mounted in a car by a stereo scheme and a method for calculating a distance using a phase difference between two cameras has been used.
However, a radar system has a problem in that a sensor itself is very expensive and the picture cannot be displayed. Meanwhile, the stereo scheme consumes much cost since two cameras needs to be mounted in a car.
Meanwhile, when two cameras are used in a car, performance of the camera depends on assembling tolerance of each camera and resolution of a lens and errors in the distance information according to the resolution of each camera and a difference in quality of an image sensor may occur.
The present invention has been made in an effort to provide a camera system and a method for recognizing a distance using the same capable of acquiring pictures around a car by a single camera due to a use of a reflector and calculating a spaced distance from a targeted object.
According to a preferred embodiment of the present invention, there is provided a camera system, including: a reflector that forms an input picture in a predetermined region of an image sensor through a lens; a lens that transfers the picture transferred through the reflector to the image sensor; an image sensor that converts the picture in a light type through the lens into an image; and a distance recognition module that detects a spaced distance from a targeted object by analyzing the image converted by the image sensor.
The reflector may be a prism or a mirror.
The reflector may include a first reflector, a second reflector, and a third reflector all of which are disposed on the same line in parallel with one another and the first reflector and the third reflector may be disposed so as to be spaced apart from each other by a predetermined distance.
The reflector may include a first reflector, a second reflector, and a third reflector all of which are disposed on the same line in parallel with one another, and the picture input to the first reflector may be reflected by the second reflector and is input to a right of the image sensor, and the picture input to the third reflector may be reflected by the second reflector and is input to a left of the image sensor.
The reflector may include a first reflector, a second reflector, and a third reflector all of which are disposed on the same line in parallel with one another and the distance recognition module may include: an input unit that receives the image converted by the image sensor; an object recognition unit that compares the image received by the input unit with an object image stored in a memory and analyzes the compared image according to an object recognition reference recognizing an object to detect a targeted object; a distance estimation unit that estimates the spaced distance from the targeted object by analyzing the targeted object information of the first reflector and the third reflector recognized by the object recognition unit according to a distance estimation reference; a picture output unit that composes the image of the targeted object detected by the object recognition unit and the spaced distance from the targeted object detected by the distance estimation unit and outputs the composed result through the display unit; a display unit that outputs information transferred through the picture output unit; and a memory that stores information related with the camera system, including the object picture.
The camera system may further include: a warning sound output unit that outputs a warning sound when the spaced distance from the targeted object detected by the distance estimation unit does not correspond to a pre-stored safety distance reference.
The distance estimation reference may be
where zw, represents the spaced distance from the targeted object, xL represents a coordinate of a left picture of the image sensor input through the reflector 3, xR represents a coordinate of a right picture of the image sensor input through the reflector 1, d represents a distance between the reflector 1 and the reflector 3, f represents a focusing distance, and D represents a pixel position difference between the xL and the xR.
According to another preferred embodiment of the present invention, there is provided a method for recognizing a distance of a targeted object in a camera system including a reflector and an image sensor, the method including: receiving an image input through the reflector and converted by the image sensor; comparing the received image with a pre-stored object picture and analyzing the compared image according to an object recognition reference recognizing an object to detect the targeted object; and analyzing the detected targeted object information according to the distance estimation reference to estimate a spaced distance from the targeted object.
The method for recognizing a distance may further include: composing and outputting the image of the targeted object and the spaced distance from the targeted object after the estimating of the spaced distance from the targeted object, wherein the reflector includes a first reflector, a second reflector, and a third reflector all of which are disposed on the same line in parallel with one another.
At the composing and outputting of the image of the targeted object and the spaced distance from the targeted object, the image of the targeted object may be any one of the image input through the first reflector or the third reflector.
The method for recognizing may further include: after the estimating of the spaced distance from the targeted object, comparing the spaced distance from the targeted object with the pre-stored safety distance reference; and outputting a warning sound when the spaced distance from the targeted object does not correspond to the safety distance reference as a result of the compared result.
The reflector may include a first reflector, a second reflector, and a third reflector all of which are disposed on the same line in parallel with one another, and the distance estimation reference may be
where zw represents the spaced distance from the targeted object, xL represents a coordinate of a left picture of the image sensor input through the reflector 3, xR represents a coordinate of a right picture of the image sensor input through the reflector 1, d represents a distance between the reflector 1 and the reflector 3, f represents a focusing distance, and D represents a pixel position difference between the xL and the xR.
The reflector may be a prism or a mirror.
The above and other objects, features and advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
The objects, features and advantages of the present invention will be more clearly understood from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same reference numerals are used to designate the same or similar components, and redundant descriptions thereof are omitted. Further, in the following description, the terms “first”, “second”, “one side”, “the other side” and the like are used to differentiate a certain component from other components, but the configuration of such components should not be construed to be limited by the terms. Further, in the description of the present invention, when it is determined that the detailed description of the related art would obscure the gist of the present invention, the description thereof will be omitted.
Hereinafter, preferred embodiments of the present invention are described in detail with reference to the accompanying drawings.
Camera System
As shown in
Although not shown, the distance recognition module is connected to a camera module that includes the reflector 110, the lens 121, and the image sensor 123 to receive image information converted by the image sensor 123, thereby performing the image analysis.
In addition, the reflector 110 may be a prism or a mirror.
In addition, the reflector 110 is configured to include a first reflector 111, a second reflector 113, and a third reflector 115 having a triangular shape, all of which are disposed on the same line in parallel with one another, wherein the first reflector 111 and the third reflector 115 are disposed to have an inverted triangular shape capable of receiving an input picture and the second reflector 113 is disposed to have a triangular shape.
In this case, a disposition structure of the reflector 110 is not limited to the above-mentioned example and therefore, can be changed to more effectively receive the input picture.
In addition, the first reflector 111, the second reflector 113, and the third reflector 115 are configured in one group.
Meanwhile, the first reflector 111 and the third reflector 115 receiving the input picture may be disposed so as to be spaced apart from each other by a predetermined distance d.
The distance d is used when calculating the spaced distance from the targeted object.
As shown in
Further, the image sensor 123 in accordance with the preferred embodiment of the present invention uses mega-level resolution (for example, 1280×800) and therefore, is not limited thereto.
The reason is that picture needs to be split into two pictures. For example, the picture by reflector 1 uses a 640×800 picture that is a half of the mega resolution and the picture by reflector 3 similarly uses a 640×800 picture.
In addition, one surface of the image sensor 123 may be provided with a printed circuit board 125 that is electrically connected to the image sensor 123.
As shown in
In addition, the distance recognition module 130 may further include an picture output unit 134 that composes the picture of the targeted object detected by the object recognition unit 132 and the spaced distance from the targeted object detected by the distance estimation unit 133 and outputs the composed image through the display unit 136, a display unit 136 that outputs information transferred through the picture output unit 134, and the memory 135 that stores information related to the camera system, including the object picture.
Further, the distance recognition module 130 may further include a warning sound output unit 137 that outputs a warning sound, when the spaced distance from the targeted object detected by the distance estimation unit 133 does not coincide with a pre-stored safety distance reference.
The display unit 136 may be a display that can display the picture, or the like, on a screen.
The above-mentioned object recognition unit 132 recognizes the targeted object by using the object recognition reference (for example, neural network algorithm). In this case, the neural network algorithm is a scheme of learning picture image patterns of various objects through an input layer and an output layer and when the picture of which the distance is to be recognized is input, displaying a representative point when the shape of the targeted object matches the image by performing a high pass filter on the image and then, inputting the image to an input term.
For example, the distance recognition module 130 previously stores the picture (targets (car, bus, motorcycle, truck, or the like) for the targeted object disposed on a road and a kind (pictures corresponding to each car, pictures corresponding to each bus, pictures corresponding to each motorcycle, images corresponding to each truck, or the like) of targets in the memory 135 and when the image is input through the input unit 131, compares the picture input through the object recognition unit 132 with the picture stored in the memory to recognize whether the targeted object is a car or a bus and detect the representative point that is a reference point for analyzing the distance.
Therefore, the distance information between the targeted object and the car (a car in which the camera system is mounted) is detected based on the representative point of the targeted object detected by the neural network algorithm.
As shown in
In this case, the pictures formed at the left and right of the image sensor 123 each have the same focusing distance f and the spaced distance d between the reflector 1111 and the reflector 3115.
In addition, a position of a subject (targeted object) in a three-dimensional space is P(xw, yw, zw) and coordinates of points of the images projected at the left and right each are (xL, yL) and (xR, yR).
The distance estimation unit 133 calculates the projected points according to a proportional relationship Equation of a triangular shape represented by Equation 1 and Equation 2, based on each configuration (reflector, lens, image sensor, or the like) disposed under the above-mentioned conditions and the predetermined conditions (the focusing distance f, the spaced distance d between the reflectors, or the like).
In this case, it can confirm an inversely proportional term to the depth information by using D as a displacement. The value can be calculated as three-dimensional information by using the same.
That is, the distance estimation reference may be represented by Equation 1 and Equation 2.
In the above Equations, zw may represent the spaced distance from the targeted object, xL may represent the coordinate of the left picture of the image sensor input through the reflector 3, xR may represent the coordinate of the right picture of the image sensor input through the reflector 1, d may represent the distance between the reflector 1 and the reflector 3, f may represent the focusing distance, and D may be the pixel position difference between xL and xR.
Meanwhile, as shown in
In addition, the picture output unit 134 extracts any one of the picture of the targeted object input through the reflector 1111 and the picture of the targeted object input through the reflector 3115 according to a setting value set by an operator and outputs the extracted image along with the corresponding spaced distance.
Since the color and resolution of the pictures input through the reflector 1111 and the reflector 3115 are the same as each other and therefore, any of two may be selected irrelevantly.
As a result, the camera system 100 in accordance with the preferred embodiment of the present invention can easily manage the picture input from the reflector 1111 and the picture input from the reflector 3115.
In addition, the camera system 100 in accordance with the preferred embodiment of the present invention can improve the accuracy of the distance detection due to the picture difference since the resolution of the pictures input from the reflector 1111 and the picture input from the reflector 3115 and the image quality of the image sensor are the same, thereby making it possible to provide the stabilized picture to the driver.
Method For Recognizing Distance
First, the input unit 131 of the distance recognition module 130 receives the image that is input through the reflector 110 and converted by the image sensor 123 (S110).
In this case, the reflector 110 is configured to include the first reflector 111, the second reflector 113, and the third reflector 115 all of which are disposed on the same line in parallel with one another.
Describing in more detail, the input unit 131 receives the image that are input from the reflector 1111 and the reflector 3115, respectively, and are transferred and converted to the image sensor 123 through the lens 121.
Next, the object recognition unit 132 compares the image received through the input unit 131 with the object picture pre-stored in the memory 135 and analyzes the compared image according to the object recognition reference recognizing the object, thereby detecting the targeted object (S130).
Describing in more detail, as shown in
Next, the object recognition unit 132 recognizes the targeted object by using the object recognition reference (for example, neural network algorithm) (S230 and S250).
In this case, the neural network algorithm is a scheme of learning picture image patterns of various objects through an input layer and an output layer and when the picture of which the distance is to be recognized is input, displaying a representative point when the shape of the targeted object matches the image by performing a high pass filter on the image and then, inputting the image to an input term.
Next, the distance information between the targeted object and the car is detected based on the representative point of the targeted object detected by the neural network algorithm.
Next, the distance estimation unit 133 analyzes the information (the shape of the targeted object, the representative point, or the like) of the targeted object detected by the object recognition unit 132 according to the distance estimation reference to estimate the spaced distance from the targeted object (S150).
Describing in more detail, the distance estimation unit 133 analyzes the targeted object information of the first reflector 111 and the third reflector 115 recognized by the object recognition unit 132 according to the distance estimation reference to estimate the spaced distance from the targeted object.
Here, the distance estimation reference may be represented by Equation 1 and Equation 2.
In this case, the spaced distance d between the reflector 1111 and the reflector 3115 and the focusing distance f are the initial set information.
Next, the picture output unit 134 composes and outputs the picture of the targeted object and the spaced distance from the targeted object (S170).
For example, when the camera system is installed to display the front of the car, as shown in
In this case, the picture output unit 134 extracts any one of the picture of the targeted object input through the reflector 1111 and the picture of the targeted object input through the reflector 3115 according to a setting value set by the operator and outputs the extracted image along with the corresponding spaced distance.
Since the color and resolution of the pictures input through the reflector 1111 and the reflector 3115 are the same as each other and therefore, any of two may be selected irrelevantly.
As a result, the camera system 100 in accordance with the preferred embodiment of the present invention can easily manage the picture input from the reflector 1111 and the picture input from the reflector 3115.
In addition, the camera system 100 in accordance with the preferred embodiment of the present invention can improve the accuracy of the distance detection due to the picture difference since the resolution of the pictures input from the reflector 1111 and the picture input from the reflector 3115 and the image quality of the image sensor are the same, thereby making it possible to provide the stabilized picture to the driver.
Meanwhile, although not shown, after S 150, the warning sound output unit 137 compares the spaced distance from the targeted object with the pre-stored safety distance reference.
As the result of the comparison, when the spaced distance from the targeted object does not correspond to the safety distance reference, the warning sound output unit 137 outputs a warning sound, such that the driver can recognize the warning sound.
In accordance with the preferred embodiments of the present invention, the camera system and the method for recognizing a distance using the same can implement the stereo system having the single lens group and the image sensor according to the use of the reflector to acquire the same picture as the specific targeted object, thereby providing the stabilized picture.
In addition, the preferred embodiments of the present invention can implement the stereo system based on the single lens group and the image sensor according to the use of the reflector, thereby further reducing the costs of the system than the existing scheme.
Although the embodiments of the present invention have been disclosed for illustrative purposes, it will be appreciated that the present invention is not limited thereto, and those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention.
Accordingly, any and all modifications, variations or equivalent arrangements should be considered to be within the scope of the invention, and the detailed scope of the invention will be disclosed by the accompanying claims.
Number | Date | Country | Kind |
---|---|---|---|
1020110077256 | Aug 2011 | KR | national |