Image capturing apparatus and method
The image capturing apparatus uses AI-driven lens adjustments based on distance and image analysis to enhance focusing accuracy and enable rapid image switching, addressing the environmental limitations of traditional focusing methods.
Patent Information
- Application Number
- US19/681874
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2026-05-19
- Publication Date
- 2026-11-26
AI Technical Summary
Existing image capturing systems fail to provide optimal focusing results due to the lack of consideration for the camera's installation environment, leading to incorrect focusing outcomes.
An image capturing apparatus and method that utilizes distance information and image analysis to automatically adjust the positions of zoom and focus lenses based on artificial intelligence analysis of the subject, allowing for precise focusing and rapid image switching.
Improves focusing accuracy and enables rapid image switching by collectively referring to distance and image analysis information, ensuring clear and enlarged images of the subject are captured.
Smart Images

Figure US20260380117A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application claims priority from Korean Patent Application No. 10-2025-0065015 filed on May 20, 2025, in the Korean Intellectual Property Office, and all the benefits accruing therefrom under 35 U.S.C. 119, the contents of which in its entirety are herein incorporated by reference.TECHNICAL FIELD
[0002] The present disclosure relates to an image capturing apparatus and method, and more particularly, to an image capturing apparatus and method for performing focusing by referring to distance information and image analysis information.BACKGROUND
[0003] The matters described in this Background section are only for enhancement of understanding of the background of the disclosure, and should not be taken as acknowledgment that they correspond to prior art already known to those skilled in the art.
[0004] A camera including a focus lens may perform focusing on a subject by adjusting the position of the focus lens. The focusing may be performed by a user or may be automatically performed by the camera.
[0005] In order to perform auto focusing, the camera may refer to a distance to the subject. That is, the camera performs focusing by adjusting the position of the focus lens according to the distance to the subject. For this purpose, the camera may include relationship data including a correlation between the distance to the subject and the position of the focus lens. Since the relationship data does not reflect information on an installation environment of the camera, focusing using the same may not provide a correct result.
[0006] Therefore, a technique capable of providing an optimal focusing result when focusing is performed by a camera is considered.SUMMARY
[0007] An objective of the present disclosure is to provide an image capturing apparatus and method for performing focusing by referring to distance information and image analysis information.
[0008] The objectives of the present disclosure are not limited to those mentioned above, and other objectives not explicitly stated will be clearly understood by those skilled in the art based on the following description.
[0009] According to the present disclosure, an image capturing apparatus may comprise a lens assembly comprising a zoom lens and a focus lens and configured to generate an image associated with at least one subject, a lens driving actuator, a processor, and a memory storing instructions configured to be executed by the processor to cause the image capturing apparatus to determine a distance to a subject, wherein the subject is represented by an object included in a region of interest in the image, by performing artificial intelligence analysis of the object, determine, based on the distance to the subject, a magnification position for adjusting a magnification of the zoom lens and a focus position for adjusting focusing of the focus lens, and control the lens driving actuator to automatically adjust, based on the magnification position and the focus position, positions of the zoom lens and the focus lens.
[0010] The instructions may be configured to be executed by the processor to cause the image capturing apparatus to adjust a posture of the lens assembly to change an imaging direction of the lens assembly to a direction corresponding to the region of interest, and determine the distance to the subject at a time point identical to or subsequent to a start time point at which the adjustment of the posture of the lens assembly begins.
[0011] The region of interest may comprise at least one of a region formed based on a point of interest in the image, a region formed based on an object of interest included in the image, or a region formed based on a region setting command in the image.
[0012] The region of interest may comprise the region formed based on the object of interest included in the image, and the instructions may be configured to be executed by the processor to cause the image capturing apparatus to identify the object of interest through artificial intelligence analysis, and determine, based on a ratio between a size of the object of interest and a predefined physical size of the subject, a distance to a subject corresponding to the object of interest.
[0013] The instructions may be configured to be executed by the processor to cause the image capturing apparatus to, based on a plurality of objects being included in the region of interest, determine distances to a plurality of subjects corresponding to the plurality of objects by performing artificial intelligence analysis of the plurality of objects, and determine, based on the distances to the plurality of subjects, a reference distance, wherein the magnification position and the focus position may be determined based on the reference distance.
[0014] According to the present disclosure, an image capturing apparatus may comprise an image sensor configured to generate an image associated with at least one subject, a lens assembly configured to direct light to the image sensor, wherein the lens assembly may comprise a zoom lens and a focus lens, a pan-tilt actuator configured to rotate the image sensor to direct the image sensor toward a region of interest in the image, a processor circuit configured to determine a distance to the at least one subject by performing artificial intelligence analysis of an object included in the region of interest in the image, wherein the at least one subject may be represented by the object, and wherein the distance may be determined during or after rotation of the image sensor by the pan-tilt actuator, and determine, based on the distance to the at least one subject, a magnification position for the zoom lens and a focus position for the focus lens, and a lens driving actuator configured to automatically adjust, based on the magnification position and the focus position, positions of the zoom lens and the focus lens.
[0015] The processor circuit may be configured to identify a type of the object by performing the artificial intelligence analysis and determine the distance to the at least one subject based on a size of the object in the image and a predefined size associated with the identified type of the object.
[0016] The processor circuit may be configured to determine the distance to the at least one subject based on a ratio between a size of the object in the image and a size of the at least one subject corresponding to the object.
[0017] The processor circuit may be configured to determine the distance to the at least one subject based on a size of the object in the image and a field of view of the image sensor.
[0018] The processor circuit may be configured to identify a portion of the object corresponding to a portion of the at least one subject having a standardized physical size, and determine, based on a size of the identified portion, the distance to the at least one subject, wherein the portion of the at least one subject may comprise at least one of a face or a license plate.
[0019] The processor circuit may be configured to, based on a plurality of objects included in the region of interest, determine distances to a plurality of subjects corresponding to the plurality of objects by performing the artificial intelligence analysis of the plurality of objects, and determine, based on the distances to the plurality of subjects, a reference distance.
[0020] The processor circuit may be configured to determine, based on distances between the plurality of objects and a center of the region of interest, the reference distance by assigning weights to the distances to the plurality of subjects.
[0021] According to the present disclosure, a method performed by an image capturing apparatus may comprise generating, by a lens assembly of the image capturing apparatus, an image associated with at least one subject, wherein the lens assembly may comprise a zoom lens and a focus lens, adjusting a posture of the lens assembly to change an imaging direction of the lens assembly to a direction corresponding to a region of interest in the image, determining a distance to a subject, wherein the subject may be represented by an object included in the region of interest, and wherein the distance to the subject may be determined at a time point identical to or subsequent to a start time point at which the adjusting of the posture of the lens assembly begins, determining, based on the distance to the subject, a magnification position for adjusting a magnification of the zoom lens and a focus position for adjusting focusing of the focus lens, and controlling a lens driving actuator of the image capturing apparatus to automatically adjust, based on the magnification position and the focus position, positions of the zoom lens and the focus lens.
[0022] The adjusting of the positions of the zoom lens and the focus lens may be performed while the posture of the lens assembly is being adjusted.
[0023] The adjusting of the posture of the lens assembly may comprise adjusting the posture of the lens assembly such that the object included in the region of interest is positioned at a center of the image.
[0024] The adjusting of the posture of the imaging unit may comprise adjusting the posture of the imaging unit such that a center of the region of interest coincides with a center of the image.
[0025] The region of interest may comprise at least one of a region formed based on a point of interest in the image, a region formed based on an object of interest included in the image, or a region formed based on a region setting command in the image.
[0026] The determining of the distance to the subject may comprise identifying a type of the object by referring to a preset classification criterion, and determining, based on a size of the object in the image and a predefined physical size associated with the identified type of the object, a distance between the lens assembly and the subject.
[0027] The determining of the distance to the subject may comprise determining the distance based on a ratio of a vertical size of the subject to a vertical size corresponding to a field of view of the lens assembly.
[0028] The determining of the distance between the lens assembly and the subject may comprise, based on a plurality of objects being included in the region of interest and based on distances between a center of the region of interest and the plurality of objects, assigning different weights to the plurality of objects, and determining a reference distance as an average of distances to subjects corresponding to the plurality of objects to which the different weights are assigned, wherein the reference distance may be used in determining the magnification position and the focus position.
[0029] According to the image capturing apparatus and method of the present disclosure as described above, since focusing is performed by collectively referring to distance information and image analysis information, there is an advantage in that a focusing result is improved.
[0030] In addition, since panning, tilting, zooming, and focusing are performed simultaneously, there is also an advantage in that rapid image switching with respect to a target point is achieved.
[0031] It should be noted that the effects of the present disclosure are not limited to those described above, and other effects of the present disclosure will be apparent from the following description.BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and other examples and features of the present disclosure will become more apparent by describing examples thereof in detail with reference to the accompanying drawings, in which:
[0033] FIG. 1 is an exemplary block diagram showing an image capturing apparatus.
[0034] FIG. 2 is an exemplary diagram showing an imaging unit shown in FIG. 1.
[0035] FIG. 3 is an exemplary diagram showing that a region of interest is included in an image.
[0036] FIG. 4 is an exemplary diagram showing that a region of interest is formed based on a point of interest.
[0037] FIG. 5 is an exemplary diagram showing that a region of interest is formed based on an object of interest.
[0038] FIG. 6 is an exemplary diagram showing that a region of interest moves due to posture adjustment of the imaging unit.
[0039] FIG. 7 is an exemplary diagram for explaining an enlarged image.
[0040] FIG. 8 is an exemplary block diagram showing a distance determination unit shown in FIG. 1.
[0041] FIG. 9 is an exemplary diagram for explaining an operation of the distance determination unit.
[0042] FIG. 10 is an exemplary block diagram showing an artificial intelligence processing unit shown in FIG. 1.
[0043] FIG. 11 is an exemplary diagram showing that an object is included in a region of interest.
[0044] FIG. 12 is an exemplary diagram showing that a plurality of objects are included in a region of interest.
[0045] FIG. 13 is an exemplary diagram for explaining that a distance to a subject is determined by referring to a distance between a center of a region of interest and a plurality of objects.
[0046] FIG. 14 is an exemplary diagram for explaining a relationship between a posture adjustment time point of the imaging unit and a distance determination time point of the distance determination unit.
[0047] FIG. 15 is an exemplary flowchart showing an image capturing method.
[0048] FIG. 16 shows an example computing system.DETAILED DESCRIPTION
[0049] Hereinafter, examples of the present disclosure will be described in detail with reference to the accompanying drawings. Advantages and features of the present disclosure, and methods of achieving the same, will become apparent with reference to the examples described below in detail in conjunction with the accompanying drawings. However, the present disclosure is not limited to the examples set forth below and may be implemented in various different forms. These examples are provided only to make the present disclosure complete and to fully convey the scope of the present disclosure to those skilled in the art, and the present disclosure is defined only by the scope of the claims. Throughout the specification, like reference numerals denote like elements.
[0050] For purposes of this application and the claims, using the exemplary phrase “at least one of: A; B; or C” or “at least one of A, B, or C,” the phrase means “at least one A, or at least one B, or at least one C, or any combination of at least one A, at least one B, and at least one C. Further, exemplary phrases, such as “A, B, or C”, “at least one of A, B, and C”, “at least one of A, B, or C”, etc. as used herein may mean each listed item or all combinations of the listed items. For example, “at least one of A or B” may refer to (1) at least one A; (2) at least one B; or (3) at least one A and at least one B.
[0051] The term “module” or “unit” used in the specification means a software and / or hardware component, and the “module” or “unit” performs certain operations / functions / roles. However, the “module” or “unit” is not construed as being limited to software or hardware. The “module” or “unit” may be configured to be in an addressable storage medium or to execute one or more processors. Therefore, as an example, the “module” or “unit” may include at least one of components such as software components, object-oriented software components, class components, and task components, processes, functions, attributes, procedures, sub-routines, segments of program codes, drivers, firmware, micro-codes, circuits, data, databases, data structures, tables, arrays, or variables. Functions provided in the components, “modules,” or “units” may be combined into a smaller number of components, “modules,” or “units” or further divided into additional components, “modules,” or “units.”
[0052] In the present disclosure, the “module” or “unit” may be realized as a processor and a memory. The “processor” should be widely construed to include a general-purpose processor, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller, a state machine, or the like. In some environments, the “processor” may refer to an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a field-programmable gate array (FPGA), and the like. For example, the “processor” may refer to a combination of processing devices such as a combination of a DSP and a microprocessor, a combination of a plurality of microprocessors, a combination of one or more microprocessors combined with a DSP core, or any other such combination. Moreover, the “memory” should be widely construed to include any electronic component capable of storing electronic information. The “memory” may refer to various types of processor-readable medium such as a random access memory (RAM), a read only memory (ROM), a non-volatile random access memory (NVRAM), a programmable read only memory (PROM), an erasable programmable read only memory (EPROM), an electrically erasable programmable read only memory (EEPROM), a flash memory, a magnetic or optical data storage device, and registers. When the processor can read information from a memory and / or record the information in the memory, the memory may be in a state of electronic communication with a processor. Memory integrated into a processor is in a state of electronic communication with the processor.
[0053] The one or more features described herein may be provided as a computer program stored in a computer-readable recording medium in order to be executed on a computer. The medium may either continuously store a computer-executable program or temporarily store the program for execution or download. Furthermore, the medium may be a variety of recording or storage means in the form of a single hardware device or multiple combined hardware devices and is not limited to media directly connected to some computer system but may also be distributed across a network. Examples of such media include magnetic media such as a hard disk, a floppy disk, or a magnetic tape, optical recording media such as a CD-ROM or a DVD, magneto-optical media such as a floptical disk, and a ROM, RAM, or flash memory, among others, configured to store program instructions. Additional examples of such media include media or storage media that are managed by an app store that distributes applications or by various other sites or servers that provide or distribute software.
[0054] In a hardware implementation, processing units used for performing the techniques may be implemented within one or more ASICs, DSPs, digital signal processing devices, programmable logic devices, field-programmable gate arrays, processors, controllers, microcontrollers, microprocessors, electronic devices, or computers or combinations thereof designed to perform the functions described in the present disclosure.
[0055] According to the present disclosure, an image capturing apparatus automatically obtains a clear image of a subject by coordinating camera movement and lens adjustment based on image information and distance estimation. A region of interest is set within an image generated by an imaging device based on a user selection of a point or an object. The imaging device is then rotated such that the region of interest is positioned near a center of the image. While the imaging device is being rotated, an object included in the region of interest is identified using image analysis, and a distance between the imaging device and a subject corresponding to the object is estimated based on a size of the object in the image. Based on the estimated distance, positions of a zoom lens and a focus lens are adjusted to obtain an enlarged and focused image of the subject. When multiple objects are present in the region of interest, distances to the respective subjects are estimated and combined, with greater weight given to objects closer to the center of the region of interest, to determine a reference distance. As a result, a clear image of the subject is quickly obtained without requiring manual adjustment.
[0056] Unless otherwise defined, all terms used herein, including technical and scientific terms, may be understood as having meanings commonly understood by those skilled in the art. Terms defined in commonly used dictionaries are not to be interpreted ideally or excessively unless explicitly defined otherwise.
[0057] FIG. 1 is a block exemplary diagram showing an image capturing apparatus, FIG. 2 is an exemplary diagram showing an imaging unit (e.g., a lens assembly, and the like) shown in FIG. 1, FIG. 3 is an exemplary diagram showing that a region of interest is included in an image, FIG. 4 is an exemplary diagram showing that a region of interest is formed based on a point of interest, FIG. 5 is an exemplary diagram showing that a region of interest is formed based on an object of interest, FIG. 6 is an exemplary diagram showing that a region of interest moves due to posture adjustment of the imaging unit, FIG. 7 is an exemplary diagram for explaining an enlarged image, FIG. 8 is a block exemplary diagram showing a distance determination unit shown in FIG. 1, FIG. 9 is an exemplary diagram for explaining an operation of the distance determination unit, and FIG. 10 is a block exemplary diagram showing an artificial intelligence processing unit shown in FIG. 1.
[0058] Referring to FIG. 1, an image capturing apparatus 10 includes a communication unit 100, an imaging unit 200, a posture adjustment unit 300, a region setting unit 400, a distance determination unit 500, an artificial intelligence processing unit 2000, a lens position calculation unit 600, a storage unit 700, and a control unit 800.
[0059] The communication unit 100 may receive a user command. The user command may be received from a user terminal (not shown). The user command may include a selection command for a point of interest or an object of interest. A user may select a point of interest from an entire region of an image. Alternatively, the user may select an object of interest from among at least one object included in the image. In addition, the user command may include a region setting command. Here, the point of interest, the object of interest, and the region setting command may be used to set a region of interest to be described later.
[0060] The communication unit 100 may transmit an image generated by the image capturing apparatus 10. The image transmitted by the communication unit 100 may be delivered to the user terminal. The user may check the image captured by the image capturing apparatus 10 through the user terminal.
[0061] Referring to FIGS. 1 and 2, the imaging unit 200 may generate an image of a subject. The imaging unit 200 may include a lens unit 210, an image sensor 220, and a lens driving unit 230.
[0062] The lens unit 210 may receive incident light from a subject and a background. The lens unit 210 may include a plurality of lenses 211, 212, and 213. The plurality of lenses 211, 212, and 213 may be arranged along an optical axis of the lens unit 210 to sequentially transmit light. The lens unit 210 may include various lenses for focusing light, sharpening a boundary of the subject, enhancing color, reducing distortion of a shape of the subject, or enlarging the subject. The lens unit 210 may include a zoom lens 211 and a focus lens 212. The zoom lens 211 may move in a direction parallel to the optical axis of the lens unit 210, and a magnification of the subject may be changed according to a position of the zoom lens 211. The focus lens 212 may move in the direction parallel to the optical axis of the lens unit 210, and a focal distance to the subject may be changed according to a position of the focus lens 212.
[0063] For example, the lens unit 210 may further include a third lens 213. The third lens 213 may be a fixed lens that does not move in the direction parallel to the optical axis of the lens unit 210. For example, the third lens 213 may be a lens for correcting aberration or distortion of the image.
[0064] The lens driving unit 230 (may also be referred to as a lens driving actuator, a lens driving actuator assembly, etc.) may include a first lens driving unit 231 (e.g., an actuator, such as a motor, a piezoelectric actuator, etc.) and a second lens driving unit 232 (e.g., an actuator, such as a motor, a piezoelectric actuator, etc.). The first lens driving unit 231 may generate a driving force to adjust a position of the zoom lens 211, and the second lens driving unit 232 may generate a driving force to adjust a position of the focus lens 212. For example, the first lens driving portion 231 and the second lens driving portion 232 may be denoted as a first driver D1 and a second driver D2, respectively. The first driver D1 may control movement of the zoom lens 211, and the second driver D2 may control movement of the focus lens 212. The lens driving unit 230 may adjust positions of the zoom lens 211 and the focus lens 212 according to lens positions calculated by the lens position calculation unit 600 to be described later. For example, the lens driving portion may include one or more actuators configured to generate a driving force to move the zoom lens 211 and the focus lens 212.
[0065] The image sensor 220 may generate an image using light incident through the lens unit 210. For example, a charge coupled device (CCD), or a complementary metal-oxide semiconductor (CMOS) may serve as the image sensor 220. In the present disclosure, the image generated by the image sensor 220 may be a moving image or a still image.
[0066] Referring again to FIG. 1, the posture adjustment unit 300 (may also be referred to as a pan-tilt actuator, a pan-tilt actuator assembly, etc.) may adjust a posture of the imaging unit 200. For example, the posture adjustment unit 300 may rotate the imaging unit 200 in at least one of a pan direction or a tilt direction to change an imaging direction of the imaging unit 200.
[0067] Referring to FIGS. 1 and 3, the region setting unit 400 may set a region of interest 910 in an image 900 generated by the imaging unit 200. The region of interest 910 may be set based on a point of interest, an object of interest, or a region setting command, as described above.
[0068] Referring to FIG. 4, the region of interest 910 may include a region formed based on a point of interest 920 in the image 900.
[0069] The user may select a specific point of interest from an entire region of the image 900. The specific point of interest selected by the user corresponds to the point of interest 920, and the region setting unit 400 may set the region of interest 910 based on the point of interest 920. For example, the region setting unit 400 may set the region of interest 910 to have the point of interest 920 as its center and to have a preset width and height.
[0070] Referring to FIG. 5, the region of interest 910 may include a region formed based on an object of interest 930 included in the image 900.
[0071] The user may select a specific object of interest from among at least one object included in the image 900. The specific object of interest corresponds to the object of interest 930 selected by the user, and the region setting unit 400 may set the region of interest 910 based on the object of interest 930. For example, the region setting unit 400 may set the region of interest 910 to include at least a portion of the object of interest 930 and to have a preset width and height.
[0072] In addition, the region of interest 910 may include a region formed based on a region setting command in the image 900. The user may input the region setting command including a width, a height, and a position of a reference point by using a user terminal. Here, the reference point may be one of the vertices forming the region of interest 910. The region setting command may be transmitted to the image capturing apparatus 10, and the region setting unit 400 may set the region of interest 910 by referring to the region setting command.
[0073] In the present disclosure, the region of interest 910 may be provided in a rectangular shape. In addition, a width-to-height ratio of the region of interest 910 may be the same as or similar to a width-to-height ratio of the image 900 generated by the imaging unit 200. Accordingly, consistency between a shape of an enlarged image for the region of interest 910 and a shape of the region of interest 910 may be maintained.
[0074] Referring to FIGS. 6 and 7, the image capturing apparatus 10 may provide an enlarged image 1000 for the region of interest 910.
[0075] When setting of the region of interest 910 is completed, the posture adjustment unit 300 may adjust the posture of the imaging unit 200 to change the imaging direction of the imaging unit 200 to a direction corresponding to the region of interest 910. For example, the posture adjustment unit 300 may pan and tilt the imaging unit 200 such that an object included in the region of interest 910 is positioned at a center of the image 900. For example, the posture adjustment unit 300 may adjust the posture of the imaging unit 200 such that a center 910a of the region of interest 910 coincides with a center 900a of the image 900.
[0076] While the posture adjustment of the imaging unit 200 is being performed, the image capturing apparatus 10 may generate the enlarged image 1000 for the region of interest 910. In the present disclosure, the enlarged image 1000 represents an image in which a scene of the region of interest 910 is enlarged and focused. To generate the enlarged image 1000, the lens driving unit 230 of the imaging unit 200 may adjust positions of the zoom lens 211 and the focus lens 212. As will be described later, positions of the zoom lens 211 and the focus lens 212 may be calculated by referring to a distance to the subject.
[0077] The enlarged image 1000 may be generated immediately after completion of the setting of the region of interest 910. Accordingly, the user may promptly check the enlarged image 1000 for the region of interest 910 immediately after inputting the user command for setting the region of interest 910.
[0078] Referring again to FIG. 1, the distance determination unit 500 may determine a distance to a subject corresponding to an object included in the region of interest 910 in the image 900. Specifically, the distance determination unit 500 may determine a distance between the imaging unit 200 and the subject.
[0079] The distance determination unit 500 may determine the distance to the subject through artificial intelligence analysis of the object included in the region of interest 910. That is, the distance determination unit 500 may determine the distance to the subject by analyzing the image 900 using an artificial intelligence model.
[0080] Referring to FIG. 8, the distance determination unit 500 includes an object identification portion 510 and a distance calculation portion 520.
[0081] The object identification portion 510 identifies an object included in the image 900 captured by the imaging unit 200. Specifically, the object identification portion 510 may identify a type of the object by referring to a preset classification class criterion. Here, the object refers to a target, such as a person or a thing, included in the image 900, that can be distinguished from a background and has independent motion. Identification of the object may be performed by a deep learning algorithm of the artificial intelligence processing unit 2000.
[0082] The object identified by the object identification portion 510 may be defined by object identification information, an object type, an object probability, and an object size. The object identification information refers to arbitrary information indicating identity of the object, and the object type indicates a class distinguishable by a human, such as a person, an animal, or a vehicle. In addition, the object probability is a value indicating an accuracy at which the object has been correctly identified. For example, when the object type is a person and the object probability is 80%, a probability that the object is a person is 80%.
[0083] Referring to FIGS. 8 and 9, the distance calculation portion 520 calculates a distance between the imaging unit 200 and a subject 20 based on a ratio occupied by a corresponding object identified by the object identification portion 510 in the image 900. Here, the ratio occupied by the object whose type has been identified by the object identification portion 510 in the image 900 may include a ratio of a vertical size H of the subject 20 to a vertical size V capturable by the imaging unit 200. Alternatively, the size of the object in the image may be measured in a different direction within the image 900 (e.g., a horizontal field of view of the imaging unit 200 may be used in place of the vertical field of view θ in Equations 1 through 3).
[0084] FIG. 9 illustrates that the subject 20 is captured by the imaging unit 200. FIG. 9 illustrates a person as the subject 20.
[0085] In FIG. 9, a value to be calculated is a distance D between the imaging unit 200 and the subject 20. Here, a vertical field of view of the imaging unit 200 is represented by θ, and a vertical size capturable by the imaging unit 200 according to the field of view θ is represented by V. In addition, the subject 20 corresponding to the object identified by the object identification portion 510 may be recognized in a form of a box 30, and a vertical size of the subject 20 may be defined as H.
[0086] The field of view θ of the imaging unit 200 may be obtained from specification information of the imaging unit 200, and the specification information may be stored in advance in the storage unit 700.
[0087] A ratio of the vertical size V capturable by the imaging unit 200 to the vertical size H of the subject 20 may be considered as being identical to a ratio of a size of the subject 20 in the image 900 to a vertical size of the image 900 captured by the imaging unit 200. Accordingly, when the vertical size of the image 900 is assumed to be 100, and a ratio of a size of the object corresponding to the subject 20 in the image 900 is P (%), Equation 1 below is satisfied.H / V=P / 100 [Equation 1]
[0088] In addition, Equation 2 below is satisfied between the distance D and the vertical size V.V=2×D×tan(θ / 2) [Equation 2]
[0089] Here, θ refers to a vertical field of view of the imaging unit 200 at a specific magnification. Thus, by combining Equations 1 and 2, the distance D to be finally obtained is calculated as in Equation 3 below.D=50H / [P×tan(θ / 2)] [Equation 3]
[0090] In Equation 3, the field of view θ may be identified through specifications of the imaging unit 200, and a size ratio P of the object with respect to the subject 20 may be identified through the image 900 captured by the imaging unit 200. For example, when a number of pixels in a vertical direction of the captured image 900 is 1080 and a number of pixels in the vertical direction occupied by the object is 216, the size ratio P of the object is 20%.
[0091] For example, when the number of pixels in the vertical direction of the captured image 900 is 2160 (4K resolution) and the number of pixels in the vertical direction occupied by the object is 540, the size ratio P of the object is 25%. As yet another example, when the number of pixels in the vertical direction of the captured image 900 is 720 and the number of pixels in the vertical direction occupied by the object is 180, the size ratio P of the object is also 25%.
[0092] In addition, when the subject 20 is a person and the field of view θ is assumed to be 30°, since H, which corresponds to a height of a person, may be approximately 1 m to 2 m, a minimum value of D is 9.25 m, and a maximum value of D is 18.5 m.
[0093] For example, when the field of view θ is 60° (e.g., a wide-angle lens), and the subject 20 is a person with a height H of 1.7 m and the size ratio P is 20%, the distance D is calculated as approximately 7.4 m. When the field of view θ is 15° (e.g., a telephoto lens), and the subject 20 is a person with a height H of 1.7 m and the size ratio P is 20%, the distance D is calculated as approximately 32.2 m.
[0094] FIG. 9 illustrates that the distance D between the imaging unit 200 and the subject 20 is calculated based on an entire size of the subject 20, such as a height of a person. However, as described above, a height of a person may vary within a range and may vary depending on posture even for the same person. In such a case, the distance D may be calculated by applying a vertical size of a face of the person to Equation 3 described above. In particular, since the face of a person has clear feature points such as eyes, a nose, and a mouth and has a smaller variation in size, a more accurate result may be obtained.
[0095] For example, by using a portion of the subject 20 having a more standardized size than the face of a person, accuracy of the distance D may be further improved. For example, a license plate of a vehicle has a standardized size in horizontal and vertical directions according to regulations of each country. Accordingly, the distance D may be calculated by applying a vertical size of the license plate of the vehicle to Equation 3 described above. In this case, accuracy of the distance D may be higher than in other examples.
[0096] Similarly, other objects with standardized or known dimensions may be used for distance calculation. For example, standard traffic signs, doors, windows, or other architectural elements with regulated dimensions may be used to calculate the distance D with improved accuracy. In addition, when the object is a vehicle, a vertical size of the vehicle corresponding to a known vehicle type (e.g., sedan, SUV, truck) may be applied to Equation 3.
[0097] Referring to FIGS. 1 and 10, the artificial intelligence processing unit 2000 may perform artificial intelligence processing for an object identification operation of the object identification portion 510.
[0098] The artificial intelligence processing unit 2000 includes an artificial intelligence processor 2100, a memory 2200, and a communication portion 2300.
[0099] The artificial intelligence processor 2100 may include an inference portion 2110 and a data learning portion 2120.
[0100] The inference portion 2110 may receive the image 900 from the object identification portion 510. The inference portion 2110 may perform an inference operation based on a deep learning model 2210 with respect to an object included in the image 900. The deep learning model 2210 may be stored in the memory 2200. A result of the inference operation of the inference portion 2110 is transmitted to the object identification portion 510, and the object identification portion 510 may identify the object by referring to the result of the inference operation. For example, the inference portion 2110 may receive only the region of interest 910 from the object identification portion 510. In this case, the inference portion 2110 may perform the inference operation on an object included in the region of interest 910.
[0101] The data learning portion 2120 learns a neural network using a program stored in the memory 2200. In particular, the data learning portion 2120 learns a neural network for recognizing an object in the image 900. Here, the neural network for recognizing the object may be designed to simulate a structure of a human brain in a computer and includes a plurality of network nodes having weights that simulate neurons of a human neural network. The plurality of network nodes exchange data according to connection relationships to simulate synaptic activities of neurons that exchange signals through synapses. The neural network includes a deep learning model developed from a neural network model. In the deep learning model, the plurality of network nodes are located in different layers and exchange data according to convolutional connection relationships. Examples of the neural network model include various deep learning techniques such as a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), and a deep belief network (DBN). Deep Q-Networks may be applied to fields such as computer vision, speech recognition, natural language processing, voice processing, and signal processing. The deep learning model 2210 generated by learning of the data learning portion 2120 may be stored in the memory 2200.
[0102] For example, the artificial intelligence processor 2100 including the data learning portion 2120 performing the above-described functions may be a general-purpose processor (e.g., CPU) or may be a dedicated artificial intelligence processor (e.g., GPU) for artificial intelligence learning. The memory 2200 stores various programs and data required for operation of the artificial intelligence processing unit 2000. The memory 2200 may be implemented as non-volatile memory, volatile memory, a flash memory, a hard disk drive (HDD), a solid state drive (SSD), and the like. The memory 2200 is accessed by the artificial intelligence processor 2100, and reading, writing, editing, deleting, and updating of data by the artificial intelligence processor 2100 are performed on the memory 2200. In addition, the memory 2200 stores a neural network model (e.g., the deep learning model 2210) generated through a learning algorithm for classification and recognition of data.
[0103] The artificial intelligence processor 2100 includes the data learning portion 2120 for neural network learning for classification and recognition of data. The data learning portion 2120 learns criteria regarding which training data to use for data classification and recognition and how to classify and recognize data using the training data. The data learning portion 2120 acquires training data to be used for learning and learns the deep learning model 2210 by applying the acquired training data to the deep learning model 2210.
[0104] The data learning portion 2120 may be implemented in a form of at least one hardware chip and mounted on the artificial intelligence processing unit 2000. For example, the data learning portion 2120 may be implemented in a form of a dedicated artificial intelligence hardware chip. The data learning portion 2120 may be implemented as a part of a general-purpose processor (e.g., CPU) or a dedicated graphics processor (e.g., GPU) and mounted on the artificial intelligence processing unit 2000. In addition, the data learning portion 2120 may be implemented as software. When the data learning portion 2120 is implemented as a software module (or a program module including instructions), the software module may be stored in a computer-readable medium. In this case, at least one software module is provided by an operating system or an application.
[0105] The data learning portion 2120 includes a training data acquisition portion 2121 and a model learning portion 2122.
[0106] The training data acquisition portion 2121 acquires training data requested for a neural network model for classification and recognition of data. For example, the training data acquisition portion 2121 may acquire object and / or sample data to be input to the neural network model as training data.
[0107] The model learning portion 2122 learns the neural network model to have criteria for determining how to classify predetermined data using the acquired training data. In this case, the model learning portion 2122 may learn the neural network model through supervised learning using at least a portion of the training data as determination criteria. Alternatively, the model learning portion 2122 may learn the neural network model through unsupervised learning to discover criteria by self-learning using the training data without supervision. In addition, the model learning portion 2122 may learn the neural network model through reinforcement learning using feedback as to whether a result of situation determination based on learning is accurate. In addition, the model learning portion 2122 may learn the neural network model using a learning algorithm including a back-propagation method or a gradient descent method.
[0108] Once the neural network model is learned, the model learning portion 2122 stores the learned neural network model in the memory 2200. The model learning portion 2122 may store the learned neural network model in a memory of a server connected to the artificial intelligence processing unit 2000 through a wired or wireless network.
[0109] For example, although FIG. 10 illustrates that the inference portion 2110 and the data learning portion 2120 are both included in the artificial intelligence processor 2100, in some examples, the inference portion 2110 and the data learning portion 2120 may be physically and logically separated. For example, the inference portion 2110 may be included in the image capturing apparatus 10, and the data learning portion 2120 may be provided in a separate apparatus (not shown). In this case, the deep learning model 2210 stored in the memory 2200 may be generated and distributed based on a learning result of the data learning portion 2120 provided in the separate apparatus.
[0110] Learning by the data learning portion 2120 and object identification by the object identification portion 510 may be performed independently. That is, the object identification portion 510 identifies an object using the deep learning model 2210 stored in the memory 2200, and the deep learning model 2210 may have been generated by the data learning portion 2120 before the operation of the object identification portion 510 is performed.
[0111] The communication portion 2300 may communicate with the distance determination unit 500. Specifically, the communication portion 2300 may receive the image 900 or the region of interest 910 and may transmit a processing result of the artificial intelligence processor 2100.
[0112] Referring again to FIG. 1, the lens position calculation unit 600 may calculate a magnification position for adjusting a magnification of the zoom lens 211 and a focus position for adjusting focusing of the focus lens 212 by referring to a distance determined by the distance determination unit 500. As described above, the distance determination unit 500 may determine a distance to a subject corresponding to an object included in the region of interest 910. The lens position calculation unit 600 may calculate the magnification position of the zoom lens 211 to provide an enlarged image of the subject and may calculate the focus position of the focus lens 212 to provide a focused image of the subject.
[0113] In order to calculate the magnification position and the focus position, the lens position calculation unit 600 may refer to a lens position table (not shown) stored in the storage unit 700. The lens position table may be in a form of a table including mapping information among a distance to a subject, a magnification position, and a focus position. The lens position calculation unit 600 may extract a magnification position and a focus position corresponding to the distance determined by the distance determination unit 500 from the lens position table.
[0114] The magnification position and the focus position calculated by the lens position calculation unit 600 may be transmitted to the imaging unit 200, and the lens driving unit 230 of the imaging unit 200 may adjust positions of the zoom lens 211 and the focus lens 212 according to the calculated magnification position and focus position. Accordingly, the imaging unit 200 may generate an enlarged and focused image of the subject.
[0115] The storage unit 700 may temporarily or permanently store the image 900 generated by the imaging unit 200. In addition, the storage unit 700 may temporarily or permanently store the above-described lens position table and various types of information and data required for operation of the image capturing apparatus 10.
[0116] The control unit 800 performs overall control of the communication unit 100, the imaging unit 200, the posture adjustment unit 300, the region setting unit 400, the distance determination unit 500, the lens position calculation unit 600, and the storage unit 700.
[0117] FIG. 11 is an exemplary diagram showing that an object is included in a region of interest.
[0118] Referring to FIG. 11, the region of interest 910 may include an object 940. The object 940 may be a subject in which the user is interested, i.e., the object of interest 930. Alternatively, the object 940 may simply be included in the region of interest 910.
[0119] The distance determination unit 500 may determine a distance to a subject corresponding to the object 940 through artificial intelligence analysis of the object 940 included in the region of interest 910. In particular, when the object of interest 930 is selected by the user, the distance determination unit 500 may determine a distance to a subject corresponding to the object of interest 930 through artificial intelligence analysis of the object of interest 930.
[0120] FIG. 12 is an exemplary diagram showing that a plurality of objects 940 are included in a region of interest.
[0121] Referring to FIG. 12, the region of interest 910 may include a plurality of objects 940. When the plurality of objects 940 are included in the region of interest 910, the distance determination unit 500 may determine distances to a plurality of subjects corresponding to the plurality of objects 940 through artificial intelligence analysis of the plurality of objects 940 and may determine a reference distance, which is a basis for calculating a magnification position and a focus position, by referring to the distances to the plurality of subjects. For example, the distance determination unit 500 may determine an average of the distances to the plurality of subjects as the reference distance. The lens position calculation unit 600 may calculate a magnification position and a focus position by referring to the reference distance.
[0122] As the reference distance is determined by referring to the distances to the plurality of subjects included in a surveillance area, reliability of the reference distance may be improved.
[0123] FIG. 13 is an exemplary diagram for explaining that a distance to a subject is determined by referring to a distance between a center of a region of interest and a plurality of objects.
[0124] Referring to FIG. 13, the region of interest 910 may include a plurality of objects 940. The distance determination unit 500 may determine a distance to a subject by referring to distances between a center 910a of the region of interest 910 and the plurality of objects 940.
[0125] The distance determination unit 500 may determine distances to a plurality of subjects corresponding to the plurality of objects 940 through artificial intelligence analysis of the plurality of objects 940. The distance calculation unit 520 of the distance determination unit 500 may assign different weights according to distances between the center 910a of the region of interest 910 and the plurality of objects 940. For example, as an object 940 is closer to the center 910a of the region of interest 910, a higher weight may be assigned to a distance to a subject corresponding to the object 940. Accordingly, the distance calculation unit 520 may determine an average of distances to the subjects to which the weights are assigned as the reference distance, which is a basis for calculating the magnification position and the focus position. The lens position calculation unit 600 may calculate the magnification position and the focus position by referring to the reference distance.
[0126] A distance to a subject may be calculated by reflecting a higher weight as the subject is closer to the center 910a of the region of interest 910, and the reference distance may be determined by referring to the calculated distance to the subject. Thus, reliability of the reference distance may be improved.
[0127] FIG. 14 is an exemplary diagram for explaining a relationship between a posture adjustment time point of the imaging unit and a distance determination time point of the distance determination unit.
[0128] Referring to FIG. 14, the distance determination unit 500 may determine a distance to a subject at a time point identical to or subsequent to a start time point at which posture adjustment of the imaging unit 200 by the posture adjustment unit 300 begins.
[0129] When the region of interest 910 is set, the posture adjustment unit 300 may adjust a posture of the imaging unit 200. That is, the posture adjustment unit 300 may rotate the imaging unit 200 in pan and tilt directions to change the imaging direction of the imaging unit 200. FIG. 14 illustrates that posture adjustment of the imaging unit 200 begins at a time point t11 and is completed at a time point t12.
[0130] The distance determination unit 500 may determine the distance to the subject at or after a start time point at which posture adjustment of the imaging unit 200 begins. FIG. 14 illustrates that distance determination begins at a time point t21 and is completed at a time point t22. The time point t21 may be identical to or subsequent to the time point t11. When the time point t21 is identical to the time point t11, the distance determination and the posture adjustment may begin simultaneously. In this case, a time required for providing the enlarged image 1000 may be reduced.
[0131] When distance determination by the distance determination unit 500 is completed, position adjustment of the zoom lens 211 and the focus lens 212 may be performed. That is, when distance determination by the distance determination unit 500 is completed, the lens position calculation unit 600 may calculate the magnification position of the zoom lens 211 and the focus position of the focus lens 212, and the lens driving unit 230 may adjust positions of the zoom lens 211 and the focus lens 212 according to the calculated magnification position and focus position. FIG. 14 illustrates that lens position adjustment begins at a time point t31 and is completed at a time point t32. The time point t31 may be identical to or subsequent to the time point t22.
[0132] For example, the time point t32 at which lens position adjustment is completed may be identical to or prior to the time point t12 at which posture adjustment is completed. Accordingly, when posture adjustment of the imaging unit 200 is completed, the enlarged image 1000 for the region of interest 910 may be immediately provided to the user.
[0133] For posture adjustment, the imaging unit 200 needs to physically rotate, and thus, a long time (e.g., a time longer than a threshold time) may be required. In contrast, since distance determination by the distance determination unit 500 is performed through computation by software, a short time (e.g., a time shorter than a threshold time) may be required. In addition, since a moving distance of the zoom lens 211 and the focus lens 212 for lens adjustment is shorter than a rotation distance of the imaging unit 200, a short time may be required for lens position adjustment. That is, a time required for posture adjustment of the imaging unit 200, which is longer than a time required for distance determination and a time required for lens position adjustment, may even be longer than a sum of the time required for distance determination and the time required for lens position adjustment.
[0134] For example, when a time required for posture adjustment of the imaging unit 200 is 500 ms, a time required for distance determination is 100 ms, and a time required for lens position adjustment is 150 ms, the sum of the time required for distance determination and the time required for lens position adjustment (250 ms) is shorter than the time required for posture adjustment (500 ms). Accordingly, the distance determination and the lens position adjustment may both be completed before the posture adjustment is completed.
[0135] Since determination of the distance to the subject and lens position adjustment are performed after posture adjustment of the imaging unit 200 begins, posture adjustment of the imaging unit 200, determination of the distance to the subject, and lens position adjustment may all be performed within a time in which posture adjustment of the imaging unit 200 is performed.
[0136] FIG. 15 is an exemplary flowchart showing an image capturing method.
[0137] Referring to FIG. 15, the image capturing method may include the operations of: generating an image of a subject (S1110); setting a region of interest (S1120); adjusting a posture of the imaging unit 200 (S1130); determining a distance to the subject (S1140); calculating a lens position (S1150); and adjusting the lens position (S1160).
[0138] The imaging unit 200, including the zoom lens 211 and the focus lens 212, may generate the image 900 of the subject (S1110). The user may select a specific point in the image 900 as a point of interest 920 or may select one of at least one object 940 included in the image 900 as an object of interest 930. Alternatively, the user may input a region setting command. The region setting unit 400 may set a region of interest 910 in the image 900 based on selection of the point of interest 920, selection of the object of interest 930, or input of the region setting command (S1120).
[0139] When the region of interest 910 is set, the posture adjustment unit 300 may adjust the posture of the imaging unit 200 (S1130). That is, the posture adjustment unit 300 may rotate the imaging unit 200 in pan and tilt directions such that the region of interest 910 is positioned at a center 900a of the image 900.
[0140] At or after a time point at which posture adjustment of the imaging unit 200 by the posture adjustment unit 300 begins, the distance determination unit 500 may determine a distance to a subject corresponding to the object 940 included in the region of interest 910 through artificial intelligence analysis of the object 940 (S1140). When determination of the distance to the subject is completed, the lens position calculation unit 600 may calculate a magnification position for adjusting a magnification of the zoom lens 211 and a focus position for adjusting focusing of the focus lens 212 by referring to the distance to the subject (S1150). When calculation of the magnification position and the focus position is completed, the lens driving unit 230 may adjust positions of the zoom lens 211 and the focus lens 212 according to the calculated magnification position and focus position (S1160).
[0141] As posture adjustment of the imaging unit 200 and lens position adjustment are performed immediately after the region of interest 910 is set, the enlarged image 1000 for the region of interest 910 may be quickly checked. In particular, since determination of the distance to the subject and lens position adjustment are performed at or after a start time point at which posture adjustment of the imaging unit 200 begins, the user may check the enlarged image 1000 within a short time. In addition, since the distance to the subject is determined using the object 940 included in the region of interest 910, the enlarged image 1000 may be checked in real time even when distance information to the subject is not previously provided.
[0142] FIG. 16 shows an example computing system (e.g., a computing device of a vehicle or any other apparatus). One or more controllers, processors, etc. described herein, such as one or more components of the image capturing apparatus 10, one or more components of various units (e.g., communication unit 100, imaging unit 200, posture adjustment unit 300, region setting unit 400, distance determination unit 500, lens position calculation unit 600, control unit 800, artificial intelligent processing unit 2000) and any other components and devices disclosed herein, may be implemented by or in the computing system as shown in FIG. 16.
[0143] A computing system 1000 may include at least one processor 1100, memory 1300, a user interface input device 1400, a user interface output device 1500, a storage 1600, and a network interface 1700, which are connected with each other via a bus 1200. The processor 1100 may be a central processing unit (CPU) or a semiconductor device that processes instructions stored in the memory 1300 and / or the storage 1600. Each of the memory 1300 and the storage 1600 may include various types of volatile or nonvolatile storage media. For example, the memory 1300 may include a read-only memory (ROM) and a random-access memory (RAM).
[0144] Communication interface(s) (also referred to as communication device(s), communicator(s), communication module(s), communication unit(s), etc.), such as the network interface 1700, may allow software and / or data to be transferred between a device and one or more external devices, and / or between one or more components of a device. Communication interface(s) may include a receiver, a transmitter, a transceiver, a modem, a network interface, and / or adapter (such as an Ethernet adapter), a radio transceiver, an antenna, a communication port, a Personal Computer Memory Card International Association (PCMCIA) slot and card, or the like. Software and data transferred via communication interface(s) may be in the form of signals, which may be electronic, electromagnetic, optical, infrared, or other signals capable of being received by communication interface(s). These signals may be provided to communication interface(s) via a communication path of a device, which may be implemented using, for example, a wire or cable, fiber optics, a cellular link, a radio frequency (RF) link and / or other communications channels. Communication interface(s) may communicate using one or more communication protocols, such as Ethernet, Wi-Fi, near-field communication (NFC), Infrared Data Association (IrDA), Bluetooth, Bluetooth low energy (BLE), Zigbee, Long-Term Evolution (LTE), 5G New Radio (NR), vehicle-to-everything (V2X), a controller area network (CAN), or a local interconnect network (LIN), etc.
[0145] Accordingly, the operations of the method or algorithm described in connection with example example(s) disclosed in the specification may be implemented using a hardware module, a software module, or a combination of the hardware module and the software module, which is executed by the processor 1100. The software module may reside on a storage medium (e.g., the memory 1300 and / or the storage 1600) such as RAM, a flash memory, ROM, an erasable and programmable ROM (EPROM), an electrically erasable and programmable ROM (EEPROM), a register, a hard disk drive, a removable disc, or a compact disc-ROM (CD-ROM).
[0146] The storage medium may be coupled to the processor 1100. The processor 1100 may read out information from the storage medium and may write information to the storage medium. Alternatively, the storage medium may be integrated with the processor 1100. The processor and storage medium may be implemented with an application specific integrated circuit (ASIC). The ASIC may be provided in a user terminal. Alternatively, the processor and storage medium may be implemented with separate components in the user terminal.
[0147] According to an example of the present disclosure, an image capturing apparatus includes: an imaging unit including a zoom lens and a focus lens and configured to generate an image of a subject; a distance determination unit configured to determine a distance to a subject corresponding to an object included in a region of interest in the image through artificial intelligence analysis of the object; a lens position calculation unit configured to calculate a magnification position for adjusting a magnification of the zoom lens and a focus position for adjusting focusing of the focus lens by referring to the distance to the subject; and a lens driving unit configured to adjust positions of the zoom lens and the focus lens according to the magnification position and the focus position.
[0148] The image capturing apparatus may further include: a posture adjustment unit configured to adjust a posture of the imaging unit to change an imaging direction of the imaging unit to a direction corresponding to the region of interest, wherein the distance determination unit may be configured to determine the distance to the subject at a time point identical to or subsequent to a start time point at which adjustment of the posture of the imaging unit by the posture adjustment unit begins.
[0149] The region of interest may include at least one of: a region formed based on a point of interest in the image; a region formed based on an object of interest included in the image; and a region formed based on a region setting command in the image.
[0150] The distance determination unit may be configured to determine a distance to a subject corresponding to the object of interest through artificial intelligence analysis of the object of interest.
[0151] The distance determination unit may be configured to: when a plurality of objects are included in the region of interest, determine distances to a plurality of subjects corresponding to the plurality of objects through artificial intelligence analysis of the plurality of objects; and determine a reference distance, which is a basis for calculating the magnification position and the focus position, by referring to the distances to the plurality of subjects.
[0152] According to another example of the present disclosure, an image capturing apparatus includes: an imaging unit including a zoom lens and a focus lens and configured to generate an image of a subject; a posture adjustment unit configured to adjust a posture of the imaging unit to change an imaging direction of the imaging unit to a direction corresponding to a region of interest in the image; a distance determination unit configured to determine a distance to a subject corresponding to an object included in the region of interest; a lens position calculation unit configured to calculate a magnification position for adjusting a magnification of the zoom lens and a focus position for adjusting focusing of the focus lens by referring to the distance to the subject; and a lens driving unit configured to adjust positions of the zoom lens and the focus lens according to the magnification position and the focus position, wherein the distance determination unit may be configured to determine the distance to the subject at a time point identical to or subsequent to a start time point at which adjustment of the posture of the imaging unit begins.
[0153] Adjustment of the positions of the zoom lens and the focus lens by the lens driving unit may be performed while the posture of the imaging unit is being adjusted by the posture adjustment unit.
[0154] The posture adjustment unit may be configured to adjust the posture of the imaging unit such that an object included in the region of interest is positioned at a center of the image.
[0155] The posture adjustment unit may be configured to adjust the posture of the imaging unit such that a center of the region of interest coincides with a center of the image.
[0156] The region of interest may include: a region formed based on a point of interest in the image; a region formed based on an object of interest included in the image; or a region formed based on a region setting command in the image.
[0157] The distance determination unit may include: an object identification portion configured to identify a type of an object by referring to a preset classification criterion; and a distance calculation portion configured to calculate a distance between the imaging unit and the subject based on a ratio occupied by the object whose type is identified in the image.
[0158] The ratio occupied by the object whose type is identified in the image may include a ratio of a vertical size of the subject to a vertical size capturable by the imaging unit.
[0159] The distance calculation unit may be configured to: when a plurality of objects are included in the region of interest, assign different weights to the plurality of objects according to distances between a center of the region of interest and the plurality of objects; and determine a reference distance, which is a basis for calculating the magnification position and the focus position, as an average of distances to the subjects to which the weights are assigned.
[0160] According to another example of the present disclosure, an image capturing method includes: generating, by an imaging unit including a zoom lens and a focus lens, an image of a subject; adjusting a posture of the imaging unit to change an imaging direction of the imaging unit to a direction corresponding to a region of interest in the image; determining a distance to a subject corresponding to an object included in the region of interest; calculating a magnification position for adjusting a magnification of the zoom lens and a focus position for adjusting focusing of the focus lens by referring to the distance to the subject; and adjusting positions of the zoom lens and the focus lens according to the magnification position and the focus position, wherein determining the distance to the subject may be performed at a time point identical to or subsequent to a start time point at which adjustment of the posture of the imaging unit begins.
[0161] Adjusting the positions of the zoom lens and the focus lens may be performed while the posture of the imaging unit is being adjusted.
[0162] Adjusting the posture of the imaging unit may include adjusting the posture of the imaging unit such that an object included in the region of interest is positioned at a center of the image.
[0163] Adjusting the posture of the imaging unit may include adjusting the posture of the imaging unit such that a center of the region of interest coincides with a center of the image.
[0164] The region of interest may include: a region formed based on a point of interest in the image; a region formed based on an object of interest included in the image; or a region formed based on a region setting command in the image.
[0165] Determining the distance to the subject may include identifying a type of the object by referring to a preset classification criterion; and calculating a distance between the imaging unit and the subject based on a ratio occupied by the object whose type is identified in the image.
[0166] Calculating the distance between the imaging unit and the subject may include: when a plurality of objects are included in the region of interest, assigning different weights to the plurality of objects according to distances between a center of the region of interest and the plurality of objects; and determining a reference distance, which is a basis for calculating the magnification position and the focus position, as an average of distances to the subjects to which the weights are assigned.
[0167] Although examples of the present disclosure have been described above with reference to the accompanying drawings, those skilled in the art will understand that the present disclosure may be implemented in other specific forms without changing the technical spirit or essential features thereof. Therefore, it should be understood that the examples described above are illustrative in all respects and not restrictive.
Claims
1. An image capturing apparatus comprising:a lens assembly comprising a zoom lens and a focus lens and configured to generate an image associated with at least one subject;a lens driving actuator;a processor; anda memory storing instructions configured to be executed by the processor to cause the image capturing apparatus to:determine a distance to a subject, wherein the subject is represented by an object included in a region of interest in the image, by performing artificial intelligence analysis of the object;determine, based on the distance to the subject, a magnification position for adjusting a magnification of the zoom lens and a focus position for adjusting focusing of the focus lens, andcontrol the lens driving actuator to automatically adjust, based on the magnification position and the focus position, positions of the zoom lens and the focus lens.
2. The image capturing apparatus of claim 1, wherein the instructions are configured to be executed by the processor to cause the image capturing apparatus to:adjust a posture of the lens assembly to change an imaging direction of the lens assembly to a direction corresponding to the region of interest,determine the distance to the subject at a time point identical to or subsequent to a start time point at which the adjustment of the posture of the lens assembly begins.
3. The image capturing apparatus of claim 1, wherein the region of interest comprises at least one of:a region formed based on a point of interest in the image,a region formed based on an object of interest included in the image, ora region formed based on a region setting command in the image.
4. The image capturing apparatus of claim 3, wherein the region of interest comprises the region formed based on the object of interest included in the image, and wherein the instructions are configured to be executed by the processor to cause the image capturing apparatus to:identify the object of interest through artificial intelligence analysis,determine, based on a ratio between a size of the object of interest and a predefined physical size of the subject, a distance to a subject corresponding to the object of interest.
5. The image capturing apparatus of claim 1, wherein the instructions are configured to be executed by the processor to cause the image capturing apparatus to:based on a plurality of objects being included in the region of interest, determine distances to a plurality of subjects corresponding to the plurality of objects by performing artificial intelligence analysis of the plurality of objects, anddetermine, based on the distances to the plurality of subjects, a reference distance, wherein the magnification position and the focus position are determined based on the reference distance.
6. An image capturing apparatus comprising:an image sensor configured to generate an image associated with at least one subject;a lens assembly configured to direct light to the image sensor, wherein the lens assembly comprises a zoom lens and a focus lens;a pan-tilt actuator configured to rotate the image sensor to direct the image sensor toward a region of interest in the image;a processor circuit configured to:determine a distance to the at least one subject by performing artificial intelligence analysis of an object included in the region of interest in the image, wherein the at least one subject is represented by the object, and wherein the distance is determined during or after rotation of the image sensor by the pan-tilt actuator, anddetermine, based on the distance to the at least one subject, a magnification position for the zoom lens and a focus position for the focus lens; anda lens driving actuator configured to automatically adjust, based on the magnification position and the focus position, positions of the zoom lens and the focus lens.
7. The image capturing apparatus of claim 6, wherein the processor circuit is configured to:identify a type of the object by performing the artificial intelligence analysis, anddetermine the distance to the at least one subject based on a size of the object in the image and a predefined size associated with the identified type of the object.
8. The image capturing apparatus of claim 6, wherein the processor circuit is configured to determine the distance to the at least one subject based on a ratio between a size of the object in the image and a size of the at least one subject corresponding to the object.
9. The image capturing apparatus of claim 6, wherein the processor circuit is configured to determine the distance to the at least one subject based on a size of the object in the image and a field of view of the image sensor.
10. The image capturing apparatus of claim 6, wherein the processor circuit is configured to:identify a portion of the object corresponding to a portion of the at least one subject having a standardized physical size, anddetermine, based on a size of the identified portion, the distance to the at least one subject, wherein the portion of the at least one subject comprises at least one of a face or a license plate.
11. The image capturing apparatus of claim 6, wherein the processor circuit is configured to:based on a plurality of objects included in the region of interest, determine distances to a plurality of subjects corresponding to the plurality of objects by performing the artificial intelligence analysis of the plurality of objects, anddetermine, based on the distances to the plurality of subjects, a reference distance.
12. The image capturing apparatus of claim 11, wherein the processor circuit is configured to determine, based on distances between the plurality of objects and a center of the region of interest, the reference distance by assigning weights to the distances to the plurality of subjects.
13. A method performed by an image capturing apparatus, the method comprising:generating, by a lens assembly of the image capturing apparatus, an image associated with at least one subject, wherein the lens assembly comprises a zoom lens and a focus lens;adjusting a posture of the lens assembly to change an imaging direction of the lens assembly to a direction corresponding to a region of interest in the image;determining a distance to a subject, wherein the subject is represented by an object included in the region of interest, and wherein the distance to the subject is determined at a time point identical to or subsequent to a start time point at which the adjusting of the posture of the lens assembly begins;determining, based on the distance to the subject, a magnification position for adjusting a magnification of the zoom lens and a focus position for adjusting focusing of the focus lens; andcontrolling a lens driving actuator of the image capturing apparatus to automatically adjust, based on the magnification position and the focus position, positions of the zoom lens and the focus lens.
14. The method of claim 13, wherein the adjusting of the positions of the zoom lens and the focus lens is performed while the posture of the lens assembly is being adjusted.
15. The method of claim 13, wherein the adjusting of the posture of the lens assembly comprises adjusting the posture of the lens assembly such that the object included in the region of interest is positioned at a center of the image.
16. The method of claim 13, wherein the adjusting of the posture of the imaging unit comprises adjusting the posture of the imaging unit such that a center of the region of interest coincides with a center of the image.
17. The method of claim 13, wherein the region of interest comprises at least one of:a region formed based on a point of interest in the image,a region formed based on an object of interest included in the image, ora region formed based on a region setting command in the image.
18. The method of claim 13, wherein the determining of the distance to the subject comprises:identifying a type of the object by referring to a preset classification criterion; anddetermining, based on a size of the object in the image and a predefined physical size associated with the identified type of the object, a distance between the lens assembly and the subject.
19. The method of claim 18, wherein the determining of the distance to the subject comprises determining the distance based on a ratio of a vertical size of the subject to a vertical size corresponding to a field of view of the lens assembly.
20. The method of claim 18, wherein the determining of the distance between the lens assembly and the subject comprises:based on a plurality of objects being included in the region of interest and based on distances between a center of the region of interest and the plurality of objects, assigning different weights to the plurality of objects; anddetermining a reference distance as an average of distances to subjects corresponding to the plurality of objects to which the different weights are assigned, wherein the reference distance is used in determining the magnification position and the focus position.
