Contact determination device and program
The contact determination system uses synchronized depth and RGB imaging to facilitate real-time contact detection in virtual environments, enhancing user interaction without requiring motion capture devices.
Patent Information
- Application Number
- JP2023029476
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
AI Technical Summary
Existing systems face challenges in performing real-time contact determination between users in virtual shared spaces due to the high computational demands required for object overlap detection.
A contact determination system utilizing depth cameras at multiple bases to capture depth and RGB images, synchronizing these images for real-time contact determination, and generating augmented reality images to represent contact, without the need for motion capture devices.
Enables real-time contact determination between users, providing an immersive experience by reducing computational overhead and eliminating the need for additional hardware like motion capture systems.
Smart Images

Figure 00000000_0000
Abstract
Description
[Technical field]
[0001] The present invention relates to a collision determination device and a program. [Background technology]
[0002] Patent document 1 describes generating a virtual shared space for communication between a first user and a second user based on sensing results of a first real space in which a first user exists and sensing results of a second real space in which a second user exists. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2018 / 092384 Summary of the Invention [Problem to be solved by the invention]
[0004] When generating a virtual shared space, it is possible to determine whether the first user and the second user have come into contact by generating an object representing the first user and an object representing the second user and determining whether the objects overlap. However, this requires a huge amount of calculation, making it difficult to perform contact determination in real time.
[0005] The present invention has been made to solve such problems, and aims to provide a contact determination device and program that reduces the time required to determine that a first subject has virtually contacted a second subject. [Means for solving the problem]
[0006] The present invention relates to a first acquisition unit that acquires a depth of a predetermined portion of a first subject based on a first depth image obtained by capturing the first subject with a first camera installed at a first base; a determination unit that determines whether the predetermined portion of the first subject has virtually come into contact with the second subject based on a second depth image captured by a second camera installed at a second site different from the first site; The present invention provides a contact determination device comprising:
[0007] The present invention relates to On the computer, A process of acquiring a depth of a predetermined portion of a first subject based on a first depth image obtained by capturing the first subject with a first camera installed at a first location; a process of determining whether the predetermined portion of the first subject has virtually come into contact with the second subject based on a second depth image captured by a second camera installed at a second location different from the first location; A program for executing the above is provided. Effect of the Invention
[0008] According to the present invention, it is possible to provide a contact determination device and a program that reduce the time required to determine that a first subject has virtually contacted a second subject. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a contact determination system according to a first embodiment. [Diagram 2] FIG. 1 is a diagram illustrating a configuration of a camera according to a first embodiment. [Diagram 3] FIG. 1 is a diagram illustrating a configuration of a contact determining device according to a first embodiment. [Figure 4] 3A to 3C are diagrams illustrating an AR image generated by the contact determination device according to the first embodiment. [Diagram 5] FIG. 2 is a diagram illustrating virtual standing positions of a first subject and a second subject. [Figure 6] FIG. 2 is a diagram illustrating virtual standing positions of a first subject and a second subject. [Figure 7] FIG. 2 is a diagram illustrating the position of a virtual image screen of a head mounted display. [Figure 8] FIG. 2 is a diagram illustrating the position of a virtual image screen of a head mounted display. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] (Embodiment 1) 1 is a diagram illustrating a configuration of a contact determination system 1 according to a first embodiment. The contact determination system 1 includes a camera 100A, a camera 100B, a display device 200A, a display device 200B, a contact determination device 300A, a contact determination device 300B, and a network line N. The contact determination devices 300A and 300B are connected to each other so as to be able to communicate with each other via the network line N. The network line N may be wired or wireless.
[0011] A subject SA exists at a location A, and a subject SB exists at a location B. When the subjects SA and SB are not distinguished from each other, they are simply referred to as a subject S. The subject S may be a human being or an animal. The subject S may be wearing an electronic device (not shown) that supplies a current (e.g., a low-frequency pulse current) to the surface of the body (e.g., the abdomen).
[0012] Specifically, the contact determination system 1 has a function of determining whether a predetermined part (e.g., hand) of the subject SA has virtually contacted the subject SB, and a function of determining whether a predetermined part (e.g., hand) of the subject SB has virtually contacted the subject SA. For example, when the subjects SA and SB, which are humans, are boxing remotely, the hand clenched like a fist becomes the predetermined part. The predetermined part may be a part of the body other than the hand (e.g., leg). Also, the predetermined part is not limited to a body part, and may be a predetermined object held in the hand. For example, when the subjects SA and SB are fencing remotely, the sword held in the hand of the subject S becomes the predetermined part. In the following, a case where the subjects SA and SB are boxing remotely will be mainly described.
[0013] The camera 100A and the camera 100B have a similar configuration. When the camera 100A and the camera 100B are not distinguished from each other, the camera 100A and the camera 100B are simply referred to as the camera 100.
[0014] The camera 100 includes a ToF (Time of Flight) sensor that captures a depth image, and an RGB (Red, Green, Blue) sensor. The light received by the ToF sensor and the light received by the RGB sensor are incident on the same optical axis to the camera 100. In the following description, the ToF sensor and the RGB sensor in this configuration are described as being on the same optical axis.
[0015] 2 is a diagram illustrating an example of the configuration of the camera 100. The subject S is illuminated by the ambient light 21. The camera 100 includes a laser light source 110, a lens 120, a visible light reflecting dichroic film 130, a ToF sensor 140, a distance measurement process 150, an RGB sensor 160, and an RGB process 170. The visible light reflecting dichroic film 130 is configured by bonding two prisms together. The lens 120 may be a lens suitable for both visible light and infrared light.
[0016] First, the operation of capturing a depth image (depth data) will be described. A pulsed infrared light generated by a laser light source 110 such as a VCSEL (Vertical Cavity Surface Emitting LASER) is irradiated onto the subject S. The infrared light reflected by the subject S returns to the camera 100 as indicated by a right-pointing arrow. The infrared light is collected by a lens 120, passes through a visible light reflecting dichroic film 130, and enters a ToF sensor 140. The ToF sensor 140 is, for example, a CMOS (Complementary Metal Oxide Semiconductor) image sensor capable of capturing infrared light. A ranging process 150 processes data from the ToF sensor 140 and outputs distance data, that is, depth data. The depth is measured by measuring the time from when the infrared light is irradiated onto the subject S until it is received by the ToF sensor 140. The ToF sensor 140 may include the ranging process 150, and the ToF sensor 140 may output a depth image.
[0017] Next, the operation of capturing an RGB image will be described. Visible light from the subject S illuminated by the ambient light 21 is collected by the lens 120, reflected by the visible light reflecting dichroic film 130, and enters the RGB sensor 160 such as a CMOS image sensor. The RGB process 170 processes the data from the RGB sensor 160 and outputs RGB data. The pixels of the RGB sensor 160 and the pixels of the ToF sensor 140 may correspond to each other.
[0018] The RGB data represents RGB values for each coordinate on a two-dimensional plane. Similarly, the depth data represents the depth for each coordinate. The ToF sensor 140 and the RGB sensor 160 are synchronized with the same vertical synchronization signal. This allows the depth of each part of the subject S to be grasped in synchronization with the RGB video. Since the ToF sensor 140 and the RGB sensor 160 are on the same optical axis, the coordinate positions of the RGB data and the depth data match, making it easy to perform contact determination, which will be described later. The camera 100 is synchronized with other cameras 100 at the clock level using GPS (Global Positioning System) / PTP (Pulse Per Second) or the like.
[0019] Referring to FIG. 1, a camera 100A is installed at a site A. A ToF sensor of the camera 100A captures a depth image of a subject SA. An RGB sensor of the camera 100A captures an RGB image of the subject SA. The depth image and the RGB image correspond to each other. The depth image and the RGB image may be stored as so-called RGBD (Red, Green, Blue, Depth) data. The camera 100A is connected to a contact determination device 300A. The camera 100A outputs the depth image and the RGB image to the contact determination device 300A.
[0020] The camera 100B is installed at the site B. The ToF sensor of the camera 100B captures a depth image of the subject SB. The RGB sensor of the camera 100B captures an RGB image of the subject SB. The camera 100B is connected to the contact determination device 300B. The camera 100B outputs the depth image and the RGB image to the contact determination device 300B.
[0021] The display device 200A is a display, a monitor, or the like installed at the site A. The display is, for example, an LCD (Liquid Crystal Display). The display device 200A is connected to the contact determination device 300A. The display device 200B is connected to the contact determination device 300B. When the display devices 200A and 200B are not distinguished from each other, the display devices 200A and 200B are simply referred to as the display devices 200. The display device 200 may be a head-mounted display. An example in which the display device 200 is a head-mounted display will be described later.
[0022] The contact determination device 300A acquires a depth image and an RGB image captured by the camera 100A from the camera 100A. The contact determination device 300A transmits the depth image and the RGB image acquired from the camera 100A to the contact determination device 300B. The contact determination device 300A also receives the depth image and the RGB image captured by the camera 100B from the contact determination device 300B.
[0023] The contact determination device 300B acquires a depth image and an RGB image from the camera 100B. The contact determination device 300B transmits the depth image and the RGB image acquired from the camera 100B to the contact determination device 300A. The contact determination device 300B also receives the depth image and the RGB image captured by the camera 100A from the contact determination device 300A.
[0024] For example, the contact determination device 300A determines whether the fist of the subject SB has virtually contacted the subject SA, and the contact determination device 300B determines whether the fist of the subject SA has virtually contacted the subject SB. Alternatively, the contact determination device 300A may determine whether the fist of the subject SA has virtually contacted the subject SB, and the contact determination device 300B may determine whether the fist of the subject SB has virtually contacted the subject SA. The contact determination device 300 determines whether the fist of a given subject S (referred to as a first subject S) among the subjects SA and SB has virtually contacted a subject S (referred to as a second subject S) different from the first subject S. The camera 100 that photographs the first subject S is referred to as the first camera 100. The camera 100 that photographs the second subject S is referred to as the second camera 100. In the following description, the virtual contact of the fist of the first subject S with the second subject S may be simply expressed as the fist of the first subject S contacting the second subject S.
[0025] The contact determination device 300A generates an AR (Augmented Reality) image by superimposing a related image (e.g., an image of a boxing glove) related to the fist of the subject SA on an RGB image of the subject SB. The contact determination device 300A outputs the AR image to the display device 200A. The contact determination device 300B generates an AR image by superimposing a related image on an RGB image of the subject SA, and outputs the AR image to the display device 200B. Note that when the display device 200 is a head-mounted display, the actual fist of each subject S is displayed, so there is no need to generate an AR image.
[0026] The contact determination device 300A further superimposes an image indicating that a specific portion has been contacted (e.g., an image indicating an impact) onto the RGB image according to the result of the contact determination. The contact determination device 300A may also transmit a control signal to an electronic device worn by the subject SA to supply a current to the body of the subject SA. Similarly, the contact determination device 300B superimposes an image onto the RGB image or supplies a current to the body of the subject SB according to the result of the contact determination.
[0027] In this way, the contact determination devices 300A and 300B have similar functions. When the contact determination devices 300A and 300B are not distinguished from each other, the contact determination devices 300A and 300B are simply referred to as the contact determination devices 300.
[0028] The configuration of the contact determination device 300 will be described in detail with reference to Fig. 3. The contact determination device 300 includes a first acquisition unit 310, a second acquisition unit 320, a determination unit 330, a generation unit 340, a notification unit 350, and a transmission unit 360.
[0029] The contact determination device 300 may determine that the subject S at the base where the contact determination device 300 is installed has been hit with a fist. The contact determination device 300 may also determine that the subject S at the base where the contact determination device 300 is installed has been hit with a fist. In the following, an example of determining that the subject S has been hit with a fist will be mainly described.
[0030] The contact determination device 300 includes a camera interface (not shown) for connecting to the first camera 100 or the second camera 100. The contact determination device 300 is connected to, for example, the second camera 100. The contact determination device 300 also includes a communication interface (not shown) with a network line N.
[0031] The first acquisition unit 310 acquires a first depth image and a first RGB image captured by the first camera 100 of the first subject S. The first RGB image is an RGB image corresponding to the first depth image. Then, the first acquisition unit 310 acquires the depth of the fist of the first subject S based on the first depth image. The depth may be associated with coordinates on the first depth image. The first acquisition unit 310 may further acquire the depth of a part of the first subject S other than the fist (e.g., head, chest, abdomen) based on the first depth image. The first acquisition unit 310 may acquire the depth of both fists of the first subject S.
[0032] The first acquisition unit 310 may acquire the first depth image or the like via a communication interface, or may acquire the first depth image or the like via a camera interface. When determining that the subject S at a base where the contact determination device 300 is installed has been hit with a fist, the first acquisition unit 310 acquires the first depth image or the like via a communication interface. The depth of the fist or the like of the first subject S may be calculated by another contact determination device 300 or a server (not shown). When the first acquisition unit 310 acquires the calculation result, the first acquisition unit 310 does not need to acquire the first depth image.
[0033] The first acquisition unit 310 detects, for example, an image area corresponding to a fist from the first RGB image. For example, if the first subject S is wearing gloves of a predetermined color, a region of the predetermined color is detected from the first RGB image. Then, the first acquisition unit 310 may extract an image area corresponding to the detected image area from the first depth image, and calculate the depth from the extracted image area. Note that the first acquisition unit 310 may directly detect the region of the fist from the first depth image.
[0034] The second acquisition unit 320 acquires a second depth image and a second RGB image captured by the second camera 100 of the second subject S. The second RGB image is an RGB image corresponding to the second depth image. The second acquisition unit 320 then acquires the depth of each part of the second subject S based on the second depth image. The second acquisition unit may acquire the depth of the fist and the depth of parts other than the fist (e.g., head, chest, abdomen). The depth of the fist is used, for example, to generate an AR image. The depth of parts other than the fist (e.g., abdomen) is used, for example, for contact determination by the determination unit 330.
[0035] The second acquisition unit 320 may also acquire the second depth image or the like via a camera interface, or may acquire the second depth image or the like via a communication interface, similar to the first acquisition unit 310. For example, when determining that the subject S at the base where the contact determination device 300 is installed has been hit with a fist, the second acquisition unit 320 acquires the second depth image or the like via a camera interface.
[0036] The determination unit 330 determines whether the fist of the first subject S has virtually contacted the second subject S based on the depth of the fist of the first subject S and the second depth image. The determination unit 330 may determine whether the fist of the first subject S has contacted a part (e.g., abdomen) other than the fist of the second subject S based on the depth of the part. The determination unit 330 may determine whether the fist of the first subject S has contacted any part of the body of the second subject S based on the entire depth data of the second subject S. In this case, the second acquisition unit 320 does not need to calculate the depth of each part of the second subject S.
[0037] The determination unit 330 converts, for example, the depth of the fist of the first subject S as seen from the first camera 100 into a virtual depth as seen from the second camera 100. For example, the virtual depth of the fist may be calculated by subtracting the depth of the fist as seen from the first camera 100 from a predetermined length. The conversion of the depth may be performed based on the standing position described later. Then, the determination unit 330 may determine whether the fist of the first subject S is in contact with the body of the second subject S as seen from the second camera 100. For example, if the converted depth of the fist matches the depth of a part of the second subject other than the fist (e.g., head, stomach, legs, etc.), it is determined that the fist of the first subject S is in contact with the second subject S (positive determination result). The depth data of the second subject S as seen from the second camera 100 may be converted into depth data as seen from the first camera 100.
[0038] The generating unit 340 generates an AR image by superimposing an image related to the fist of the second subject S (e.g., an image of a boxing glove) on the first RGB image based on the depth of the fist of the second subject S. Then, the generating unit 340 outputs the AR image to the display device 200 connected to the contact determination device 300. However, it is assumed that the second subject S is at the base where the contact determination device 300 is installed. When the first subject S is at the base where the contact determination device 300 is installed, the generating unit 340 generates an AR image based on the depth of the fist of the first subject S. When the determination result of the determining unit 330 is positive, the generating unit 340 may further superimpose an image representing the contact of the fist (e.g., an image representing an impact) on the first RGB image or the like.
[0039] 4 is a diagram for explaining an example of an AR image. A related image 23 showing a boxing glove is displayed on a first RGB image 22 in which a first subject S is photographed. This allows the second subject S to accurately grasp the positional relationship with the opponent. If the distance between the second subject S and the second camera 100 does not change, the smaller the depth of the fist of the second subject S, the farther the fist of the second subject S is from the second subject S, so the related image 23 may be displayed smaller.
[0040] 3, when the determination result of the determination unit 330 is positive, the notification unit 350 causes the electronic device carried by the second subject S to supply a current. This makes it possible to notify the second subject S of the contact determination result. Note that the determination result may be notified to the second subject S by the electronic device vibrating or outputting a sound. The notification unit 350 may notify the first subject S.
[0041] The transmission unit 360 transmits the depth image and the RGB image acquired via the camera interface to the other contact determination device 300. The transmitted RGB image is displayed on the display device 200 connected to the other contact determination device 300. The transmission unit 360 may transmit the depth of each part of the second subject S or the first subject S instead of the depth image.
[0042] The transmitting unit 360 compresses the RGB image acquired via the camera interface using a codec that compresses the image on a line-by-line basis, such as JPEG-XS. This allows the transmitting unit 360 to transmit the image with low latency. The transmitting unit 360 may compress the RGB image using other compression algorithms.
[0043] The functions of the first acquisition unit 310, the second acquisition unit 320, the determination unit 330, the generation unit 340, the notification unit 350, and the transmission unit 360 may be realized by loading a program (not shown) into a memory (not shown), such as a RAM, and executing the program by a processor (not shown). Each function may also be realized by dedicated hardware.
[0044] With reference to FIG. 1, calculation of the depth of each part of the subjects SA and SB may be performed by either the contact determination device 300A or 300B, or may be performed by both. Determining whether the fist of the subject SA has virtually contacted the subject SB may be performed by either the contact determination device 300A or 300B. Also, calculation of the depth of each part, contact determination, and generation of the AR image may be performed partly or entirely by the camera 100 or a server (not shown). For example, a server connected to the network N may have the function of the contact determination device 300. In this case, the contact determination device 300 does not need to be installed at each base. With reference to FIG. 1 and FIG. 2, an example of the functional configuration of the above server will be described. The server has a function of acquiring a depth image and an RGB image captured by the camera 100A via the network N, and a function of acquiring a depth image and an RGB image captured by the camera 100B via the network N. Then, the first acquisition unit 310 of the server acquires the depth of the fist of the subject SA based on the depth image captured by the camera 100A. Similarly, the first acquisition unit 310 of the server acquires the depth of the fist of the subject SB based on the depth image captured by the camera 100B. Then, the determination unit 330 of the server determines whether the fist of the subject SA has virtually contacted the subject SB based on the depth of the fist of the subject SA and the depth image captured by the camera 100B, and transmits the determination result to the location B. Similarly, the determination unit 330 of the server determines whether the fist of the subject SB has virtually contacted the subject SA based on the depth of the fist of the subject SB and the depth image captured by the camera 100A, and transmits the determination result to the location A. Furthermore, the generation unit 340 of the server generates an AR image in which a related image of the fist of the subject SB is superimposed on the RGB image captured by the camera 100A based on the depth image captured by the camera 100B, and transmits the AR image to the location B. Similarly, the generation unit 340 of the server generates an AR image in which a related image of the fist of the subject SA is superimposed on the RGB image captured by the subject SB based on the depth image captured by the subject SA, and transmits the AR image to the location A.
[0045] Incidentally, in the contact determination system 1, it is necessary to appropriately set the virtual distance between the subject SA and the subject SB. This is related to the depth conversion described above. As an example, it is considered that the reference position of the subject SA (called reference position A) and the reference position of the subject SB (called reference position B) are determined in advance, and contact determination is started after the subject SA stands at the reference position A and the subject SB stands at the reference position B. When the subject SA stands at the reference position A, it is assumed that the subject SA stands at a predetermined position as seen from the camera 100B. When the subject SB stands at the reference position B, it is assumed that the subject SB stands at a predetermined position as seen from the camera 100A.
[0046] FIG. 5 is a diagram for explaining the virtual standing positions of subjects SA and SB. The diagram on the left side includes a camera 100A, a subject SA, and a virtual subject SB. The virtual subject SB is indicated by a dotted line. The diagram on the right side includes a camera 100B, a subject SB, and a virtual subject SA. The virtual subject SA is indicated by a dotted line. Referring to the diagram on the left side, the subject SA stands at a reference position (reference position A) that is a predetermined distance d1 away from the camera 100A. Referring to the diagram on the right side, the depth of the virtual subject A as seen from the camera 100B is a predetermined value Dt1. The same is true for the subject SB.
[0047] Reference symbol d2 indicates the depth of the fist of subject SA, and reference symbol d3 indicates the depth of the fist of subject SB. The depth of the fist of subject SA and the depth of the fist of subject SB are variable. The position and size of a related image (e.g., an image of a boxing glove) displayed on display device 200A may be determined based on the difference between the actual standing position of subject SA and reference position A, and the moving distance of the fist of subject SA. The standing position of subject SA may be the position of the subject SA's feet, stomach, or head. In this case, when the depth d3 of the fist of subject SB matches the virtual standing position of subject SA, it is determined that the fist of subject SB has come into contact with subject SA.
[0048] In another example, before the contact determination, calibration is performed to determine the virtual standing positions. As in the case of boxing matches, where the opponents clash fists at the start of a match, the subject SA puts out its fist toward the camera 100A, and the subject SB puts out its fist toward the camera 100B. That is, the subject SA brings its fist closer to the camera 100A, and the subject SB brings its fist closer to the camera 100B. Then, based on the depth of the fist of the first subject S and the depth of the fist of the second subject S, calibration of the virtual positions of the subjects SA and SB is performed. Specifically, the virtual standing positions of the subject SA and the subject SB are determined so that the positions of the fists of the subject SA and the subject SB match.
[0049] FIG. 6 is a diagram for explaining a calibration method. Referring to the diagram on the left, the symbol d1 represents the depth of the fist thrust out by the subject SA. The symbol d2 represents the standing position of the subject SA. Therefore, the distance from the standing position of the subject SA to the fist of the subject SA is d2-d1. Referring to the diagram on the right, the symbol d3 represents the depth of the fist thrust out by the subject SB. The symbol d4 represents the standing position of the subject SB. Therefore, the distance from the standing position of the subject SB to the fist of the subject SB is d4-d3.
[0050] Referring to the diagram on the right, the depth that is the reference for the virtual standing position of the subject SA is Dt2. Since the distance from the actual standing position of the subject SA to the fist is d2-d1, Dt2=d3-(d2-d1) holds. Similarly, if the depth that is the reference for the virtual standing position of the subject SB is Dt1, Dt1=d1-(d4-d3) holds. After Dt1 and Dt2 are determined, an AR image may be displayed based on the amount of change in the standing position or the amount of movement of the fist, as in the case where the reference positions A and B are determined in advance.
[0051] Next, a case where the display device 200 is a head mounted display will be described. Figs. 7 and 8 are diagrams for explaining a method for setting the virtual image screen position of the head mounted display. Fig. 7 shows a state in which point cloud data representing the subject SA is generated based on the position of the camera 100A, and point cloud data representing the subject SB is generated based on the position of the camera 100B. The shooting direction of the cameras 100A and 100B is the z direction, and a plane parallel to the shooting direction is the xy plane. The depth of the subject SA at the center of the depth image by the camera 100A is d1, and the depth of the subject SB at the center of the depth image by the camera 100B is d2.
[0052] Referring to FIG. 8, the virtual image screen position of the head mounted display worn by subject SA (called virtual image surface reference A) and the virtual image screen position of the head mounted display worn by subject SB (called virtual image surface reference B) are shown. Subject SB, shown by a dotted line, exists on virtual image surface reference A, and subject SA, shown by a dotted line, exists on virtual image surface reference B. The distance from subject SA to virtual image surface reference A is equal to the distance from subject SB to virtual image surface reference B. If the default value d_hmd1 of the virtual image screen position of the head mounted display worn by subject SA is smaller than the default value d_hmd2 of the virtual image screen position of the head mounted display worn by subject SB, the larger default value d_hmd2 is set to the virtual image surface references A and B. Alternatively, in order to align the conditions of both players, the average value of the default values d_hmd1 and d_hmd2 of the virtual image surface references of the head mounted displays may be calculated and the average value may be set to the virtual image surface references A and B. After the virtual image plane references A and B are determined, contact determination is performed in the same manner as when a head mounted display is not used. In the case of a head mounted display, the other person is displayed as if they are right in front of the user, so there is no need to display an AR image. In other words, the contact determination device 300 does not need to include the generation unit 340. Note that even when a head mounted display is used, calibration may be performed by having each subject S stick out their arm, thereby adjusting the image parallax.
[0053] The contact determination device according to the first embodiment can reduce the time required for contact determination by performing contact determination based on the depth of a predetermined portion of the first subject S and a depth image of the second subject S. Since the contact determination device can perform contact determination in real time, the subjects SA and SB can experience a situation close to actual boxing. In the first embodiment, there is no need to wear a dedicated device as in motion capture.
[0054] The subjects SA and SB may engage in any martial art other than boxing (e.g., fencing). Furthermore, the subjects SA or SB may be animals. For example, the contact determination device may be applied to communication purposes by determining that the subject S, which is a human, has virtually touched the subject S, which is an animal.
[0055] The above-mentioned program includes a set of instructions (or software code) for making the computer perform one or more functions described in the embodiment when the program is loaded into the computer. The program may be stored in a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, the computer-readable medium or the tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray® disk or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may be transmitted on a transitory computer-readable medium or a communication medium. By way of example and not limitation, the transitory computer-readable medium or the communication medium includes electrical, optical, acoustic, or other forms of propagating signals. [Explanation of symbols]
[0056] 1. Contact Judgment System 100, 100A, 100B Camera 110 Laser light source 120 Lens 130 Visible light reflecting dichroic film 140 ToF sensor 150 Ranging Process 160 RGB sensor 170 RGB Process 200, 200A, 200B display device 300, 300A, 300B contact determination device 310 First acquisition part 320 Second Acquisition Department 330 Judgment section 340 Generation part 350 Notification Department 360 Transmitter 21 Ambient light 22 First RGB image 23 Related Images N Network Line S, SA, SB Subject
Claims
1. a first acquisition unit that acquires a depth of a predetermined portion of a first subject based on a first depth image obtained by capturing the first subject with a first camera installed at a first base; a determination unit that determines whether the predetermined portion of the first subject has virtually come into contact with the second subject based on a depth of the predetermined portion of the first subject and a second depth image of the second subject captured by a second camera installed at a second site different from the first site; A contact determination device comprising:
2. a generating unit that superimposes a related image related to the predetermined portion of the second subject on a first RGB image corresponding to the first depth image based on the second depth image, or superimposes a related image related to the predetermined portion of the first subject on a second RGB image corresponding to the second depth image based on the first depth image. The collision determination device according to claim 1 , further comprising:
3. The first camera includes a first Time of Flight (ToF) sensor that captures the first depth image and a first RGB sensor that captures the first RGB image; the first ToF sensor is coaxial with the first RGB sensor; the second camera includes a second ToF sensor that captures the second depth image and a second RGB sensor that captures the second RGB image; The second ToF sensor is coaxial with the second RGB sensor. The contact determination device according to claim 2 .
4. Calibrating virtual positions of the first subject and the second subject based on a depth of the predetermined portion of the first subject when the first subject brings the predetermined portion closer to the first camera and a depth of the predetermined portion of the second subject when the second subject brings the predetermined portion closer to the second camera. The contact determination device according to claim 1 .
5. On the computer, A process of acquiring a depth of a predetermined portion of a first subject based on a first depth image obtained by capturing the first subject with a first camera installed at a first base; a process of determining whether the predetermined portion of the first subject has virtually come into contact with the second subject based on a second depth image captured by a second camera installed at a second site different from the first site; A program that executes the following.
Citation Information
Patent Citations
Method for determining the relative positions of a first image device and a second image device and these devices
JP2012522231A
Information processing device, control method of information processing device, and program
JP2020198108A
3D Telepresence System
JP2022009242A
Human body pose estimation
US20130266182A1
System And Method For Generating A Dynamic Three-Dimensional Model
US20150161818A1
