Abstract:
A computer-implemented method for utilizing a camera device to track an object is presented. As part of the method, a region of interest is determined within an overall image sensing area. A point light source is then tracked within the region of interest. In a particular arrangement, the camera device incorporates CMOS image sensor technology and the point light source is an IR LED. Other embodiments pertain to manipulations of the region of interest to accommodate changes to the status of the point light source.

Description:
BACKGROUND 
       [0001]    When tracking an object using computer vision techniques, it can be desirable to place an active light emitting diode (LED) on the object to be tracked. Thus, the object can be tracked by tracking corresponding characteristics of the light source. This simplifies the image-processing task of finding the object in an image. It also reduces or eliminates ambiguity in terms of determining which object in an image is the object to be tracked. The tracking process can be simplified even further by using infrared (IR) LEDs and IR-sensitive cameras. In this case, the IR LED may be the only item visible in the scene. 
         [0002]    Currently, the effectiveness of tracking an object by tracking an associated light source is limited because cameras are limited to a relatively low frame acquisition rate, such as a rate in the range of 30-60 Hz. Thus, such systems are generally unable to capture large or quick motions. Further, such systems typically exhibit high latency (latency is bounded by frame rate). Applications that might involve large and/or quick movements such as, but not limited to, music synthesis and video game controllers would benefit from higher frame rates. 
         [0003]    The discussion above is merely provided for general background information and is not intended for use as an aid in determining the scope of the claimed subject matter. 
       SUMMARY 
       [0004]    A computer-implemented method for utilizing a camera device to track an object is presented. As part of the method, a region of interest is determined within an overall image sensing area. A point light source is then tracked within the region of interest. In a particular arrangement, the camera device incorporates CMOS image sensor technology and the point light source is an IR LED. Other embodiments pertain to manipulations of the region of interest to accommodate changes to the status of the point light source. 
         [0005]    This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter. The claimed subject matter is not limited to implementations that solve any or all disadvantages noted in the background. 
     
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0006]      FIG. 1  is a schematic block diagram of one environment in which some embodiments may be practiced. 
           [0007]      FIG. 2  is a block flow chart illustrating steps associated with tracking a point light source associated with an object. 
           [0008]      FIG. 3  is a block flow diagram demonstrating steps associated with a process for handling object detection. 
           [0009]      FIG. 4  is a schematic representation visually demonstrating a process for object detection. 
       
    
    
     DETAILED DESCRIPTION 
       [0010]      FIG. 1  is a schematic block diagram of one environment in which some embodiments may be practiced. More specifically,  FIG. 1  depicts a computer vision-based object tracking system  100 . It should be noted that the present invention is not limited to the computer vision system illustrated in  FIG. 1 . System  100  is but one example of a suitable environment in which embodiments may be implemented. System  100  is not intended to suggest any limitation as to the scope of use or functionality of various embodiments. Neither should system  100  be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary environment. 
         [0011]    System  100  includes a camera device  102  that, as is generally indicated by lines  104 , has a field of vision focused upon a portion of a surface  106 . Those skilled in the art will appreciate that the field of vision can be adjusted through manipulation of imaging components, such as through adjustment of the focus of one or more lenses. Such lenses may or may not be directly incorporated into camera device  102 . 
         [0012]    In general, camera device  102  is configured to facilitate application of computer vision techniques to support a gathering of data related to the positioning of an object  108 . Surface  106  may be transparent such that object  108  is observable by camera device  102  when placed within the associated field of vision. Depending on the technical capacity of camera device  102  (e.g., ability to re-focus or change the field of view, etc.), the ability to track motion of object  108  may be limited to movements wherein object  108  is kept in relatively close proximity to surface  106 . However, depending on the technical capacity of camera device  102 , it is possible to eliminate surface  106  from the system completely such that the position of object  108  can be tracked at multiple distances from device  102 , including various distances other than the distance associated with surface  106 . 
         [0013]    For any of a variety of reasons, such as to eliminate ambiguity in the object to be tracked, or to simplify the processing task of finding the target object in the image, a light source  110  (e.g., an LED) is added to object  108 . Camera device  102  then tracks object  108  by tracking light source  110 . In one embodiment, not by limitation, light source  110  is an IR LED and camera device  102  is an IR-sensitive camera. This even further simplifies the tracking of object  108 . Of course, surface  106  is assumed to be transparent to the light emitted from light source  110 . 
         [0014]    The effectiveness of tracking object  108  by tracking light source  110  is at least partially contingent upon the frame acquisition rate supported by camera device  102 . For example, if the frame acquisition rate is in the range of 30-60 Hz, then camera device  102  will not likely be able to effectively capture large or quick movements of object  108 . Further, if the frame acquisition rate is low, then latency very well may be undesirably high because latency is generally bounded by frame rate. 
         [0015]    Applications that might involve large and/or quick movements would benefit from support for higher frame rates. For example, systems designed to track input made upon a screen with an electromagnetic stylus have specified sample collection at 133 Hz to achieve smooth capture of strokes for handwriting recognition, drawing, etc. Other applications such as, but not limited to, music synthesis and video game controllers may also require a relatively high frame acquisition rate. 
         [0016]    Camera device  102  is illustratively configured to increase or maximize the frame acquisition rate by exploiting sensor technology that enables specification of an active region of interest (ROI) in the overall image sensing area. In one embodiment, this is accomplished through implementation of Complementary Metal Oxide Semiconductor (CMOS) image sensor technology. CMOS imagers are effectively limited in the bandwidth of the connection link, not the light gathering electronics on the imager itself. Thus, the frame acquisition rate is related to the size of the ROI. A CMOS sensor capable of delivering 30 640×480 frames per second will deliver 4*30=120 frames per second with an ROI of 320×240. By reducing the ROI further, frame rates of several hundred Hz or more are possible. 
         [0017]    The described approach raises a few issues to consider. First, because pixels are acquired more quickly than is typically the case, the light integration time for each pixel is relatively reduced. This is akin to reducing the “exposure time” of the camera device. It is possible that for small ROIs, everyday indoor scenes will be too dark to be imaged. Incorporation of an active LEDs into an item to be tracked addresses this issue. The brightness of the LED is apparent even at small ROIs. 
         [0018]    Another issue to consider is that a small ROI may require active adjustment such that a tracked object will fall within it. In one embodiment, this issue is addressed by calculating an updated position of the ROI and sending the new ROI to the camera interface. Depending on the technical capacity of a given camera implementation (e.g., a given CMOS imaging system), this may involve a loss of one or more frames. To achieve the highest frame rate, the frequency of changing the ROI can be limited, which may in turn require a larger ROI than if changed every frame. 
         [0019]    The present description is focused on one example environment wherein a camera is focused on a surface. In one embodiment, a light source implement is configured with a tip-switch such that the light source is active (e.g., the IR LED is on) only when the switch is on the surface. However, those skilled in the art that the same concepts described herein can similarly be applied within a surface-free environment, such as an environment wherein a light source is waved around in front of a camera for a game or some other purpose. 
         [0020]      FIG. 2  is a block flow chart illustrating steps associated with tracking a point light source associated with an object. In accordance with block  202 , there is first a determination of an ROI within the overall image sensing area. As is indicated by block  212 , the boundaries of the ROI may be based on the potential for movement of the point light source. For example, areas that extend beyond where the light source could move prior to a subsequent re-determination of the region of interest need not be included. 
         [0021]    In accordance with block  204 , the point light source is tracked within the determined ROI. Block  206  represents an updating or re-determination of the ROI. As noted, the boundaries can again be made contingent on potential for movement. The system can illustratively be configured to perform the re-determination step only under certain circumstances, such as periodically or only when the light source has moved (i.e., if it hasn&#39;t moved then re-determination is unnecessary). Further, as is indicated by block  212 , re-determination can be made contingent upon movement of the point light source beyond a predetermined threshold. For example, the threshold might be based upon how far movement could potentially occur within a given time period (e.g., a certain number frames, the period between re-determinations of the ROI, etc.). In one embodiment, the region is selected according to a model of the point&#39;s motion (e.g., linear motion prediction, Kalman filter, etc.). A better prediction of the point&#39;s location supports a smaller ROI and thus a higher frame rate. In accordance with block  208 , the updating and tracking steps can be repeated as necessary. 
         [0022]    It worth pointing out that, with a small ROI, it may be unlikely that the system will detect the appearance of a new object to be tracked. In one embodiment, a specialized algorithm is employed to enhance the system&#39;s capacity to detect objects.  FIG. 3  is a block flow diagram demonstrating steps associated with a process for handling object detection. In accordance with block  302 , when no object (i.e., no point light source) is being actively tracked with a small ROI, then the ROI is enlarged (e.g., to the maximum size). Of course, the frame acquisition rate will correspondingly decrease under the circumstances. In accordance with block  304 , expanded ROI is scanned until a new object (i.e., a new point light source) is detected. 
         [0023]    In accordance with block  306 , upon detection of an object (i.e., the point light source), the ROI is reduced to cover only the object and a corresponding potential range of movement (e.g., the range over which it can move during the small frame time). If, after a time, the object (i.e., the point light source) is not detected in the small ROI, then the system reverts back to the detection phase (e.g., expanded ROI). 
         [0024]      FIG. 4  is a schematic representation visually demonstrating a process for object detection. In a detection mode  402 , the ROI is expanded, the frame acquisition rate is relatively slow and latency is increased. This is assumedly prior to detection of a point light source associated with an object. Upon detection, the system transitions into tracking mode  404 , wherein the ROI is reduced, the frame acquisition rate is increased and latency is reduced. As has been described, in the tracking mode, the ROI is illustratively adjusted to accommodate movement of the object. Arrow  406  demonstrates that the system can switch between the detection mode and tracking mode as necessary. 
         [0025]    As an example of a specific implementation, methods such as those described are employed to track the positioning of an active IR LED built into a stylus. Samples are collected at a frame acquisition rate measured in hundreds of HZ (e.g., more than 400 HZ). Thus, the stylus can be used effectively in an inking application. Furthermore, “sub-pixel” tracking techniques can be employed to further improve the quality of the inking functionality. This can be achieved, for example, by calculating the position of the LED as the weighted average of the position of the bright pixels in the ROI, where each weight is the brightness of the pixel. 
         [0026]    Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.