Position estimation device
The position estimation device uses point light sources to determine triangles and viewpoint direction vectors for precise indoor positioning, overcoming GPS limitations with high accuracy and cost-effectiveness.
Patent Information
- Application Number
- JP2023052165
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
AI Technical Summary
Conventional position estimation technologies, such as GPS, struggle to provide accurate position information in environments where satellite signals are unavailable, such as indoor closed spaces.
A position estimation device that utilizes a group of identifiable point light sources, capturing images of these sources to determine triangles, and estimating the shooting position based on the shape and distance between viewpoint direction vectors derived from these triangles.
Enables accurate position estimation in indoor environments by leveraging captured images of point light sources, providing high precision and cost-effective solutions without relying on radio communication, suitable for various indoor and outdoor spaces.
Smart Images

Figure 2024140820000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE The present invention relates to a position estimation device. [Background technology]
[0002] Conventionally, there have been provided techniques for estimating a position using various information. For example, in an outdoor open space, there has been provided a technique for obtaining position information using information from a Global Positioning System (GPS) using satellite radio waves (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2022-044671 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, there is room for improvement in the above-mentioned conventional technology. For example, the above-mentioned conventional technology has a problem that it is difficult to estimate position information in an environment where GPS information cannot be used, such as an indoor closed space, and it is therefore desirable to estimate an appropriate position using a method other than GPS.
[0005] An object of the present invention is to provide a position estimation device that enables appropriate position estimation. [Means for solving the problem]
[0006] The position estimation device of this embodiment has a memory unit that stores information regarding the position of each of a group of identifiable point light sources, an acquisition unit that acquires a captured image in which multiple point light sources among the group of point light sources are captured, a determination unit that determines multiple triangles formed by the multiple point light sources in the captured image, and an estimation unit that estimates the shooting position at which the captured image was captured based on the position and shape of each of the multiple triangles determined by the determination unit. Effect of the Invention
[0007] According to the present invention, it is possible to provide an appropriate location estimation. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing a position estimation system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a position estimation process according to the embodiment. [Diagram 3] FIG. 3 is a block diagram showing a configuration of a light flashing device according to an embodiment. [Figure 4] FIG. 4 is a block diagram showing a configuration of a terminal device according to the embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of information stored in a pattern list information storage unit according to the embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of information stored in a light source information storage unit according to the embodiment. [Figure 7] FIG. 7 is a flowchart showing an example of control according to the embodiment. [Figure 8] FIG. 8 is a diagram showing the relationship between blinking lights and camera frames. [Figure 9] FIG. 9 is a diagram showing an example of the position of a light source based on relative coordinates. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] A position estimation device (e.g., terminal device 20) according to an embodiment described below includes a memory unit 220 that stores information regarding the position of each of a group of identifiable point light sources, an acquisition unit 231 that acquires a captured image in which multiple point light sources among the group of point light sources are captured, a determination unit 232 that determines multiple triangles formed by the multiple point light sources in the captured image, and an estimation unit 233 that estimates the shooting position at which the captured image was captured based on the position and shape of each of the multiple triangles determined by the determination unit 232.
[0010] Moreover, in a position estimation device according to an embodiment described below, the estimation unit 233 estimates the shooting position of a captured image based on a plurality of viewpoint direction vectors based on the shapes of each of a plurality of triangles.
[0011] Moreover, in a position estimation device according to an embodiment described below, the estimation unit 233 estimates the shooting position of a captured image based on the distance between each of a plurality of viewpoint direction vectors.
[0012] In addition, in a position estimation device according to an embodiment described below, a determination unit 232 determines two triangles formed by a plurality of point light sources. An estimation unit 233 estimates a shooting position of a captured image based on a distance between each of a plurality of viewpoint direction vectors.
[0013] In a position estimation device according to an embodiment described below, the acquisition unit 231 acquires a captured image in which four or more point light sources, at least one of which is not collinear, are captured from a group of point light sources. The determination unit 232 determines two triangles formed by the multiple point light sources. The estimation unit 233 estimates the capture position of the captured image based on the distance between each of the multiple viewpoint direction vectors.
[0014] [Embodiment] [Location estimation processing example] An example of a position estimation process according to the embodiment will be described with reference to Fig. 1 and Fig. 2. Fig. 1 is a diagram showing a position estimation system according to the embodiment. Fig. 2 is a diagram showing an example of a position estimation process according to the embodiment.
[0015] First, an example of the configuration of a position estimation system 1 according to an embodiment will be described with reference to Fig. 1. In Fig. 1, the position estimation system 1 includes a light source group including a light flashing device 10A, a light flashing device 10B, a light flashing device 10C, a light flashing device 10D, a light flashing device 10E, and a light flashing device 10F, and a terminal device 20.
[0016] When the flashing light device 10A, the flashing light device 10B, the flashing light device 10C, the flashing light device 10D, the flashing light device 10E, the flashing light device 10F, etc. are described without distinction, they will be described as "flashing light device 10". The flashing light devices 10 are point light sources that are each turned on in a different pattern and emit light of a predetermined wavelength over approximately the entire circumference. The terminal device 20 has a photographing function and photographs an image (also called a "photographed image") used for position estimation. Details of the flashing light device 10 and the terminal device 20 will be described later.
[0017] In FIG. 1, the position estimation system 1 has six light flashing devices 10 and a terminal device 20. Note that, although FIG. 1 illustrates only six light flashing devices 10, the number of light flashing devices 10 included in the position estimation system 1 is not limited to six and may be more than six. Also, the number of light flashing devices 10 included in the position estimation system 1 may be less than six as long as position estimation is possible. For example, the number of light flashing devices 10 included in the position estimation system 1 may be any number equal to or greater than four that can form two triangles with straight lines (virtual lines) connecting the light flashing devices 10 as vertices.
[0018] 1 shows an example in which the light flashing device 10 is installed on a ceiling surface (one surface) of a specific space such as a facility. Note that the arrangement shown in FIG. 1 is merely an example, and the light flashing device 10 does not have to be installed on the same plane, and may be installed at any position in the space (three-dimensional space) that is the subject of position estimation.
[0019] The terminal device 20 is carried by a user, for example, and takes a photographed image in response to an operation by the user. In Fig. 1, the terminal device 20 will be described as an example in which the terminal device 20 is a smartphone having a camera function for taking a photographed image.
[0020] From here, the flow of processing in the case shown in Fig. 1 will be described. A user carrying terminal device 20 operates terminal device 20 to cause terminal device 20 to capture an image. In Fig. 1, the user points the camera of terminal device 20 in the direction in which light flashing devices 10 are arranged and causes terminal device 20 to capture an image. For example, terminal device 20 captures an image including six light flashing devices 10, light flashing devices 10A to 10F, by capturing an image of the ceiling surface side.
[0021] The terminal device 20 identifies each light flashing device 10 included in the captured image according to the lighting pattern of each light flashing device 10 included in the captured image. For example, the terminal device 20 identifies each light flashing device 10 included in the captured image by analyzing a captured image captured at a frame rate of 60 fps (frames per second). Then, the terminal device 20 identifies the position of each light flashing device 10 based on the position information corresponding to the light flashing device 10 identified based on the lighting pattern. The identification of the pattern based on the frame rate of the captured image by the terminal device 20 and the lighting of the light flashing device 10 will be described later.
[0022] From here, using Figure 2, we will explain the processing when terminal device 20 analyzes the captured image and identifies that the light flashing devices 10 contained in the captured image are light flashing device 10A, light flashing device 10B, light flashing device 10C, light flashing device 10D, light flashing device 10E, and light flashing device 10F.
[0023] In addition, in FIG. 2, the arrangement of each device shown in FIG. 1 is conceptually shown in order to explain the information processing of position estimation. The space shown in FIG. 2 corresponds to the space in which the light flashing device 10 and the terminal device 20 shown in FIG. 1 are arranged. For example, in FIG. 2, point A corresponds to the position of the light flashing device 10A, point B corresponds to the position of the light flashing device 10B, point C corresponds to the position of the light flashing device 10C, point D corresponds to the position of the light flashing device 10D, point E corresponds to the position of the light flashing device 10E, and point F corresponds to the position of the light flashing device 10F. Also, in FIG. 2, point G (also called "viewpoint G") corresponds to the position where the photographed image was photographed by the terminal device 20 (also called "photographing position"). In this way, point G (viewpoint G) corresponds to the position of the terminal device 20 that photographed the photographed image, more specifically, the position of the photographing unit 240 of the terminal device 20.
[0024] Here, as described above, position information of light flashing devices 10A-10F can be acquired, and the positions of six points A-F in Fig. 2 are known. On the other hand, viewpoint G, which indicates the shooting position, is unknown, so terminal device 20 estimates the shooting position of the captured image by calculating the position of viewpoint G based on the information of points A-F. Note that the process of estimating the shooting position is not limited to terminal device 20, and may be performed by any device included in position estimation system 1.
[0025] Below, the prerequisites will be explained, and then the specific flow of the estimation process of the shooting position will be explained. First, the prerequisite is that three vertices are optimal for expressing a plane. Also, in order to observe two or more triangles, a minimum of four vertices that are not on the same line are required. In the example shown in Figs. 1 and 2, the condition is met because there are four or more light flashing devices 10 that are not on the same line.
[0026] The terminal device 20 determines a plurality of triangles formed by a plurality of points. In Fig. 2, the terminal device 20 determines triangle TR1 having points A, B, and C as its three vertices as the triangle to be used for processing. The terminal device 20 also determines triangle TR2 having points D, E, and F as its three vertices as the triangle to be used for processing. Thus, in Fig. 2, the terminal device 20 determines two triangles, triangle TR1 and triangle TR2, as the triangles to be used for processing.
[0027] The number of triangles used in the process is not limited to two, and may be any number equal to or greater than two. The points used as the vertices of each triangle may overlap in part as long as the three vertices of the triangle do not completely coincide. For example, the terminal device 20 may use a triangle TR1 having points A, B, and C as its three vertices, and a triangle (also called "triangle TR3") having points A, C, and D as its three vertices.
[0028] The following describes a process using triangles TR1 and TR2 shown in Fig. 2. The terminal device 20 calculates a normal vector NV1 of triangle TR1. As a result, the terminal device 20 calculates a normal vector NV1(→△ABC) perpendicular to a plane represented by triangle TR1(△ABC) formed by three known vertices (points A, B, and C).
[0029] Furthermore, the terminal device 20 calculates a normal vector NV2 of the triangle TR2. As a result, the terminal device 20 calculates a normal vector TR2 (→△DEF) perpendicular to the plane represented by the triangle TR2 (△DEF) consisting of three known vertices (points D, E, and F). As described above, the two triangles may be composed of two triangles TR1 (△ABC) and TR3 (△ACD) represented by at least four known vertices (points A, B, C, and D).
[0030] Here, since the viewpoint G is not on the extension line of the normal vector NV1 (→ △ABC), distortion occurs in the triangle TR1 (△ABC). In this way, since the viewpoint G is not on the extension line of the normal vector NV1 (→ △ABC), distortion occurs in the triangle TR1 (△ABC) in the captured image. That is, in the triangle TR1 (△ABC), the ratio of the lengths of the three sides of the line (side AB) connecting points A and B, the line (side BC) connecting points B and C, and the line (side AC) connecting points A and C changes. On the other hand, if the viewpoint G is on the extension line of the normal vector NV1 (→ △ABC), distortion (change in the ratio of the three sides) does not occur in the triangle TR1 (△ABC).
[0031] Therefore, the terminal device 20 can derive a vector from the triangle to the viewpoint (also called a "viewpoint direction vector") based on the shape of this distortion (ratio of three sides). In FIG. 2, the terminal device 20 calculates a viewpoint direction vector PV1 (→ABCG) from the triangle TR1 (△ABC) based on the shape of the distortion (ratio of three sides) regarding the triangle TR1 (△ABC). For example, the point direction vector PV1 is calculated based on the ratio of the three sides of the triangle based on the positions of the light flashing device 10A, the light flashing device 10B, and the light flashing device 10C, and the ratio of the three sides of the triangle TR1 (△ABC) in the captured image. For example, when no distortion occurs, the terminal device 20 calculates that the normal vector NV1 (→ABC) and the viewpoint direction vector PV1 (→ABCG) are the same. For example, the terminal device 20 calculates the viewpoint direction vector PV1 using any method such as trigonometric function calculation, vector calculation, AI (Artificial Intelligence) calculation, and matrix calculation.
[0032] Here, one triangle TR1 (△ABC) has one viewpoint direction vector PV1 (→ABCG), and the terminal device 20 can estimate that the viewpoint G is somewhere on this viewpoint direction vector PV1. Note that it is not possible to specify a position (distance) on the vector from only one viewpoint direction vector such as the viewpoint direction vector PV1.
[0033] 2, the terminal device 20 calculates the viewpoint direction vector PV2 (→DEFG) from the triangle TR2 (△DEF) based on the shape of the distortion (ratio of three sides) of the triangle TR2 (△DEF). For example, the point direction vector PV2 is calculated based on the ratio of the three sides of the triangle based on the positions of the light flashing device 10D, the light flashing device 10E, and the light flashing device 10F, and the ratio of the three sides of the triangle TR2 (△DEF) in the captured image.
[0034] Here, one triangle TR2 (△DEF) has one viewpoint direction vector PV2 (→DEFG), and the terminal device 20 can estimate that the viewpoint G is somewhere on this viewpoint direction vector PV2. Note that a position (distance) on the vector cannot be specified by only one viewpoint direction vector such as the viewpoint direction vector PV2.
[0035] Therefore, the terminal device 20 calculates the position of the viewpoint by using two viewpoint direction vectors. In Fig. 2, the terminal device 20 calculates the position of the viewpoint G by using two viewpoint direction vectors, namely, a viewpoint direction vector PV1 based on a triangle TR1 and a viewpoint direction vector PV2 based on a triangle TR2. The terminal device 20 calculates the position where the distance between the viewpoint direction vector PV1 and the viewpoint direction vector PV2 is the smallest as the position of the viewpoint G. For example, when the viewpoint direction vector PV1 and the viewpoint direction vector PV2 intersect, the terminal device 20 calculates the intersection point as the position of the viewpoint G. Then, the terminal device 20 estimates the calculated position of the viewpoint G as the shooting position.
[0036] [Effects and device configuration examples] The above-mentioned process enables the terminal device 20 to perform appropriate position estimation using a captured image of a plurality of point light sources. In FIG. 2, the terminal device 20 can estimate a capture position corresponding to a three-dimensional space corresponding to three directions (dimensions) of the X direction (dimension), the Y direction (dimension), and the Z direction (dimension) in FIG. 2. For example, the terminal device 20 can estimate the coordinate position of the viewpoint G (Xg, Yg, Zg) from the known coordinate positions of point A (Xa, Ya, Za), point B (Xb, Yb, Zb), point C (Xc, Yc, Zc), point D (Xd, Yd, Zd), point E (Xe, Ye, Ze), and point F (Xf, Yf, Zf).
[0037] The above-mentioned position estimation system 1 can be constructed at low cost by using the light flashing device 10 that performs a simple operation. In addition, the position estimation system 1 has high linearity due to optical communication, and can recognize the light source position that serves as the reference position without being affected by radio wave arrival time differences caused by obstructions, thereby improving the estimation accuracy of the shooting position (terminal position).
[0038] Furthermore, since the position estimation system 1 uses general-purpose consumer terminal equipment, it is possible to build terminals at low cost. Furthermore, since the position estimation system 1 does not perform radio wave communication during position measurement, stable position measurement is possible. Furthermore, since the position estimation system 1 does not perform two-way radio wave communication during position measurement, but is one-way, multiple position measurements can be made simultaneously. Furthermore, since the position estimation system 1 has improved camera resolution, the accuracy of position measurement is high.
[0039] As long as the above-described processing can be executed, any device configuration can be adopted for the position estimation system 1. Examples of the device configuration of the position estimation system 1 will be described below.
[0040] For example, in the position estimation system 1, the light flashing device 10 is placed (installed) in an indoor closed space separated from the outdoors, such as a studio, a theater, an exhibition hall, a gymnasium, a stadium, etc. Note that the light flashing device 10 is not necessarily dedicated to indoor closed spaces, and may be installed outdoors when the target of position estimation is an outdoor space.
[0041] For example, multiple light flashing devices 10 are installed taking into consideration obstructions, etc. The light flashing devices 10 are not installed on the same line (straight line), but are installed at different positions in the X and Y (two-dimensional) directions or the X, Y, and Z (three-dimensional) directions. For example, the light flashing device 10 is a point light source that emits light in all 360-degree directions. For example, the light of the light flashing device 10 may be low frequency (30 Hz), and may be light that is not visible light, such as infrared light or ultraviolet light, as long as it can be detected by a camera.
[0042] The blinking of the light flashing device 10 can be controlled to be ON / OFF, and information can be conveyed by blinking the light. The device configuration of the light flashing device 10 will be described later. The light flashing device 10 has a function of blinking at 30 (Hz), which is half the frame rate of a general camera, 60 (fps).
[0043] For example, the flashing light device 10 has an information transmission capacity of 30 (BPS: bits per second), and can transmit approximately 3 bytes of information per second, including a data start position and an error correction bit.
[0044] Each of the multiple flashing light devices 10 transmits different information. Each of the multiple flashing light devices 10 repeatedly transmits the same information. For example, since the transmission speed of the flashing light device 10 is low (3 Byte / Sec), a smaller amount of information is more suitable for operation.
[0045] For example, the flashing light device 10 repeatedly transmits the following information: When transmitting sequentially specified numbers (for example, 1, 2, 3, 4, 5, etc.), the flashing light device 10 can transmit information about three times per second.
[0046] Furthermore, when transmitting a relative coordinate position (see FIG. 9) from a specific origin position in a three-dimensional space, such as (10, 13, 24), the light flashing device 10 requires about two seconds to transmit one piece of information.
[0047] Also, for example, when transmitting absolute location information such as latitude, longitude, and altitude (e.g., (35.300367, 139.629384, 3)), the flashing light device 10 requires 10 seconds or more to transmit one piece of information. The exact installation location coordinates of the flashing light device 10 are known in advance and stored in the terminal device 20 in advance.
[0048] For example, in the position estimation system 1, the terminal device 20 takes an image while being located within a space in which the light flashing device 10 is installed. For example, the terminal device 20 is not limited to a smartphone, and any device such as a personal computer, an augmented reality (AR) glass, or a virtual reality (VR) glass can be used.
[0049] The terminal device 20 stores the installation position coordinate information of the light flashing device 10. For example, the terminal device 20 acquires a captured image by taking a video. For example, the terminal device 20 takes a video of a space with a camera.
[0050] The terminal device 20 stores video images (captured images). For example, the terminal device 20 stores in the storage unit 220 a plurality of continuous video images for a certain period of time required for determination.
[0051] The terminal device 20 searches for a point light source. For example, the terminal device 20 searches for a blinking point light source (light blinking device 10) from a video image stored in the storage unit 220 using the terminal's calculation function.
[0052] The terminal device 20 judges (identifies) the light flashing device 10. For example, the terminal device 20 uses a judgment (identification) function to judge whether the flashing light is a light flashing device 10 that indicates location information. For example, the terminal device 20 excludes light flashing devices with strange positional relationships such as a mirror image reflected in a mirror, and excludes low-output light flashing devices reflected on a highly reflective surface (such as a white surface).
[0053] The terminal device 20 recognizes a plurality of light flashing devices 10. For example, the terminal device 20 uses a calculation function to determine (fix) the positions of a plurality of different light flashing devices 10 within a certain period of time on a camera shooting plane.
[0054] The terminal device 20 extracts information from the light flashing devices 10. For example, the terminal device 20 determines whether the light flashing devices 10 are ON / OFF, and acquires information (such as location information) output by each light flashing device 10.
[0055] The terminal device 20 estimates its own position from the position of the light flashing device 10. For example, the terminal device 20 calculates the coordinates of the terminal position (camera position) using a calculation function of the terminal based on the position of the light flashing device 10 fixed on the camera shooting plane and the actual installation position information of the light flashing device 10.
[0056] Conventionally, many products have been developed for situations where GPS cannot be used, such as indoor closed spaces, where multiple radio wave transmitting devices such as Wi-Fi (registered trademark) or Bluetooth (registered trademark) are installed and the difference in the time of arrival of radio waves from the multiple transmitters is acquired to measure the own position. With this method, the accuracy of position measurement can be improved by increasing the number of transmitters and shortening the distance between the transmitters, but this is not realistic due to the increase in costs. Many products have been realized for use in which an error of about several tens of centimeters is acceptable.
[0057] Recently, more accurate (several centimeters) position detection has been achieved using UWB (Ultra Wide Band). This method allows accurate measurements, but the measurable distance is short, so it is necessary to install many transmitters to measure positions in a wide space. It is not installed in general-purpose devices, and both the transmitters and terminals are expensive, so at present its use is limited to measuring the distance between two points (for example, between a car and a key).
[0058] On the other hand, the position estimation system 1 can estimate a position in any space where a light source is placed by estimating a shooting position based on the position of a light source. As described above, the terminal device 20 can perform appropriate position estimation using a captured image of a plurality of point light sources.
[0059] [Example of a flashing light device configuration] Next, the configuration of the light flashing device 10 according to the embodiment will be described with reference to Fig. 3. Fig. 3 is a block diagram showing the configuration of the light flashing device according to the embodiment. As shown in Fig. 3, the light flashing device 10 has a power supply unit 110, a storage unit 120, a control unit 130, and a light emission unit 140.
[0060] The power supply unit 110 is realized by, for example, a predetermined power supply circuit or the like. Power is input (supplied) to the power supply unit 110 from an arbitrary power source. For example, the power supply unit 110 may receive power from an AC commercial power source, or may receive power from a battery (storage battery) or the like.
[0061] For example, the power supply unit 110 may have a function of converting AC power supplied from a commercial power source into DC. Furthermore, the power supply unit 110 may have a function of converting DC current into a voltage suitable for lighting the light source 50, as necessary. The power supply unit 110 supplies the power supplied from the power source to the control unit 130, the light-emitting unit 140, etc.
[0062] The storage unit 120 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 120 according to the embodiment includes a pattern storage unit 121 as shown in FIG.
[0063] The pattern storage unit 121 stores information about a light blinking pattern. For example, the pattern storage unit 121 stores a pattern for turning on the light-emitting unit 140 in the light blinking device 10. For example, when the light blinking device 10 is the light blinking device 10A, the pattern storage unit 121 stores information indicating a pattern (e.g., 110100, etc.) for turning on the light-emitting unit 140 of the light blinking device 10A.
[0064] The information stored in storage unit 120 is not limited to the above, and storage unit 120 may store various information depending on the purpose. Storage unit 120 stores information related to light flashing device 10. Storage unit 120 stores information such as a device ID and an installation location as information related to light flashing device 10. For example, storage unit 120 may store the type of light flashing device 10. Also, the light flashing pattern may be set by, for example, a dip switch.
[0065] The control unit 130 is realized by, for example, a central processing unit (CPU) or a micro processing unit (MPU) executing various programs stored in an internal memory using a RAM as a working area. The control unit 130 can also be realized by, for example, an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0066] The control unit 130 functions as a control unit that controls the lighting of the light-emitting unit 140, etc. The control unit 130 acquires various information from the storage unit 120. The control unit 130 controls the lighting of the light-emitting unit 140. For example, the control unit 130 controls the pattern of lighting and extinguishing by the light-emitting unit 140. The control unit 130 may also receive instructions regarding lighting from an external device. In this case, the light flashing device 10 may have a communication function.
[0067] The control unit 130 stores various information in the storage unit 120. The control unit 130 executes processing using power supplied from the power supply unit 110. The control unit 130 lights up the light emitting unit 140 according to the pattern stored in the pattern storage unit 121.
[0068] The light-emitting unit 140 has a function of emitting light in an all-around direction. The light-emitting unit 140 emits light of a predetermined wavelength under the control of the control unit 130. The light-emitting unit 140 uses a predetermined light source, such as an LED (Light Emitting Diode), that emits light (electromagnetic waves) of any wavelength, such as visible light, infrared light, or ultraviolet light.
[0069] [Example of terminal device (location estimation device) configuration] Next, a configuration of a terminal device 20 according to an embodiment, which is an example of a position estimation device, will be described with reference to Fig. 4. Fig. 4 is a block diagram showing the configuration of a terminal device according to an embodiment. As shown in Fig. 4, the terminal device 20 has a communication unit 210, a storage unit 220, a control unit 230, and an imaging unit 240.
[0070] The communication unit 210 is realized by, for example, a predetermined communication circuit, etc. For example, the communication unit 210 can communicate with a server device that provides information used in the position estimation process, etc. In addition, the communication unit 210 may be capable of communicating with any external device, such as a terminal device used by an administrator of the position estimation system 1.
[0071] The storage unit 220 is realized by, for example, a semiconductor memory element such as a RAM or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 220 according to the embodiment stores various information related to control. As shown in FIG. 4, the storage unit 220 according to the embodiment has a pattern list information storage unit 221, a light source information storage unit 222, and a position estimation information storage unit 223. For example, the storage unit 220 stores information related to the positions of each of the identifiable point light source groups in the light source information storage unit 222. Note that the information stored in the storage unit 220 is not limited to the above, and the storage unit 220 may store various information according to the purpose.
[0072] The pattern list information storage unit 221 stores information indicating the correspondence between the lighting patterns and the light sources. Fig. 5 is a diagram showing an example of information stored in the pattern list information storage unit according to the embodiment. Specifically, the pattern list information storage unit 221 shown in Fig. 5 stores list information indicating the correspondence between the lighting patterns and the light flashing device 10.
[0073] 5, the pattern list information storage unit 221 has items such as "pattern" and "corresponding light source" as information related to a pattern. "Pattern" indicates a lighting pattern. "Corresponding light source" indicates a light source that lights up in a corresponding pattern. "Corresponding light source" stores information (such as a light source ID) that identifies a light flashing device 10 that lights up in a corresponding pattern.
[0074] 5, "PT1" indicates pattern PT1 (e.g., 110100) for lighting up light-emitting unit 140 of light flashing device 10. Also, "corresponding light source" indicates that light flashing device 10 that lights up in pattern PT1 is light flashing device 10A. Note that the items held by pattern list information storage unit 221 are not limited to those described above, and pattern list information storage unit 221 may store various information according to the purpose.
[0075] The light source information storage unit 222 stores information about the light source. Fig. 6 is a diagram showing an example of information stored in the light source information storage unit according to the embodiment. Specifically, the light source information storage unit 222 shown in Fig. 6 stores information about the positions of each of the light flashing devices 10.
[0076] As shown in FIG. 6, the light source information storage unit 222 has items such as "light source" and "location information." "Light source" indicates a light source. "Light source" stores information for identifying light flashing device 10 (such as a light source ID). "Location information" indicates location information regarding the position where the corresponding light source is located. "Location information" indicates location information of the corresponding light flashing device 10.
[0077] 6, the position information of light flashing device 10A is indicated as position information PS1. For the position information PS1 and the like, any information is used, such as a code converted by a predetermined conversion table according to the management mode of the position of the light source, a relative position from a predetermined limit, an absolute position such as latitude and longitude, etc. Note that the items held by light source information storage unit 222 are not limited to those mentioned above, and light source information storage unit 222 may store various information according to the purpose.
[0078] The information storage unit for position estimation 223 stores information used for position estimation. For example, the information storage unit for position estimation 223 stores information used for estimation according to a calculation method such as trigonometric function calculation, vector calculation, AI calculation, matrix calculation, etc. For example, when performing position estimation using trigonometric function calculation, the information storage unit for position estimation 223 stores information such as trigonometric functions used for processing. For example, when performing position estimation using vector calculation, the information storage unit for position estimation 223 stores information such as functions used for calculating vectors used for processing. For example, when performing position estimation using AI calculation, the information storage unit for position estimation 223 stores information such as learned models used for processing. Note that the information storage unit for position estimation 223 may store various information according to the purpose, not limited to the above.
[0079] The control unit 230 is realized, for example, by a CPU, an MPU, or the like executing various programs stored in an internal memory using a RAM as a working area. The control unit 230 can also be realized, for example, by an integrated circuit such as an ASIC or an FPGA. The control unit 230 has an internal memory for storing programs and data that define various processing procedures, and executes various processes using these. In particular, the control unit 230 has an acquisition unit 231, a determination unit 232, an estimation unit 233, and a provision unit 234 as units closely related to the present invention.
[0080] The acquisition unit 231 acquires various information. The acquisition unit 231 acquires various information from an external information processing device (external device). The acquisition unit 231 also acquires various information from the storage unit 220. The acquisition unit 231 receives various information from the external device via the communication unit 210.
[0081] The acquisition unit 231 acquires the captured image captured by the imaging unit 240 from the imaging unit 240. The acquisition unit 231 acquires a captured image in which a plurality of point light sources are captured from the point light source group. The acquisition unit 231 acquires a captured image in which four or more point light sources are captured from the point light source group, at least one of which is not collinear.
[0082] For example, the acquisition unit 231 acquires a captured image in which a plurality of light flashing devices 10 are captured among a group of light flashing devices 10. For example, the acquisition unit 231 acquires a captured image in which four or more light flashing devices 10 are captured among a group of light flashing devices 10, at least one of which is not aligned in the same straight line.
[0083] The determination unit 232 executes a determination process for determining various information. The determination unit 232 executes the determination process using information stored in the storage unit 220. The determination unit 232 executes the determination process using information acquired by the acquisition unit 231. The determination unit 232 executes the determination process using a captured image captured by the imaging unit 240. The determination unit 232 executes a recognition process for the image captured by the imaging unit 240. The determination unit 232 uses a technology related to image recognition to perform image recognition on the image captured by the imaging unit 240, and generates image recognition data indicating the result of the image recognition.
[0084] The determination unit 232 determines a plurality of triangles formed by a plurality of point light sources in the captured image. The determination unit 232 determines two triangles formed by a plurality of point light sources. The determination unit 232 determines two or more triangles formed by four or more light sources in the captured image.
[0085] For example, the determination unit 232 determines a plurality of triangles formed by a plurality of light flashing devices 10 in the captured image. For example, the determination unit 232 determines two triangles formed by a plurality of light flashing devices 10. The determination unit 232 determines two or more triangles formed by four or more light sources in the captured image.
[0086] The estimation unit 233 executes an estimation process to estimate various pieces of information. The estimation unit 233 executes an estimation process using information stored in the storage unit 220. The estimation unit 233 executes an estimation process to estimate a position. The estimation unit 233 executes an estimation process using information acquired by the acquisition unit 231. The estimation unit 233 executes an estimation process using information determined by the determination unit 232. The estimation unit 233 executes an estimation process using a captured image captured by the imaging unit 240.
[0087] The estimation unit 233 estimates the shooting position where the captured image was captured, based on the position and shape of each of the multiple triangles determined by the determination unit 232. The estimation unit 233 estimates the shooting position of the captured image, based on multiple viewpoint direction vectors based on the shapes of each of the multiple triangles. The estimation unit 233 estimates the shooting position of the captured image, based on the distance between each of the multiple viewpoint direction vectors.
[0088] The estimation unit 233 estimates the position where the distance between two viewpoint direction vectors based on the shapes of each of the two triangles is the smallest as the shooting position of the captured image. The estimation unit 233 estimates the shooting position where the captured image was captured based on the positions and shapes of each of the two or more triangles determined by the determination unit 232.
[0089] The providing unit 234 provides various information. The providing unit 234 transmits various information. The providing unit 234 transmits various information to an external device via the communication unit 210. For example, the providing unit 234 transmits information determined by the determining unit 232 to the external device. For example, the providing unit 234 transmits information indicating the position estimated by the estimating unit 233 to the external device.
[0090] The photographing unit 240 has a function of photographing various images such as moving images. For example, various image sensors such as a CMOS (Complementary Metal Oxide Semiconductor) or a CCD (Charge Coupled Device) image sensor may be used for the photographing unit 240. The photographing unit 240 may have an optical member such as a lens and an adjustment mechanism for adjusting the focus, zoom, and aperture of the optical member.
[0091] [Processing flow example] Next, a flow of processing executed by the position estimation device will be described. Fig. 7 is a flowchart showing an example of control according to the embodiment. For example, the processing flow shown in Fig. 7 shows a flow of processing executed by the terminal device 20, which is an example of the position estimation device.
[0092] First, the position estimation device acquires a captured image in which a plurality of point light sources are captured from the group of point light sources (step S101). For example, the terminal device 20 acquires a captured image in which a plurality of light flashing devices 10 are captured from the group of light flashing devices 10.
[0093] Then, the position estimation device determines a plurality of triangles formed by a plurality of point light sources in the captured image (step S102). For example, the terminal device 20 determines two triangles formed by four or more light flashing devices 10 in the captured image.
[0094] Then, the position estimation device estimates the photographing position where the photographed image was taken based on the position and shape of each of the multiple triangles (step S103). For example, the terminal device 20 estimates the photographing position where the photographed image was taken based on the position and shape of each of the two triangles.
[0095] [Relationship between flashing light and camera frame] Here, the relationship between the blinking of the light and the camera frame will be described with reference to Fig. 8. Fig. 8 is a diagram showing the relationship between the blinking of the light and the camera frame. Note that the description of the same points as those described above will be omitted as appropriate.
[0096] Graph GR1 in Fig. 8 shows an example of the flashing timing of light flashing device 10. Fig. 8 shows a case where light flashing device 10 flashes at 30 Hz. For example, light flashing device 10A flashes in a pattern of ON(1), ON(1), OFF(0), ON(1), OFF(0), OFF(0), ON(1) as shown in graph GR1. Also, for example, light flashing devices 10B-10F light up in a different pattern from light flashing device 10A described above. For example, light flashing devices 10B-10F light up in different patterns.
[0097] Graph GR2 in Fig. 8 shows an example of a frame rate of shooting by the shooting unit 240 of the terminal device 20. Fig. 8 shows a case where the terminal device 20 shoots at a frame rate of 60 fps. For example, in an image shot by the terminal device 20, the light flashing device 10 is shot in the following states as shown in graph GR2: 1, 1, 1, 0.5, 0, 0.5, 1, 0.5, 0, 0, 0, 0.5, 1.
[0098] The number 1 in the graph GR2 indicates a case where the captured image includes the flashing light device 10 in a lit state throughout the period corresponding to that frame. For example, in the captured image corresponding to the graph GR2 in FIG. 8, the captured images of frames 1 to 3, 7, and 13 include the flashing light device 10 in a lit state throughout the period corresponding to that frame.
[0099] The value 0 in the graph GR2 indicates that the captured image includes the flashing light device 10 in an off state throughout the entire period corresponding to that frame. For example, in the captured image corresponding to the graph GR2 in FIG. 8, the captured images of frames 5, and 9 to 11 include the flashing light device 10 in an off state throughout the entire period corresponding to that frame.
[0100] The value of 0.5 in the graph GR2 indicates that the captured image includes the light flashing device 10 in a lit state (half the amount of light) for half the period corresponding to that frame. For example, the value of 0.5 in the graph GR2 corresponds to a case where the light flashing device 10 is in a lit state for half the period corresponding to that frame and in an off state for the other half. For example, in the captured image corresponding to the graph GR2 in FIG. 8, the light flashing device 10 is included in a lit state for half the period corresponding to that frame in frames 4, 6, 8, and 12 (captured images).
[0101] In this way, the blinking timing of the light flashing device 10 (e.g., 30 Hz) and the shooting timing of the camera (e.g., 60 fps) are asynchronous, so there is always a phase shift. For example, the phase shift causes variation in the amount of light input to the camera per fps. Therefore, the terminal device 20 performs sampling at 60 Hz and corrects the phase shift between the blinking of the light flashing device 10 and the shooting (frame rate) by the shooting unit 240.
[0102] In Fig. 8, terminal device 20 reproduces the original ON / OFF state (30 Hz) of light flashing device 10 at the camera timing by calculating the total value of the light amount for 2 (fps) of the camera (terminal device 20). For example, if 0 = < total value < 1.5, terminal device 20 determines that light flashing device 10 is OFF (off). If 1.5 = < total value = < 2, terminal device 20 determines that light flashing device 10 is ON (on).
[0103] The calculation start timing may be any timing of 60 Hz. The phase shift between the light flashing device 10 and the terminal device 20 (camera) is illustrated as a timing shift of 120 Hz (half of 60 Hz), but referring to the timing of the camera light intensity corresponding to sample SP3 in Fig. 8, if the timing is shifted slightly backward, the light intensity of (0,5,1,0,5) will transition to (0.3,1,0.8). As a result, the terminal device 20 can obtain the same result every time by recognizing 1.5, the combined camera light intensity value for two times, as the boundary (threshold).
[0104] For example, recognition pattern DT1 indicates a case where the blinking pattern of light flashing device 10 is identified at timing #1. Fig. 8 indicates a case where the blinking pattern of light flashing device 10 is identified at timing #1 as a blinking pattern that blinks with a cycle of 110100....
[0105] Moreover, recognition pattern DT2 shows a case where the blinking pattern of light flashing device 10 is identified at timing #2. FIG. 8 shows a case where the blinking pattern of light flashing device 10 is identified at timing #2 as a blinking pattern that blinks in a cycle of 101001.... Note that timing #2 is the same blinking pattern as timing #1, except that the starting position is shifted by one. In this way, terminal device 20 can identify the same blinking pattern at either timing.
[0106] In addition, the image sampling frequency (fps) of a typical consumer camera is 60 frames, and if the phase of the light flashing device 10 and the camera can be perfectly matched, communication at 60 Hz is possible, but this is asynchronous communication. Therefore, in order to ensure stable detection, communication at 30 Hz may be used as described above.
[0107] [Example of light source placement and position management] The above-mentioned arrangement and position management of the light source are merely an example, and any mode can be adopted for the arrangement and position management of the light source as long as the imaging position can be estimated. For example, the light source is not limited to being on the same plane as the ceiling, but may be arranged at any location in a three-dimensional space. Furthermore, the position management is not limited to being based on absolute coordinates, but may be based on relative coordinates. This point will be described with reference to FIG. 9. FIG. 9 is a diagram showing an example of the position of the light source based on relative coordinates. Note that the description of the same points as those described above will be omitted as appropriate.
[0108] In Fig. 9, the unit of one square is appropriately set according to the division unit of the space, etc. Also, in Fig. 9, the point corresponding to each light flashing device 10 is associated with information indicating a relative position from the origin, such as (0,0,5), for example. In this case, the position estimation system 1 calculates the position of the light flashing device 10 corresponding to each point from the information indicating the absolute position of the origin and the relative coordinates.
[0109] [Other (estimation processing, examples of applicable services, etc.)] The position estimation system 1 may estimate various information by appropriately using various information, not limited to the above-mentioned shooting position. For example, the position estimation system 1 may estimate the shooting direction. In this case, the position estimation system 1 may estimate the shooting direction based on a triangle in the image.
[0110] For example, when three or more triangles can be formed, the position estimation system 1 may determine the triangle to be used for processing based on a predetermined criterion. For example, the position estimation system 1 may select the triangle to be used for processing in descending order of area. Alternatively, for example, the position estimation system 1 may randomly select the triangle to be used for processing. Alternatively, for example, the position estimation system 1 may determine the triangle to be used for processing based on the triangles that have the least overlapping relationship with each other.
[0111] The above-described position estimation system 1 may be applied to various services. In this regard, examples are described below. For example, the position estimation system 1 may be applied to a service that grasps the exact position of a smartphone in a theater, a gymnasium, a stadium, etc., and checks whether the user is seated in a reserved seat that has been purchased.
[0112] For example, the position estimation system 1 may be applied to a service that grasps the exact position of a smartphone in a theater, gymnasium, stadium, etc., and holds an audience participation event using the smartphone. For example, the position estimation system 1 may be applied to a service that grasps the exact position of AR glasses, and issues a warning when working in a dangerous place (such as falling onto a ledge, falling onto a horizon, or a collision during baton descent) in a studio, theater, etc. For example, the position estimation system 1 may be applied to a service that measures the exact current position of an automated parts / product transport vehicle circulating in a factory.
[0113] Although an embodiment of the present invention has been described, this embodiment is presented as an example and is not intended to limit the scope of the invention. This embodiment can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. These embodiments and their modifications are included in the scope of the invention and its equivalents as well as the scope and gist of the invention. In addition, these embodiments and their modifications can be appropriately combined as long as the processing contents are not contradictory. [Explanation of symbols]
[0114] 1. Location Estimation System 10. Flashing Light Device 110 Power supply section 120 Storage section 130 Control Section 140 Light emitting part 20 Terminal device (location estimation device) 210 Communications Department 220 Storage section 221 Pattern list information storage unit 222 Light source information storage section 223 Position estimation information storage unit 230 Control Unit 231 Acquisition Department 232 Decision Section 233 Estimation Department 234 Provision Department 240 Photography Department
Claims
1. A storage unit that stores information regarding the position of each of the groups of identifiable point light sources; an acquisition unit that acquires a captured image in which a plurality of point light sources among the group of point light sources are captured; a determination unit that determines a plurality of triangles formed by the plurality of point light sources in the captured image; an estimation unit that estimates a photographing position at which the photographed image was photographed based on the position and shape of each of the plurality of triangles determined by the determination unit; A position estimation device having the following:
2. The estimation unit is The photographing position of the photographed image is estimated based on a plurality of viewpoint direction vectors based on the shapes of the plurality of triangles. The position estimation device according to claim 1 .
3. The estimation unit is The photographing position of the photographed image is estimated based on a distance between each of the plurality of viewpoint direction vectors. The position estimation device according to claim 2 .
4. The determination unit is determining two triangles formed by the plurality of point light sources; The estimation unit is A position where the distance between two viewpoint direction vectors based on the shapes of the two triangles is minimum is estimated as the photographing position of the photographed image. The position estimation device according to claim 3 .
5. The acquisition unit is acquiring the captured image in which four or more point light sources, at least one of which is not collinear, are captured among the group of point light sources; The determination unit is determining two or more triangles formed by the four or more light sources in the captured image; The estimation unit is A photographing position at which the photographed image was taken is estimated based on the positions and shapes of the two or more triangles determined by the determination unit. The position estimation device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method for determining the position of an object and apparatus for manufacturing a set of objects with known positions
JP1999508041A
Display device with camera
JP2010250789A
Position specifying system, position specifying method and program
JP2017026374A
Terminal device and position detection system
JP2019132673A
Apparatus, method and program
JP2022044671A
Cited By
Road surface drawing device
CN121590408A
