People are increasingly interacting with computers and other electronic devices in new and interesting ways. For example, certain devices include stereoscopic cameras that are able to capture stereoscopic images that include disparity information, enabling those images to appear to be three-dimensional when properly rendered. In order for the relative distances of objects in the image to appear correctly, the cameras need to be adequately aligned such that the apparent disparity is accurate for the actual distance of the object, i.e., the optical axes are aligned in yaw, pitch, and roll. When using two distinct cameras, however, it is difficult to perfectly align the lens elements, such that a software adjustment is also required. While a calibration procedure can be used during the manufacture or testing process, it may be difficult to get users to recalibrate the cameras over time. Further, over a period of time as the device is being used, the stereo cameras can get misaligned (due to shocks or natural degradation). Further still, existing calibration approaches require placing specific calibration objects in specific locations and/or orientations, which can be confusing or at least not enjoyable for a user.
Various embodiments in accordance with the present disclosure will be described with reference to the drawings, in which:
Systems and methods in accordance with various embodiments of the present disclosure may overcome one or more of the aforementioned and other deficiencies experienced in conventional approaches for calibrating two or more image capture elements, such as may comprise a stereoscopic camera. In particular, various embodiments enable a computing device including such a camera to automatically perform a recalibration process after the device has left the manufacturer and/or is in the possession of a user, or at another appropriate time. At least some embodiments enable two or more cameras to be aligned through software mechanisms in order to enable the captured stereo images to include a proper amount of disparity or depth information, as well as to have objects aligned in images captured by each camera. Various calibration processes are presented that enable any misalignment between the cameras to be determined, which can then be addressed when processing images captured by those cameras. Such approaches allow for compensation of any misalignment with lower cost and power consumption than conventional approaches.
For example, in at least some embodiments, a computing device with at least two front-facing cameras having at least partially overlapping fields of view can detect the presence of an object, such as a face of a user, facial features of the user, and/or any features represented in stereoscopic image data captured by the front-facing cameras. Portions of at least a first image acquired by a first camera of the stereo camera pair and a second image acquired by a second camera of the stereo camera pair can be analyzed to attempt to identity feature points corresponding to facial features of the user's face. In various embodiments, the facial features identified in the first image and the second image will have an amount of disparity that indicates its apparent distance from the computing device. However, since the cameras can become misaligned through use over time, the disparity information may be inaccurate, resulting in imprecise distance determinations. In order to account for at least some of these misalignments, a location of the identified feature points from the first image can be compared to a location of the identified features points from the second image to generate a mapping between corresponding feature points. The mapping can be used to adjust the calibration of the cameras, such that the face of the user at that distance will have the proper amount of disparity in a subsequently captured stereoscopic image. In order to improve the calibration, additional cameras can be used and/or the facial features (or multiple facial features) can be imaged at multiple locations (or in motion) in order to improve calibration over a range of distances. In accordance with various embodiments, such an approach provides various advantages, including reduced power consumption and calibration processes that require less processing capacity while still providing sufficient calibration of any misaligned cameras.
Various other functions and advantages are described and suggested below as may be provided in accordance with the various embodiments.
It should be understood, however, that there can be additional and/or alternative cameras placed in similar or alternative locations in accordance with various embodiments, and that information from any or all of these cameras can be analyzed as appropriate. For example, a computing device might have a high resolution still camera that is able to capture images useful for performing facial recognition, and might have a lower resolution video camera that can be useful for performing object detection. In other embodiments, a single camera might be used to capture image information for both types of analysis, while still other embodiments might utilize stereo cameras or other elements to determine distance information or perform three dimensional modeling, among other such aspects. As mentioned, some devices might have digital still cameras that are able to capture single images at specific points in time, or digital video cameras that are able to continuously capture image information, which can be referred to as a set of frames in at least some embodiments. Also, for a process such as image recognition to be relatively accurate, the image being analyzed may have to meet some minimum criteria. This can include, for example, adequate lighting and contrast, but can also include factors such as quality of focus and spatial resolution. Accordingly, a device can include additional elements as well, such as illumination elements and focusing optics as discussed elsewhere herein. Each imaging element may be, for example, a camera including a complimentary metal-oxide semiconductor (CMOS) device, a motion detection sensor, a charge coupled device (CCD), an infrared sensor, a quantum dot imager, a gallium arsenide sensor, or any other appropriate image capturing technology.
As mentioned, the device can include stereo cameras on the front or back of the device to perform stereoscopic or three-dimensional (3D) imaging. These cameras are separated a distance sufficient to enable stereoscopic imaging over at least a determined distance, each with a determined field of view that at least partially overlaps. In some embodiments the stereo cameras each come with auto-focusing mechanisms, enabling the cameras to focus to different depths. When capturing a stereoscopic (“stereo”) image, each of the pair of cameras captures an image at approximately the same time. The offset of the cameras will cause the location of objects in each image to be slightly offset, where the amount of offset is a factor of the separation of the cameras and the distance from the cameras to the objects. This varying offset with distance, otherwise known as disparity, provides the perception of depth in the image when the images are combined using a stereovision process. It should be understood that a stereo image can be a combined image or can include a rendering of separate images captured by each of the stereo cameras in different embodiments.
As illustrated in the example situation 120 of
As mentioned, the cameras can be aligned mechanically to the extent possible and/or practical. However, there may be at least some misalignment such that it can be desirable to compensate for the misalignment through software and/or image processing. A static approach can use a calibration object, such as the calibration grid to enable points to be located in an image captured by each camera, or some other static calibration approach. However, a potential problem with using a static calibration approach is that such a calibration object may not always be available and/or such a process is confusing and/or at least not enjoyable for a user. Further, analyzing full color, high resolution images from one or more cameras to determine complex features can be very processor, resource, and power intensive, particularly for mobile devices.
Accordingly, in accordance with various embodiments, online (or real-time) software and/or image processing can be used to provide a relatively low power but robust calibration approach to compensate for any misalignment between cameras on the device, without the use of such dedicated calibration objects or user interaction. Accordingly, one or more calibration/rectification approaches, such as one involving the use of facial features as a non-rigid calibration object can be automatically performed to compensate for at least some misalignment between the cameras. In such approaches, one or more (in some cases preferably two) features (e.g., facial features) can be used to reliable compute calibration parameters that can be used to compensate for any misalignment between the cameras.
As illustrated in
In approaches that attempt to calibrate for any misalignment between cameras of a computing device based at least in part on facial feature of a user using the device, it can improve results in at least some embodiments to sufficiently isolate the person's face, such that variations in the background of the image do not create false positives (or false negatives in some instances). As illustrated in the isolated image portion 220 of
Once the facial region to be analyzed is determined, and tracked or updated over time in the video information, one or more head or face detection algorithms can be used to features of the user's face. For example,
In this example, the detected head portion can be analyzed using one or more facial recognition algorithms to attempt to identify facial features of the person represented in the image. As illustrated in example 240 of
As described, the identified facial features can be used in various calibration processes to enable any misalignment between the cameras to be determined, which can then be addressed when processing images captured by those cameras. For example,
Conventional camera calibration algorithms use some sort of patterns like checkerboards, patterns, and/or various other external objects and users explicitly initiate the calibration process. However, this is not a desired user experience and can be desirable to enable a computing device or electronic device including the cameras to be able to automatically rectify the stereo cameras without manual intervention by the user, although manual intervention or triggering can be used in some embodiments. It also can be desirable to enable the rectifying to be done without the need for a calibration object or other such item.
Accordingly, various embodiments enable a computing device to automatically perform a recalibration process after the device has left the manufacturer and/or is in the possession of a user. The rectifying can be performed at any appropriate time, such as at regular intervals, at random times, or in response to detected events, such as rapid movements or force as detected by a motion sensor or other component of the device. In various embodiments, the automatic calibration process can be performed upon detecting incontinences in images acquired from any number of stereoscopic pair of cameras. This can include, for example, using one or more algorithms to detect that images captured using a pair of stereoscopic cameras appears blurry, distorted, or otherwise out of focus. Where there are multiple pairs of stereo cameras on a device, different combinations of the cameras can be used to improve the rectification of each camera.
In accordance with various embodiments, calibrating one or more cameras of a computing device can include estimating or otherwise determining camera parameters of each of the cameras and adjusting those camera parameters to compensate for any misalignment of those cameras. In accordance with various embodiments, a transformation matrix M can be used to model the camera parameters for any particular camera, where the transformation matrix can be illustrated as:
In the above transformation matrix, the camera parameters can be A, R, and T and can be representative of such camera parameters as focal length, principal points, lens distortions, as well as other intrinsic and/or non-linear camera parameters. Variables R and T can be representative of extrinsic camera parameters which can correspond to coordinate system transformation matrixes from three-dimensional (3D) space coordinates to 3D camera coordinates. As shown in example 300 of
Portions of at least a first image 322 acquired by camera 320 of the stereo camera pair and a second image 332 acquired by camera 330 of the stereo camera pair can be analyzed to attempt to identity feature points corresponding to facial features of the user's face. In various embodiments, the images can be acquired concurrently while in various other embodiments there may be some level of delay between acquiring the images by the two cameras. In various embodiments, prior to analyzing the images, a number of checks or preprocessing approaches can be performed to determine whether the pair of images are optimal candidates for use in one or more calibration processes. In one example, a preprocessing approach can include determining whether the images include at least a threshold amount of light. Determining whether the images include the threshold amount of light can include determining image statistics such as a level of gain, an average level of light, and/or a histogram representative of a level of light, and comparing at least one of those statistics to a corresponding threshold. For example, in the situation where at least one of the level of gain, the average level of light, or the histogram representative of the level of light at least meet a threshold amount, it can be determined that there is a sufficient level of light in the images. In another example, a preprocessing approach can include determining whether a level of ambient light meets a threshold amount of ambient light.
In response to determining that there is at least a threshold amount of light, additional preprocessing approaches can be performed. One such approach can include determining whether there is at least a portion of a face in each image of the pair of images. This can be determined using one or more face detection algorithms.
If at least a portion of a representation of the user's face is detected in each image of the pair of images, one or more facial features can be determined. In certain embodiments, specially trained Harr classifiers or other like classifiers can be used to detect the facial features. It should be noted that any number of algorithms can be used, as known to those skilled in the art. In various embodiments, the facial features can include at least one of an eye, mouth, nose, among other facial features. The number of detected facial features can be compared to a threshold number of facial features (e.g., 15 different facial features). In certain embodiments, the number of detected facial features is below the threshold number, for example, because the user's face is occluded due to the user wearing a hat, sunglasses, etc., one or more other features can be determined using at least one of a speeded up robust features (SURF), scale-invariant feature transform (SIFT), or binary robust invariant scalable keypoints (BRISK) algorithms to determine matching features points in the images captured by the two cameras. As described, the objects detected are within a determined distance to the computing device. However, as discussed above, stereo imaging might not be available on all devices, or may not be sufficient for all conditions. For example, stereo imaging typically requires a minimum amount of contrast in order to be able to correlate the objects in the images captured from each camera. Accordingly, approaches in accordance with various embodiments can utilize different approaches, and/or a combination of approaches, to provide distance determinations useful in detecting an object within the determined distance. For example, a computing device might use a light sensor or other such component to determine an amount of light and/or image contrast near the computing device. If a sufficient amount of contrast is present, the device can utilize a stereo imaging approach. If there is not a sufficient amount of contrast, however, the device can attempt to use an alternative (or additional) approach to making distance determinations. If stereo imaging is not available, the device might instead rely on such an approach.
For example, a device can utilize infrared radiation (IR) to attempt to detect an object within the determined distance in at least some embodiments, where the device can capture one image while emitting IR radiation and another image without IR radiation. Objects within the correct distance will show stronger differences as a result of the illumination between figures, which can facilitate the identification of foreground objects. In other embodiments, a single image can be captured and the relative brightness of objects used to separate objects into foreground and background objects or regions, although a single image may not be as reliable as intensity differences can also vary based on color, surface texture, reflectivity, and other such factors. Multi-image based IR-based approaches can suffer from motion effects, however, as the images are captured at different points in time. Stereo imaging captures image information at the same time, such that there is little to no effect due to motion, other than blur or other such effects. IR-based approaches can produce relatively crisp images, even when there is an amount of motion, but do not work well in bright sunlight, where stereo imaging tends to perform well. IR-based approaches work well up to thirty centimeters, for example, but stereo approaches work for longer distances, such as up to three meters, but have blind zones when very close to the device. Stereo and IR based approaches thus complement each other, and can be used together advantageously in at least some embodiments for at least a certain range of conditions. Thus, a device can attempt to determine one or more environmental conditions, such as an amount of light or motion, and can select to use a stereo based approach or an IR based approach, or a combination of both. An advantage to using a combination of approaches is that each individual approach might only give a result with 80% confidence, but using them together can result in a confidence of about 96% in at least some embodiments.
In at least some embodiments, an ultrasonic sensor or other distance determining sensor can be used to attempt to determine relative distances to objects represented in an image. Using such an approach, the differences in time-of-flight, as known for distance determinations, can be used to determine relative, if not absolute, differences in distance. Such approaches can also be used to determine or identify objects within at least the predetermined distance. Various other distance determining approaches can be utilized as well within the scope of the various embodiments.
In some embodiments, a computing device might utilize one or more motion sensors, such as an electronic gyroscope or inertial sensor, to attempt to assist with location determinations. For example, a rotation of a device can cause a rapid shift in objects represented in an image, such that image stabilization might not be attempted if the amount of motion exceeds a determined amount. For smaller movements, the information from the motion sensors can be used to provide a starting point for the feature detection in a subsequent image, which can increase the speed of the detection process and reduce the amount of processing and power required. Various other types of movement or motion information can be used as well within the scope of the various embodiments.
Accordingly, any one of these or other related approaches can be used to attempt to identify an object within a predetermined distance based on one or more sources of distance information, and analyze the portions of the images (including frames or portions of video) to attempt to identify one or more feature points from the representation of the object(s) in the images. Once the object(s) have been located, feature points for the objects can be determined, and the feature points can be used in various calibration processes, such as one using the computation of the fundamental matrix, to enable any misalignment between cameras to be determined, which can then be addressed when processing images captured by those cameras, as described above.
For example, as shown in
Once a particular feature point is located in image 342, the relative position of that point in the image 342 can be analyzed and compared to the relative position in image 332 captured by camera 330. In various embodiments, the feature points can be detected in the same portions of the image, only in a different locations (e.g., as a consequence of the spacing of the cameras). These feature points can be matched or other mapped to one another by rotation invariant feature point detectors (such as SIFT, SURF, etc.). Thus, each pair of stereo images generates feature point matches in different portions of the image (even though the features are typically from the same regions of the scene). It should be further noted that any approach that can determine the relationship between corresponding image points can be used in the embodiments described herein.
In various embodiments, a number of approaches can be used to calibrate the camera pair using the matched or mapped feature points and/or facial features obtained from the user's face. For example, in one such approach, using the previous camera calibration parameters mentioned above (e.g., A, T and R), reverse point matching can be performed. In accordance with various embodiments, reverse point matching includes identifying corresponding facial features represented in image 322 acquired by camera 320 to facial features represented in image 332 acquired by camera 330. In the situation where the cameras are perfectly aligned, the feature points representative of a facial feature from image 322 correspond to feature points representative of a corresponding facial feature from image 332. For example, for perfectly aligned cameras, such as cameras with perfectly aligned optical axes, the locations of objects imaged by the cameras will appear on the same scan line, but with an offset along the scan line (generally) due to the offset. For example, stereo imaging applications involve the generation and analysis of at least two images of an object from different points of view. Typically, the two images correspond to left and right images generated by cameras positioned along, and orthogonal to, at least two viewpoints on a horizontal axis. Collectively, the left and right images are called a stereo image pair. The left and right images of a stereo image pair may be analyzed to yield disparity data. Disparity is the amount of translation along a conceptual epipolar axis that all objects move along in response to changing the image creation viewpoint. If the cameras are perfectly aligned, both vertically and rotationally, the epipolar axis is identical to the horizontal axis. That is, the corresponding epipolar lines coincide and become parallel to the x-axis of the image.
Misalignments in directions other than the offset direction are relatively easy to detect by comparing the location of various object points or features to determine whether those features are on different scan lines. Any change in the offset in a direction other than the camera offset can be indicative of an impact event or other occurrence which caused misalignment of the cameras. Misalignment information indicative of a misalignment between the cameras can be stored. In this way, a historical buffer of misalignment information can be determined. Once a predetermined amount of misalignment information is obtained, the calibration algorithm can initiate at least one optimization approach correct for any misalignment between the cameras using the determined calibration parameters (e.g., A, T, and R). In accordance with various embodiments, an optimization approach can include at least one of gradient descent search and/or variational or stochastic methods. When calibration parameters are determined that at least meet a predetermined confidence or threshold, those parameters are stored and replace the current parameters A, T and R.
In another such approach, upon detecting the feature points in each face, e.g., by using one of a number of detection algorithms, such as scale-invariant feature transform (SIFT), speeded up robust features (SURF), among others, a calibration matrix or other such computation can be computed using one of, or a combination of, normalized 8-point method, random sample consensus (RANSAC), least median squares, among others. There are many approaches known and/or used for computing a calibration matrix or other such computation, such that details of such a computation will not be discussed herein in detail. It should be further noted that any approach that can determine the relationship between corresponding image points can be used in the embodiments described herein. Additionally, it should be understood that detecting the user's face and facial features can occur over multiple frames, and is not limited to one frame.
The computation of the calibration matrix can then be used to represent the relationship between feature points in the stereo images (e.g., images 322 and 332), where the features are projections of the same object element. Given a feature point in one image, its corresponding point must lie on an epipolar line in the other image, allowing for the detection of incorrect correspondences. In this way, when the epipolar geometry is not in this ideal form, the image pairs can be adjusted to make corresponding points lie on the same scan lines. This process is known as image rectification, and can be accomplished by applying 2-D projective transformations on each image. For example, offset values for the feature points can be determined, and in at least some embodiments, a model (e.g., a “rectifying model”) of the camera(s) capturing that image can be generated. The rectifying model or mappings can include transforms or adjustments to be made to an image captured by one or both of the cameras in order to reduce misalignment. For example, based at least in part upon the model or mappings, the appropriate image adjustments can be made to align the pair of cameras (e.g., images 322 and 332). For example, each point on a grid can be located in an image captured by each camera, and an offset or function determined for matching these locations in the image, with respect to the expected amount of disparity between the images for the location of the calibration object. Further, in some embodiments, an overall adjustment such as an amount of translation and/or rotation can be determined that should be applied to an image captured by at least one of the cameras. For example, if one of the cameras is determined to be angled at 0.5 degrees with respect to the other camera, images captured by one of the cameras can be rotated by 0.5 degrees to align the images. Similarly, if there is a determined translation or offset in terms of pixel values, distances, etc., at least one of the images can be shifted to compensate for the offset. Upon computing the calibration matrix, and once a subsequent stereoscopic image is captured using the pair of cameras, the model obtained therefrom can be applied to each image to account for misalignment effects due to the misaligned stereo camera pair before providing the stereoscopic image for display. For example, upon applying the model or mapping to a subsequently captured image can account for, or remove, the offset due to the misaligned cameras.
In another approach, for small errors, misalignments of any or all the cameras can be treated as linear translations in the images. Accordingly, a set of linear equations can be used to solve for the misalignments of each camera, as determined by the coordinates of the located feature points. In other embodiments, a set of homographies can be determined for the cameras using the coordinates of the feature points. By iterating over the homographies until a cost function converges, a misalignment amount can be determined, and the misalignment amount of the cameras can be solved together. Other approaches can be used as well, such as to attempt to directly solve for yaw, pitch, and roll errors.
In any situation, each captured image can be analyzed to determine 404 one or more of feature points, image points, or other such features using one or more feature detection algorithms, as may recognize unique features or shapes, among other such features, that can be recognized in each image. This can include, for example, detecting the user's head, face, and/or facial features. In various embodiments, as known for such purposes, feature points can be determined using algorithms such as feature detection algorithms (e.g., SIFT or SURF), corner finding algorithms, pattern matching algorithms, contour detection algorithms, and the like. For this example, the process uses a facial feature detection algorithm to locate specific points in each image corresponding to facial features. Corresponding feature points can then be located 406 in each of the captured images, to the extent those feature points are represented in each of those images.
Thus, a feature point corresponding to an object represented in an image captured by four cameras will have four pairs of coordinates, with an (x,y) or other such pair of coordinates representing the location of that feature point in each image. As discussed elsewhere herein, the examples utilize a single feature point for purposes of explanation, but it should be understood that multiple feature points will generally be analyzed and/or otherwise utilized in various analyses within the scope of the various embodiments. Once the feature points are detected, the coordinates of those feature points in each image can be determined 408. For purposes of explanation, each feature point in an image captured by camera #1 (120 in the example of
In various other embodiments, the coordinates from the images (e.g., three or more feature point coordinates) can be used in a number of calibration approaches to determine at least one set of calibration parameters 410, where the calibration parameters can include lateral offset amounts for small angles. In other cases, the calibration parameters can include misalignments in roll, pitch, and/or yaw for any or all of the cameras analyzed, such that disparity can be corrected for subsequent images. In one such approach using the previous camera calibration parameters mentioned above (e.g., A, T and R), reverse point matching can be performed. In another such approach, upon detecting the feature points in each face, e.g., by using one of a number of detection algorithms, such as scale-invariant feature transform (SIFT), speeded up robust features (SURF), among others, a calibration matrix or other such computation can be computed using one of, or a combination of, normalized 8-point method, random sample consensus (RANSAC), least median squares, among others. The computation of the calibration matrix can then be used to represent the relationship between feature points in the stereo images, where the features are projections of the same object element. This process is known as image rectification, and can be accomplished by applying 2-D projective transformations on each image. For example, offset values for the feature points can be determined, and in at least some embodiments, a model (e.g., a “rectifying model”) of the camera(s) capturing that image can be generated. The rectifying model or mappings can include transforms or adjustments to be made to an image captured by one or both of the cameras in order to reduce misalignment. For example, based at least in part upon the model or mappings, the appropriate image adjustments can be made to align the pair of cameras (e.g., the left and right stereo cameras). For example, each point on a grid can be located in an image captured by each camera, and an offset or function determined for matching these locations in the image, with respect to the expected amount of disparity between the images for the location of the calibration object. Further, in some embodiments, an overall adjustment such as an amount of translation and/or rotation can be determined that should be applied to an image captured by at least one of the cameras.
The model and/or calibration parameters can be applied 412 to subsequent images, where applying the model or calibration parameters to a subsequently captured image can account for, or remove, the offset due to the misaligned cameras. Subsequent images captured by the stereo camera pair can be analyzed to determine whether the model or calibration parameters removed the offset due to the misalignment. When it is determined 414 that the cameras are aligned to at least a threshold level, the results (e.g., calibration parameters) then can be stored 416 as misalignment corrections to be applied to images captured by each of the cameras. Various other types of correction or misalignment data can be stored as well within the scope of the various embodiments. If a device has a mechanical mechanism for realigning the cameras, this information can alternatively be provided to the mechanism instead of being stored for future image adjustments. In embodiments where the misalignments are relative, the values stored can be normalized and/or adjusted such that the minimum average amount of adjustment is applied to each camera while still accounting for misalignment.
When it is determined that the cameras are misaligned, or aligned less than the threshold level, the process can repeat. As discussed, the process can be repeated at relatively regular and/or short intervals, or at other appropriate times, in order to ensure that the cameras are relatively aligned and that any misalignment errors are small. The ability to periodically detect and solve for small misalignments in yaw, pitch, and/or roll misalignment errors enables the calibration parameters to be updated and applied over time in order to maintain acceptable stereo rectification.
In this example, the computing device 500 has a display screen 502 (e.g., an LCD element) operable to display information or image content to one or more users or viewers of the device. The display screen of some embodiments displays information to the viewers facing the display screen (e.g., on the same side of the computing device as the display screen). The computing device in this example can include one or more imaging elements, in this example including two image capture elements 504 on the front of the device and at least one image capture element 510 on the back of the device. It should be understood, however, that image capture elements could also, or alternatively, be placed on the sides or corners of the device, and that there can be any appropriate number of capture elements of similar or different types. Each image capture element 504 and 510 may be, for example, a camera, a charge-coupled component (CCD), a motion detection sensor or an infrared sensor, or other image capturing technology.
As discussed, the device can use the images (e.g., still or video) captured from the imaging elements 504 and 510 to generate a three-dimensional simulation of the surrounding environment (e.g., a virtual reality of the surrounding environment for display on the display element of the device). Further, the device can utilize outputs from at least one of the image capture elements 504 and 510 to assist in determining the location and/or orientation of a user and in recognizing nearby persons, objects, or locations. For example, if the user is holding the device, the captured image information can be analyzed (e.g., using mapping information about a particular area) to determine the approximate location and/or orientation of the user. The captured image information may also be analyzed to recognize nearby persons, objects, or locations (e.g., by matching parameters or elements from the mapping information).
The computing device can also include at least one microphone or other audio capture elements capable of capturing audio data, such as words spoken by a user of the device, music being hummed by a person near the device, or audio being generated by a nearby speaker or other such component, although audio elements are not required in at least some devices. In this example there are three microphones, one microphone 508 on the front side, one microphone 512 on the back, and one microphone 506 on or near a top or side of the device. In some devices there may be only one microphone, while in other devices there might be at least one microphone on each side and/or corner of the device, or in other appropriate locations.
The device 500 in this example also includes one or more orientation- or position-determining elements 518 operable to provide information such as a position, direction, motion, or orientation of the device. These elements can include, for example, accelerometers, inertial sensors, electronic gyroscopes, and electronic compasses.
The example device also includes at least one communication mechanism 514, such as may include at least one wired or wireless component operable to communicate with one or more electronic devices. The device also includes a power system 516, such as may include a battery operable to be recharged through conventional plug-in approaches, or through other approaches such as capacitive charging through proximity with a power mat or other such component. Various other elements and/or combinations are possible as well within the scope of various embodiments.
The device typically will include some type of display element 606, such as a touch screen, electronic ink (e-ink), organic light emitting diode (OLED) or liquid crystal display (LCD), although devices such as portable media players might convey information via other means, such as through audio speakers.
As discussed, the device in many embodiments will include at least one imaging element 608, such as one or more cameras that are able to capture images of the surrounding environment and that are able to image a user, people, or objects in the vicinity of the device.
The image capture element can include any appropriate technology, such as a CCD image capture element having a sufficient resolution, focal range, and viewable area to capture an image of the user when the user is operating the device. Methods for capturing images using a camera element with a computing device are well known in the art and will not be discussed herein in detail. It should be understood that image capture can be performed using a single image, multiple images, periodic imaging, continuous image capturing, image streaming, etc. Further, a device can include the ability to start and/or stop image capture, such as when receiving a command from a user, application, or other device.
The example computing device 600 also includes at least one orientation determining element 610 able to determine and/or detect orientation and/or movement of the device. Such an element can include, for example, an accelerometer or gyroscope operable to detect movement (e.g., rotational movement, angular displacement, tilt, position, orientation, motion along a non-linear path, etc.) of the device 600. An orientation determining element can also include an electronic or digital compass, which can indicate a direction (e.g., north or south) in which the device is determined to be pointing (e.g., with respect to a primary axis or other such aspect).
As discussed, the device in many embodiments will include at least a positioning element 612 for determining a location of the device (or the user of the device). A positioning element can include or comprise a GPS or similar location-determining elements operable to determine relative coordinates for a position of the device. As mentioned above, positioning elements may include wireless access points, base stations, etc., that may either broadcast location information or enable triangulation of signals to determine the location of the device. Other positioning elements may include QR codes, barcodes, RFID tags, NFC tags, etc., that enable the device to detect and receive location information or identifiers that enable the device to obtain the location information (e.g., by mapping the identifiers to a corresponding location). Various embodiments can include one or more such elements in any appropriate combination. As mentioned above, some embodiments use the element(s) to track the location of a device. Upon determining an initial position of a device (e.g., using GPS), the device of some embodiments may keep track of the location of the device by using the element(s), or in some instances, by using the orientation determining element(s) as mentioned above, or a combination thereof. As should be understood, the algorithms or mechanisms used for determining a position and/or orientation can depend at least in part upon the selection of elements available to the device.
The example device also includes one or more wireless components 614 operable to communicate with one or more electronic devices within a communication range of the particular wireless channel. The wireless channel can be any appropriate channel used to enable devices to communicate wirelessly, such as Bluetooth, cellular, NFC, or Wi-Fi channels. It should be understood that the device can have one or more conventional wired communications connections as known in the art.
The device also includes a power system 616, such as may include a battery operable to be recharged through conventional plug-in approaches, or through other approaches such as capacitive charging through proximity with a power mat or other such component. Various other elements and/or combinations are possible as well within the scope of various embodiments.
In some embodiments the device can include at least one additional input component 618 able to receive conventional input from a user. This conventional input can include, for example, a push button, touch pad, touch screen, wheel, joystick, keyboard, mouse, keypad, or any other such component or element whereby a user can input a command to the device. These I/O components could even be connected by a wireless infrared or Bluetooth or other link as well in some embodiments. Some devices also can include a microphone or other audio capture element that accepts voice or other audio commands. For example, a device might not include any buttons at all, but might be controlled only through a combination of visual and audio commands, such that a user can control the device without having to be in contact with the device.
In some embodiments, a device can include the ability to activate and/or deactivate detection and/or command modes, such as when receiving a command from a user or an application, or retrying to determine an audio input or video input, etc. In some embodiments, a device can include an infrared detector or motion sensor, for example, which can be used to activate one or more detection modes. For example, a device might not attempt to detect or communicate with devices when there is not a user in the room. If an infrared detector (i.e., a detector with one-pixel resolution that detects changes in state) detects a user entering the room, for example, the device can activate a detection or control mode such that the device can be ready when needed by the user, but conserve power and resources when a user is not nearby.
A computing device, in accordance with various embodiments, may include a light-detecting element that is able to determine whether the device is exposed to ambient light or is in relative or complete darkness. Such an element can be beneficial in a number of ways. In certain conventional devices, a light-detecting element is used to determine when a user is holding a cell phone up to the user's face (causing the light-detecting element to be substantially shielded from the ambient light), which can trigger an action such as the display element of the phone to temporarily shut off (since the user cannot see the display element while holding the device to the user's ear). The light-detecting element could be used in conjunction with information from other elements to adjust the functionality of the device. For example, if the device is unable to detect a user's view location and a user is not holding the device but the device is exposed to ambient light, the device might determine that it has likely been set down by the user and might turn off the display element and disable certain functionality. If the device is unable to detect a user's view location, a user is not holding the device and the device is further not exposed to ambient light, the device might determine that the device has been placed in a bag or other compartment that is likely inaccessible to the user and thus might turn off or disable additional features that might otherwise have been available. In some embodiments, a user must either be looking at the device, holding the device or have the device out in the light in order to activate certain functionality of the device. In other embodiments, the device may include a display element that can operate in different modes, such as reflective (for bright situations) and emissive (for dark situations). Based on the detected light, the device may change modes.
Using the microphone, the device can disable other features for reasons substantially unrelated to power savings. For example, the device can use voice recognition to determine people near the device, such as children, and can disable or enable features, such as Internet access or parental controls, based thereon. Further, the device can analyze recorded noise to attempt to determine an environment, such as whether the device is in a car or on a plane, and that determination can help to decide which features to enable/disable or which actions are taken based upon other inputs. If voice recognition is used, words can be used as input, either directly spoken to the device or indirectly as picked up through conversation. For example, if the device determines that it is in a car, facing the user and detects a word such as “hungry” or “eat,” then the device might turn on the display element and display information for nearby restaurants, etc. A user can have the option of turning off voice recording and conversation monitoring for privacy and other such purposes.
In some of the above examples, the actions taken by the device relate to deactivating certain functionality for purposes of reducing power consumption. It should be understood, however, that actions can correspond to other functions that can adjust similar and other potential issues with use of the device. For example, certain functions, such as requesting Web page content, searching for content on a hard drive and opening various applications, can take a certain amount of time to complete. For devices with limited resources, or that have heavy usage, a number of such operations occurring at the same time can cause the device to slow down or even lock up, which can lead to inefficiencies, degrade the user experience and potentially use more power.
In order to address at least some of these and other such issues, approaches in accordance with various embodiments can also utilize information such as user gaze direction to activate resources that are likely to be used in order to spread out the need for processing capacity, memory space and other such resources.
In some embodiments, the device can have sufficient processing capability, and the imaging element and associated analytical algorithm(s) may be sensitive enough to distinguish between the motion of the device, motion of a user's head, motion of the user's eyes and other such motions, based on the captured images alone. In other embodiments, such as where it may be desirable for the process to utilize a fairly simple imaging element and analysis approach, it can be desirable to include at least one orientation determining element that is able to determine a current orientation of the device. In one example, the at least one orientation determining element is at least one single- or multi-axis accelerometer that is able to detect factors such as three-dimensional position of the device and the magnitude and direction of movement of the device, as well as vibration, shock, etc. Methods for using elements such as accelerometers to determine orientation or movement of a device are also known in the art and will not be discussed herein in detail. Other elements for detecting orientation and/or movement can be used as well within the scope of various embodiments for use as the orientation determining element. When the input from an accelerometer or similar element is used along with the input from the camera, the relative movement can be more accurately interpreted, allowing for a more precise input and/or a less complex image analysis algorithm.
When using an imaging element of the computing device to detect motion of the device and/or user, for example, the computing device can use the background in the images to determine movement. For example, if a user holds the device at a fixed orientation (e.g. distance, angle, etc.) to the user and the user changes orientation to the surrounding environment, analyzing an image of the user alone will not result in detecting a change in an orientation of the device. Rather, in some embodiments, the computing device can still detect movement of the device by recognizing the changes in the background imagery behind the user. So, for example, if an object (e.g., a window, picture, tree, bush, building, car, etc.) moves to the left or right in the image, the device can determine that the device has changed orientation, even though the orientation of the device with respect to the user has not changed. In other embodiments, the device may detect that the user has moved with respect to the device and adjust accordingly. For example, if the user tilts their head to the left or right with respect to the device, the content rendered on the display element may likewise tilt to keep the content in orientation with the user.
As discussed, different approaches can be implemented in various environments in accordance with the described embodiments. For example,
The illustrative environment includes at least one application server 708 and a data store 710. It should be understood that there can be several application servers, layers or other elements, processes or components, which may be chained or otherwise configured, which can interact to perform tasks such as obtaining data from an appropriate data store. As used herein, the term “data store” refers to any component or combination of components capable of storing, accessing and retrieving data, which may include any combination and number of data servers, databases, data storage components and data storage media, in any standard, distributed or clustered environment. The application server 708 can include any appropriate hardware and software for integrating with the data store 710 as needed to execute aspects of one or more applications for the client device and handling a majority of the data access and business logic for an application. The application server provides access control services in cooperation with the data store and is able to generate content such as text, graphics, audio and/or video to be transferred to the user, which may be served to the user by the Web server 706 in the form of HTML, XML or another appropriate structured language in this example. The handling of all requests and responses, as well as the delivery of content between the client devices 718, 720, 722, and 724 and the application server 708, can be handled by the Web server 706. It should be understood that the Web and application servers are not required and are merely example components, as structured code discussed herein can be executed on any appropriate device or host machine as discussed elsewhere herein.
The data store 710 can include several separate data tables, databases or other data storage mechanisms and media for storing data relating to a particular aspect. For example, the data store illustrated includes mechanisms for storing content (e.g., production data) 712 and user information 716, which can be used to serve content for the production side. The data store is also shown to include a mechanism for storing log or session data 714. It should be understood that there can be many other aspects that may need to be stored in the data store, such as page image information and access rights information, which can be stored in any of the above listed mechanisms as appropriate or in additional mechanisms in the data store 710. The data store 710 is operable, through logic associated therewith, to receive instructions from the application server 708 and obtain, update or otherwise process data in response thereto. In one example, a user might submit a search request for a certain type of item. In this case, the data store might access the user information to verify the identity of the user and can access the catalog detail information to obtain information about items of that type. The information can then be returned to the user, such as in a results listing on a Web page that the user is able to view via a browser on anyone of the user devices 718, 720, 722 and 724. Information for a particular item of interest can be viewed in a dedicated page or window of the browser.
Each server typically will include an operating system that provides executable program instructions for the general administration and operation of that server and typically will include computer-readable medium storing instructions that, when executed by a processor of the server, allow the server to perform its intended functions. Suitable implementations for the operating system and general functionality of the servers are known or commercially available and are readily implemented by persons having ordinary skill in the art, particularly in light of the disclosure herein.
The environment in one embodiment is a distributed computing environment utilizing several computer systems and components that are interconnected via communication links, using one or more computer networks or direct connections. However, it will be appreciated by those of ordinary skill in the art that such a system could operate equally well in a system having fewer or a greater number of components than are illustrated in
The various embodiments can be further implemented in a wide variety of operating environments, which in some cases can include one or more user computers or computing devices which can be used to operate any of a number of applications. User or client devices can include any of a number of general purpose personal computers, such as desktop or laptop computers running a standard operating system, as well as cellular, wireless and handheld devices running mobile software and capable of supporting a number of networking and messaging protocols. Such a system can also include a number of workstations running any of a variety of commercially-available operating systems and other known applications for purposes such as development and database management. These devices can also include other electronic devices, such as dummy terminals, thin-clients, gaming systems and other devices capable of communicating via a network.
Most embodiments utilize at least one network that would be familiar to those skilled in the art for supporting communications using any of a variety of commercially-available protocols, such as TCP/IP, OSI, FTP, UPnP, NFS, CIFS and AppleTalk. The network can be, for example, a local area network, a wide-area network, a virtual private network, the Internet, an intranet, an extranet, a public switched telephone network, an infrared network, a wireless network and any combination thereof.
In embodiments utilizing a Web server, the Web server can run any of a variety of server or mid-tier applications, including HTTP servers, FTP servers, CGI servers, data servers, Java servers and business application servers. The server(s) may also be capable of executing programs or scripts in response requests from user devices, such as by executing one or more Web applications that may be implemented as one or more scripts or programs written in any programming language, such as Java®, C, C# or C++ or any scripting language, such as Perl, Python or TCL, as well as combinations thereof. The server(s) may also include database servers, including without limitation those commercially available from Oracle®, Microsoft®, Sybase® and IBM®.
The environment can include a variety of data stores and other memory and storage media as discussed above. These can reside in a variety of locations, such as on a storage medium local to (and/or resident in) one or more of the computers or remote from any or all of the computers across the network. In a particular set of embodiments, the information may reside in a storage-area network (SAN) familiar to those skilled in the art. Similarly, any necessary files for performing the functions attributed to the computers, servers or other network devices may be stored locally and/or remotely, as appropriate. Where a system includes computerized components, each such component can include hardware elements that may be electrically coupled via a bus, the elements including, for example, at least one central processing unit (CPU), at least one input component (e.g., a mouse, keyboard, controller, touch-sensitive display element or keypad) and at least one output component (e.g., a display component, printer or speaker). Such a system may also include one or more storage components, such as disk drives, optical storage components and solid-state storage components such as random access memory (RAM) or read-only memory (ROM), as well as removable media components, memory cards, flash cards, etc.
Such devices can also include a computer-readable storage media reader, a communications component (e.g., a modem, a network card (wireless or wired), an infrared communication component) and working memory as described above. The computer-readable storage media reader can be connected with, or configured to receive, a computer-readable storage medium representing remote, local, fixed and/or removable storage components as well as storage media for temporarily and/or more permanently containing, storing, transmitting and retrieving computer-readable information. The system and various devices also typically will include a number of software applications, modules, services or other elements located within at least one working memory component, including an operating system and application programs such as a client application or Web browser. It should be appreciated that alternate embodiments may have numerous variations from that described above. For example, customized hardware might also be used and/or particular elements might be implemented in hardware, software (including portable software, such as applets) or both. Further, connection to other computing devices such as network input/output devices may be employed.
Storage media and computer readable media for containing code, or portions of code, can include any appropriate media known or used in the art, including storage media and communication media, such as but not limited to volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage and/or transmission of information such as computer readable instructions, data structures, program modules or other data, including RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage components or any other medium which can be used to store the desired information and which can be accessed by a system device. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various embodiments.
The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that various modifications and changes may be made thereunto without departing from the broader spirit and scope of the invention as set forth in the claims.
Number | Name | Date | Kind |
---|---|---|---|
5606627 | Kuo | Feb 1997 | A |
20030156751 | Lee | Aug 2003 | A1 |
20090185723 | Kurtz | Jul 2009 | A1 |
20100125816 | Bezos | May 2010 | A1 |
20110157373 | Ye | Jun 2011 | A1 |
20120275667 | Lu | Nov 2012 | A1 |
20120314914 | Karakotsios | Dec 2012 | A1 |
20130113881 | Barnum | May 2013 | A1 |
20140270480 | Boardman | Sep 2014 | A1 |
20150131852 | Sweetser | May 2015 | A1 |
20150288874 | Sivan | Oct 2015 | A1 |