Distance detection system, air conditioner, distance detection method, and program

The distance detection system addresses the issue of incomplete imaging by calculating distances using image and installation parameters, enabling accurate measurements and personalized air conditioning control.

JP2024151692AInactive Publication Date: 2024-10-25PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023065244
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing distance detection systems fail to accurately measure distances to imaging targets when the lower end of the object, such as a person, is not captured in the image due to the imaging unit's positioning, often installed to look down from a high angle.

Method used

A distance detection system that includes an image information acquisition unit, a reference object information acquisition unit, an imaging unit information acquisition unit, and a distance calculation unit, which utilize image information, actual reference object information, and installation and specification condition parameters to calculate distances to imaging targets, even when the lower end is not visible.

Benefits of technology

Enables accurate distance measurement to imaging targets, allowing for operational control in air conditioning systems based on individual thermal sensations, even when the lower end of the object is not included in the image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024151692000001_ABST
    Figure 2024151692000001_ABST
Patent Text Reader

Abstract

To provide a distance detection system capable of detecting a distance to an imaging target that appears in an image.SOLUTION: A distance detection system 10 for detecting a distance to an imaging target captured by an imaging unit 20 includes: an image information acquisition unit 11 which acquires image information including position and size of a reference object on an image, the reference object appearing in the image of an imaging target captured by the imaging unit 20; a reference object information acquisition unit 12 which acquires actual reference object information including actual size of the reference object; an imaging unit information acquisition unit 13 which acquires installation condition parameters including a height from a floor surface at which the imaging unit 20 is installed and an angle in an optical axis direction of the imaging unit 20 with respect to a horizontal direction, and specification condition parameters including a viewing angle of the imaging unit 20; and a distance calculation unit 14 which calculates a distance to the imaging target from the imaging unit 20 on the basis of the image information, the actual reference object information, the installation condition parameters, and the specification condition parameters.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a distance detection system that detects the distance to an object captured by an imaging unit. [Background technology]

[0002] Patent Document 1 discloses a distance measurement means for measuring the distance from a human detection unit provided in an air conditioner to a person. Specifically, if the distance from the human detection unit to the person is D, the distance of a perpendicular line from the human detection unit to the floor surface is H, and the angle between the perpendicular line and a line connecting the human detection unit and the person is θ, the distance from the human detection unit to the person can be calculated as D=H / cosθ. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2018 / 193534 Summary of the Invention [Problem to be solved by the invention]

[0004] The means disclosed in Patent Document 1 is premised on measuring the distance from an imaging unit such as a human detection unit to a person's feet. The imaging unit is often installed in an air conditioner from a relatively high position so as to look down on the person, and the image obtained by the imaging unit may not capture the person's feet. For this reason, the means disclosed in Patent Document 1 may not be able to detect the distance to the imaging target when the bottom of the imaging target, such as a person, is not captured in the image.

[0005] In view of this, the present disclosure provides a distance detection system capable of detecting the distance to an imaging target shown in an image. [Means for solving the problem]

[0006] The distance detection system according to the present disclosure is a distance detection system that detects the distance to an imaging target photographed by an imaging unit, and includes an image information acquisition unit that acquires image information including a position and size on an image of a reference target that appears in an image of the imaging target obtained by photographing the imaging unit, a reference target information acquisition unit that acquires actual reference target information including the actual size of the reference target, an imaging unit information acquisition unit that acquires installation condition parameters including the height from the floor surface of the installation position of the imaging unit and the angle of the optical axis direction of the imaging unit relative to the horizontal direction, and specification condition parameters including the field of view of the imaging unit, and a distance calculation unit that calculates the distance from the imaging unit to the imaging target based on the image information, the actual reference target information, the installation condition parameters, and the specification condition parameters.

[0007] The distance detection system according to the present disclosure is a distance detection system that detects the distance to an image capture target captured by an imaging unit, and includes an image information acquisition unit that acquires image information including a position on the image of the image capture target and a size of an overall length area of ​​the image captured by the imaging unit, an imaging unit information acquisition unit that acquires installation condition parameters including a height from the floor surface of an installation position of the imaging unit and an angle of the optical axis direction of the imaging unit relative to the horizontal direction, and a specification condition parameter including a field of view of the imaging unit, and a distance calculation unit that calculates the distance from the imaging unit to the image capture target based on the image information, the installation condition parameters, and the specification condition parameters.

[0008] The air conditioner according to the present disclosure is connected to the above-mentioned distance detection system and includes a control unit that performs operational control related to air conditioning in accordance with the distance from the imaging unit to the imaging target calculated by the distance detection system.

[0009] The distance detection method disclosed herein is a distance detection method executed by a distance detection system that detects the distance to an imaging target photographed by an imaging unit, and includes an image information acquisition step of acquiring image information including a position and size on an image of a reference target appearing in an image of the imaging target obtained by photographing with the imaging unit, a reference target information acquisition step of acquiring actual reference target information including the actual size of the reference target, an imaging unit information acquisition step of acquiring installation condition parameters including the height from the floor surface of the installation position of the imaging unit and the angle of the optical axis direction of the imaging unit relative to the horizontal direction, and specification condition parameters including the field of view of the imaging unit, and a distance calculation step of calculating the distance from the imaging unit to the imaging target based on the image information, the actual reference target information, the installation condition parameters, and the specification condition parameters.

[0010] The distance detection method disclosed herein is a distance detection method executed by a distance detection system that detects the distance to an imaging target photographed by an imaging unit, and includes an image information acquisition step of acquiring image information including a position on the image of the imaging target and a size of an overall length area thereof that appears in an image obtained by photographing with the imaging unit, an imaging unit information acquisition step of acquiring installation condition parameters including a height from the floor surface of an installation position of the imaging unit and an angle of the optical axis direction of the imaging unit relative to the horizontal direction, and a specification condition parameter including a field of view of the imaging unit, and a distance calculation step of calculating the distance from the imaging unit to the imaging target based on the image information, the installation condition parameters, and the specification condition parameters.

[0011] A program according to the present disclosure is a program for causing a computer to execute the above-described distance detection method.

[0012] These comprehensive or specific aspects may be realized as a system, a method, an integrated circuit, a computer program, or a recording medium such as a computer-readable CD-ROM, or may be realized as any combination of a system, a method, an integrated circuit, a computer program, and a recording medium. Effect of the Invention

[0013] According to the distance detection system and the like of the present disclosure, it is possible to detect the distance to an imaging target shown in an image. [Brief description of the drawings]

[0014] [Figure 1] 1 is a diagram illustrating an example of a configuration of a distance detection system according to a first embodiment. [Diagram 2] FIG. 2 is a diagram for explaining a first example of a distance detection method in the first embodiment. [Diagram 3] FIG. 2 is a diagram showing an example of an image used in a first example of the distance detection method in the first embodiment. [Figure 4] FIG. 11 is a diagram for explaining a second example of the distance detection method in the first embodiment. [Diagram 5] FIG. 11 is a diagram showing an example of an image used in a second example of the distance detection method in the first embodiment. [Figure 6] FIG. 11 is a diagram illustrating an example of a configuration of a distance detection system according to a second embodiment. [Figure 7] FIG. 11 is a diagram for explaining a distance detection method in the second embodiment. [Figure 8] FIG. 11 is a diagram showing an example of an image used in the distance detection method in the second embodiment. [Figure 9] FIG. 11 is an external front view of an air conditioner according to another embodiment. [Figure 10] 13 is a flowchart illustrating an example of a distance detection method according to another embodiment. [Figure 11] 13 is a flowchart illustrating an example of a distance detection method according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, the embodiments will be described in detail with reference to the drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or duplicate explanation of substantially the same configuration may be omitted. This is to avoid the following explanation becoming unnecessarily redundant and to facilitate understanding by those skilled in the art.

[0016] It should be noted that the inventor provides the accompanying drawings and the following description so that those skilled in the art can fully understand the present disclosure, and they are not intended to limit the subject matter described in the claims.

[0017] (Embodiment 1) The distance detection system according to the first embodiment will be described below with reference to FIGS.

[0018] Fig. 1 is a diagram showing an example of a configuration of a distance detection system 10 according to embodiment 1. Fig. 1 also shows an imaging unit 20 in addition to the distance detection system 10. Note that the distance detection system 10 may also include the imaging unit 20.

[0019] The distance detection system 10 is a system for detecting the distance from the imaging unit 20 to the imaging target photographed by the imaging unit 20, and is connected to an air conditioner or mounted on the air conditioner, for example. The distance from the imaging unit 20 to the imaging target may be the distance from the imaging unit 20 to an arbitrary point (for example, the upper end or the lower end) on the imaging target, or may be the horizontal distance (the distance between the imaging unit 20 and the imaging target when the imaging unit 20 and the imaging target are viewed from above). The imaging unit 20 is installed, for example, in a space in which an air conditioner is provided. The imaging unit 20 may be a camera that photographs visible light images, a thermosensor that photographs thermal images, or a LiDAR (Light Detection And Ranging) that acquires point cloud data. For example, the distance detection system 10 outputs the detected distance to the air conditioner. This allows for operation control of air conditioning suitable for the imaging target present in the space.

[0020] The distance detection system 10 includes an image information acquisition unit 11, a reference object information acquisition unit 12, an imaging unit information acquisition unit 13, and a distance calculation unit 14. The distance detection system 10 is a computer including a processor (microprocessor) and a memory. The memory is a ROM (Read Only Memory) and a RAM (Random Access Memory), etc., and can store a program executed by the processor. The image information acquisition unit 11, the reference object information acquisition unit 12, the imaging unit information acquisition unit 13, and the distance calculation unit 14 are realized by a processor that executes a program stored in the memory, etc.

[0021] For example, the distance detection system 10 may be a computer (device) in one housing, or a system made up of multiple computers. Also, for example, the distance detection system 10 may be a server. Note that the components included in the distance detection system 10 may be arranged in one server, or may be distributed and arranged across multiple servers.

[0022] The image information acquisition unit 11 acquires image information including the position and size on the image of a reference object that appears in an image in which an imaging target is captured by the imaging unit 20. The imaging target may be a person or an object other than a person. The reference object may be a body part of the person who is the imaging target that appears in the image, or an object that exists at a position that is the same distance from the imaging unit 20 as the imaging target that appears in the image. Note that "equal" includes not only the case where it is completely equal, but also the case where it is approximately equal. For example, the presence of an object that is the reference object in the vicinity of the imaging target (for example, within 0.5 m) may be defined as the presence of the reference object at a position that is the same distance from the imaging unit 20 as the imaging target that appears in the image. For example, when the space to which the distance detection system 10 is applied is inside a house, the object may be a smartphone carried by the person who is the imaging target, or a mask or glasses worn by the person. Also, for example, when the space to which the distance detection system 10 is applied is not a house (for example, in the case of an office, factory, or commercial facility), the object may be a drink can of a specified size, a desk display, or the like in addition to a smartphone, a mask, or glasses. A method for acquiring the position and size of a reference target on an image will be described later.

[0023] The reference target information acquisition unit 12 acquires real reference target information including the actual size of the reference target. For example, the distance detection system 10 includes a storage unit that stores the real reference target information in advance, and the reference target information acquisition unit 12 acquires the real reference target information from the storage unit.

[0024] For example, when the reference object is a human body part, the size of the specific human body part is stored in the storage unit. For example, since the size of a specific human body part is unlikely to vary from person to person, the actual size can be assumed and determined in advance and stored in the storage unit. Therefore, the actual size of the human body part of the person depicted in the image can be easily obtained.

[0025] For example, the human body part may be the head. For example, the size of a human head is unlikely to vary from person to person. For example, if the subject to be imaged is Japanese, the actual size of the person's head can be assumed to be the average head size of Japanese people (e.g., about 22.5 cm) and stored in a storage unit. Therefore, the actual size of the person's head shown in the image can be easily obtained.

[0026] For example, when the reference object is an object that exists at a position that is the same distance from the imaging unit 20 as the imaging object, the size of the object is stored in the storage unit. For example, the sizes of a smartphone, a mask, glasses, a beverage can, a display, etc. are stored in the storage unit. Note that, when the model numbers or specifications of these objects can be determined from the shapes or printing of these objects captured in the image by image recognition or the like, the sizes of these objects may be stored in the storage unit for each model number or specification of these objects.

[0027] The reference object information acquiring unit 12 may acquire the actual reference object information from a server that stores the actual size of the reference object.

[0028] The imaging unit information acquisition unit 13 acquires installation condition parameters including the height of the installation position of the imaging unit 20 from the floor surface and the angle of the optical axis direction of the imaging unit 20 with respect to the horizontal direction, and specification condition parameters including the viewing angle of the imaging unit 20. The angle of the optical axis direction of the imaging unit 20 with respect to the horizontal direction is, for example, a depression angle, but may be an elevation angle. For example, the storage unit stores the installation condition parameters and the specification condition parameters in advance, and the imaging unit information acquisition unit 13 acquires the installation condition parameters and the specification condition parameters from the storage unit.

[0029] The specification condition parameters include the viewing angle of the imaging unit 20 as well as the number of vertical pixels of an image captured by the imaging unit 20. This makes it possible to calculate the viewing angle per pixel in the vertical direction in the image.

[0030] The imaging unit information acquisition unit 13 may acquire the installation condition parameters and the specification condition parameters from a server or the like that stores the installation condition parameters and the specification condition parameters.

[0031] The distance calculation unit 14 calculates the distance from the imaging unit 20 to the imaging target shown in the image, based on the image information, the real reference target information, the installation condition parameters, and the specification condition parameters.

[0032] Specific examples of the distance detection method will be described below with reference to Examples 1 and 2. First, the first example of the distance detection method will be described.

[0033] Fig. 2 is a diagram for explaining a first example of the distance detection method in the first embodiment. For example, in the first example, an example will be explained in which the imaging target is a person and the reference target is the head of the person. Fig. 2 shows a side view of a space in which the imaging unit 20 is imaging a person 100 from diagonally above. Two dashed lines extending from the imaging unit 20 indicate the range of the field of view of the imaging unit 20. Since the feet of the person 100 are outside this range, the feet of the person 100 are not captured in the image captured by the imaging unit 20.

[0034] Fig. 3 is a diagram showing an example of an image used in the first example of the distance detection method according to Embodiment 1. As shown in Fig. 3, it can be seen that the feet of person 100 are not captured in the image.

[0035] For example, the image information acquisition unit 11 detects a reference object (the head of the person 100) in the image. Although the method for detecting the reference object in the image is not particularly limited, the reference object in the image can be detected by inputting the image into an AI model for detecting objects.

[0036] The image information acquisition unit 11 acquires, as image information, the number of pixels in the vertical direction of the reference object in the image and the number of pixels in the vertical direction from the reference point in the image to the reference object. Here, since the reference object is the head of the person 100, the image information acquisition unit 11 acquires, as image information, the number of pixels in the vertical direction of the head of the person 100 in the image and the number of pixels in the vertical direction from the reference point in the image to the head of the person 100. For example, the reference point is an arbitrary point in the top row of the image. Note that the reference point is not particularly limited as long as the position on the image is known. For example, as shown in FIG. 3, the image information acquisition unit 11 acquires, as image information, the number of pixels in the vertical direction of the head of the person 100 in the image, 19 pixels, and the number of pixels in the vertical direction from the reference point in the image to the head of the person 100, 5 pixels.

[0037] In Figure 2, point F corresponds to the top of the image, point C corresponds to the tip of the head of person 100, line segment CB corresponds to the number of vertical pixels of the head of person 100 (reference object) in the image, and line segment FC corresponds to the number of vertical pixels from the reference point to the head of person 100 in the image.

[0038] The actual size of the head (reference object) of person 100 is the size of line segment CB. The actual size of the head (reference object) of person 100 is, for example, 22.5 cm.

[0039] The height of the installation position of the imaging unit 20 from the floor surface is the height of point A. The height of the installation position of the imaging unit 20 from the floor surface is, for example, 200 cm.

[0040] The horizontal direction is the direction of the line segment AE, and the optical axis direction of the imaging unit 20 relative to the horizontal direction is the direction of the line segment AG. Accordingly, the angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction is angle EAG. The angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction is, for example, 28.3°.

[0041] The viewing angle of the imaging unit 20 is, for example, 42°. Also, the number of vertical pixels of an image captured by the imaging unit 20 is, for example, 120 pixels. As a result, the viewing angle per pixel is 42° / 120 pixels, which is 0.35°.

[0042] From the above information, the distance (for example, horizontal distance) from the imaging unit 20 to the person 100 (image capture target) can be calculated as follows.

[0043] Based on the viewing angle of the imaging unit 20 (specifically, the viewing angle per pixel) and the number of pixels in the vertical direction of the head (reference object) of the person 100 in the image, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and the upper end of the head (reference object) of the person 100 and the line segment connecting the imaging unit 20 and the lower end of the head (reference object) of the person 100. This angle is the angle CAB, and can be calculated as angle CAB = 0.35° × 19 pixels = 6.65°.

[0044] Based on the viewing angle of the imaging unit 20 (specifically, the viewing angle per pixel) and the number of pixels in the vertical direction from a reference point in the image to the head of person 100, distance calculation unit 14 calculates the angle between a line segment connecting the imaging unit 20 to a position corresponding to the top end of the image and a line segment connecting the imaging unit 20 to the top end of the head of person 100. This angle is angle FAC, and can be calculated as angle FAC = 0.35° × 5 pixels = 1.75°.

[0045] Based on the viewing angle of the imaging unit 20, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position corresponding to the upper end of the image and the optical axis direction of the imaging unit 20. This angle is the angle FAG, and can be calculated as angle FAG = 42° / 2 = 21°.

[0046] The distance calculation unit 14 obtains the angle of the optical axis direction of the imaging unit 20 with respect to the horizontal direction. This angle is the angle EAG, and the angle EAG=28.3°.

[0047] Based on the angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction and the angle between the line segment connecting the imaging unit 20 and a position corresponding to the upper end of the image and the optical axis direction of the imaging unit 20, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the position corresponding to the upper end of the image. This angle is the angle EAF, and can be calculated as angle EAF = angle EAG - angle FAG = 7.3°.

[0048] Based on the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the position corresponding to the top end of the image, and the angle between the line segment connecting the imaging unit 20 and the position corresponding to the top end of the image and the line segment connecting the imaging unit 20 and the top end of the head of the person 100, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the top end of the head of the person 100. This angle is the angle EAC, and can be calculated as angle EAC = angle EAF + angle FAC = 9.05°.

[0049] Based on the angle formed by the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the upper end of the head (reference object) of the person 100, and the angle formed by the line segment connecting the imaging unit 20 and the upper end of the head (reference object) of the person 100, and the line segment connecting the imaging unit 20 and the lower end of the head (reference object) of the person 100, the distance calculation unit 14 calculates the angle formed by the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the lower end of the head (reference object) of the person 100. The angle is the angle EAB, and due to the similarity of triangles, it is also the angle DCB, and can be calculated as angle EAB (angle DCB) = angle EAC + angle CAB = 15.7°.

[0050] Based on the actual size of the head of person 100 (reference object) and the angle between a line segment connecting the imaging unit 20 and a position above person 100 corresponding to the height of the installation position of the imaging unit 20 from the floor surface, and a line segment connecting the imaging unit 20 and the bottom end of the head (reference object) of person 100, the distance calculation unit 14 calculates the length of a perpendicular line from the top end of the head of person 100 (reference object) to a line segment connecting the imaging unit 20 and the bottom end of the head of person 100 (reference object). This length is the length of the line segment CD, and can be calculated as line segment CD = actual size of the head of person 100 × cos (angle DCB) = 22.5 × cos (15.7°) = 21.66 [cm].

[0051] The distance calculation unit 14 calculates the length from the imaging unit 20 to the top end of the head of the person 100 (reference target) based on the length of the perpendicular line from the top end of the head of the person 100 (reference target) to the line segment connecting the imaging unit 20 and the bottom end of the head of the person 100 (reference target) and the angle between the line segment connecting the imaging unit 20 and the top end of the head of the person 100 (reference target) and the line segment connecting the imaging unit 20 and the bottom end of the head of the person 100 (reference target). This length is the length of the line segment AC, and can be calculated as line segment AC = line segment CD / sin(angle CAB) = 21.66 / sin(6.65°) = 187.04 [cm].

[0052] Then, the distance calculation unit 14 calculates the length from the imaging unit 20 to the position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 based on the length from the imaging unit 20 to the top end of the head (reference object) of the person 100 and the angle between the line segment connecting the imaging unit 20 and the position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the top end of the head of the person 100. The length is the length of the line segment AE, and can be calculated as line segment AE = line segment AC × cos (angle EAC) = 187.04 × cos (9.05 °) = 184.71 [cm]. The length is the horizontal distance from the imaging unit 20 to the person 100.

[0053] In this way, the distance calculation unit 14 can calculate the distance (e.g., horizontal distance) from the imaging unit 20 to the person 100 appearing in the image, based on the image information (in the first example, the position and size of the head of the person 100 on the image), the actual reference object information (in the first example, the actual size of the head of the person 100), the installation condition parameters, and the specification condition parameters. Note that the distance calculation unit 14 is not limited to the horizontal distance, and can also calculate the distance from the imaging unit 20 to the top of the head of the person 100 (the length of the line segment AC described above: 187.04 [cm]), etc.

[0054] The reference object is not limited to the head, but may be any part of the human body whose size does not vary much from person to person.

[0055] Next, a second example of the distance detection method will be described.

[0056] Fig. 4 is a diagram for explaining a second example of the distance detection method in the first embodiment. For example, in the second example, an example will be explained in which the imaging target is a person, and the reference target is an object that exists at a position that is the same distance from the imaging unit 20 as the person (imaging target). Fig. 4 shows a side view of a space in which the imaging unit 20 is imaging a person 100 from diagonally above. Two dashed lines extending from the imaging unit 20 indicate the range of the field of view of the imaging unit 20. Since the feet of the person 100 are outside this range, the feet of the person 100 are not captured in the image captured by the imaging unit 20.

[0057] Fig. 5 is a diagram showing an example of an image used in a second example of the distance detection method in the first embodiment. As shown in Fig. 5, it can be seen that the feet of person 100 are not captured in the image. Also, as shown in Fig. 5, it can be seen that person 100 is holding object 110 in his / her hand. Object 110 is an object that is present at a position the same distance from imaging unit 20 as person 100, and is, for example, a smartphone.

[0058] For example, the image information acquisition unit 11 detects the head (reference object) of the person 100 in the image. Although the method for detecting the reference object in the image is not particularly limited, the reference object in the image can be detected by inputting the image into an AI model for detecting objects.

[0059] The image information acquisition unit 11 acquires, as image information, the number of pixels in the vertical direction of the reference object in the image, and the number of pixels in the vertical direction from the reference point in the image to the reference object. Here, since the reference object is the object 110, the image information acquisition unit 11 acquires, as image information, the number of pixels in the vertical direction of the object 110 in the image, and the number of pixels in the vertical direction from the reference point in the image to the object 110. For example, the reference point is an arbitrary point in the top row of the image. Note that the reference point is not particularly limited as long as the position on the image is known. For example, as shown in FIG. 5, the image information acquisition unit 11 acquires, as the number of pixels in the vertical direction of the object 110 in the image, 9 pixels, and the number of pixels in the vertical direction from the reference point in the image to the object 110, 75 pixels.

[0060] In Figure 4, point F corresponds to the top of the image, point H corresponds to the tip of the head of person 100, line segment CB corresponds to the number of vertical pixels of object 110 (reference object) in the image, line segment FC corresponds to the number of vertical pixels from the reference point in the image to object 110, and line segment FH corresponds to the number of vertical pixels from the reference point in the image to the head of person 100.

[0061] The actual size of the object 110 (reference object) is the size of the line segment CB. The actual size of the object 110 (reference object) is, for example, 10 cm.

[0062] The height of the installation position of the imaging unit 20 from the floor surface is the height of point A. The height of the installation position of the imaging unit 20 from the floor surface is, for example, 200 cm.

[0063] The horizontal direction is the direction of the line segment AE, and the optical axis direction of the imaging unit 20 relative to the horizontal direction is the direction of the line segment AG. Accordingly, the angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction is angle EAG. The angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction is, for example, 28.3°.

[0064] The viewing angle of the imaging unit 20 is, for example, 42°. Also, the number of vertical pixels of an image captured by the imaging unit 20 is, for example, 120 pixels. As a result, the viewing angle per pixel is 42° / 120 pixels, which is 0.35°.

[0065] From the above information, the distance (for example, horizontal distance) from the imaging unit 20 to the person 100 (image capture target) can be calculated as follows.

[0066] Based on the viewing angle of the imaging unit 20 (specifically, the viewing angle per pixel) and the number of pixels in the vertical direction of the object 110 (reference object), the distance calculation unit 14 calculates the angle between a line segment connecting the imaging unit 20 and the upper end of the object 110 (reference object) and a line segment connecting the imaging unit 20 and the lower end of the object 110. This angle is the angle CAB, and can be calculated as angle CAB = 0.35° × 9 pixels = 3.15°.

[0067] Distance calculation unit 14 calculates the angle between a line segment connecting image capture unit 20 and a position corresponding to the top edge of the image and a line segment connecting image capture unit 20 and the top edge of object 110 (reference object) based on the viewing angle of image capture unit 20 (specifically, the viewing angle per pixel) and the number of pixels in the vertical direction from a reference point in the image to object 110 (reference object). This angle is angle FAC, and can be calculated as angle FAC = 0.35° × 75 pixels = 26.25°.

[0068] Based on the viewing angle of the imaging unit 20, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position corresponding to the upper end of the image and the optical axis direction of the imaging unit 20. This angle is the angle FAG, and can be calculated as angle FAG = 42° / 2 = 21°.

[0069] The distance calculation unit 14 obtains the angle of the optical axis direction of the imaging unit 20 with respect to the horizontal direction. This angle is the angle EAG, and the angle EAG=28.3°.

[0070] Based on the calculation of the angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction and the angle between the line segment connecting the imaging unit 20 and the position corresponding to the upper end of the image and the optical axis direction of the imaging unit 20, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the position corresponding to the upper end of the image. This angle is the angle EAF, and can be calculated as angle EAF = angle EAG - angle FAG = 7.3°.

[0071] Based on the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the position corresponding to the top of the image, and the angle between the line segment connecting the imaging unit 20 and the position corresponding to the top of the image and the line segment connecting the imaging unit 20 and the top of the object 110 (reference object), the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the top of the object 110 (reference object). The angle is the angle EAC, and can be calculated as angle EAC = angle EAF + angle FAC = 33.55°.

[0072] Based on the angle formed by the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the upper end of the object 110 (reference object), and the angle formed by the line segment connecting the imaging unit 20 and the upper end of the object 110 (reference object) and the line segment connecting the imaging unit 20 and the lower end of the object 110, the distance calculation unit 14 calculates the angle formed by the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the lower end of the object 110. The angle is the angle EAB, and due to the similarity of a triangle, it is also the angle DCB, and it can be calculated as angle EAB (angle DCB due to the similarity of a triangle) = angle EAC + angle CAB = 36.7°.

[0073] The distance calculation unit 14 calculates the length of a perpendicular line from the upper end of the object 110 (reference object) to the line segment connecting the imaging unit 20 and the lower end of the object 110 (reference object) based on the actual size of the object 110 (reference object) and the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the lower end of the object 110 (reference object). This length is the length of the line segment CD, and can be calculated as line segment CD = actual size of the object 110 × cos (angle DCB) = 10 × cos (36.7 °) = 8.02 [cm].

[0074] The distance calculation unit 14 calculates the length from the imaging unit 20 to the upper end of the object 110 (reference object) based on the length of the perpendicular line from the upper end of the object 110 (reference object) to the line segment connecting the imaging unit 20 and the lower end of the object 110 (reference object) and the angle between the line segment connecting the imaging unit 20 and the upper end of the object 110 (reference object) and the line segment connecting the imaging unit 20 and the lower end of the object 110 (reference object). This length is the length of the line segment AC, and can be calculated as line segment AC = line segment CD / sin(angle CAB) = 8.02 / sin(3.15°) = 145.95 [cm].

[0075] The distance calculation unit 14 calculates the length from the imaging unit 20 to the position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 based on the length from the imaging unit 20 to the top end of the object 110 (reference object) and the angle between the line segment connecting the imaging unit 20 to the position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 to the top end of the object 110 (reference object). The length is the length of the line segment AE, and can be calculated as line segment AE = line segment AC × cos (angle EAC) = 145.95 × cos (33.55 °) = 121.64 [cm]. The length is the horizontal distance from the imaging unit 20 to the person 100.

[0076] In this way, the distance calculation unit 14 can calculate the distance (e.g., horizontal distance) of the person 100 appearing in the image from the imaging unit 20 based on the image information (in the second example, the position and size of the object 110 on the image), the actual reference object information (in the second example, the actual size of the object 110), the installation condition parameters and the specification condition parameters.

[0077] It should be noted that the distance from the imaging unit 20 to the top of the head of the person 100 can be calculated in addition to the horizontal distance. Specifically, the distance from the imaging unit 20 to the top of the head of the person 100 can be calculated as follows.

[0078] Based on the viewing angle of the imaging unit 20 (specifically, the viewing angle per pixel) and the number of pixels in the vertical direction from a reference point in the image to the head of person 100, the distance calculation unit 14 calculates the angle between a line segment connecting the imaging unit 20 to a position corresponding to the top end of the image and a line segment connecting the imaging unit 20 to the top end of the head of person 100. This angle is angle FAH, and can be calculated as angle FAH = 0.35° × 5 pixels = 1.75°.

[0079] Based on the angle between the line segment connecting the imaging unit 20 and a position on the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the position corresponding to the top end of the image, and the angle between the line segment connecting the imaging unit 20 and the position corresponding to the top end of the image and the line segment connecting the imaging unit 20 and the top end of the head of the person 100, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the top end of the head of the person 100. The angle is the angle EAH, and can be calculated as angle EAH = angle EAF + angle FAH = 9.05°.

[0080] Distance calculation unit 14 calculates the distance from imaging unit 20 to the top of the head of person 100 based on the length from imaging unit 20 to a position above person 100 corresponding to the height from the floor surface of the installation position of imaging unit 20, and the angle between a line segment connecting imaging unit 20 to a position above person 100 corresponding to the height from the floor surface of the installation position of imaging unit 20, and a line segment connecting imaging unit 20 to the top of the head of person 100. The distance is the length of line segment AH, and can be calculated as line segment AH = line segment AE / cos(angle EAH) = 121.64 / cos(9.05°) = 123.17 [cm].

[0081] As described above, if the position and size of the reference object on the image, the actual size of the reference object, and the installation conditions and specifications of the imaging unit are known, it is possible to detect the distance of the imaging object (e.g., person 100) from the imaging unit 20 that appears in the image. In particular, even if the bottom end of the imaging object (e.g., the feet of person 100) is not shown in the image, it is possible to detect the distance from the imaging unit 20 to the imaging object.

[0082] For example, when the subject of imaging is a person 100, by detecting the distance from the imaging unit 20 to the person 100, the area per pixel of the image can be estimated, the weight of the person 100 can be estimated from the estimated area per pixel, and the amount of heat production of the person 100 can be estimated from the estimated weight of the person 100. Furthermore, if the amount of heat dissipation of the person 100 can be estimated by any method, the thermal sensation of the person 100 can be estimated from the balance between the estimated amount of heat dissipation and amount of heat production of the person 100. Therefore, by detecting the distance from the imaging unit 20 to the person 100, the thermal sensation of the person 100 can be estimated for each individual.

[0083] For example, if a person 100 appearing in an image is holding an object 110, the distance of the person 100 appearing in the image from the imaging unit 20 can be detected from the actual size of the object 110.

[0084] (Embodiment 2) The distance detection system according to the second embodiment will be described below with reference to FIGS.

[0085] FIG. 6 is a diagram illustrating an example of a configuration of a distance detection system 10a according to the second embodiment.

[0086] Distance detection system 10a according to embodiment 2 differs from distance detection system 10 according to embodiment 1 in that it does not include a reference object information acquisition unit 12. The following will mainly describe the differences from distance detection system 10 according to embodiment 1, and basically omit a description of the same points. Note that in embodiment 2, it is assumed that the entire image capture target is captured on the image.

[0087] The image information acquisition unit 11 acquires image information including the position on the image of the imaging target shown in the image obtained by shooting with the imaging unit 20 and the size of the total length area. In the second embodiment, if the entire imaging target is shown on the image, it is not necessary to acquire the position and size on the image of the reference target as in the first embodiment. Accordingly, it is not necessary to acquire actual reference target information including the actual size of the reference target. For this reason, in the second embodiment, the distance detection system 10a does not include the reference target information acquisition unit 12.

[0088] The imaging unit information acquisition unit 13 acquires installation condition parameters including the height from the floor surface of the installation position of the imaging unit 20 and the angle of the optical axis direction of the imaging unit 20 with respect to the horizontal direction, and specification condition parameters including the viewing angle of the imaging unit 20. The installation condition parameters and specification condition parameters in the second embodiment are the same as those in the first embodiment, and therefore description thereof will be omitted.

[0089] The distance calculation unit 14 calculates the distance from the imaging unit 20 to the imaging target based on the image information, the installation condition parameters, and the specification condition parameters.

[0090] Next, a specific example of the distance detection method according to the second embodiment will be described.

[0091] Fig. 7 is a diagram for explaining a distance detection method in the second embodiment. In the second embodiment, an example will be described in which the imaging target is a person. Fig. 7 shows a side view of a space in which the imaging unit 20 is imaging a person 100 from diagonally above. Two dashed lines extending from the imaging unit 20 indicate the range of the field of view of the imaging unit 20. Since the person 100 is within this range, the entire body of the person 100 (i.e. the entire imaging target) appears in the image captured by the imaging unit 20.

[0092] Fig. 8 is a diagram showing an example of an image used in the distance detection method according to the embodiment 2. As shown in Fig. 8, it can be seen that the entire body of a person 100 is captured in the image.

[0093] For example, the image information acquisition unit 11 detects an imaging target (person 100) in an image. Although the method of detecting an imaging target in an image is not particularly limited, the imaging target in an image can be detected by inputting the image into an AI model for detecting objects.

[0094] The image information acquisition unit 11 acquires, as image information, the number of pixels in the vertical direction of the person 100 in the image, and the number of pixels in the vertical direction from a reference point in the image to the person 100. For example, the reference point is an arbitrary point in the top row of the image. For example, as image information, the image information acquisition unit 11 acquires, as shown in Fig. 8, the number of pixels in the vertical direction of the person 100 in the image, 100 pixels, and the number of pixels in the vertical direction from the reference point in the image to the person 100. Note that the reference point is not particularly limited as long as the position on the image is known.

[0095] In Figure 7, point B corresponds to the top of the image, point C corresponds to the tip of the head of person 100, point D corresponds to the tip of the feet of person 100, line segment CD corresponds to the number of vertical pixels in the body region of person 100 in the image, and line segment BC corresponds to the number of vertical pixels from a reference point in the image to the head of person 100.

[0096] The height of the installation position of the imaging unit 20 from the floor surface is the height of point A. The height of the installation position of the imaging unit 20 from the floor surface is, for example, 200 cm.

[0097] The horizontal direction is the direction of the line segment AE, and the optical axis direction of the imaging unit 20 relative to the horizontal direction is the direction of the line segment AF. Accordingly, the angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction is angle EAF. The angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction is, for example, 28.3°.

[0098] The viewing angle of the imaging unit 20 is, for example, 42°. Also, the number of vertical pixels of an image captured by the imaging unit 20 is, for example, 120 pixels. As a result, the viewing angle per pixel is 42° / 120 pixels, which is 0.35°.

[0099] From the above information, the distance (for example, horizontal distance) from the imaging unit 20 to the person 100 (image capture target) can be calculated as follows.

[0100] The distance calculation unit 14 obtains the angle of the optical axis direction of the imaging unit 20 with respect to the horizontal direction. This angle is the angle EAF, and the angle EAF=28.3°.

[0101] Based on the viewing angle of the imaging unit 20, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position corresponding to the upper end of the image and the optical axis direction of the imaging unit 20. This angle is the angle BAF, and can be calculated as angle BAF = 42° / 2 = 21°.

[0102] Based on the calculation of the angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction and the angle between the line segment connecting the imaging unit 20 and the position corresponding to the upper end of the image and the optical axis direction of the imaging unit 20, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor of the installation position of the imaging unit 20, and the line segment connecting the imaging unit 20 and the position corresponding to the upper end of the image. This angle is the angle EAB, and can be calculated as angle EAB = angle EAF - angle BAF = 28.3° - 21° = 7.3°.

[0103] Based on the viewing angle of the imaging unit 20 (specifically, the viewing angle per pixel), the number of vertical pixels in the human body region of the person 100, and the number of vertical pixels from a reference point in the image to the head of the person 100, the distance calculation unit 14 calculates the angle between a line segment connecting the imaging unit 20 to a position corresponding to the upper end of the image and a line segment connecting the imaging unit 20 to the lower end of the person 100. This angle is the angle BAD, and can be calculated as angle BAD = 0.35 × (100 pixels + 5 pixels) = 36.75°.

[0104] Based on the angle formed by the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the position corresponding to the upper end of the image, and the angle formed by the line segment connecting the imaging unit 20 and the position corresponding to the upper end of the image and the line segment connecting the imaging unit 20 and the lower end of the person 100, the distance calculation unit 14 calculates the angle formed by the line segment connecting the imaging unit 20 and the position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the lower end of the person 100. The angle is the angle EAD, and can be calculated as angle EAD = angle EAB + angle BAD = 7.3° + 36.75° = 44.05°.

[0105] The distance calculation unit 14 calculates the length from the imaging unit 20 to a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 based on the height from the floor surface of the installation position of the imaging unit 20 and the angle formed between a line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20, and a line segment connecting the imaging unit 20 and the lower end of the person 100. The length is the length of the line segment AE, and can be calculated as line segment AE = height of point A / tan (angle EAD) = 200 / tan (44.05 °) = 206.74 [cm]. The length is the horizontal distance from the imaging unit 20 to the person 100.

[0106] In this way, the distance calculation section 14 can calculate the distance (for example, horizontal distance) from the imaging section 20 to the person 100 appearing in the image, based on the image information, the installation condition parameters, and the specification condition parameters.

[0107] In addition to the horizontal distance, the distance from the imaging unit 20 to the top of the head of the person 100 (the top of the imaged subject) or the distance from the imaging unit 20 to the bottom of the person 100 (the bottom of the imaged subject) can also be calculated.

[0108] Specifically, the distance from the imaging unit 20 to the top of the head of the person 100 can be calculated as follows.

[0109] Based on the viewing angle of the imaging unit 20 (specifically, the viewing angle per pixel) and the number of pixels in the vertical direction from a reference point in the image to the head of person 100, distance calculation unit 14 calculates the angle between a line segment connecting the imaging unit 20 to a position corresponding to the top end of the image and a line segment connecting the imaging unit 20 to the top end of the head of person 100. This angle is angle BAC, and can be calculated as angle BAC = 0.35° × 5 pixels = 1.75°.

[0110] Based on the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the position corresponding to the top end of the image, and the angle between the line segment connecting the imaging unit 20 and the position corresponding to the top end of the image and the line segment connecting the imaging unit 20 and the top end of the head of the person 100, the distance calculation unit 14 calculates the angle between the line segment connecting the imaging unit 20 and a position above the person 100 corresponding to the height from the floor surface of the installation position of the imaging unit 20 and the line segment connecting the imaging unit 20 and the top end of the head of the person 100. The angle is the angle EAC, and can be calculated as angle EAC = angle EAB + angle BAC = 7.3° + 1.75° = 9.05°.

[0111] Distance calculation unit 14 calculates the distance from imaging unit 20 to the top of the head of person 100 based on the length from imaging unit 20 to a position above person 100 corresponding to the height from the floor surface of the installation position of imaging unit 20, and the angle between a line segment connecting imaging unit 20 to a position above person 100 corresponding to the height from the floor surface of the installation position of imaging unit 20, and a line segment connecting imaging unit 20 to the top of the head of person 100. The distance is the length of line segment AC, and can be calculated as line segment AC = line segment AE / cos(angle EAC) = 206.74 / cos(9.05°) = 209.35 [cm].

[0112] Moreover, the distance from the imaging unit 20 to the lower end of the person 100 can be calculated as follows.

[0113] Distance calculation unit 14 calculates the distance from imaging unit 20 to the lower end of person 100 based on the length from imaging unit 20 to a position above person 100 corresponding to the height from the floor surface of the installation position of imaging unit 20, and the angle between a line segment connecting imaging unit 20 to a position above person 100 corresponding to the height from the floor surface of the installation position of imaging unit 20, and a line segment connecting imaging unit 20 to the lower end of person 100. The distance is the length of line segment AD, and can be calculated as line segment AD = line segment AE / cos(angle EAD) = 206.74 / cos(44.05) = 287.64 [cm].

[0114] As described above, if the size of the entire image of the image target (person 100) on the image and the installation conditions and specifications of the imaging unit 20 are known, the distance of the image target from the imaging unit 20 to the image target can be detected. In particular, even if the reference object whose actual size is known is not shown in the image, if the entire image target placed on the floor is shown, the distance from the imaging unit 20 to the image target can be detected. For example, if the image target is person 100, the area per pixel of the image can be estimated by detecting the distance from the imaging unit 20 to the person 100, and the weight of person 100 can be estimated from the estimated area per pixel, and further, the heat production of person 100 can be estimated from the estimated weight of person 100. In addition, if the heat dissipation of person 100 can be estimated by any method, the thermal sensation of person 100 can be estimated from the balance between the estimated heat dissipation and heat production of person 100. Therefore, the thermal sensation of person 100 can be estimated for each individual by detecting the distance from the imaging unit 20 to person 100.

[0115] (Other embodiments) As described above, the embodiments have been described as examples of the technology disclosed in this application. However, the technology in this disclosure is not limited to these, and can be applied to embodiments in which modifications, substitutions, additions, omissions, etc. are appropriately made. In addition, it is also possible to combine the components described in the above embodiments to create new embodiments.

[0116] For example, the present disclosure can be realized not only as the distance detection system 10 or 10a, but also as an air conditioner.

[0117] FIG. 9 is an external front view of an air conditioner 200 according to another embodiment.

[0118] The air conditioner 200 is connected to the distance detection system 10 or 10a, and includes a control unit (not shown) that performs operational control related to air conditioning in accordance with the distance from the imaging unit 20 to the imaging target calculated by the distance detection system 10 or 10a. For example, the air conditioner 200 can perform operational control related to air conditioning in accordance with each individual's thermal sensation.

[0119] For example, the air conditioner 200 may be equipped with the distance detection system 10 or 10a, and as shown in Fig. 9, the distance detection system 10 or 10a may be built into the air conditioner 200. When the distance detection system 10 or 10a is equipped in the air conditioner 200, the distance detection system 10 or 10a becomes a device whose components are provided in one housing, or a system whose components are distributed across multiple housings within the air conditioner 200.

[0120] For example, the present disclosure can be realized not only as the distance detection system 10 or 10a, but also as a distance detection method including steps (processing) performed by components that make up the distance detection system 10 or 10a.

[0121] 10 and 11 are flowcharts showing an example of a distance detection method according to another embodiment.

[0122] The distance detection method is a method executed by the distance detection system 10 which detects the distance to an imaging target photographed by the imaging unit 20, and as shown in FIG. 10, includes an image information acquisition step (step S11) of acquiring image information including the position and size on the image of a reference target appearing in an image of the imaging target obtained by photographing with the imaging unit 20, a reference target information acquisition step (step S12) of acquiring actual reference target information including the actual size of the reference target, an imaging unit information acquisition step (step S13) of acquiring installation condition parameters including the height from the floor surface of the installation position of the imaging unit 20 and the angle of the optical axis direction of the imaging unit 20 relative to the horizontal direction, and specification condition parameters including the field of view of the imaging unit 20, and a distance calculation step (step S14) of calculating the distance from the imaging unit 20 to the imaging target based on the image information, the actual reference target information, the installation condition parameters, and the specification condition parameters.

[0123] In addition, the distance detection method is a method executed by distance detection system 10a that detects the distance to an image capture target photographed by imaging unit 20, and includes, as shown in FIG. 11, an image information acquisition step (step S21) of acquiring image information including the position on the image of the image capture target and the size of the total length area of ​​the image captured by imaging unit 20, an imaging unit information acquisition step (step S22) of acquiring installation condition parameters including the height of the installation position of imaging unit 20 from the floor and the angle of the optical axis direction of imaging unit 20 relative to the horizontal direction, and specification condition parameters including the field of view of imaging unit 20, and a distance calculation step (step S23) of calculating the distance from imaging unit 20 to the image capture target based on the image information, the installation condition parameters, and the specification condition parameters.

[0124] Since the distance detection method is a method executed by distance detection system 10 or 10a, the processing performed by image information acquisition unit 11 described in the above embodiment corresponds to the image information acquisition step, the processing performed by reference object information acquisition unit 12 corresponds to the reference object information acquisition step, the processing performed by imaging unit information acquisition unit 13 corresponds to the imaging unit information acquisition step, and the processing performed by distance calculation unit 14 corresponds to the distance calculation step.

[0125] For example, the present disclosure may be realized as a program for causing a computer (processor) to execute steps included in the distance detection method. Furthermore, the present disclosure may be realized as a non-transitory computer-readable recording medium, such as a CD-ROM, on which the program is recorded.

[0126] For example, when the present disclosure is realized by a program (software), each step is executed by executing the program using hardware resources such as a computer's CPU, memory, input / output circuit, etc. In other words, each step is executed by the CPU acquiring data from the memory or input / output circuit, etc., performing calculations, and outputting the calculation results to the memory or input / output circuit, etc.

[0127] In the above embodiment, each component included in the distance detection system 10 or 10a may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.

[0128] A part or all of the functions of the distance detection system 10 or 10a according to the above embodiment are typically realized as an LSI, which is an integrated circuit. These may be individually integrated into one chip, or may be integrated into one chip that includes some or all of the functions. The integrated circuit is not limited to an LSI, and may be realized by a dedicated circuit or a general-purpose processor. An FPGA (Field Programmable Gate Array) that can be programmed after the LSI is manufactured, or a reconfigurable processor that can reconfigure the connections and settings of circuit cells inside the LSI may be used.

[0129] Furthermore, if an integrated circuit technology that can replace LSI emerges due to advances in semiconductor technology or a different derivative technology, the components included in the distance detection system 10 or 10a may naturally be integrated using that technology.

[0130] In addition, the present disclosure also includes forms obtained by applying various modifications to the embodiments that a person skilled in the art may conceive, and forms realized by arbitrarily combining the components and functions of each embodiment within the scope that does not deviate from the spirit of the present disclosure.

[0131] (Additional Note) The above description of the embodiments discloses the following techniques.

[0132] (Technology 1) A distance detection system that detects a distance to an imaging target captured by an imaging unit, comprising: an image information acquisition unit that acquires image information including a position and size on an image of a reference target that appears in an image of the imaging target obtained by imaging with the imaging unit; a reference target information acquisition unit that acquires actual reference target information including an actual size of the reference target; an imaging unit information acquisition unit that acquires installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of the optical axis direction of the imaging unit relative to the horizontal direction, and a specification condition parameter including a field of view of the imaging unit; and a distance calculation unit that calculates the distance from the imaging unit to the imaging target based on the image information, the actual reference target information, the installation condition parameters, and the specification condition parameters.

[0133] According to this, if the position and size of the reference object on the image, the actual size of the reference object, and the installation conditions and specifications of the imaging unit are known, it is possible to detect the distance of the imaging object from the imaging unit to the imaging object shown in the image. In particular, even if the bottom end of the imaging object is not shown in the image, it is possible to detect the distance from the imaging unit to the imaging object.

[0134] (Technology 2) The distance detection system described in Technology 1, wherein the image information acquisition unit detects the reference object in the image, and acquires, as the image information, the number of pixels in the vertical direction of the reference object in the image, and the number of pixels in the vertical direction from a reference point in the image to the reference object.

[0135] In this way, the position and size of the reference object on the image can be obtained.

[0136] (Technology 3) The distance detection system according to Technology 1 or 2, wherein the imaging target is a person, and the reference target is a body part of the person.

[0137] For example, since the size of a specific human body part is unlikely to vary from person to person, the actual size can be assumed and determined in advance. Therefore, the actual size of the human body part of the person shown in the image can be easily obtained. In addition, by detecting the distance from the imaging unit to the person, the area per pixel of the image can be estimated, and the weight of the person can be estimated from the estimated area per pixel, and further, the heat production of the person can be estimated from the estimated weight of the person. In addition, if the heat dissipation of a person can be estimated by any method, the thermal sensation of the person can be estimated from the balance between the estimated heat dissipation and heat production of the person. Therefore, by detecting the distance from the imaging unit to the person, the thermal sensation of the person can be estimated for each individual.

[0138] (Technology 4) The distance detection system according to Technology 3, wherein the human body part is a head.

[0139] For example, the size of a person's head is unlikely to vary from person to person. For example, if the subject to be imaged is Japanese, the actual size of the person's head can be determined in advance by assuming that it is the average head size of Japanese people (e.g., about 22.5 cm). Therefore, the actual size of the person's head shown in the image can be easily obtained.

[0140] (Technology 5) The distance detection system according to Technology 1 or 2, wherein the reference object is an object that exists at a position that is the same distance from the imaging unit as the imaging object.

[0141] For example, if there is an object whose distance from the imaging unit is equal to that of the imaging target, the distance from the imaging unit to the imaging target shown in the image can be detected from the actual size of this object.

[0142] (Technology 6) A distance detection system that detects the distance to an object captured by an imaging unit, comprising: an image information acquisition unit that acquires image information including a position on the image of the object captured by the imaging unit and a size of an overall length area of ​​the object; an imaging unit information acquisition unit that acquires installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of the optical axis direction of the imaging unit relative to the horizontal direction, and a specification condition parameter including a viewing angle of the imaging unit; and a distance calculation unit that calculates the distance from the imaging unit to the object based on the image information, the installation condition parameters, and the specification condition parameters.

[0143] According to this, if the size of the entire image of the imaging target on the image, and the installation conditions and specifications of the imaging unit are known, the distance of the imaging target from the imaging unit that appears in the image can be detected. In particular, even if the reference object whose actual size is known is not shown in the image, if the entire imaging target placed on the floor is shown, the distance from the imaging unit to the imaging target can be detected. For example, if the imaging target is a person, the area per pixel of the image can be estimated by detecting the distance from the imaging unit to the person, the weight of the person can be estimated from the estimated area per pixel, and the heat production of the person can be estimated from the estimated weight of the person. In addition, if the heat dissipation of a person can be estimated by any method, the thermal sensation of the person can be estimated from the balance between the estimated heat dissipation and heat production of the person. Therefore, the thermal sensation of a person can be estimated for each individual by detecting the distance from the imaging unit to the person.

[0144] (Technology 7) The distance detection system described in Technology 6, wherein the image information acquisition unit detects the imaging target in the image and acquires, as the image information, the number of pixels in the vertical direction of the imaging target in the image and the number of pixels in the vertical direction from a reference point in the image to the imaging target.

[0145] In this way, the position and size of the imaging target on the image can be obtained.

[0146] (Technology 8) An air conditioner, comprising a control unit connected to a distance detection system described in any one of Technologies 1 to 7, and performing operational control related to air conditioning in accordance with the distance from the imaging unit to the imaging target calculated by the distance detection system.

[0147] This makes it possible to provide an air conditioner that can perform operational control related to air conditioning in accordance with each individual's thermal sensation, for example.

[0148] (Technology 9) A distance detection method executed by a distance detection system that detects the distance to an imaging target photographed by an imaging unit, the distance detection method including: an image information acquisition step of acquiring image information including a position and size on an image of a reference target appearing in an image of the imaging target obtained by photographing with the imaging unit; a reference target information acquisition step of acquiring actual reference target information including an actual size of the reference target; an imaging unit information acquisition step of acquiring installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of the optical axis direction of the imaging unit relative to the horizontal direction, and a specification condition parameter including a field of view of the imaging unit; and a distance calculation step of calculating the distance from the imaging unit to the imaging target based on the image information, the actual reference target information, the installation condition parameters, and the specification condition parameters.

[0149] According to this, if the position and size of the reference object on the image, the actual size of the reference object, and the installation conditions and specifications of the imaging unit are known, it is possible to detect the distance of the imaging object from the imaging unit to the imaging object shown in the image. In particular, even if the bottom end of the imaging object is not shown in the image, it is possible to detect the distance from the imaging unit to the imaging object.

[0150] (Technology 10) A distance detection method described in Technology 9, in which the image information acquisition step detects the reference object in the image, and acquires, as the image information, the number of pixels in the vertical direction of the reference object in the image, and the number of pixels in the vertical direction from a reference point in the image to the reference object.

[0151] In this way, the position and size of the reference object on the image can be obtained.

[0152] (Technology 11) The distance detection method according to Technology 9 or 10, wherein the imaging target is a person, and the reference target is a body part of the person.

[0153] For example, since the size of a specific human body part is unlikely to vary from person to person, the actual size can be assumed and determined in advance. Therefore, the actual size of the human body part of the person shown in the image can be easily obtained. In addition, by detecting the distance from the imaging unit to the person, the area per pixel of the image can be estimated, and the weight of the person can be estimated from the estimated area per pixel, and further, the heat production of the person can be estimated from the estimated weight of the person. In addition, if the heat dissipation of a person can be estimated by any method, the thermal sensation of the person can be estimated from the balance between the estimated heat dissipation and heat production of the person. Therefore, by detecting the distance from the imaging unit to the person, the thermal sensation of the person can be estimated for each individual.

[0154] (Technology 12) The distance detection method according to Technology 11, wherein the human body part is a head.

[0155] For example, the size of a person's head is unlikely to vary from person to person. For example, if the subject to be imaged is Japanese, the actual size of the person's head can be determined in advance by assuming that it is the average head size of Japanese people (e.g., about 22.5 cm). Therefore, the actual size of the person's head shown in the image can be easily obtained.

[0156] (Technology 13) The distance detection method according to Technology 9 or 10, wherein the reference object is an object that exists at a position that is the same distance from the imaging unit as the imaging object.

[0157] For example, if there is an object whose distance from the imaging unit is equal to that of the imaging target, the distance from the imaging unit to the imaging target shown in the image can be detected from the actual size of this object.

[0158] (Technology 14) A distance detection method executed by a distance detection system that detects a distance to an image of an object captured by an imaging unit, the distance detection method including: an image information acquisition step of acquiring image information including a position on the image of the object captured by the imaging unit and a size of an overall length area of ​​the object; an imaging unit information acquisition step of acquiring installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of the optical axis direction of the imaging unit relative to the horizontal direction, and a specification condition parameter including a field of view of the imaging unit; and a distance calculation step of calculating the distance from the imaging unit to the object based on the image information, the installation condition parameters, and the specification condition parameters.

[0159] According to this, if the size of the entire image of the imaging target on the image, and the installation conditions and specifications of the imaging unit are known, the distance of the imaging target from the imaging unit that appears in the image can be detected. In particular, even if the reference object whose actual size is known is not shown in the image, if the entire imaging target placed on the floor is shown, the distance from the imaging unit to the imaging target can be detected. For example, if the imaging target is a person, the area per pixel of the image can be estimated by detecting the distance from the imaging unit to the person, the weight of the person can be estimated from the estimated area per pixel, and the heat production of the person can be estimated from the estimated weight of the person. In addition, if the heat dissipation of a person can be estimated by any method, the thermal sensation of the person can be estimated from the balance between the estimated heat dissipation and heat production of the person. Therefore, the thermal sensation of a person can be estimated for each individual by detecting the distance from the imaging unit to the person.

[0160] (Technology 15) The distance detection method described in Technology 14, in which the image information acquisition step detects the imaging target in the image, and acquires, as the image information, the number of pixels in the vertical direction of the imaging target in the image and the number of pixels in the vertical direction from a reference point in the image to the imaging target.

[0161] In this way, the position and size of the imaging target on the image can be obtained.

[0162] (Technical 16) A program for causing a computer to execute the distance detection method according to any one of Technical 9 to Technical 15.

[0163] This makes it possible to provide a program that can detect the distance to a target image captured in an image. [Industrial Applicability]

[0164] The present disclosure can be applied to systems and air conditioners that use images to detect the distance to an image capture target. [Explanation of symbols]

[0165] 10, 10a Distance detection system 11 Image information acquisition section 12. Reference object information acquisition unit 13. Imaging unit information acquisition unit 14 Distance calculation unit 20 Imaging unit 100 people 110 Object 200 Air conditioner

Claims

1. A distance detection system that detects a distance to an object photographed by an imaging unit, an image information acquisition unit that acquires image information including a position and a size on an image of a reference object captured in the image of the imaging object obtained by photographing the image capturing unit; a reference object information acquisition unit for acquiring actual reference object information including an actual size of the reference object; an imaging unit information acquisition unit that acquires installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of an optical axis direction of the imaging unit with respect to a horizontal direction, and a specification condition parameter including a viewing angle of the imaging unit; a distance calculation unit that calculates a distance from the imaging unit to the imaging target based on the image information, the real reference target information, the installation condition parameters, and the specification condition parameters. Distance sensing system.

2. The image information acquisition unit Detecting the reference object in the image; As the image information, the number of pixels in the vertical direction of the reference object in the image and the number of pixels in the vertical direction from a reference point to the reference object in the image are obtained. The distance sensing system of claim 1 .

3. the imaging target is a person, The reference object is a body part of the person. The distance sensing system of claim 1 .

4. The human body part is the head. The distance sensing system of claim 3 .

5. The reference object is an object that exists at a position that is the same distance from the imaging unit as the imaging object. The distance sensing system of claim 1 .

6. A distance detection system that detects a distance to an object photographed by an imaging unit, an image information acquisition unit that acquires image information including a position on the image and a size of an overall length area of ​​the object captured in the image obtained by photographing the object; an imaging unit information acquisition unit that acquires installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of an optical axis direction of the imaging unit with respect to a horizontal direction, and a specification condition parameter including a viewing angle of the imaging unit; a distance calculation unit that calculates a distance from the imaging unit to the imaging target based on the image information, the installation condition parameters, and the specification condition parameters. Distance sensing system.

7. The image information acquisition unit Detecting the imaging target in the image; As the image information, the number of pixels in the vertical direction of the imaging target in the image and the number of pixels in the vertical direction from a reference point to the imaging target in the image are acquired. The distance sensing system according to claim 6.

8. A distance detection system according to any one of claims 1 to 7 is connected to the distance detection system, A control unit performs operation control regarding air conditioning according to the distance from the imaging unit to the imaging target calculated by the distance detection system. Air conditioner.

9. A distance detection method executed by a distance detection system that detects a distance to an object photographed by an imaging unit, comprising: an image information acquisition step of acquiring image information including a position and a size on an image of a reference object captured in the image of the imaging object obtained by photographing the image capturing unit; a reference object information acquisition step of acquiring actual reference object information including an actual size of the reference object; an imaging unit information acquisition step of acquiring installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of an optical axis direction of the imaging unit with respect to a horizontal direction, and a specification condition parameter including a viewing angle of the imaging unit; a distance calculation step of calculating a distance from the imaging unit to the imaging target based on the image information, the real reference target information, the installation condition parameters, and the specification condition parameters. Distance detection method.

10. In the image information acquisition step, Detecting the reference object in the image; As the image information, the number of pixels in the vertical direction of the reference object in the image and the number of pixels in the vertical direction from a reference point to the reference object in the image are obtained. The distance detection method according to claim 9.

11. the imaging target is a person, The reference object is a body part of the person. The distance detection method according to claim 9.

12. The human body part is the head. The distance detection method according to claim 11.

13. The reference object is an object that exists at a position that is the same distance from the imaging unit as the imaging object. The distance detection method according to claim 9.

14. A distance detection method executed by a distance detection system that detects a distance to an object photographed by an imaging unit, comprising: an image information acquisition step of acquiring image information including a position on the image and a size of an area of ​​the entire length of the object captured in the image obtained by photographing with the imaging unit; an imaging unit information acquisition step of acquiring installation condition parameters including a height from a floor surface of an installation position of the imaging unit and an angle of an optical axis direction of the imaging unit with respect to a horizontal direction, and a specification condition parameter including a viewing angle of the imaging unit; a distance calculation step of calculating a distance from the imaging unit to the imaging target based on the image information, the installation condition parameters, and the specification condition parameters. Distance detection method.

15. In the image information acquisition step, Detecting the imaging target in the image; As the image information, the number of pixels in the vertical direction of the imaging target in the image and the number of pixels in the vertical direction from a reference point to the imaging target in the image are acquired. The distance detection method according to claim 14.

16. A program for causing a computer to execute the distance detection method according to any one of claims 9 to 15.

Citation Information

Patent Citations

  • Air conditioning indoor unit

    WO2018193534A1