ultraleap Patent | Object detection and tracking for providing a virtual device experience
Patent: Object detection and tracking for providing a virtual device experience
Drawings: Click to check drawins
Publication Number: 20150199025
Publication Date: 20150716
Applicants: Leap Motion
Assignee: Leap Motion
Abstract
The technology disclosed can provide capabilities such as using vibrational sensors and/or other types of sensors coupled to a motion-capture system to monitor contact with a surface that a user can touch. A virtual device can be projected onto at least a portion of the surface. Location information of a user contact with the surface is determined based at least in part upon vibrations produced by the contact. Control information is communicated to a system based in part on a combination of the location on the surface portion of the virtual device and the detected location information of the user contact. The virtual device experience can be augmented in some implementations by the addition of haptic, audio and/or visual projectors.
Claims
1. A method of operating a motion-capture system, the method including: monitoring at least three vibration sensors coupled to a motion-capture system; and in response to detection of vibrations generated by contact of an object with a surface of a solid medium, tracking a position of the object by: detecting a first vibration through a first medium by a first sensor; detecting a second vibration through a second medium by at least a second and a third sensor; measuring a time difference of arrival (TDOA) of the second vibration at the at least second and third sensors with respect to a TDOA of the first vibration at the first sensor and mapping surface locations that satisfy the TDOA; calculating a distance from the object to the second and third sensor based on the respective TDOAs; and determining location information for the object relative to the sensors based on the mapped TDOA surface locations.
2. The method of claim 1, further including calculating a path of the object traveling across and in contact with the surface by: repeatedly determining location information responsive to successive contacts of the object with the surface; and analyzing a sequence of images of the successive contacts of the object with the surface.
3. The method of claim 2, further including comparing the path to a plurality of path templates and identifying a template that best matches the path.
4. The method of claim 2, further including constructing a 3D model of the object and tracking movement thereof over the surface based on the sequence of images and the vibrations.
5. The method of claim 1, further including recognizing at least one of an image sequence or an audio signal that indicates a trajectory of the tracked object.
6. The method of claim 1, further including recognizing at least one of an image sequence or an audio signal that indicates a gesture of the tracked object.
7. The method of claim 1, further including: projecting a virtual device onto at least a portion of the surface; detecting location information of a user contact with the surface based at least in part upon vibrations produced by the contact; and communicating control information to a system based in part on a combination of the location on the surface portion of the virtual device and the detected location information of the user contact.
8. The method of claim 1, wherein the first medium is at least one of a solid medium or an air medium.
9. The method of claim 1, wherein the second medium is at least one of a solid medium or an air medium.
10. A method of creating a virtual device experience in a three-dimensional (3D) sensory environment, the method including: monitoring at least two contact microphones coupled to an optical motion-capture system in a three-dimensional (3D) sensory environment, wherein the contact microphones are in contact with a surface that a user touches; projecting a virtual device onto at least a portion of a surface; and in response to detection of audio signals generated by contact of an object with the surface that the user touches, tracking a position of the object in with contact with the virtual device by: measuring a time difference of arrival (TDOA) of the audio signals at the contact microphones and mapping surface locations that satisfy the TDOA; analyzing at least one image, captured by a camera of the optical motion-capture system, of the object in contact with the virtual device; using the image analysis to select among the mapped TDOA surface locations as location on the surface portion of the virtual device; detecting location information of the user contact with the surface based at least in part upon audio signals produced by the contact; and communicating control information to a system based in part on a combination of the location on the surface portion of the virtual device and the detected location information of the user contact.
11. The method of claim 10, wherein the projecting includes projecting an image of a virtualized object onto the surface portion.
12. The method of claim 11, wherein the image includes an image of a book.
13. The method of claim 10, further including filtering the audio signals to exclude frequencies outside a defined range.
14. The method of claim 10, further including recognizing at least one of an image sequence or an audio signal that indicates a trajectory or a gesture of the tracked object.
15. The method of claim 14, wherein the trajectory or the gesture dictates a change in operational mode.
16. An acoustical motion-capture system, the system including: a plurality of vibrational sensors in contact with a surface that a user touches; and a control module for tracking a position of an object responsive to detection of vibrations generated by contact of the object with the surface that the user touches, by: measuring a time difference of arrival (TDOA) of the vibrations at the vibrational sensors and mapping surface locations that satisfy the TDOA; analyzing at least one contact, captured by the sensors, of the object in contact with the surface; and using the analysis to select among mapped TDOA surface locations as a surface location of the contact.
17. The system of claim 16, further including: an imaging system configured to capture a sequence of images, wherein the control module is further configured to calculate a path of the object traveling across and in contact with the surface by: repeatedly determining location information responsive to successive contacts of the object with the surface; and analyzing the sequence of images of the successive contacts of the object with the surface.
18. The system of claim 17, further configured to construct a 3D model of the object and track movement thereof over the surface based on the sequence of images and the vibrations.
19. The system of claim 17, further configured to recognize at least one of an image sequence or a vibration that indicates a trajectory of the tracked object.
20. The system of claim 19, further configured to recognize at least one of an image sequence or a vibration that indicates a gesture of the tracked object.
Description
RELATED APPLICATION
[0001] The application claims the benefit of U.S. provisional Patent Application No. 61/927,919, entitled, "OBJECT DETECTION AND TRACKING FOR PROVIDING A VIRTUAL DEVICE EXPERIENCE," filed on Jan. 15, 2014 (Attorney Docket No. LEAP 1036-1/LPM-1036-PR). The provisional application is hereby incorporated by reference for all purposes.
BACKGROUND
[0002] The subject matter discussed in this section should not be assumed to be prior art merely as a result of its mention in this section. Similarly, a problem mentioned in this section or associated with the subject matter provided as background should not be assumed to have been previously recognized in the prior art. The subject matter in this section merely represents different approaches, which in and of themselves can also correspond to implementations of the claimed technology.
[0003] Conventional motion capture approaches rely on markers or sensors worn by the subject while executing activities and/or on the strategic placement of numerous bulky and/or complex equipment in specialized environments to capture movements of the subjects. Unfortunately, such systems tend to be expensive to construct. In addition, markers or sensors worn by the subject can be cumbersome and interfere with the subject's natural movement. Further, systems involving large numbers of cameras tend not to operate in real time, due to the volume of data that needs to be analyzed and correlated. Such considerations have limited the deployment and use of motion capture technology.
[0004] Consequently, there is a need for improved techniques for capturing the motion of objects in real time without attaching sensors or markers thereto.
SUMMARY
[0005] Implementations of the technology disclosed address these and other problems by providing methods and systems for capturing motion and/or determining the path of an object traveling in relation to a surface based on acoustic or vibrational waves. Implementations can enable use of audio or vibrational contact detection suitable for gesture detection, providing a virtual device experience, and other machine control and/or machine communications applications.
[0006] The technology disclosed relates to operation of a motion-capture system. In particular, it relates to monitoring at least three vibration sensors coupled to a motion-capture system and tracking a position of the object responsive to detection of vibrations generated by contact of an object with a surface of a solid medium. The position of the object is tracked by detecting a first vibration through a first medium by a first sensor, detecting a second vibration through a second medium by at least a second and a third sensor, measuring a time difference of arrival (TDOA) of the second vibration at the at least second and third sensors with respect to a TDOA of the first vibration at the first sensor and mapping surface locations that satisfy the TDOA, calculating a distance from the object to the second and third sensor based on the respective TDOAs, and determining location information for the object relative to the sensors based on the mapped TDOA surface locations.
[0007] The technology disclosed also relates to creating a virtual device experience in a three-dimensional (3D) sensory environment. In particular, it relates to monitoring at least two contact microphones coupled to an optical motion-capture system, wherein the contact microphones are in contact with a surface that a user touches, projecting a virtual device onto at least a portion of a surface, and in response to detection of audio signals generated by contact of an object with the surface that the user touches, tracking a position of the object in with contact with the virtual device. The object's position is tracked by measuring a time difference of arrival (TDOA) of the audio signals at the contact microphones and mapping surface locations that satisfy the TDOA, analyzing at least one image, captured by a camera of the optical motion-capture system, of the object in contact with the virtual device, using the image analysis to select among the mapped TDOA surface locations as location on the surface portion of the virtual device, detecting location information of the user contact with the surface based at least in part upon audio signals produced by the contact, and communicating control information to a system based in part on a combination of the location on the surface portion of the virtual device and the detected location information of the user contact.
[0008] In one implementation, vibrational sensors and/or other types of sensors are coupled to a motion-capture system to monitor contact with a surface that a user can touch. A virtual device can be projected onto at least a portion of the surface. Location information of a user contact with the surface is determined based at least in part upon vibrations produced by the contact. Control information is communicated to a system based in part on a combination of the location on the surface portion of the virtual device and the detected location information of the user contact. The virtual device experience can be augmented in some implementations by the addition of haptic, audio and/or visual projectors.
[0009] In an implementation, when the sensors detect acoustical signals (or other vibrational phenomena) generated by contact of an object with the surface that the user touches, a position of the object traveling across and in contact with the surface is tracked.
[0010] In some implementations, an optical motion-capture system is also included. Object position is tracked by measuring a time difference of arrival (TDOA) of the audio signals at the contact vibrational sensors and mapping surface locations that satisfy the TDOA, analyzing at least one image, captured by a camera of the optical motion-capture system, of the object in contact with the surface, and using the image analysis to select among the mapped TDOA surface locations as a surface location of the contact.
[0011] In further implementations, a path of the object is calculated by repeatedly measuring TDOAs of the audio signals at the contact vibrational sensors responsive to successive contacts of the object with the surface and analyzing a sequence of images of the successive contacts of the object with the surface.
[0012] Advantageously, some implementations can enable touch gesture recognition. This capability allows the user to execute intuitive gestures involving contact with a surface. For example, in low-light situations where free-form gestures cannot be recognized optically with a sufficient degree of reliability, a device can provide a touch mode in which touch gestures are recognized. Some implementations can provide improved interfacing with a variety of machines (e.g., a computing systems, including desktop, laptop, tablet computing devices, special purpose computing machinery, including graphics processors, embedded microcontrollers, gaming consoles, audio mixers, or the like; wired or wirelessly coupled networks of one or more of the foregoing, and/or combinations thereof), obviating or reducing the need for contact-based input devices such as a mouse, joystick, touch pad, or touch screen. Some implementations can provide for improved interface with computing and/or other machinery than would be possible with heretofore known techniques. In some implementations, a richer human--machine interface experience can be provided.
[0013] Other aspects and advantages of the present invention can be seen on review of the drawings, the detailed description and the claims, which follow.
BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In the drawings, like reference characters generally refer to the same parts throughout the different views. Also, the drawings are not necessarily to scale, with an emphasis instead generally being placed upon illustrating the principles of the technology disclosed. In the following description, various implementations of the technology disclosed are described with reference to the following drawings, in which:
[0015] FIG. 1 illustrates a system for capturing image and audio data according to an implementation of the technology disclosed.
[0016] FIG. 2 is a simplified block diagram of a computer system implementing an image analysis apparatus according to an implementation of the technology disclosed.
[0017] FIG. 3A is a perspective view from the top of a sensor in accordance with the technology disclosed, with vibrational sensors along an edge surface thereof.
[0018] FIG. 3B is a perspective view from the bottom of a sensor in accordance with the technology disclosed, with vibrational sensors along the bottom surface thereof.
[0019] FIG. 3C is a perspective view from the top of a sensor in accordance with the technology disclosed, with detachable vibrational sensors configured for placement on a surface.
[0020] FIG. 4 illustrates one implementation of a system for measuring a time difference of arrival (TDOA) of the audio signals at vibration sensors and determining location information based upon the TDOA.
[0021] FIG. 5 illustrates one implementation of a system for measuring a time difference of arrival (TDOA) of the audio signals at vibration sensors and determining location information based upon the TDOA.
[0022] FIG. 6 shows a flowchart of one implementation of determining location information based at least in part upon audio signals.
[0023] FIG. 7 illustrates one implementation of a system for providing a virtual device experience.
[0024] FIG. 8 shows a flowchart of one implementation of providing a virtual device experience.
[0025] FIG. 9 shows a flowchart of one implementation of providing a virtual device experience.
[0026] FIG. 10 illustrates one implementation of a system for measuring a time difference of arrival (TDOA) of the audio signals at contact vibrational sensors and mapping surface locations that satisfy the TDOA.
[0027] FIG. 11 shows a flowchart of one implementation of detecting and tracking an object with audio and optical signals.
[0028] FIG. 12 illustrates a flowchart of operating a motion-capture system.
[0029] FIG. 13 depicts a method of creating a virtual device experience in a three-dimensional (3D) sensory environment.
[0030] FIG. 14 illustrates a system for capturing image and other sensory data according to an implementation of the technology disclosed.
DETAILED DESCRIPTION
[0031] Among other aspects, implementations described herein with reference to example implementations can provide for automatically (e.g., programmatically) capturing motion and/or determining the path of an object traveling in relation to a surface based on acoustic or vibrational waves. Implementations can enable use of audio or vibrational contact detection suitable for gesture detection and other machine control and/or communications applications. Some implementations include vibrational detection with optical image sensing. For example, a sequence of images can be correlated to construct a 3-D model of the object, including its position and shape. A succession of images can be analyzed using the same technique to model motion of the object such as free-form gestures. In low-light or other situations not conducive to optical imaging, where free-form gestures cannot be recognized optically with a sufficient degree of reliability, audio signals can supply the direction and location of the object as further described herein. In some implementations, projection techniques can supplement the vibrational wave tracking to provide virtual device experience, a functional equivalent to an experience with a device.
[0032] Refer first to FIG. 1, which illustrates a system 100 for capturing vibrational waves and image data according to one implementation of the technology disclosed. System 100 includes a plurality of vibrational sensors 108, 110 and 120 coupled to the sensory processing system 106. Vibrational sensors 108, 110 and 120 can be any type of sensor useful for obtaining signals from vibrational waves travelling through a medium, e.g., microphones including electromagnetic induction (dynamic microphones), capacitance change (condenser microphones), piezoelectric response, or light modulation to produce an electrical signal from mechanical vibration; more generally, the term "microphone" herein refers to any device (or combination of devices) capable of converting mechanical vibration into an electrical signal.
[0033] Vibrational sensors 108, 110 and 120 in the illustrated implementation are capable of capturing audio signals (or other vibrational waves) as they propagate through one or more media; for example, one or more vibrational sensors 120 may be disposed to capture vibrational waves propagating through a medium 116. Such devices can include pickups or piezos, and are designed to sense audio vibrations through solid objects. One or more vibrational sensors 108, 110 may be disposed to capture vibrational waves travelling through a second medium (e.g., air). While the figures depict one contact microphone and two air microphones, this disclosure also covers more contact microphones than air microphones not depicted for clarity sake. Many types of vibrational sensors exist and implementation alternatives vary widely. Commonly available microphone elements include a thin piezoelectric ceramic round glued to a thin brass or alloy metal disc. More recently, flexible PVDF fluoropolymer piezo films have been used.
[0034] The illustrated system 100 can include any number of cameras 102, 104 coupled to sensory processing system 106. Cameras 102, 104 can be any type of camera, including cameras sensitive across the visible spectrum or with enhanced sensitivity to a confined wavelength band (e.g., the infrared (IR) or ultraviolet bands); more generally, the term "camera" herein refers to any device (or combination of devices) capable of capturing an image of an object and representing that image in the form of digital data. For example, line sensors or line cameras rather than conventional devices that capture a two-dimensional (2D) image can be employed. The term "light" is used generally to connote any electromagnetic radiation, which may or may not be within the visible spectrum, and may be broadband (e.g., white light) or narrowband (e.g., a single wavelength or narrow band of wavelengths).
[0035] Cameras 102, 104 are preferably capable of capturing video images (i.e., successive image frames at a constant rate of at least 15 frames per second); although no particular frame rate is required. The capabilities of cameras 102, 104 are not critical to the technology disclosed, and the cameras can vary as to frame rate, image resolution (e.g., pixels per image), color or intensity resolution (e.g., number of bits of intensity data per pixel), focal length of lenses, depth of field, etc. In general, for a particular application, any cameras capable of focusing on objects within a spatial volume of interest can be used. For instance, to capture motion of the hand of an otherwise stationary person, the volume of interest might be defined as a cube approximately one meter on a side.
[0036] When present, cameras 102, 104 are oriented toward a region of interest 112, that includes at least a portion of a surface 116, in which an object of interest 114 (in this example, a hand) moves across and in contact with the surface 116 along the indicated path 118. The sensors 108, 110 are positioned for contact with surface 116 for capturing audio signals propagating there through. In some implementations, light sources 115, 117 are arranged to illuminate the region of interest 112. In some implementations, one or more of the cameras 102, 104 are disposed opposite the motion to be detected, e.g., where the hand 114 is expected to move. This is an optimal location because the amount of information recorded about the hand is proportional to the number of pixels it occupies in the camera images, and the hand will occupy more pixels when the camera's angle with respect to the hand's "pointing direction" is as close to perpendicular as possible. Sensory processing system 106, which can be, e.g., a computer system, can control the operation of sensors 108, 110 and cameras 102, 104 to capture images of the region of interest 112 and audio signals propagating through surface 116. Surface 116 can comprise a single surface, or multiple surfaces through which vibrations can propagate from one to the next. Based on the captured images and audio signals, sensory processing system 106 determines the position and/or motion of object 114.
[0037] For example, as an action in determining the motion of object 114, sensory processing system 106 can determine which pixels of various images captured by cameras 102, 104 contain portions of object 114. In some implementations, any pixel in an image can be classified as an "object" pixel or a "background" pixel depending on whether that pixel contains a portion of object 114 or not. Object pixels can thus be readily distinguished from background pixels based on brightness. Further, edges of the object can also be readily detected based on differences in brightness between adjacent pixels, allowing the position of the object within each image to be determined. In some implementations, the silhouettes of an object are extracted from one or more images of the object that reveal information about the object as seen from different vantage points. While silhouettes can be obtained using a number of different techniques, in some implementations, the silhouettes are obtained by using cameras to capture images of the object and analyzing the images to detect object edges. Correlating object positions between images from cameras 102, 104 allows sensory processing system 106 to determine the location in 3D space of object 114, and analyzing sequences of images allows sensory processing system 106 to reconstruct 3D motion of object 114 using conventional motion algorithms or other techniques. See, e.g., U.S. patent application Ser. No. 13/414,485 (filed on Mar. 7, 2012) and U.S. Provisional Patent Application Nos. 61/724,091 (filed on Nov. 8, 2012) and 61/587,554 (filed on Jan. 7, 2012), the entire disclosures of which are hereby incorporated by reference.
[0038] For example, in low-light situations where free-form gestures cannot be recognized optically with a sufficient degree of reliability, system 106 may switch to a touch mode in which touch gestures are recognized. Alternatively, system 106 may switch to the touch mode, or supplement image capture and processing with touch sensing, when signals from sensors 108, 110 and 120 are sensed. In still another operational mode, a tap or touch gesture may act as a "wake up" signal to bring the image and audio analysis system 106 from a standby mode to an operational mode. For example, the system 106 may enter the standby mode if optical signals from the cameras 102, 104 are absent for longer than a threshold interval. Because the sensors 108, 110 and 120 can generate detectable electrical signals without external power, the system 106 may contain an ultra-low-power wake-up circuit such as those designed for low-voltage detection (for example, the Microchip AN879 module).
[0039] In determining the motion of object 114, sensory processing system 106 can determine its location and direction by computationally analyzing the audio signals captured by sensors 108, 110. For example, any part of object 114 that comes in contact with surface 116 can be classified as a "source" of the audio signals captured. The mechanical vibrations that can be interpreted as sound are able to travel through all forms of matter: gases, liquids, solids, and plasmas. The matter that supports the sound is called the medium. For example, surface 116 may be a solid material--e.g., one with enough surface texture to generate contact noise when rubbed. One conventional approach to obtaining the source direction of an audio signal in such an environment is the time difference of arrival (TDOA) method. Wikipedia, at http://en.wikipedia.org/w/index.php?title=Acoustic.sub.-- source_localization&oldid=529531982, Acoustic source localization, on Dec. 24, 2012, 03:28 UTC.
[0040] "With a sensor array consisting of at least two sensors it is possible to obtain the source direction using the cross-correlation function between each sensor's signals. For example, the cross-correlation function between two sensors is defined as:
R x 1 , x 2 ( .tau. ) = n = - .infin. .infin. x 1 ( n ) x 2 ( n + .tau. ) ##EQU00001##
[0041] which defines the level of correlation between the outputs of two sensors x.sub.1 and x.sub.2. In general, a higher level of correlation means that the argument .tau. is relatively close to the actual TDOA. For two sensors next to each other, the TDOA is given by:
.tau. true = d spacing c ##EQU00002##
[0042] where c is the speed of sound in the medium of surface 116." Ibid. It can be assumed that the medium of surface 114 is one commonly used for desk or table tops, such as wood, for which a value of c is known. Sensory processing system 106 can be configured in various ways to ascertain the medium of surface 116 and/or the speed of sound propagation in that medium. Id.
[0043] In one implementation, sensory processing system 106 stores a table of audio signatures--i.e., response characteristics--produced by a specific gesture (e.g., a finger swipe) performed on various surfaces. The user is instructed to perform this gesture when the system is first used on a particular surface, and the response characteristics are detected by sensory processing system 106 (via sensors 108, 110) and compared to find the best-matching signature. Each signature is associated with a particular medium and, more importantly, the speed of sound therein. Accordingly, when the best-matching signature is located, the associated value of is c used.
[0044] "Multilateration is a navigation technique based on the measurement of the difference in distance to two or more stations at known locations that broadcast signals at known times. See Wikipedia, at http://en.wikipedia.org/w/index.php?title=Multilateration&oldid=523281858- , on Nov. 16, 2012, 06:07 UTC, Multilateration (incorporated by reference link in Wikipedia, Acoustic source localization). Unlike measurements of absolute distance or angle, measuring the difference in distance results in an infinite number of locations that satisfy the measurement. When these possible locations are plotted, they form a hyperbolic curve. To locate the exact location along that curve, a second measurement is taken to a different pair of stations to produce a second curve, which intersects with the first. When the two are compared, a small number of possible locations are revealed, producing a "fix." In simple terms, with two receivers at known locations, an emitter can be located onto a hyperboloid. Note that the receivers do not need to know the absolute time at which the pulse was transmitted--only the time difference is needed. Ibid.
[0045] In some implementations, audio signals outside a defined range will be excluded from analysis by a filter to remove background noise. Once again, the properties of the medium as identified by signal matching can be used to define the characteristics of a suitable filter, which may be implemented in software or controllable hardware by sensory processing system 106.
[0046] Refer now to FIG. 2, which shows a simplified block diagram of a computer system 200 for implementing sensory processing system 106. Computer system 200 includes a processor 202, a memory 204, a microphone and camera interface 206, a display 208, speakers 209, a keyboard 210, and a mouse 211. Memory 204 can be used to store instructions to be executed by processor 202 as well as input and/or output data associated with execution of the instructions. In particular, memory 204 contains instructions, conceptually illustrated as a group of modules described in greater detail below, that control the operation of processor 202 and its interaction with the other hardware components. An operating system directs the execution of low-level, basic system functions such as memory allocation, file management and operation of mass storage devices. The operating system may be or include a variety of operating systems such as Microsoft WINDOWS operating system, the Unix operating system, the Linux operating system, the Xenix operating system, the IBM AIX operating system, the Hewlett Packard UX operating system, the Novell NETWARE operating system, the Sun Microsystems SOLARIS operating system, the OS/2 operating system, the BeOS operating system, the MACINTOSH operating system, the APACHE operating system, an OPENACTION operating system, iOS, Android or other mobile operating systems, or another operating system of platform.
[0047] The computing environment may also include other removable/non-removable, volatile/nonvolatile computer storage media. For example, a hard disk drive may read or write to non-removable, nonvolatile magnetic media. A magnetic disk drive may read from or writes to a removable, nonvolatile magnetic disk, and an optical disk drive may read from or write to a removable, nonvolatile optical disk such as a CD-ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The storage media are typically connected to the system bus through a removable or non-removable memory interface.
[0048] Processor 202 may be a general-purpose microprocessor, but depending on implementation can alternatively be a microcontroller, peripheral integrated circuit element, a CSIC (customer-specific integrated circuit), an ASIC (application-specific integrated circuit), a logic circuit, a digital signal processor, a programmable logic device such as an FPGA (field-programmable gate array), a PLD (programmable logic device), a PLA (programmable logic array), an RFID processor, smart chip, or any other device or arrangement of devices that is capable of implementing the actions of the processes of the technology disclosed.
[0049] Microphone and camera interface 206 can include hardware and/or software that enables communication between computer system 200 and cameras 102, 104, as well as microphones 108, 110 (see FIG. 1). Thus, for example, microphone and camera interface 206 can include one or more camera data ports 216, 218 and microphone ports 217, 219 to which the cameras and microphones can be connected (via conventional plugs and jacks), as well as hardware and/or software signal processors to modify data signals received from the cameras and microphones (e.g., to reduce noise or reformat data) prior to providing the signals as inputs to a motion-capture ("mocap") program 214 executing on processor 202. In some implementations, microphone and camera interface 206 can also transmit signals to the cameras and microphones, e.g., to activate or deactivate them, to control camera settings (frame rate, image quality, sensitivity, etc.), to control microphone settings (calibration, sensitivity levels, etc.), or the like. Such signals can be transmitted, e.g., in response to control signals from processor 202, which may in turn be generated in response to user input or other detected events.
[0050] Instructions defining mocap program 214 are stored in memory 204, and these instructions, when executed, perform motion-capture analysis on images supplied from cameras and audio signals from microphones connected to microphone and camera interface 206. In one implementation, mocap program 214 includes various modules, such as an object analysis module 222 and a path analysis module 224. Object analysis module 222 can analyze images (e.g., images captured via interface 206) to detect edges of an object therein and/or other information about the object's location. Object analysis module 222 can also analyze audio signals (e.g., audio signals captured via interface 206) to localize the object by, for example, triangulation as discussed above. Path analysis module 224 can track and predict object movements in 3D based on information obtained via the cameras. Audio signals place the object on a known surface, and the strength and variation of the signals can be used to detect object's presence. Successive camera images are analyzed at the pixel level to extract object movements and velocities. If both audio and image information is simultaneously available, both types of information can be analyzed and reconciled to produce a more detailed and/or accurate path analysis.
[0051] Display 208, speakers 209, keyboard 210, and mouse 211 can be used to facilitate user interaction with computer system 200. These components can be of generally conventional design or modified as desired to provide any type of user interaction. In some implementations, results of motion capture using microphone and camera interface 206 and mocap program 214 can be interpreted as user input. For example, a user can perform hand gestures or motions across a surface that are analyzed using mocap program 214, and the results of this analysis can be interpreted as an instruction to some other program executing on processor 200 (e.g., a web browser, word processor, or other application). Thus, by way of illustration, a user might use upward or downward swiping gestures to "scroll" a webpage currently displayed on display 208, to use rotating gestures to increase or decrease the volume of audio output from speakers 209, and so on. Path analysis module 224 may represent the detected path as a vector and extrapolate to predict the path, e.g., to improve rendering of action on display 208 by anticipating movement.
[0052] It will be appreciated that computer system 200 is illustrative and that variations and modifications are possible. Computer systems can be implemented in a variety of form factors, including server systems, desktop systems, laptop systems, tablets, smart phones or personal digital assistants, and so on. A particular implementation may include other functionality not described herein, e.g., wired and/or wireless network interfaces, media playing and/or recording capability, etc. In some implementations, one or more cameras and two or more microphones may be built into the computer rather than being supplied as separate components. Further, an image or audio analyzer can be implemented using only a subset of computer system components (e.g., as a processor executing program code, an ASIC, or a fixed-function digital signal processor, with suitable I/O interfaces to receive image data and output analysis results).
[0053] While computer system 200 is described herein with reference to particular blocks, it is to be understood that the blocks are defined for convenience of description and are not intended to imply a particular physical arrangement of component parts. Further, the blocks need not correspond to physically distinct components. To the extent that physically distinct components are used, connections between components (e.g., for data communication) can be wired and/or wireless as desired. Thus, for example, execution of object analysis module 222 by processor 202 can cause processor 202 to operate microphone and camera interface 206 to capture images and/or audio signals of an object traveling across and in contact with a surface to detect its entrance by analyzing the image and/or audio data.
[0054] FIGS. 3A-3C illustrate three different configurations of system 100, all packaged within a single housing as an integrated sensor. In all cases, sensor 300A, 300B, 300C includes a top surface 305, a bottom surface 307, and a side wall 310 spanning the top and bottom surfaces 305, 307. With reference also to FIG. 1, the top surface 305 of sensor 300A contains a pair of windows 315 for admitting light to the cameras 102, 104, one of which is optically aligned with each of the windows 315. If the system includes light sources 115, 117, surface 305 may contain additional windows for passing light to the object(s) being tracked.
[0055] In sensor 300A, microphones 108, 110 are located on the side wall 310. Desirably, the microphones are flush with the surface of side wall 310 so that, with this surface in contact with a table or other bearing surface, the microphones are in contact with the bearing surface. Of course, the microphones can be recessed slightly from side wall 310 in order to prevent frictional damage so long as acoustic coupling to the bearing surface remains adequate. This configuration allows the sensor 300A to be positioned to face objects in contact with and traveling across the bearing surface, so that tracking can be based simultaneously on optical and audio signals.
[0056] In sensor 300B, microphones 108, 110 are located on the bottom surface 307, once again in a flush or slightly recessed configuration. The top surface of the sensor 300B (not shown in the figure) contains camera windows 315 as shown in FIG. 3A. This arrangement is well-suited to applications in which the sensor is primarily used for optical tracking above the bearing surface, and audio tracking based on movements along and in contact with the bearing surface represent an alternative operational mode--e.g., the user may tap the bearing surface in order to "wake up" sensor 300B from a standby mode.
[0057] In FIG. 3C, microphones 108, 110 are external contact transducers that connect to sensor 300A via audio jacks 320. This configuration permits the microphones to be located away from the sensor, e.g., if the sensor does not rest on the surface with which tracked objects make contact.
[0058] It will be appreciated that the figures shown in FIGS. 3A-3C are illustrative. In some implementations, it may be desirable to house the system 100 in a differently shaped enclosure or integrated within a larger component or assembly. Furthermore, the microphones are depicted as small cylindrical discs, but neither the size nor the shape is critical.
[0059] FIG. 4 illustrates one implementation of a system for measuring a time difference of arrival (TDOA) of the audio signals at vibration sensors and determining location information based upon the TDOA. In particular, when an object 114 comes in contact with a medium 116 during an event 405 (e.g., a contact with medium 116), the resulting mechanical vibrations generate waves 406, 407 and 408. These waves 406, 407 and 408 are detected by vibration sensors 108, 110 and 120 respectively at different times due to the different distances of the sensors 108 and 110 from the object 114 and the difference in the velocity that the wave 408 travels through medium 116 as compared with the velocity that waves 406 and 407 travel through a second medium 112. Inset 417 illustrates time difference information indicating detection of event 405 by the vibration sensors 108, 110 and 120. In one implementation, the time difference information for a given set of vibration sensors can be used to determine distance and/or other location information of object 114. In some implementations optical information from camera 102 and/or camera 104 can be used to determine additional location information to obtain a unique position of object 114.
[0060] FIG. 5 illustrates one implementation of a system 500 for measuring a time difference of arrival (TDOA) of the audio signals at vibration sensors and determining location information based upon the TDOA. FIG. 5 shows an event 505 in which object 114 contacts a first medium 116, setting up waves 508 travelling through medium 116 and waves 506 and 507 travelling through a second medium 112. Inset 518 illustrates use of time difference of arrival information, in one implementation, to determine distance information for the event 505. Arrival of the first vibrational wave 508 at the first sensor 120 is used as a time reference from which to measure a delay (t.sub.1-t.sub.0) from which arrival of the wave 506 at the second sensor 108 and delay (t.sub.2-t.sub.0) from which the arrival of the wave 507 at the third sensor 110 are measured. The delays, t.sub.2 and t.sub.1, the velocity c that the subsequent vibrational waves travel through the second medium, are used to compute distance information from the contact 505 to the sensor(s) 108 and 110 as shown by inset 518.
[0061] FIG. 6 shows a flowchart 600 of one implementation of determining location information based at least in part upon audio signals. Flowchart 600 can be implemented at least partially with a computer or other data processing system, e.g., by one or more processors configured to receive or retrieve information, process the information, store results, and transmit the results. Other implementations may perform the actions in different orders and/or with different, fewer or additional actions than those illustrated in FIG. 6. Multiple actions can be combined in some implementations. For convenience, this flowchart is described with reference to the system that carries out a method. The system is not necessarily part of the method.
[0062] At action 610, least one vibrational sensor, coupled to a motion-capture system and in contact with a first medium that a user (or control object manipulated by a user) comes in contact, is monitored to detect a first vibration through a first medium by a first sensor. In one implementation, the contact is a touch, tap, sequence of taps, or swiping motions of an object traveling across and in contact with a surface. In another implementation, the vibrational sensor is omnidirectional. In yet another implementation, the vibrational sensor comprises a surface microphone.
[0063] At action 620, a second vibration travelling through a second medium is detected by at least a second and a third sensor. The second vibration also results from the contact that produced the first vibration.
[0064] At action 630, a time of arrival of the second vibration at the at least second and third sensors is determined with respect to the time of arrival of the first vibration at the first sensor.
[0065] At action 640, a distance from the source of the vibrations to the second and third sensor is calculated. In one implementation, arrival of the first vibrational wave at the first sensor is used to measure a delay from which arrival of the subsequent waves as the second and third sensors is measured. The delay, and the velocity that the subsequent vibrational waves travel through the second medium, is used to compute distance information from the contact 605 to the sensor(s).
[0066] At action 650, location information for the source of the vibrations is determined. In one implementation, a triangulation technique is used.
[0067] Now with reference to FIG. 7, which illustrates a system 700 for projecting a virtual device experience 701 onto a surface medium 116 according to one implementation of the technology disclosed. System 700 includes a processing system 106 controlling a variety of sensors and projectors, such as a plurality of vibrational sensors 108, 110 and 120 positioned for sensing contacts along a contact path 118 with surface 116. Optionally, system 106 can control an imaging system comprising for example one or more cameras 102, 104 (or other image sensors) and optionally some illumination sources 115, 117. Optionally projectors under control of system 106 can augment the virtual device experience 701, such as an optional audio projector 702 to provide for example audio feedback, optional video projector 704, an optional haptic projector 706 to provide for example haptic feedback to a user of virtual device experience 701. For further information on projectors, reference may be had to "Visio-Tactile Projector" YouTube (https://www.youtube.com/watch?v=Bb0hNMxxewg) (accessed Jan. 15, 2014). In operation, sensors and projectors are oriented toward a region of interest 112, that includes at least a portion of a surface 116, in which an object of interest 114 (in this example, a hand) moves across and in contact with the surface 116 along the indicated path 118.
[0068] In other implementations, a virtual device experience can be created in an augmented reality (AR) environment created by instantiation of a free-floating virtual modality in a real world physical space. In one implementation, computer-generated imagery, presented as free-floating virtual modality, can be rendered in front of a user as reflections using real-time rendering techniques such as orthographic or perspective projection, clipping, screen mapping, rasterizing and transformed into the field of view or current view space of a live camera embedded in a video projector, holographic projection system, smartphone, wearable goggle or other head mounted display (HMD), or heads up display (HUD). In some other implementations, transforming models into the current view space can be accomplished using sensor output from onboard sensors. For example, gyroscopes, magnetometers and other motion sensors can provide angular displacements, angular rates and magnetic readings with respect to a reference coordinate frame, and that data can be used by a real-time onboard rendering engine to generate 3D imagery of virtual device. If the user physically moves a user computing device or resulting in a change of view of the embedded camera, the virtual modality and computer-generated imagery can be updated accordingly using the sensor data.
[0069] FIG. 8 shows a flowchart 800 of one implementation of providing a virtual device experience. Flowchart 800 can be implemented at least partially with a computer or other data processing system, e.g., by one or more processors configured to receive or retrieve information, process the information, store results, and transmit the results. Other implementations may perform the actions in different orders and/or with different, fewer or additional actions than those illustrated in FIG. 8. Multiple actions can be combined in some implementations. For convenience, this flowchart is described with reference to the system that carries out a method. The system is not necessarily part of the method.
[0070] At action 810, a virtual device is projected onto at least a portion of a surface. Projection can include an image or other visual representation of an object. For example, optional video projector 704 can project a page (e.g., virtual device 701) from a book onto a desk (e.g., surface portion 116) of a reader; thereby creating a virtual device experience of reading an actual book, or an electronic book on a physical e-reader, even though no book nor e-reader is present. Optional haptic projector 706 can project the feeling of the texture of the "virtual paper" of the book to the reader's finger. Optional audio projector 702 can project the sound of a page turning in response to detecting the reader making a swipe to turn the page.
[0071] At action 820, location information of a user contact with the surface is detected based at least in part upon vibrations produced by the contact. Contact can be detected via sensors 108, 110 and 120 using techniques such as discussed above with reference to FIGS. 4-5.
[0072] Location information can be determined from the contact using techniques such as discussed above with reference to FIG. 6.
[0073] At action 830, control information can be communicated to a system based in part on a combination of the location on the surface portion of the virtual device and the detected location information of the user contact. For example, control information such as a command to turn the page of a virtual book can be sent based upon detecting a swipe along the desk surface of the reader's finger. Many other physical or electronic objects, impressions, feelings, sensations and so forth can be projected onto surface 116 (or in proximity thereto) to augment the virtual device experience and applications are limited only by the imagination of the user.
[0074] FIG. 9 shows a flowchart 900 of one implementation of providing a virtual device experience. Flowchart 900 can be implemented at least partially with a computer or other data processing system, e.g., by one or more processors configured to receive or retrieve information, process the information, store results, and transmit the results. Other implementations may perform the actions in different orders and/or with different, fewer or additional actions than those illustrated in FIG. 9. Multiple actions can be combined in some implementations. For convenience, this flowchart is described with reference to the system that carries out a method. The system is not necessarily part of the method.
[0075] At action 910, a location of a vibration is detected.
[0076] At action 920, control information based at least in part on the vibration is communicated to a system.
[0077] At action 930, sensory feedback is sent to a user based in part on the control information.
[0078] FIG. 10 illustrates one implementation of a system 1000 for measuring a time difference of arrival (TDOA) of the audio signals at contact microphones and mapping surface locations that satisfy the TDOA. In particular, when object 114 comes in contacts with surface 116, the resulting mechanical vibrations generate audio signals. These audio signals are detected by contact microphones 108 and 110 at difference times due the different distance of the microphones 108 and 110 from the object 114. The time difference information is then used to form a hyperbola 1006, with the contact microphones 108 and 110 as its foci. In one implementation, in the context of 3D space, the time difference information for a given pair of contact microphones can be used to construct a hyperboloid. Because every point on the hyperbola 1006 is a possible location of object 114, an optical signal 1008 from camera 102 is used to locate a unique position of object 114 at an intersection point between the optical signal 1008 and hyperbola 1006. This intersection point gives the position of object 114, as shown in FIG. 10.
[0079] FIG. 11 shows a flowchart 1100 of one implementation of detecting and tracking an object with audio and optical signals. Flowchart 1100 can be implemented at least partially with a database system, e.g., by one or more processors configured to receive or retrieve information, process the information, store results, and transmit the results. Other implementations may perform the actions in different orders and/or with different, fewer or additional actions than those illustrated in FIG. 11. Multiple actions can be combined in some implementations. For convenience, this flowchart is described with reference to the system that carries out a method. The system is not necessarily part of the method.
[0080] At action 1110, least two contact microphones, which are coupled to an optical motion-capture system and are in contact with a surface that a user touches, are monitored. In one implementation, the contact is a touch, tap, sequence of taps, or swiping motions of an object traveling across and in contact with a surface. In another implementation, the contact microphones are omnidirectional. In yet another implementation, the contact microphones are surface microphones.
[0081] At action 1120, a time difference of arrival (TDOA) of the audio signals at the contact microphones is measured and surface locations that satisfy the TDOA are mapped. These audio signals are detected by contact microphones at difference times due the different distance of the microphones from an object that generate the audio signals. In one implementation, the time difference information is used to form a hyperbola or hyperboloid for identifying a unique position of the object. In one implementation, an audio test signal is applied to the surface and a return signal received is by the contact microphone during application of the test signal. The return signal is then compared to stored signals associated with a plurality of media, a stored signal best that matches the return signal is selected, and the audio signals are filtered based on the selected stored signal.
[0082] At action 1130, at least one image, captured by a camera of the optical motion-capture system, of the object in contact with the surface is analyzed. In some implementations, any pixel in an image can be classified as an "object" pixel or a "background" pixel depending on whether that pixel contains a portion of object or not. Object pixels can thus be readily distinguished from background pixels based on brightness. Further, edges of the object can also be readily detected based on differences in brightness between adjacent pixels, allowing the position of the object within each image to be determined. In some implementations, the silhouettes of an object are extracted from one or more images of the object that reveal information about the object as seen from different vantage points. While silhouettes can be obtained using a number of different techniques, in some implementations, the silhouettes are obtained by using the camera to capture images of the object and analyzing the images to detect object edges. Correlating object positions between images from the camera allows sensory processing system 106 to determine the location in 3D space of object, and analyzing sequences of images allows sensory processing system 106 to reconstruct 3D motion of object using motion algorithms.
[0083] At action 1140, image analysis is used to select among the mapped TDOA surface locations as a surface location of the contact. In one implementation, an optical signal from camera is used to locate a unique position of object at an intersection point between the optical signal and the hyperbola.
[0084] At action 1150, a path of the object is calculated by repeatedly measuring TDOAs of the audio signals at the contact microphones responsive to successive contacts of the object with the surface and analyzing a sequence of images of the successive contacts of the object with the surface.
[0085] FIG. 12 shows a flowchart 1200 of one implementation of operating a motion-capture system. Flowchart 1200 can be implemented at least partially with a database system, e.g., by one or more processors configured to receive or retrieve information, process the information, store results, and transmit the results. Other implementations may perform the actions in different orders and/or with different, fewer or additional actions than those illustrated in FIG. 12. Multiple actions can be combined in some implementations. For convenience, this flowchart is described with reference to the system that carries out a method. The system is not necessarily part of the method.
[0086] At action 1210, at least three vibration sensors coupled to a motion-capture system are monitored. In some implementations, in response to detection of vibrations generated by contact of an object with a surface of a solid medium, a position of the object is tracked. In one implementation, the contact is a touch, tap, sequence of taps, or swiping motions of an object traveling across and in contact with a surface. In another implementation, the vibration sensors are omnidirectional. In yet another implementation, the vibration sensors are surface sensors.
[0087] At action 1220, a first vibration through a first medium is detected by a first sensor. In one implementation, the first medium is a solid medium. In another implementation, the first medium is an air medium.
[0088] At action 1230, a second vibration through a second medium is detected by at least a second and a third sensor. The second vibration also results from the contact that produced the first vibration. In one implementation, the second medium is a solid medium. In another implementation, the second medium is an air medium.
[0089] At action 1240, a time difference of arrival (TDOA) of the second vibration is measured at the at least second and third sensors with respect to a TDOA of the first vibration at the first sensor and the surface locations that satisfy the TDOA are mapped. These vibrations are detected by vibration sensors at difference times due to the different distance of the vibration sensors from an object that generate the vibrations. In one implementation, the time difference information is used to form a hyperbola or hyperboloid for identifying a unique position of the object. In one implementation, a test vibration is applied to the surface and a return signal received is by the vibration sensor during application of the test vibration. The return vibration is then compared to stored signals associated with a plurality of media, a stored vibration that best matches the return vibration is selected, and the vibrations are filtered based on the selected stored signal.
[0090] At action 1250, a distance from the object to the second and third sensor is calculated based on the respective TDOAs. In one implementation, arrival of the first vibrational wave at the first sensor is used to measure a delay from which arrival of the subsequent waves as the second and third sensors is measured. The delay, and the velocity that the subsequent vibrational waves travel through the second medium, is used to compute distance information from the contact 605 to the sensor(s).
[0091] At action 1260, location information for the object relative to the sensors is determined based on the mapped TDOA surface locations. In one implementation, a triangulation technique is used.
[0092] FIG. 13 shows a flowchart 1300 of creating a virtual device experience in a three-dimensional (3D) sensory environment. Flowchart 1300 can be implemented at least partially with a database system, e.g., by one or more processors configured to receive or retrieve information, process the information, store results, and transmit the results. Other implementations may perform the actions in different orders and/or with different, fewer or additional actions than those illustrated in FIG. 13. Multiple actions can be combined in some implementations. For convenience, this flowchart is described with reference to the system that carries out a method. The system is not necessarily part of the method.
[0093] At action 1310, least two contact microphones, which are coupled to an optical motion-capture system and are in contact with a surface that a user touches, are monitored. In one implementation, the contact is a touch, tap, sequence of taps, or swiping motions of an object traveling across and in contact with a surface. In another implementation, the contact microphones are omnidirectional. In yet another implementation, the contact microphones are surface microphones.
[0094] At action 1320, a virtual device is projected onto at least a portion of a surface.
[0095] At action 1330, a time difference of arrival (TDOA) of the audio signals at the contact microphones is measured and surface locations that satisfy the TDOA are mapped. These audio signals are detected by contact microphones at difference times due the different distance of the microphones from an object that generate the audio signals. In one implementation, the time difference information is used to form a hyperbola or hyperboloid for identifying a unique position of the object. In one implementation, an audio test signal is applied to the surface and a return signal received is by the contact microphone during application of the test signal. The return signal is then compared to stored signals associated with a plurality of media, a stored signal best that matches the return signal is selected, and the audio signals are filtered based on the selected stored signal.
[0096] At action 1340, at least one image, captured by a camera of the optical motion-capture system, of the object in contact with the surface is analyzed. In some implementations, any pixel in an image can be classified as an "object" pixel or a "background" pixel depending on whether that pixel contains a portion of object or not. Object pixels can thus be readily distinguished from background pixels based on brightness. Further, edges of the object can also be readily detected based on differences in brightness between adjacent pixels, allowing the position of the object within each image to be determined. In some implementations, the silhouettes of an object are extracted from one or more images of the object that reveal information about the object as seen from different vantage points. While silhouettes can be obtained using a number of different techniques, in some implementations, the silhouettes are obtained by using the camera to capture images of the object and analyzing the images to detect object edges. Correlating object positions between images from the camera allows sensory processing system 106 to determine the location in 3D space of object, and analyzing sequences of images allows sensory processing system 106 to reconstruct 3D motion of object using motion algorithms.
[0097] At action 1350, image analysis is used to select among the mapped TDOA surface locations as a surface location of the contact. In one implementation, an optical signal from camera is used to locate a unique position of object at an intersection point between the optical signal and the hyperbola.
[0098] At action 1360, location information of the user contact with the surface is detected based at least in part upon audio signals produced by the contact.
[0099] At action 1370, control information is communicated to a system based in part on a combination of the location on the surface portion of the virtual device and the detected location information of the user contact.
[0100] Referring to FIG. 14, which illustrates a system for capturing image data according to one implementation of the technology disclosed. System 1400 is preferably coupled to a wearable device 1401 that can be a personal head mounted display (HMD) having a goggle form factor such as shown in FIG. 14, a helmet form factor, or can be incorporated into or coupled with a watch, smartphone, or other type of portable device.
[0101] In various implementations, the system and method for capturing 3D motion of an object as described herein can be integrated with other applications, such as a head-mounted device or a mobile device. Referring again to FIG. 14, a head-mounted device 1401 can include an optical assembly that displays a surrounding environment or a virtual environment to the user; incorporation of the motion-capture system 1400 in the head-mounted device 1401 allows the user to interactively control the displayed environment. For example, a virtual environment can include virtual objects that can be manipulated by the user's hand gestures, which are tracked by the motion-capture system 1400. In one implementation, the motion-capture system 1400 integrated with the head-mounted device 1401 detects a position and shape of user's hand and projects it on the display of the head-mounted device 1400 such that the user can see her gestures and interactively control the objects in the virtual environment. This can be applied in, for example, gaming or internet browsing.
[0102] In one embodiment, information about the interaction with a virtual object can be shared by a first HMD user with a HMD of a second user. For instance, a team of surgeons can collaborate by sharing with each other virtual incisions to be performed on a patient. In some embodiments, this is achieved by sending to the second user the information about the virtual object, including primitive(s) indicating at least one of a type, size, and/or features and other information about the calculation point(s) used to detect the interaction. In other embodiments, this is achieved by sending to the second user information about the predictive model used to track the interaction.
[0103] System 1400 includes any number of cameras 102, 104 coupled to sensory processing system 106. Cameras 102, 104 can be any type of camera, including cameras sensitive across the visible spectrum or with enhanced sensitivity to a confined wavelength band (e.g., the infrared (IR) or ultraviolet bands); more generally, the term "camera" herein refers to any device (or combination of devices) capable of capturing an image of an object and representing that image in the form of digital data. For example, line sensors or line cameras rather than conventional devices that capture a two-dimensional (2D) image can be employed. The term "light" is used generally to connote any electromagnetic radiation, which may or may not be within the visible spectrum, and may be broadband (e.g., white light) or narrowband (e.g., a single wavelength or narrow band of wavelengths).
[0104] Cameras 102, 104 are preferably capable of capturing video images (i.e., successive image frames at a constant rate of at least 15 frames per second); although no particular frame rate is required. The capabilities of cameras 102, 104 are not critical to the technology disclosed, and the cameras can vary as to frame rate, image resolution (e.g., pixels per image), color or intensity resolution (e.g., number of bits of intensity data per pixel), focal length of lenses, depth of field, etc. In general, for a particular application, any cameras capable of focusing on objects within a spatial volume of interest can be used. For instance, to capture motion of the hand of an otherwise stationary person, the volume of interest might be defined as a cube approximately one meter on a side.
[0105] As shown, cameras 102, 104 can be oriented toward portions of a region of interest 112 by motion of the device 1401, in order to view a virtually rendered or virtually augmented view of the region of interest 1412 that can include a variety of virtual objects 1416 as well as contain an object of interest 1414 (in this example, one or more hands) moves within the region of interest 1412. One or more sensors 108, 110, 120 capture motions of the device 1401. In some implementations, one or more light sources 115, 117 are arranged to illuminate the region of interest 1412. In some implementations, one or more of the cameras 102, 104 are disposed opposite the motion to be detected, e.g., where the hand 1414 is expected to move. This is an optimal location because the amount of information recorded about the hand is proportional to the number of pixels it occupies in the camera images, and the hand will occupy more pixels when the camera's angle with respect to the hand's "pointing direction" is as close to perpendicular as possible. Sensory processing system 106, which can be, e.g., a computer system, can control the operation of cameras 102, 104 to capture images of the region of interest 1412 and sensors 108, 110, 120 to capture motions of the device 1401. Information from sensors 108, 110, 120 can be applied to models of images taken by cameras 102, 104 to cancel out the effects of motions of the device 1401, providing greater accuracy to the virtual experience rendered by device 1401. Based on the captured images and motions of the device 1401, sensory processing system 106 determines the position and/or motion of object 1414.
[0106] For example, as an action in determining the motion of object 1414, sensory processing system 106 can determine which pixels of various images captured by cameras 102, 104 contain portions of object 1414. In some implementations, any pixel in an image can be classified as an "object" pixel or a "background" pixel depending on whether that pixel contains a portion of object 1414 or not. Object pixels can thus be readily distinguished from background pixels based on brightness. Further, edges of the object can also be readily detected based on differences in brightness between adjacent pixels, allowing the position of the object within each image to be determined. In some implementations, the silhouettes of an object are extracted from one or more images of the object that reveal information about the object as seen from different vantage points. While silhouettes can be obtained using a number of different techniques, in some implementations, the silhouettes are obtained by using cameras to capture images of the object and analyzing the images to detect object edges. Correlating object positions between images from cameras 102, 104 and cancelling out captured motions of the device 1401 from sensors 108, 110, 120 allows sensory processing system 106 to determine the location in 3D space of object 1414, and analyzing sequences of images allows sensory processing system 106 to reconstruct 3D motion of object 1414 using conventional motion algorithms or other techniques. See, e.g., U.S. patent application Ser. No. 13/414,485 (filed on Mar. 7, 2012) and U.S. Provisional Patent Application Nos. 61/724,091 (filed on Nov. 8, 2012) and 61/587,554 (filed on Jan. 7, 2012), the entire disclosures of which are hereby incorporated by reference.
[0107] System 1400 employs projection techniques in conjunction with the sensory based tracking in order to present virtual (or virtualized real) objects (visual, audio, haptic, and so forth) created by applications loadable to, or in cooperative implementation with, the device 1401 to provide a user of the device with a personal virtual experience. Projection can include an image or other visual representation of an object.
[0108] One implementation uses motion sensors and/or other types of sensors coupled to a motion-capture system to monitor motions within a real environment. A virtual object integrated into an augmented rendering of a real environment can be projected to a user of a portable device 101. Motion information of a user body portion can be determined based at least in part upon sensory information received from imaging 102, 104 or acoustic or other sensory devices such as 108, 110, 120. Control information is communicated to a system based in part on a combination of the motion of the portable device 1401 and the detected motion of the user determined from the sensory information received from imaging 102, 104 or acoustic or other sensory devices such as 108, 110, 120. The virtual device experience can be augmented in some implementations by the addition of haptic, audio and/or other sensory information projectors. For example, an optional video projector can project an image of a page (e.g., virtual device) from a virtual book object superimposed upon a real world object, e.g., desk 1416 being displayed to a user via live video feed; thereby creating a virtual device experience of reading an actual book, or an electronic book on a physical e-reader, even though no book nor e-reader is present. Optional haptic projector can project the feeling of the texture of the "virtual paper" of the book to the reader's finger. Optional audio projector can project the sound of a page turning in response to detecting the reader making a swipe to turn the page. Because it is a virtual reality world, the back side of hand 1414 is projected to the user, so that the scene looks to the user as if the user is looking at the user's own hand(s).
[0109] A plurality of sensors 108, 110, 120 coupled to the sensory processing system 106 to capture motions of the device 1401. Sensors 108, 110, 120 can be any type of sensor useful for obtaining signals from various parameters of motion (acceleration, velocity, angular acceleration, angular velocity, position/locations); more generally, the term "motion detector" herein refers to any device (or combination of devices) capable of converting mechanical motion into an electrical signal. Such devices can include, alone or in various combinations, accelerometers, gyroscopes, and magnetometers, and are designed to sense motions through changes in orientation, magnetism or gravity. Many types of motion sensors exist and implementation alternatives vary widely.
[0110] The illustrated system 1400 can include any of various other sensors not shown in FIG. 14 for clarity, alone or in various combinations, to enhance the virtual experience provided to the user of device 1401. For example, in low-light situations where free-form gestures cannot be recognized optically with a sufficient degree of reliability, system 106 may switch to a touch mode in which touch gestures are recognized based on acoustic or vibrational sensors. Alternatively, system 106 may switch to the touch mode, or supplement image capture and processing with touch sensing, when signals from acoustic or vibrational sensors are sensed. In still another operational mode, a tap or touch gesture may act as a "wake up" signal to bring the image and audio analysis system 106 from a standby mode to an operational mode. For example, the system 106 may enter the standby mode if optical signals from the cameras 102, 104 are absent for longer than a threshold interval.
[0111] It will be appreciated that the figures shown in FIG. 14 are illustrative. In some implementations, it may be desirable to house the system 1400 in a differently shaped enclosure or integrated within a larger component or assembly. Furthermore, the number and type of image sensors, motion detectors, illumination sources, and so forth are shown schematically for the clarity, but neither the size nor the number is the same in all implementations.
[0112] While the disclosed technology has been described with respect to specific implementations, one skilled in the art will recognize that numerous modifications are possible. The number, types and arrangement of cameras and sensors can be varied. The cameras' capabilities, including frame rate, spatial resolution, and intensity resolution, can also be varied as desired. The sensors' capabilities, including sensitively levels and calibration, can also be varied as desired. Light sources are optional and can be operated in continuous or pulsed mode. The systems described herein provide images and audio signals to facilitate tracking movement of an object across a surface, and this information can be used for numerous purposes, of which position and/or motion detection is just one among many possibilities.
[0113] Threshold cutoffs and other specific criteria for distinguishing object from background can be adapted for particular hardware and particular environments. Frequency filters and other specific criteria for distinguishing audio signals from background noise can be adapted for particular microphones and particular surfaces. In some implementations, the system can be calibrated for a particular environment or surface medium, e.g., by adjusting frequency filters, threshold criteria, and so on.
[0114] Any type of object can be the subject of motion capture using these techniques, and various aspects of the implementation can be optimized for a particular object. For example, the type and positions of cameras and/or microphones can be selected based on the size of the object whose motion is to be captured, the space in which motion is to be captured, and/or the medium of the surface through which audio signals propagate. Analysis techniques in accordance with implementations of the technology disclosed can be implemented as algorithms in any suitable computer language and executed on programmable processors. Alternatively, some or all of the algorithms can be implemented in fixed-function logic circuits, and such circuits can be designed and fabricated using conventional or other tools.
[0115] Computer programs incorporating various features of the technology disclosed may be encoded on various computer readable storage media; suitable media include magnetic disk or tape, optical storage media such as compact disk (CD) or DVD (digital versatile disk), flash memory, and any other non-transitory medium capable of holding data in a computer-readable form. Computer-readable storage media encoded with the program code may be packaged with a compatible device or provided separately from other devices. In addition program code may be encoded and transmitted via wired optical, and/or wireless networks conforming to a variety of protocols, including the Internet, thereby allowing distribution, e.g., via Internet download.
[0116] Thus, although the disclosed technology has been described with respect to specific implementations, it will be appreciated that the technology disclosed is intended to cover all modifications and equivalents within the scope of the following claims.