This relates generally to systems that gather user input and, more particularly, to systems with optical input devices for gathering user input.
Electronic devices often have input-output components. For example, an electronic device may contain an output component such as a display or status indicator light for providing visual output to a user or may have a speaker or buzzer for providing audible output to a user. Input components such as electrical switches may be used to form keyboards, dedicated buttons, and other electromechanical input devices.
It may be desirable in some electronic devices to use other types of input devices. For example, it may be desirable to use optical input devices that can accept input in ways that would be difficult or impossible using electromechanical input devices based on switches.
An illustrative system in which an optical input device may be used is shown in
Accessory 14 may optionally be connected to external electronic equipment 12 such as a computer or game console. Accessory 14 may, for example, be coupled to equipment 12 using communications path 16. Path 16 may be a wireless path or a wired path (e.g., a Universal Serial Bus path). However, this is merely illustrative. If desired, input from accessory 14 may be provided to equipment 12 using images of accessory 14 captured using, for example, imaging system 24 of equipment 12.
Input such as user input from accessory 14 may be used to control equipment 12. For example, user input from accessory 14 may allow a user to play a game on computing equipment 12 or may allow a user to supply information to other applications (e.g., a music creation application, etc.).
Optical input device 14 may contain one or more light sources 18 and visually recognizable markings such as optical markers 22 (e.g., painted, drawn, printed, molded or other optical markers such as images of piano keys, guitar strings, drum pads, gaming control buttons or other visual representations of user input structures). If desired, device 14 may include positioning circuitry 20 such as one or more accelerometers. Light sources 18 may be lasers, light-emitting diodes or other light sources that emit light that is later detected by a light sensing component such as imaging system 24 of computing equipment 12.
A user of system 10 may supply input to system 10 using optical input device 14 by moving a finger or other object with respect to optical markers 22. For example, a user may strike an image of a piano key on a surface of accessory 14 with a given velocity and impulse. Imaging system 24 may capture high-speed, high-resolution images of the user motion with respect to the markers. Control circuitry such as storage and processing circuitry 26 may be used to extract user input data from the images of the user motions and the optical markers. Storage and processing circuitry 26 may include a microprocessor, application-specific integrated circuits, memory circuits and other storage, etc.
Equipment 12 may include input-output devices 32 such as a speaker, light sources, a light-emitting diode or other status indicator, etc. Equipment 12 may include a display such as display 28. Display 28 may be an integral portion of equipment 12 (e.g., an integrated liquid crystal display, plasma display or an integrated display based on other display technologies) or may be a separate monitor that is coupled to equipment 12.
Display 28 and/or input-output devices 32 may be operated by circuitry 26 based on user input obtained from accessory 14. For example, display 28 may be used to display a character that mimics user actions that are performed while holding accessory 14. Equipment 12 may include communications circuitry 30 (e.g., wireless local area network circuitry, cellular network communications circuitry, etc). Communications circuitry 30 may be used to allow user input gathered using accessory 14 to be transmitted to other users in other locations and/or to allow other user input from other users in other locations to be combined with user input from accessory 14 using circuitry 26. For example, multiple users in remote locations, each having a poly-instrument such as accessory 14, may be able to play a song together using combined input from each poly-instrument.
An illustrative configuration that may be used for optical input device 14 is shown in
As shown in
Optical markers 22 may be painted, drawn, printed, molded or otherwise formed on housing 40. If desired, optical markers 22 may be formed on moving members mounted in housing 40 to give a user of accessory 14 the physical sensation of operating a button, an instrument key, instrument string or other component that is commonly formed on a moving part.
Imaging system 24 may be used to capture images of a poly-instrument such as accessory 14 of
User input data may be generated by determining positions of user input devices such as device 42 with respect to optical markers 22 in each image and determining motions of the user input devices based on changes in the positions of the user input devices from image to image.
For example, as a user moves their fingers against markers 22A in a piano playing motion, the positions of each finger will change with respect to markers 22A from image to image. Based on these changes, circuitry 26 may generate user input data and instruct display 28 and input-output devices 32 to take suitable action based on the user input data (e.g., to play piano sounds and display video content in accordance with the motions of the user).
Light sources 18 may be used to emit light that is received by imaging system 24. Light sources 18 may be visible light sources and/or infrared light sources. Imaging system 24 may gather position and orientation data related to the position and orientation of accessory 14 using the captured light from light sources 18. Imaging system 24 may capture images of light sources 18 using an image sensor that is also used to capture images of optical markers 22 and user input devices 42 or imaging system 24 may include additional light sensors such as infrared light sensors that respond to and track light from light sources 18.
Imaging system 24 and circuitry 26 may be used to determine the position and orientation of accessory 14 using light from light sources 18. User input may be generated by moving accessory 14. For example, a user may move accessory 14 back and forth as indicated by arrows 39 or as indicated by arrows 38, a user may rotate accessory 14 as indicated by arrows 36 or a user may twist, turn, rotate or otherwise move accessory 14 in the x, y or z directions of
Circuitry 26 may generate user input data that is used to operate system 10 based on the tracked positions of light sources 18. For example, circuitry 26 may raise or lower the volume of music generated by devices 32 in response to detecting rotational motion of the type indicated by arrows 36. Circuitry 26 may add effects such as reverberations or pitch variations in response to detecting back and forth motion of the type indicated by arrows 38 and/or 39. Circuitry 26 may generate a first type of effect when accessory 14 is moved in a first direction and a second, different type of effect when accessory 14 is moved in second, different direction such as an orthogonal direction.
Each light source 18 may emit a type of light that is particular to that light source. Imaging system 24 and circuitry 26 may identify a particular light source 18 by identifying the particular type of light associated with that light source and determining the relative positions of the identified light sources. Imaging system 24 and circuitry 26 may generate position and orientation data that represents the position and orientation of accessory 14 using the determined positions of light sources 18.
Light sources 18 may each emit a particular frequency of light or may emit light that is modulated at a particular modulation frequency that is different from that of other light sources 18 as shown in
During operation of system 10, virtual characters 56 and 58 may move and play instruments 60 and 62 in response to captured images of user motions with respect to markers 22A and 22B and accessory motions tracked using light sources 18 and 18′. In the example of
Illustrative steps that may be used in controlling a system such as system 10 having accessories such as optical input devices 14 are shown in
At step 100, light may be transmitted from one or more light sources on a system accessory such as a poly-instrument (e.g., accessory 14) to an imaging system.
At step 102, the position and orientation of the accessory may be determined based on the received light from the accessory. Determining the position and orientation of the accessory may include identifying each light source based on the type of light received from that light source, determining the relative positions of the light sources using the light source identifications, and determining the position and orientation of the accessory using the determined relative positions of the light sources.
At step 104, an operating mode for the system may be selected based on the determined position and orientation of the accessory. For example, system 10 may be operated in a first mode (e.g., a piano player mode) if a first surface of the accessory is facing the imaging system or a second mode (e.g., a guitar player mode) if a second face of the accessory is facing the imaging system. The system may determine which face of the accessory is facing the system using light source identifications (i.e., which set of light sources is emitting light into the imaging system) or using images of the face of the accessory (e.g., by identifying piano key optical markers or guitar string optical markers in images of the accessory.
At step 106, images of visible features such as optical markers on the accessory (and of user input devices) may be gathered. User motions and positions with respect to the visible features may be determined using the gathered images of the visible features and the user input devices.
At step 108, video and/or audio output signals may be generated in response to the determined user motions and positions. Generating audio output signals in response to the determined user motions and positions may include generating instrument sounds corresponding to user motions with respect to instrument component optical markers. Generating video signals in response to the determined user motions and positions may include displaying video images of a virtual user playing an instrument using motions corresponding to user motions with respect to instrument component optical markers.
Processor system 300, which may be a digital still or video camera system, may include a lens such as lens 396 for focusing an image onto a pixel array such as pixel array 201 when shutter release button 397 is pressed. Processor system 300 may include a central processing unit such as central processing unit (CPU) 395. CPU 395 may be a microprocessor that controls camera functions and one or more image flow functions and communicates with one or more input/output (I/O) devices 391 over a bus such as bus 393. Imaging device 200 may also communicate with CPU 395 over bus 393. System 300 may include random access memory (RAM) 392 and removable memory 394. Removable memory 394 may include flash memory that communicates with CPU 395 over bus 393. Imaging device 200 may be combined with CPU 395, with or without memory storage, on a single integrated circuit or on a different chip. Although bus 393 is illustrated as a single bus, it may be one or more buses or bridges or other communication paths used to interconnect the system components.
Various embodiments have been described illustrating a system having computing equipment and an optical input accessory. The computing equipment may include an imaging system, storage and processing circuitry, a display, communications circuitry, and input-output devices such as keyboards and speakers.
The optical input accessory may be a controller such as poly-instrument having optical markers representing input components such as instrument components for multiple instruments. A poly-instrument may include optical markers corresponding to piano keys, drum pads, guitar strings, or other instrument components. The optical markers may be printed, molded or otherwise formed on a surface of a housing structure. The optical input accessory may include one or more light sources and, if desired, positioning circuitry (e.g., one or more accelerometers).
The light sources may be located at extreme ends of an elongated accessory and may each emit a particular type of light. The computing equipment may track the relative locations of the light sources using the imaging system. The computing equipment may use the imaging system to continuously capture images of a user input component such as a user's finger and of the optical markers. The computing system may generate audio, video or other output based on monitoring images of the motion of the user input object with respect to the optical markers on the accessory.
The foregoing is merely illustrative of the principles of this invention which can be practiced in other embodiments.
This application claims the benefit of provisional patent application No. 61/551,289, filed Oct. 25, 2011, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
61551289 | Oct 2011 | US |