Camera device
A camera device according to an embodiment of the present invention includes a light output unit which emits light signals having a predetermined pattern to an object, a light input unit which receives light signals reflected by the object, a depth map generation unit which generates a depth map of the object using the light signal input to the light input unit, and a control unit which controls the light output unit, the light input unit, and the depth map generation unit, wherein the light output unit includes a plurality of light sources including a first light source and a second light source, the light input unit includes an image sensor, the first light source and the second light source are symmetrically disposed with the image sensor interposed therebetween, the first light source outputs first light signals having a first pattern formed of a plurality of dots, the second light source outputs second light signals having a second pattern formed of a plurality of dots, and the plurality of dots forming the first pattern and the plurality of dots forming the second pattern are projected to positions which do not overlap mutually on the object.
1 . A camera device comprising:
a light emitter which emits light signals having a predetermined pattern to an object;
a light receiver which receives light signals reflected by the object;
a depth map generator which generates a depth map of the object using the light signals input to the light receiver; and
a controller which controls the light emitter, the light receiver, and the depth map generator,
wherein the light emitter includes a plurality of light sources including a first light source and a second light source,
the light receiver includes an image sensor,
the first light source and the second light source are symmetrically disposed with the image sensor interposed therebetween,
the first light source outputs first light signals having a first pattern formed of a plurality of dots,
the second light source outputs second light signals having a second pattern formed of a plurality of dots,
the image sensor includes a first region in which both of the plurality of dots forming the first pattern and the plurality of dots forming the second pattern are received and a second region in which the plurality of dots forming the first pattern or the plurality of dots forming the second pattern are received,
the plurality of dots forming the first pattern and the plurality of dots forming the second pattern do not overlap each other in the first region, and
the depth map generator generates the depth map based on light signals received in the first region.
2 . The camera device of claim 1 , wherein the first light source and the second light source are driven simultaneously.
3 . The camera device of claim 1 , wherein the first light source and the second light source are driven alternately.
4 . The camera device of claim 1 , wherein the first pattern and the second pattern are the same pattern.
5 . The camera device of claim 1 , wherein the first light signals and the second light signals are infrared (IR) light signals.
6 . The camera device of claim 1 , wherein each of the first light source and the second light source includes a vertical cavity surface emitting laser (VCSEL).
7 . The camera device of claim 1 , wherein:
the plurality of light sources further include a third light source and a fourth light source symmetrically disposed with respect to the image sensor;
the third light source outputs third light signals having a third pattern formed of a plurality of dots;
the fourth light source outputs fourth light signals having a fourth pattern formed of a plurality of dots;
a portion of a region to which the first light signals are emitted is a first overlapping region that overlap a portion of a region to which the second light signals are emitted;
the plurality of dots forming the first pattern and the plurality of dots forming the second pattern are projected so as not to overlap each other on the object in the first overlapping region;
a portion of a region to which the third light signals are emitted is a second overlapping region that overlap a portion of a region to which the fourth light signals are emitted; and
the plurality of dots forming the third pattern and the plurality of dots forming the fourth pattern are projected so as not to overlap each other on the object in the second overlapping region.
8 . The camera device of claim 7 , wherein a distance between the first light source and the second light source is the same as a distance between the third light source and the fourth light source.
9 . The camera device of claim 7 , wherein a distance between the first light source and the second light source is different from a distance between the third light source and the fourth light source.
10 . The camera device of claim 1 , wherein the controller controls only some of the plurality of light sources to be driven according to information input through a user interface.
11 . The camera device of claim 1 , wherein the controller controls some of or all the plurality of light sources to be driven according to a depth map generated by the depth map generator.
12 . The camera device of claim 1 , wherein a dot density of the first region is greater than a dot density of the second region.
13 . The camera device of claim 1 , wherein the first light signals and the second light signals are structured light.