METHODS, DEVICES, AND SYSTEMS FOR DETERMINING FIELD OF VIEW AND PRODUCING AUGMENTED REALITY

Information

  • Patent Application
  • 20180350103
  • Publication Number
    20180350103
  • Date Filed
    May 30, 2018
    6 years ago
  • Date Published
    December 06, 2018
    5 years ago
Abstract
A camera's field of view is determined using image data and location information. Accurate augmented reality representations are provided based on the determined field of view in an absence of a priori knowledge of the camera's field of view.
Description
FIELD OF THE INVENTION

The invention generally relates to image processing techniques, photography, and augmented reality. In some aspects, embodiments of the invention relate to image processing and field of view determinations that permit or improve augmented reality methods and systems.


BACKGROUND

Cameras are everywhere. The proliferation of mobile electronic devices such as smartphones has had the effect that many ordinary individuals who in prior years only used cameras for special occasions like birthdays now carry around a camera in their pocket.


Multipurpose mobile electronic devices such as smartphones and tablets very frequently have one if not multiple built-in cameras that accompany other hardware like a display and speakers. The market for multipurpose devices like smartphones is considerable, and many different companies use propriety cameras or specialized camera configurations as a means for differentiating their own products from those of competitors. As a result, the consumer marketplace contains hundreds of different cameras with their own separate and unique specifications. Camera specifications differ not only between different companies/brands (e.g., Apple and Samsung), but also between different product series of the same company/brand (e.g., Samsung Galaxy and Samsung Note), and between different product versions within the same series (e.g., Samsung Galaxy S6 and Samsung Galaxy S7).


Because any one single company controls only a fraction of the mobile device market, and because any one specific mobile device model of that single company represents only a fraction of that fraction, it is not economically savvy for software developers to develop software products which cater only to a specific mobile device model, specific mobile device series, or even a specific company. Rather, the common industry trend is for software developers to create software products which are compatible with a wide variety of disparate hardware devices. However, a problem arises when the functionality or performance of a software product is highly dependent on hardware specifications like camera configurations which are enormously diverse across the market. Augmented reality products, for instance, can be heavily dependent on camera hardware. Augmented reality attempts to augment a real world experience, and to do this the devices or systems providing the augmentation must have an “understanding” of real world surroundings. Such “understanding” is most often obtained using one or more cameras which capture images or videos of the surroundings. Other sensors such as locations sensors (e.g., GPS devices) may also be used to collect data used as input to the logic decisions which ultimately produce an augmented reality experience. Because of the diversity of camera specifications, however, it becomes problematic for an augmented reality device to “understand” or characterize image or video data that is received from the camera.


One solution to the diversity of cameras and camera specifications in the market is to maintain a database with all specifications for all cameras on the market. This solution, however, is highly impractical. Specification data may not be easy or even possible to obtain for some proprietary camera hardware, and the annual releases of a variety of new devices with new hardware specifications by industry leaders and newcomers alike means keeping such a database up to date could prove impossible or overly burdensome. Therefore solutions are needed which permit the use of a wide variety of different cameras without reliance on detailed camera specifications being supplied from the manufacturers.


SUMMARY

Exemplary embodiments provide methods and apparatuses which are configured to determine the field of view of a camera for which the field of view was not previously known. Field of view may be determined using a limited set of inputs, including a feed from the camera, referential data describing the locations of recognizable real world objects like the Empire State Building or a street sign, and location information for the camera (e.g., GPS data). Orientation information may also be used an input to describe the direction a camera is facing (e.g., north or south; towards the sky or towards the ground).


Using knowledge of the field of view of a real world camera, this field of view may be applied to a virtual world which creates a virtual landscape corresponding with a real world landscape. For instance, a virtual model of New York City could have many of the same general dimensions, proportions, and other qualities of the real New York City. The virtual model also contains virtual objects which may or may not correspond with the real world. For instance, a virtual model of New York City may have a virtual building that resembles the Empire State Building, and it may also have a virtual hot dog stand at the corner of Broadway and 7th Street which does not correspond with any real hot dog stand. For purposes of the invention, the virtual model may simply be virtual model data stored in a memory repository. Embodiments of the invention, using the field of view that was determined, select particular virtual objects to represent as augmentations to a user. So, for instance, just the virtual hot dog stand may be shown to a user if the user is looking at the real world corner of Broadway and 7th Street. In such manner augmented realities with accurately delivered (e.g., positioned) augmentations are made possible despite initially lacking the field of view of the camera being used to understand the real world surroundings of a user.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a diagram of a frustum.



FIG. 2 is a diagram illustrating a relatively wide field of view that encompasses two real objects and a nearby virtual object.



FIG. 3 is a diagram illustrating a relatively narrow field of view that encompasses two real objects but not a nearby virtual object.



FIG. 4 is a diagram of an augmented reality (AR) device that may have either the relatively wide field of view from FIG. 2 or the relatively narrow field of view from FIG. 3.



FIG. 5 is an image corresponding with the relatively wide field of view in FIG. 2.



FIG. 6 is an image corresponding with the relatively narrow field of view in FIG. 3.



FIG. 7 is a block diagram of an exemplary system and flowchart of an exemplary process for determining field of view of a camera and providing an augmented reality.



FIG. 8A is a camera image that includes at least two detectable real world objects. The image is labeled with distance measurements used during the process of FIG. 7.



FIG. 8B is a top down view showing the spatial arrangement of the camera and real world objects discussed in connection with FIGS. 7 and 8A.



FIG. 9 is a top down view showing the same spatial arrangement as in FIG. 8B but with an alternative system of measurement. The labels correspond with distance and angle measures used during the process of FIG. 7.



FIG. 10A is a camera image that includes at least one detectable real world object.



FIG. 10B is a top down view showing the spatial arrangement of the camera and real world object discussed in connection with FIG. 10A.



FIG. 11 is a top down view showing the same spatial arrangement as in FIG. 10B but with an alternative system of measurement.





DETAILED DESCRIPTION

As used herein, “augmented reality”, or “AR”, is a direct or indirect experience of a physical, real-world environment in which one or more elements are augmented by computer-generated sensory output such as but not limited to sound, video, graphics, or haptic feedback. Augmented reality is frequently but not necessarily live/in substantially real time. It is related to a more general concept called “mediated reality”, in which a view of reality is modified (e.g., diminished or augmented) by a computer. The general intent is to enhance one's natural perception of reality (e.g., as perceived by their senses without external devices). In contrast to mediated reality, “virtual reality” replaces the real world with a simulated one. Augmentation is conventionally in real-time and in semantic context with environmental elements. For example, many Americans are accustomed to augmented reality when watching American football on a television. A football game as captured by video cameras is a real world view. However, the broadcasting company frequently augments the recorded image of the real world view with the line of scrimmage and first down markers on the field. The line and markers do not exist in reality, but rather they are virtual augmentations that are added to the real world view. As another example, in televised Olympic races, moving virtual lines can be superimposed on tracks and swimming pools to represent the position of a runner or swimmer keeping pace with the world record in the event. Augmented reality that is not in in real-time can be, for example, superimposing the line of scrimmage over the image of a football match that is being displayed after the match has already taken place. Augmented reality permits otherwise imperceptible information about the environment and its objects to supplement (e.g., be overlaid on) a view or image of the real world.


Augmented reality differs from a heads-up display, or HUD. A HUD displays virtual objects overlaid onto a view of the real world, but the virtual objects are not associated visually with elements of that real world view. Instead, the HUD objects are associated with the physical device that is used to display the HUD, such as a reflective window or a smartphone. A HUD moves with the display and not with the real world view. As a result, the virtual objects of the HUD are not perceived as being integrated into the real world view as much as purely being an overlay. When a display pans left, for example, a HUD moves left with the display. In contrast, augmentations (of an augmented reality) would move right with the real world view. Embodiments of the invention are primarily concerned with augmented reality as opposed to HUDs, although HUDs may be used in conjunction with augmented reality.


For a concrete example distinguishing augmented reality from HUDs, consider again televised American football. A line of scrimmage is shown as an augmentation (augmented reality). The line appears in relation to the field and the players within the real world view. If a camera pans left to look at a coach on a sideline, the center of the field, the players, and the virtual scrimmage line all move off to the right hand side of the view where they will eventually exit the field of view if the camera pans sufficiently to the left. In contrast to the line of scrimmage, scores of the competing teams are also usually displayed on televisions. The scores are typically superimposed on the view of the game in a top or bottom corner of the television screen. The scores always maintain a corner position in the television. When a camera pans left from the players in the center of the field to a coach on the sideline, the scores in essence move left along with the field of view, so that they maintain the exact same position on the display. The positions of the scores have no associative relationship to the positions of objects in the real world view. In this way, the scores behave like the virtual objects of a HUD as opposed to “augmentations” as generally used herein.


A camera includes at least one lens and an image sensor. The lens focuses light, aligns it, and produces a round area of light on an image sensor. Image sensors are typically rectangular in shape, with the result that the round area of light from the lens is cropped to a standard image format. A lens may be a zoom lens or a fixed focal length lens. At the time of writing this application, most mobile multipurpose electronic devices have fixed focal length lens. However, embodiments of the invention may be suited for either type of lens. Lenses may be categorized according to the range of their focal length. Three standard classifications are wide angle, normal, and telephoto. Categorization depends on focal length (or focal length range) and lens speeds.


Field of view (FOV) is the extent of the observable world seen at a given moment, e.g., by a person or by a camera. In photography, the term angle of view (AOV) is more common but can be used interchangeably with the term field of view (FOV).


Angle of view is one significant camera configuration. A camera is only able to capture an image or video (e.g., a series of images) containing an object if that object is within the angle of view of the camera. Because camera lenses are typically round, the angle of view of a lens can typically be expressed as a single angle measure which will be same regardless of whether the angle is measured horizontally, vertically, or diagonally. Angle of view of a camera, however, is also limited by the sensor which crops the image transmitted by the lens. The angle of view of a camera may be given horizontally, vertically, and/or diagonally. If only a single value is given with respect to a camera's FOV, it may refer to a horizontal angle of view.


Angle of view is related to focal length. Smaller focal lengths allow wider angles of view. Conversely, larger focal lengths result in narrower angles of view. For a 35 mm format system, an 8 mm focal length may correspond with an AOV of 180°, while a 400 mm focal length corresponds with an AOV of 5°, for example. As an example between these two extremes, a 35 mm focal length corresponds with an AOV of 68°. Unaided vision of a human tends to have an AOV of about 45°. “Normal” lenses are intended to replicate the qualities of natural vision and therefore also tend to have an AOV of about 45°.


Angle of view is also dependent on sensor size. Sensor size and angle of view are positively correlated. A larger sensor size means a larger angle of view. A smaller sensor size means a smaller angle of view. For a normal lens, FOV (or AOV) can be calculated as






FOV
=


tan

-
1




(

d

2

f


)






where d is the sensor size and f is the focal length.


In the context of digital spaces (e.g., virtual reality worlds), field of view (FOV) is frequently discussed according to a viewing frustum. FIG. 1 shows an example of a viewing frustum 100, referred to herein simply as “frustum.” Because viewports are frequently rectangular, the frustum is usually a truncated four-sided (e.g., rectangular) pyramid. For viewports of other shapes (e.g., circular), the frustum may have a different base shape (e.g., a cone). The boundaries or edges of a frustum 100 may be defined according to a vertical field of view 101 (an angle, usually expressed in degrees), a horizontal field of view (an angle, usually expressed in degrees), a near limit (a distance or position), and a far limit (a distance or position). The near limit is given by a near clip plane 103 of the frustum. Similarly, the far limit is given by a far clip plane 104 of the frustum. Besides these boundaries, a frustum also generally includes position and orientation. In short, an exemplary frustum includes position, orientation, field of view (horizontal, vertical, and/or diagonal), and near and far limits. Position and orientation may be referred to collectively as “pose.”


The frustum 100 of FIG. 1 corresponds with the view from a camera or viewpoint 111. A real world setting will involve a camera, whereas a virtual world setting will involve a viewpoint (e.g., a virtual camera). In a digital space, virtual objects falling in the region 120 between the viewpoint 111 and the near clip plane 103 are not displayed. Likewise, virtual objects falling in the region 140 which are beyond the far clip plane 104 are not displayed. Only virtual objects within the frustum 100, that is to say within the region between the near and far clip planes 103 and 104 and within the horizontal FOV 102 and vertical FOV 101, are candidates for representation by augmentation. This differs from a real world view of a camera, where visibility of an object is generally based on horizontal FOV 102 and vertical FOV 101 only. That is to say, for a camera in a real world setting, real objects which are within the horizontal FOV 102 and vertical FOV 101 are generally visible. In a digital space, a near clip plane 103 may be set to zero (i.e., at the viewpoint) and a far clip plane 104 may be set to infinity or substantially infinite distance in order to approximate the view from a camera looking upon the real world. However, omission of objects closer than a virtual camera's near clipping plane (which would ordinarily be out of focus for a real camera), and of objects beyond its far clipping plane (which would for a real camera appear so tiny as to be effectively invisible unless their physical dimensions are quite large) is performed as an efficiency gain in a virtual system—in fact a virtual camera's near clipping plane may be placed arbitrarily close, and the far clipping plane arbitrarily far, if an augmented reality system is willing to do the extra processing required to render the resulting increased volume of the frustum. It should be understood that obstruction of one object by another as well as object diminution at great camera-to-object (viewpoint-to-object) distances may result in reducing or eliminating visibility of an object even though it technically exists within the frustum 100.


Augmented reality involves defining spatial relationships between virtual objects and real objects, and then making the virtual objects apparent to a user of the augmented reality system in such a way as to combine real and virtual objects. For example a visual augmented reality display could use virtual and real objects, and their defined spatial relationships, to generate a combined visual display in the form of a live streaming video (presenting real objects) overlaid with representations of the virtual objects. A spatial relationship between two objects (either or both of which may be virtual or real) may involve one or more of a topological relation, a distance relation, and a directional relation. A topological relation between an object A and an object B may be, for example, A is within B, A is touching B, A is crossing B, A is overlapping B, or A is adjacent to B. Precise spatial relationships between real and virtual objects allow an augmented reality system to generate perceptual experiences in which real and virtual objects are apparently combined seamlessly, e.g. for visual systems the combined presentation is apparently in the correct visual proportions, perspectives, and arrangement. Without correct reckoning of the spatial relationships in such a system, errors in the presentation of the system's output to the user can cause the system to be unusable, e.g. virtual objects appear out of place and therefore are not useful. An example is a virtual visual label that should label one building, but is erroneously shown overlaid onto a different building.


In order to create a visual augmented reality system, in addition to establishing spatial relationships between virtual objects and real objects, the visual perspective into the real world must be matched to the effective visual perspective into the virtual world. Even when the virtual world objects are sized and positioned correctly with respect to their real world counterparts, the determination of which virtual objects are eligible for visual presentation to the user depends on the perspective in the virtual world, which must be matched to the real world perspective of a real world camera in order to take advantage of carefully determined spatial relationships among virtual and real objects. The perspective of the camera includes the position of the camera, the orientation of the camera, and its field of view.


The need for a correctly matched perspective between virtual and real worlds means that in order to provide an accurate spatial relationship between virtual objects and real objects in an augmented reality output, it is necessary to determine the field of view of the real camera so that the virtual field of view can be matched to the real field of view.


Existing augmented reality (AR) products in the marketplace today make use of dedicated hardware for which the camera field of view is known a priori before the augmented reality software algorithm is written. However, these solutions cannot be used on any hardware other than the dedicated hardware for which the AR system is pre-calibrated. A traditional AR system which does not have a priori knowledge of a camera's field of view has a problem of determining which virtual objects are candidates for presenting augmentation (e.g., display). To illustrate this problem, consider the following scenario discussed in connection with FIGS. 2-6.



FIG. 2 shows a camera 201 with a relatively wide field of view, FOVw. At the left and right boundaries of the FOVw real objects R1 and R2 are visible. Object X is a virtual object which would not appear to the camera 201 but which is desirable to show in an augmented reality output with the spatial relationship (relative to R1, R2, and camera 201) depicted in FIG. 2. The camera, at its most basic level of functionality, is not “aware” of the physical presence of R1 or R2 despite having visibility of these objects. It is also not “aware” that, based on its position, viewing direction, and field of view, it would be appropriate to also perceive virtual object X.



FIG. 3, on the other hand, shows a camera 301 with a relatively narrow field of view, FOVn. Assume that cameras 201 and 301 have the exact same positions and orientations. Further assume that virtual object X has the same position. Accordingly, it is safe to assume that an identical spatial relationship exists between camera 201 and virtual object X as exists between camera 301 and virtual object X. At the left and right boundaries of the FOVn of camera 301 are real objects R1′ and R2′. Camera 301, just like camera 201, is assumed for this illustration to have no detection or object recognition capabilities and therefore has no “awareness” of the physical presence of R1′ and R2′. It is also not “aware” that, based on its position, orientation, and field of view, it would be inappropriate to perceive virtual object X, since virtual object X lies outside of the field of view of the camera 301.


Referring now to FIG. 4, consider next an augmented reality (AR) device 404 that includes a camera 401 which is identical in all characteristics to either camera 201 or 301, but the AR device 404 is not preconfigured to have a priori knowledge of camera 401's configurations such as its field of view. Even if there are only two possibilities, FOVw or FOVn, the system still needs a way to determine which field of view actually applies to camera 401 in order to provide accurate augmentations. FIG. 4 shows the combination of the two possibilities, that is to say a FOVw configuration and a FOVn configuration. If the virtual object X is within the actual field of view, the AR device 404 should represent the virtual object as an augmentation perceptible to a user. If the virtual object X is outside the actual field of view, the AR device should not represent the virtual object as an augmentation perceptible to the user. In short, the AR device must make a determination as to whether or not to represent virtual object X with an augmentation, and such determination is dependent on determining the actual field of view of the AR device's camera 401.



FIGS. 5 and 6 show visual outputs that may be displayed by the AR device 404. FIG. 5 shows a proper image or video 500 if the actual field of view of camera 401 is FOVw. Objects R1, R2, R1′, and R2′ are shown be default because they are real world objects. The real world objects may be displayed as part of a live video stream from the camera 401. Alternatively, if the AR device 404 is a see-through HMD, the real world objects may be visible simply by light reflecting off of the objects and passing through the HMD to the user's eyes. In contrast, the virtual object X can only be represented to the user as an augmentation. FIG. 5 shows a virtual object X augmentation represented accurately, meaning it has the correct spatial relationships (e.g., topological relation, distance relation, and directional relation) with the real world objects in the image or video 500.


On the other hand, FIG. 6 shows a proper image or video 600 if the actual field of view of camera 401 is FOVn. Objects R1′ and R2′ are shown be default because they are real world objects. The real world objects may be displayed as part of a live video stream from the camera 401. Alternatively, if the AR device 404 is a see-through HMD, the real world objects may be visible simply by light reflecting off the objects and passing through the HMD to the user's eyes. Virtual object X is not represented as an augmentation because it lies outside the field of the view of the camera 401.


Exemplary embodiments of the invention comprise the necessary means, structural and/or functional, for an AR device or system such as AR device 404 of FIG. 4 to be configured to determine the actual FOV of the camera (or cameras) used for the augmented reality experience without a priori knowledge of the camera's field of view.



FIG. 7 shows an exemplary system 700 used for determining a field of view of a camera 701 and providing an augmented reality with an output device 704. Thy system 700 comprises a camera 701, database 702, processor 703, and output device 704. For convenience and clarity of discussion, each of these and other hardware elements may be referred to in the singular in this description. It should be understood, however, that alternative embodiments may include one or multiple of each hardware element with one or multiple of each other hardware element while maintaining substantially the same core functionality that will now be described. In short, the number of cameras, databases, processors, and output devices may vary, and reference to such hardware elements in the singular should not necessarily be construed as limiting. It should also be understood that other hardware may also be included in a system 700, for instance a power converter, wiring, and input/output interfaces (e.g., keyboard, touchscreen, buttons, toggles, etc.), among others.


A camera includes at least one lens and an image sensor, generally represented in FIG. 7 as optical elements 710. The optical elements 710 produce images or video(s) 711. The camera 701 further includes other sensors such as but not limited to a GPS unit 713 that gives a camera location 712, and a gyroscope and/or digital compass 714 that provide the camera's orientation 715. In some embodiments, the sensors that are additional to the optical elements 710 (e.g., GPS 713 and gyroscope/compass 714) may not necessarily be part of the camera 701 but are sufficiently associated with the camera that their outputs are accurate for purposes of describing the camera's location 712 and orientation 715.


Exemplary embodiments of the invention use a limited set of inputs to resolve the problem of determining the field of view of a camera. For system 700 of FIG. 7, inputs include the images or videos 711 captured by the camera 701, the camera's location 712, and referential real object locations that are stored in database 702a. To provide an augmented reality, an additional input is virtual object information stored in database 702b. The databases 702a and 702b may be subparts of database 702 or, alternatively, they may be independent databases. The databases which store data such as real object locations and virtual object data may be accessible over a network, as indicated by the cloud in FIG. 7.


In FIG. 7, blocks 721-728 illustrate an exemplary process for determining the field of view of the camera 701 using a processor 703. The steps in FIG. 7 may be performed by a single processor or divided among multiple processors, any one or multiple of which may be part of a VR device itself, part of a remote server, or in some other device that is communicatively coupled with the system 700 (e.g., over a network). While FIG. 7 is described with respect to “a processor 703” for ease of discussion, such processor 703 may be representative of a single processor or multiple processors according to different embodiments. The field of view of the camera 701 is referred to as FOVfinal and is given at block 728. It is possible to determine FOVfinal from just the images/videos 711, camera location 712, and location information of real world objects retrieved from database 702a. The process from blocks 721-728 will be described now in connection with FIGS. 8A, 8B, and 9.


The image/video data 711 captured by the camera 701 first undergoes image processing at block 721 for object recognition. A minimum of two real objects are detected by the object recognition algorithm(s). Any of a variety of image processing software may be used for object recognition of block 721. For instance, image processing is conducted is some exemplary embodiments using a convolutional neural network. A convolutional neural network comprises computer-implemented neurons that have learnable weights and biases. A convolutional neural network employs a plurality of layers and combines information from across an image to detect an object in the image. The image processing at block 721 may include, for example, targeting, windowing, and/or classification with a decision tree of classifiers.


From the object recognition at block 721, at least two real objects, R1 and R2, are detected and preferably identified (or are at least identifiable). If three or more real objects are detected, it is preferable to select two real objects from among these which lie on distinctly different viewing axes. In other words, the two selected objects and the camera do not form three points on a single line, but rather they are spread apart with respect to one another such that they form a clear triangle if viewed from above. The system is configured such that the depth of the respective objects, that is to say the camera-to-object distances, need not be of particular importance or explicitly taken into consideration. Detectable and identifiable real world objects may take essentially any form of object that is essentially stationary, including but not limited to monuments, recognizable or iconic buildings, street signs, stores or restaurants (e.g., McDonalds or Wendy's), location signs specific to their buildings or locations (e.g., store signs posted on building exteriors or mile markers along a highway), among other things.



FIG. 8A shows an image or video 800 in which real objects R1 and R2 have been detected. From this information, the processor 703 is able to measure a distance d between the two real objects, R1 and R2, at block 722. The distance d is the distance the objects are apart in the image and may be measured in pixels. Also at block 722, the processor 703 measures the distance w that is the width of the entire image and which may also be measured in pixels. FIG. 8B gives a top down view of the simplified spatial relationships assumed to exist among R1, R2, and the camera 701. A value is assigned as an initial “best guess” value for FOV of the real camera 701. This initial value, FOVinitial, may be set to the value that is empirically measured as correct, e.g., for the most common smartphone on the market. The initial value is not critical to the functioning of the invention. Generally, it is adequate that the initial value be set within 50% of the correct value. Accordingly, an initial value such as 40° is generally adequate for smartphones. The measured distances d and w and the initial value of FOVinitial are then used to calculate a first estimate of the angle that is subtended by R1-camera-R2. This angle estimate is referred to as A2. The following equation may be used to determine A2, which is given at block 723:









A
2


FOV
initial


=

d
w


,






A
2

=


FOV
initial

*


d
w

.







Next, the angle subtended by R1-camera-R2 is calculated a second time by a different approach, the resulting angle value being referred to as A3. This process occurs at blocks 724 and 725 in FIG. 7. At block 724, the objects which were detected as a result of the image processing of block 721 are checked against a database 702a. It is desirable that at least two objects detected at block 721 have corresponding location information available in database 702a. In this example, these two objects are R1 and R2. Location information for these real world objects is retrieved from the database 702a by the processor 703. At block 725, the actual real world angle A3 that is subtended by R1-camera-R2 is calculated. Angle A3 is illustrated in FIG. 9. In contrast to A2 which was calculated using pixel-based lengths in the image/video 711, A3 is determined using trigonometry, such as the law of cosines. The three vertices of the triangle shown in FIG. 9 all have known values: two of the vertices are the looked up locations of the real objects R1 and R2 obtained from database 702a, and the third vertex is the camera location 712 (e.g., obtained from the GPS unit 713). The lengths x, y, and z of the three sides of the triangle are determined from the three vertex positions. The law of cosines is then used to determine A3 using these lengths:







x
2

=


y
2

+

z
2

-

2

yz





cos






A
3










cos






A
3


=



y
2

+

z
2

-

x
2



2

yz









A
3

=


cos

-
1




(



y
2

+

z
2

-

x
2



2

yz


)






At this point the processor 703 has two values for the same physical angle. Namely, it has value A2 value A3, both of which describe the angle subtended by R1-camera-R2. At block 726, the values A2 and A3 are compared. If FOVinitial was perfectly accurate, A2 and A3 will be equal. Generally, however, A2 and A3 will disagree by some amount of error. FOVinitial is therefore corrected at block 727 using the magnitude of the error between A2 and A3. The correction is the negative of the error. For example, if A2 is 10% larger than A3, then FOVinitial is reduced by 10%. Correcting FOVinitial based on the error between A2 and A3 gives a final measure of the FOV of the camera, FOVfinal, at block 728. If desired, the final determined value for the FOV of the camera, FOVfinal, can be output as data at block 729 (e.g., output to memory storage). In addition or as an alternative, output at block 729 may comprise or consist of initiating a signal that controls an output (e.g., auditory, visual, and/or tactile output) of an output device based on FOVfinal.


While this example has focused on a two-dimensional application, the same principles apply to 3D contexts. The 3D case simply involves performing the correction twice, once in the vertical dimension and once in the horizontal dimension. The corrected and final FOV of the camera, FOVfinal, is now ready to be used as the effective virtual field of view in a virtual world.


The field of view value, FOVfinal, given at block 728 is but one characteristic that describes the perspective of camera 701. A second characteristic is the camera's position (block 712). A third characteristic is the camera's orientation (block 715). In short, the perspective of the camera includes the field of the view of the camera, the position of the camera, and the orientation of the camera. Position and orientation may be referred to collectively as the pose of the camera. The orientation of the camera 715 may be obtained from sensors such as a gyroscope and digital compass 714. Typical mobile devices on the market in 2017 are equipped by their manufacturers with GPS, gyroscopic sensors, and a digital compass. These sensors are typically readily available to software applications including third party applications running on the mobile devices. However, of the key characteristics of camera perspective of a mobile device, the FOV is a characteristic which is not exposed to software applications. This deficiency gives rise to the problem addressed by exemplary embodiments herein which determine FOV in order to complete the assessment of augmented reality perspective.


Based on the location 712, the field of view 728, the orientation 715, and assumptions about the near and far field limits (e.g., predetermined values for near and far field limits), a 3D real world frustum is determined at block 741. This real world frustum is applied to a virtual world at block 742 using virtual world data from database 702b. Virtual objects which are inside the frustum are found as candidates for augmentation. The selection of augmentations based on the virtual object candidates occurs at block 743 and may involve one or more criteria including, for example, user option selections and the relationships between different virtual objects. For instance, the processor 703 may determine which of the virtual objects obscure parts of each other based on the frustum in the virtual world. At block 744, a signal is initiated to control the augmented reality output of an output device 704. The initiated signal contains information for the augmentations selected at block 743. In embodiments where the processor 703 is arranged remotely from the output device 704 (e.g., if the processor is part of a cloud server), the initiated signal is transmitted over a network (e.g., the Internet) to reach the output device 704. In embodiments where the processor 703 is part of or at least co-located with the output device 704, the initiated signal may simply be conveyed over hardwired connections. After the device 704 has the signal, the selected augmentations are provided as one or more of auditory, visual, or tactile output at the VR device 704. Significantly, the augmentations have appropriate and accurate spatial relationships with the real world objects owing to the fact that the augmented reality is based on the FOVfinal that was determined via blocks 721 to 728.


It should be appreciated that augmentations that are or include auditory and tactile elements still involve virtual objects that need to be identified with accurate spatial relationships with respect to real world objects. For example, a VR device that is a HMD may be used to give a guided tour of a real place like New York City. When a user looks at the Empire State Building with the HMD, the device may announce through a speaker “You are looking at the Empire State Building.” This announcement is an auditory augmentation corresponding with a virtual object that has a location in the virtual world which matches the location of the actual Empire State Building in the real world. Without a determination of the field of the view of the VR device (more specifically the FOV of its camera or cameras), the device conceivably could announce to a user that the Empire State Building is visible when in fact it is just outside of the actual field of view. In short, the same problem that was described in connection with FIGS. 2-6 applies here. The virtual object X is represented to the user as an augmentation that is the auditory announcement “You are looking at the Empire State Building.” The VR device 404 must accurately determine the FOV (be it FOVn or FOVw) in order to make a correct decision as to whether or not to output the announcement to the user.


Finding virtual object candidates and selecting corresponding augmentations for output (blocks 742 and 743 of FIG. 7) may be performed according to what is disclosed in U.S. patent application Ser. No. 15/436,154, which is incorporated herein by reference.



FIGS. 10A, 10B, and 11 illustrate an alternative method for determining FOV (e.g., blocks 721-728). According to this alternative method, the system may determine FOV after detecting just one real object, R1, which is identified or identifiable. Instead of detecting a second real object, R2, as per the method described in connection with FIGS. 8A, 8B, and 9, the system employs knowledge of the camera's orientation. In other words, this alternative approach substitutes knowledge of the direction of R2 with knowledge of the camera's orientation. A camera-to-R2 direction is replaced by a sensor-based determination of the direction along which line L1 exists, where L1 is a centerline of the live video. L1 is one exemplary viewing direction that may be used. Viewing directions other than a centerline may also be used, although a centerline is in many cases a straightforward and therefore preferred choice. Determining a viewing direction of the camera may be achieved in a number of ways. For example, a mobile electronic device's digital compass for the horizontal orientation angle and the device's accelerometers for the vertical orientation angle may be used. By determining the direction of L1 and knowing the location of the camera (e.g., from GPS), the system can identify the specific geographic location of any point along L1.


The processor 703 is able to measure an apparent distance d′ between the real object, R1, and line L1 which is a centerline of the live video and of the virtual frustum. The distance d′ may be measured in pixels. The processor 703 also measures the distance w′ that is half the width of the entire image and which may also be measured in pixels. In other words, w′ is the distance within the image from the edge E of the frame and L1. FIG. 10B gives a top down view of the simplified spatial relationships assumed to exist among R1, L1, E, and the camera 1001. A value is assigned as an initial “best guess” value for FOV of the real camera 1001. This initial value, FOVinitial, may be set to the value that is empirically measured as correct, e.g., for the most common smartphone on the market. The initial value is not critical to the functioning of the invention. Generally, it is adequate that the initial value be set within 50% of the correct value. Accordingly, an initial value such as 40° is generally adequate for smartphones. The measured distances d′ and w′ and the initial value of FOVinitial are then used to calculate a first estimate of the angle that is subtended by R1-camera-L1. This angle estimate is referred to as A4. The following equation may be used to determine A4:









2
*

A
4



FOV
initial


=

d
w


,






A
4

=


FOV
initial

*


d

2

w


.







Next, the angle subtended by R1-camera-L1 is calculated a second time by a different approach, the resulting angle value being referred to as A5. The detected real object, R1, is checked against a database 702a. Location information for the real world object R1 is retrieved from the database 702a by the processor 703. The actual real world angle A5 that is subtended by R1-camera-L1 is now calculated. Angle A5 is illustrated in FIG. 11. In contrast to A4 which was calculated using proportions of pixel-based lengths in the image/video 711, A5 is determined using trigonometry. Two of the vertices of the triangle in FIG. 11 are already known; these are the location of the camera (e.g., as calculated by GPS) and the location of R1 (e.g., as known from the database lookup). The remaining vertex, P1, is determinable by comparing the location of R1 with points along L1, all of which are known as already discussed above. P1 is selected from other points along L1 by selecting the point along L1 which results in the right angle indicated in FIG. 11. At this stage the locations of all three vertices of the triangle shown in FIG. 11 have known values. The lengths x′ and z of the sides of the triangle are determined from the vertex locations. Basic trigonometry may then be used to determine A5 using these lengths:







cos






A
5


=


x


z








A
5

=


cos

-
1




(


x


z

)






At this point the processor 703 has two values for the same physical angle. Namely, it has value A4 and value A5, both of which describe the angle subtended by R1-camera-L1. The values A4 and A5 are then compared. If FOVinitial was perfectly accurate, A4 and A5 will be equal. Generally, however, A4 and A5 will disagree by some amount of error. FOVinitial is therefore corrected using the magnitude of the error between A4 and A5. The correction is the negative of the error. For example, if A4 is 10% larger than A5, then FOVinitial is reduced by 10%. Correcting FOVinitial based on the error between A4 and A5 gives a final measure of the FOV of the camera, FOVfinal.


Returning to database 702, virtual objects are stored, updated, and manipulated as data within one or more databases 702b. The virtual objects have their own existence separate from how they are displayed, visualized, haptically buzzed, or otherwise output by an output device. So, generally speaking, a virtual object has its own characteristics, and then, based on those characteristics and on the real and the virtual environment, an exemplary augmented reality system determines what is presented to the user. An augmentation may be displayed (or otherwise provided) if, and only if, the system determines that a given virtual object should be apparent to the user given the viewing device's pose and field of view in the real world and therefore its pose and field of view in the virtual world.


The characteristics of those virtual objects (stored in the database along with the geometric aspects of the virtual representation) determine what baseline augmentation to provide and markers/indicators/tweaks may be performed on the baseline augmentation. In general, the augmentation that is output (e.g., displayed) depends on all of the virtual characteristics of the virtual objects that are made perceptible given the current perspective of the current image. As a comparative analogy to illustrate this point, a car may give haptic feedback (vibration) to the steering wheel when the operator drives over the centerline of the road without using a turn signal. There is no visual augmentation at all, and yet it is a visual part of the real world sensory input that drives the determination that the haptic feedback will be presented. If the operator indicates his intent to change lanes by tapping the turn signal arm, a characteristic flag of the system is set, and the haptic augmentation is not presented to the user, who in that case perceives nothing from the augmentation system.


According to a feature of some embodiments, virtual objects may obscure other virtual objects in the current real world perspective. The obscuring object may cause the obscured object to not be represented via augmentations, even if the obscuring object is itself not shown with any augmentations. For example, a user may see a real world image in which no augmentations are shown at all, despite the fact that two virtual objects are contained geometrically within the field of view. A first virtual object (which for illustrative purposes will be called virtual object A) would be shown with an augmentation if not otherwise obscured. A second virtual object (which will be called virtual object B) entirely obscures A given the field of view, but virtual object B may itself not be currently shown as an augmentation. In this way the virtual objects that represent a virtual world suitable for augmenting a real world view consist of two basic classes of objects. The first class is associated with augmentations. The second class is not associated with augmentations but still interact with the other virtual objects either by obscuring them visually or through other possible interactions (e.g., an augmentation of an object of the first class might be a different color if the first class virtual object is near a virtual object of the second class).


According to a further feature of some embodiments, systems include user interactive features which can contribute to the determination of field of view. For instance, an output instruction may be provided to a user to pan the camera to the side in order to bring additional real world objects into view. The system can then in effect use a stitched panoramic view as the input to object recognition (e.g., at block 721 of FIG. 7). In other words, a single frame or multiple frames may be used to determine a field of view of a camera according to the exemplary methods disclosed herein. Some devices may alternatively have automated features and electronic devices (e.g., servo motors) which provide for camera panning. Other user interactive features may also be provided.


Regarding blocks 721 and 724 (object recognition and object locations, respectively) as well as database 702a in FIG. 7, exemplary embodiments may implement these elements with two separate systems: the image recognition system and the database that maps an image label to a set of coordinates. The recognition system, as already described above as being, for example, a convolutional neural network, may be implemented locally on the electronic device (e.g., smartphone) or via the cloud (e.g., the Google Cloud Machine Learning Engine). The output of the recognition system is an identifier or label. Once the identifier or label is produced, the system that looks up the coordinates is next. It may simply be a key-value database, where the key is the label or identifier (e.g., a simple ID number) and the value is the GPS latitude and longitude. An example of a commonly used key-value database in the cloud is the Google Cloud Datastore, or alternatively, Amazon Web Services' DynamoDB. Embodiments do not need an external service that combines both of these systems (recognition and lookup of coordinates). A combined system is acceptable if commercially available, or alternatively the two steps may simply be performed separately with separate systems/databases.


The databases 702 (e.g., 702a and 702b in FIG. 7) may be or comprise computer readable storage media that are tangible devices that can retain and store instructions for use by an instruction execution device like processor 703. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.


Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network (LAN), a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.


Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.


Aspects of the present invention are described herein with reference to flowchart illustrations and/or schematic diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and different combinations of blocks in the flowchart illustrations and/or block diagrams, may be implemented by or with the use of computer readable program instructions and by or with one or a plurality of processors and supporting hardware, software, and firmware.


These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. This may have the effect of making a general purpose computer a special purpose computer or machine. A “processor” as frequently used in this disclosure may refer in various embodiments to one or more general purpose computers, special purpose computers, or some combination thereof.


Computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.


The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.


An “output device”, as used herein, is a device capable of providing at least visual, audio, audiovisual, or tactile output to a user such that the user can perceive the output using his senses (e.g., using her eyes and/or ears). In many embodiments, an output device comprises at least one display, at least one speaker, or some combination of display(s) and speaker(s). The output device may also include one or more haptic devices. A suitable display (i.e., display device) is a screen of an output device such as a mobile electronic device (e.g., phone, smartphone, GPS device, laptop, tablet, smartwatch, etc.). Another suitable output device is a head-mounted display (HMD). In some embodiments, the display device is a see-through HMD. In such cases the display device passively permits viewing of the real world without reproducing details of a captured real world image feed on a screen. In a see-through HMD, it is generally only the augmentations that are actively shown or output by the device. Visual augmentations are in any case superimposed on the direct view of the real world environment, without necessarily involving the display of any of the original video input to the system. Output devices and viewing devices may include or be accompanied by input devices (e.g., buttons, touchscreens, menus, keyboards, data ports, etc.) for receiving user inputs. Some devices may be configured for both input and output (I/O).


“Position,” as used herein, may be expressed as a location. Location information may be absolute (e.g., latitude, longitude, elevation, and a geodetic datum together may provide an absolute geo-coded position requiring no additional information in order to identify the location), relative (e.g., “2 blocks north of latitude 30.39, longitude −97.71 provides position information relative to a separately known absolute location), or associative (e.g., “right next to the copy machine” provides location information if one already knows where the copy machine is; the location of the designated reference, in this case the copy machine, may itself be absolute, relative, or associative). Absolute location involving latitude and longitude may be assumed to include a standardized geodetic datum such as WGS84, the World Geodetic System 1984. In the United States and elsewhere the geodetic datum is frequently ignored when discussing latitude and longitude because the Global Positioning System (GPS) uses WGS84, and expressions of latitude and longitude may be inherently assumed to involve this particular geodetic datum. For the present disclosure, absolute location information may use any suitable geodetic datum, WGS84 or alternatives thereto.


As used herein, “user” typically refers to a human interacting with or using an embodiment of the invention.


While the invention has been described herein in connection with exemplary embodiments and features, one skilled in the art will recognize that the invention is not limited by the disclosure and that various changes and modifications may be made without departing from the scope of the invention as defined by the appended claims.

Claims
  • 1. A method for automated determination of field of view of a camera, comprising receiving, with one or more processors, one or more images or videos originating from a camera and a location corresponding with the camera;detecting a first real object in the one or more images or videos for which location information is available in a database;determining a field of view of the camera based on the location information of the first real object and the location corresponding with the camera; andinitiating a signal for controlling one or more of auditory, visual, or tactile output by an output device based on the determined field of view.
  • 2. The method of claim 1, wherein the step of detecting further comprises detecting a second real object in the one or more images or videos for which location information is available, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and the second real object using distances measured from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the second real object using the locations of the first real object, the camera, and the second real object, andcorrecting an initial value for the FOV based on a difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 3. The method of claim 1, wherein the step of receiving further comprises receiving camera orientation information, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and a viewing direction of the camera using distances measured directly from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the viewing direction using the location of the first real object, the location of the camera, and a location along the viewing direction, andcorrecting an initial value for the FOV based on the difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 4. The method of claim 1, wherein the step of detecting is performed using a convolutional neural network.
  • 5. The method of claim 1, further comprising a step of providing the one or more of auditory, visual, and tactile output with an output device.
  • 6. A method for augmented reality, comprising receiving, with one or more processors, one or more images or videos originating from a camera and a location corresponding with the camera;detecting a first real object in the one or more images or videos for which location information is available in a database;determining a field of view of the camera based on the location information of the first real object and the location corresponding with the camera;selecting one or more virtual objects to represent as augmentations to the one or more images or videos, wherein the selection is based on the determined field of view; andinitiating a signal for controlling an augmented reality output by an output device using the one or more selected virtual objects.
  • 7. The method of claim 6, wherein the step of detecting further comprises detecting a second real object in the one or more images or videos for which location information is available, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and the second real object using distances measured from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the second real object using the locations of the first real object, the camera, and the second real object, andcorrecting an initial value for the FOV based on a difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 8. The method of claim 6, wherein the step of receiving further comprises receiving camera orientation information, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and a viewing direction of the camera using distances measured directly from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the viewing direction using the location of the first real object, the location of the camera, and a location along the viewing direction, andcorrecting an initial value for the FOV based on the difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 9. The method of claim 6, further comprising determining a real world frustum for the camera based on the determined field of view, the location of the camera, and an orientation of the camera, andapplying the real world frustum to a virtual world,wherein the step of selecting selects from virtual object candidates which are inside the frustum applied to the virtual world.
  • 10. The method of claim 6, wherein the step of detecting is performed using a convolutional neural network.
  • 11. A system for automated determination of field of view of a camera, comprising one or more databases comprising location information for a plurality of real world objects; andone or more processors configured to execute instructions which cause the one or more processors to receive one or more of images or videos originating from a camera and a location corresponding with the camera,detect a first real object in the one or more images or videos for which location information is available in the one or more databases,determine a field of view of the camera based on the location information of the first real object and the location corresponding with the camera, andinitiate a signal for controlling one or more of auditory, visual, or tactile output by an output device based on the determined field of view.
  • 12. The system of claim 11, wherein the step of detecting further comprises detecting a second real object in the one or more images or videos for which location information is available, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and the second real object using distances measured from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the second real object using the locations of the first real object, the camera, and the second real object, andcorrecting an initial value for the FOV based on a difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 13. The system of claim 11, wherein the step of receiving further comprises receiving camera orientation information, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and a viewing direction of the camera using distances measured directly from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the viewing direction using the location of the first real object, the location of the camera, and a location along the viewing direction, andcorrecting an initial value for the FOV based on the difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 14. The system of claim 11, wherein the step of detecting is performed using a convolutional neural network.
  • 15. The system of claim 11, further comprising a camera configured to capture images or videos which are transmitted to the one or more processors; andan output device for providing the one or more of auditory, visual, or tactile output based on the determined field of view.
  • 16. An augmented reality system, comprising one or more databases comprising location information for a plurality of real world objects; andone or more processors configured to execute instructions which cause the one or more processors to receive one or more images or videos originating from a camera and a location corresponding with the camera,detect a first real object in the one or more images or videos for which location information is available in the one or more databases,determine a field of view of the camera based on the location information of the first real object and the location corresponding with the camera,select one or more virtual objects to represent as augmentations to the one or more images or videos, wherein the selection is based on the determined field of view, andinitiate a signal for controlling an augmented reality output by an output device using the one or more selected virtual objects.
  • 17. The system of claim 16, wherein the step of detecting further comprises detecting a second real object in the one or more images or videos for which location information is available, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and the second real object using distances measured from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the second real object using the locations of the first real object, the camera, and the second real object, andcorrecting an initial value for the FOV based on a difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 18. The system of claim 16, wherein the step of receiving further comprises receiving camera orientation information, and wherein the step of determining a field of view (FOV) comprises calculating a first angle estimate for an angle subtended by the first real object, the camera, and a viewing direction of the camera using distances measured directly from one or more frames of the one or more images or videos,calculating a second angle estimate for the angle subtended by the first real object, the camera, and the viewing direction using the location of the first real object, the location of the camera, and a location along the viewing direction, andcorrecting an initial value for the FOV based on the difference between the first angle estimate and the second angle estimate, wherein the corrected initial value for the FOV is a final determined FOV.
  • 19. The system of claim 16, wherein the step of detecting is performed using a convolutional neural network.
  • 20. The system of claim 16, further comprising a camera configured to capture images or videos which are transmitted to the one or more processors; andan output device for providing the one or more of auditory, visual, or tactile output based on the determined field of view.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Patent Application No. 62/512,240, filed May 30, 2017, the complete contents of which are herein incorporated by reference.

Provisional Applications (1)
Number Date Country
62512240 May 2017 US