Scene Classification
By identifying and classifying entity attributes in the physical environment and accurately determining the physical environment type, the problem of insufficient correlation between virtual objects and physical environment in the prior art is solved, and the user experience and system performance are improved.
Patent Information
- Application Number
- CN202210497069.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-29
- Filing Date
- 2019-04-12
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2039-04-12
AI Technical Summary
The prior art is difficult to accurately identify and distinguish entity types in the physical environment, resulting in limited correlation with the user's current physical environment when providing virtual objects, and the technical error of the commonly specified bits is large, affecting user experience and system performance.
By using the camera to obtain image data of the physical environment, identify part or all of the entity, and determine its type according to the entity's attributes, the type of the physical environment is thus determined to improve identification accuracy and efficiency.
It improves the accuracy and efficiency of physical environment type recognition, enhances the correlation between virtual objects and physical environment, and improves user experience and system performance.
Smart Images

Figure CN114721523B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number 201910291364.2, application date April 12, 2019, and invention name “Scene Classification”. Technical Field
[0002] The present disclosure relates generally to computer-generated reality interfaces and, more particularly, to techniques for providing environment-based content using computer-generated reality interfaces. Summary of the invention
[0003] The present disclosure describes techniques for providing content using an augmented reality interface that depicts a virtual object in combination with a representation of a physical environment. In one exemplary technique, image data corresponding to a physical environment is obtained using one or more cameras. Based on the image data, at least a portion of an entity in the physical environment is identified. Based on at least a portion of the identified entity, it is determined whether the entity is an entity of a first type. One or more virtual objects and representations of the entity are displayed. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] Figure 1A to Figure 1B Depicted are exemplary systems for various computer-generated reality technologies, including virtual reality and mixed reality.
[0005] Figure 2A A user device displaying a representation of an indoor physical environment is depicted.
[0006] Figure 2B A block diagram of a user device including a classifier configured to identify one or more entities of an indoor physical environment is depicted.
[0007] Figure 2C to Figure 2G Various processes for classifying identified entities and determining the type of the classified entity are depicted in accordance with embodiments of the present disclosure.
[0008] Figure 2H Depicted is a user device displaying a computer-generated augmented reality interface including virtual objects and representations of recognized entities.
[0009] Figure 3A A user device displaying a representation of an outdoor physical environment is depicted.
[0010] Figure 3B A block diagram of a user device including a classifier configured to identify one or more entities of an outdoor physical environment is depicted.
[0011] FIG. 3C to FIG. 3D Various processes for classifying identified entities and determining the type of the classified entity are depicted in accordance with embodiments of the present disclosure.
[0012] Figure 3E Depicted is a user device displaying a computer-generated reality interface including representations of virtual objects and recognized entities.
[0013] Figure 4 A flow diagram depicts an exemplary technique for providing content in a computer-generated reality interface. DETAILED DESCRIPTION
[0014] This disclosure describes various embodiments of electronic systems and techniques for using such systems in connection with various computer-generated reality techniques.
[0015] The physical environment (or real environment) refers to the physical world that people can sense and / or interact with without the help of electronic systems. A physical environment, such as a physical park, includes physical items (or physical objects or real objects), such as physical trees, physical buildings, and physical people. People can directly sense and / or interact with the physical environment, such as through vision, touch, hearing, taste, and smell.
[0016] In contrast, a computer generated reality (CGR) environment refers to a fully or partially simulated environment that people sense and / or interact with via electronic systems. In CGR, a subset of a person's physical movements, or representations thereof, are tracked, and in response, one or more features of one or more virtual objects simulated in the CGR environment are adjusted in a manner that complies with at least one law of physics. For example, a CGR system may detect a person's head turning, and in response, adjust the graphical content and sound field presented to the person in a manner similar to the way such views and sounds change in a physical environment. In some cases (e.g., for accessibility reasons), adjustments to features of virtual objects in a CGR environment may be made in response to representations of physical movement (e.g., voice commands).
[0017] A person may sense and / or interact with CGR objects using any of their senses, including vision, hearing, touch, taste, and smell. For example, a person may sense and / or interact with audio objects that create 3D or spatial audio environments that provide the perception of point audio sources in 3D space. As another example, an audio object may enable audio transparency that selectively introduces ambient sounds from the physical environment with or without computer-generated audio. In some CGR environments, a person may sense and / or interact only with audio objects.
[0018] Examples of CGR include virtual reality and mixed reality.
[0019] A virtual reality (VR) environment (virtual environment) refers to a simulated environment designed to be completely based on computer-generated sensory input for one or more senses. A VR environment includes a plurality of virtual objects that a person can sense and / or interact with. For example, trees, buildings, and computer-generated images representing avatars of people are examples of virtual objects. A person can sense and / or interact with virtual objects in a VR environment through a simulation of the person's presence within the computer-generated environment, and / or through a simulation of a subset of the person's physical movements within the computer-generated environment. Virtual objects are sometimes also referred to as virtual reality objects or virtual-reality objects.
[0020] In contrast to VR environments, which are designed to be based entirely on computer-generated sensory input, a mixed reality (MR) environment refers to a simulated environment designed to include sensory input from the physical environment, or representations thereof, in addition to computer-generated sensory input (e.g., virtual objects). On the virtuality continuum, a mixed reality environment is anything between a fully physical environment at one end and a virtual reality environment at the other end, but not including both ends.
[0021] In some MR environments, computer-generated sensory input can respond to changes in sensory input from the physical environment. In addition, some electronic systems used to render the MR environment can track position and / or orientation relative to the physical environment to enable virtual objects to interact with real objects (i.e., physical items from the physical environment or representations thereof). For example, the system can cause motion so that virtual trees appear stationary relative to the physical ground.
[0022] Examples of mixed reality include augmented reality and augmented virtuality.
[0023] Augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed on a physical environment or its representation. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person can directly view the physical environment. The system may be configured to present virtual objects on a transparent or translucent display so that a person uses the system to perceive virtual objects superimposed on a physical environment. Alternatively, the system may have an opaque display and one or more imaging sensors that capture images or videos of a physical environment, which are representations of the physical environment. The system combines the images or videos with virtual objects and presents the composition on an opaque display. People use the system to indirectly view the physical environment via images or videos of the physical environment and perceive virtual objects superimposed on the physical environment. As used herein, a video of a physical environment displayed on an opaque display is referred to as a "transparent video", meaning that the system uses one or more image sensors to capture images of the physical environment and uses those images in presenting an AR environment on an opaque display. Further alternatively, the system may have a projection system that projects virtual objects into a physical environment, for example as a hologram or on a physical surface, so that a person using the system perceives the virtual objects superimposed on the physical environment.
[0024] An augmented reality environment also refers to a simulated environment in which a representation of a physical environment is transformed by computer-generated sensory information. For example, in providing a pass-through video, the system may transform one or more sensor images to apply a perspective (e.g., a viewpoint) that is different from the perspective captured by the imaging sensor. As another example, a representation of a physical environment may be transformed by graphically modifying (e.g., enlarging) portions thereof so that the modified portions may be representative but not true versions of the original captured images. As another example, a representation of a physical environment may be transformed by graphically eliminating or blurring portions thereof.
[0025] An augmented virtual (AV) environment refers to a simulated environment in which a virtual or computer-generated environment is combined with one or more sensory inputs from a physical environment. The sensory input can be a representation of one or more features of the physical environment. For example, an AV park can have virtual trees and virtual buildings, but the faces of people are realistically reproduced from images taken of physical people. As another example, a virtual object can take the shape or color of a physical object imaged by one or more imaging sensors. As another example, a virtual object can take a shadow that conforms to the position of the sun in the physical environment.
[0026] There are many different types of electronic systems that enable people to sense and / or interact with various CGR environments. Examples include head-mounted systems, projection-based systems, head-up displays (HUDs), vehicle windshields with integrated display capabilities, windows with integrated display capabilities, displays formed as lenses designed to be placed on people's eyes (e.g., similar to contact lenses), headphones / earpieces, speaker arrays, input systems (e.g., wearable or handheld controllers with or without tactile feedback), smart phones, tablets, and desktop / laptop computers. A head-mounted system can have one or more speakers and an integrated opaque display. Alternatively, a head-mounted system can be configured to accept an external opaque display (e.g., a smart phone). A head-mounted system can incorporate one or more imaging sensors for capturing images or videos of a physical environment, and / or one or more microphones for capturing audio of a physical environment. Instead of an opaque display, a head-mounted system can have a transparent or translucent display. A transparent or translucent display can have a medium through which light representing an image is directed to a person's eyes. The display can utilize digital light projection, OLED, LED, uLED, silicon-based liquid crystal, laser scanning light source, or any combination of these technologies. The medium can be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, a transparent or translucent display can be configured to selectively become opaque. A projection-based system can employ retinal projection technology that projects a graphic image onto a person's retina. The projection system can also be configured to project a virtual object into a physical environment, such as a hologram or onto a physical surface.
[0027] By displaying virtual objects in conjunction with a representation of the physical environment, the electronic device provides the user with an intuitive CGR interface to interact with his / her physical environment. For example, using the CGR interface, the user can interact with the virtual objects provided in the CGR interface to perform certain tasks (e.g., control an oven or order food). One challenge in implementing such an interface is that virtual objects may not be provided based on the physical environment. For example, a user may be standing in a kitchen while virtual objects related to living room entertainment are provided in the CGR interface. Therefore, these virtual objects have limited relevance to the physical environment in which the user is currently located. Conventional technologies for determining the location of a user, such as a global positioning system (GPS), typically have positioning errors in the range of meters, making it difficult to determine, for example, the precise physical environment (e.g., living room, kitchen, bedroom) of a user within a house or building.
[0028] In addition, many current techniques for determining the type of physical environment use entities identified in the physical environment, but are limited in that they do not distinguish between the types of entities identified in the physical environment. Therefore, the accuracy of determining the type of physical environment may be compromised or reduced. For example, certain types of entities (e.g., ceilings, walls, or tables) may be found in many types of physical environments (e.g., kitchens, dining rooms, living rooms, etc.) and are therefore not reliable indicators of the type of physical environment. For another example, entities that are easily moved (e.g., cats, dogs) are generally not reliable indicators of the type of physical environment.
[0029] According to some embodiments described herein, one or more cameras are used to obtain image data corresponding to a physical environment. Based on the image data, at least a portion of an entity in the physical environment is identified. Based on at least a portion of the identified entity, it is determined whether the entity is an entity of a first type. The type of physical environment is then determined based on the entity of the first type. The first type of entity is also referred to as an internal entity, which is generally a reliable indicator for determining the type of physical environment. Because only entities that are generally reliable indicators of the type of physical environment can be used to determine the type of physical environment, the technology described in this application requires identifying a smaller number of entities, thereby improving the performance of identifying the type of physical environment, reducing power consumption, and improving operational efficiency.
[0030] In some examples, based on the determined type of physical environment (e.g., living room, kitchen, bedroom, etc.), the virtual object is displayed in a representation of the physical environment to provide one or more services that correspond (e.g., are specific) to the type of physical environment. Thus, the displayed virtual object is related to the type of physical environment (e.g., living room, kitchen, bedroom), for example, within a house or building. Accurately providing services to users in this manner enhances the user experience and improves the performance of the system.
[0031] Figure 1A and Figure 1B An exemplary system 100 for various computer-generated reality techniques is depicted.
[0032] In some embodiments, such as Figure 1A As shown, system 100 includes device 100a. Device 100a includes various components, such as one or more processors 102, one or more RF circuits 104, one or more memories 106, one or more image sensors 108, one or more orientation sensors 110, one or more microphones 112, one or more position sensors 116, one or more speakers 118, one or more displays 120, and one or more touch-sensitive surfaces 122. These components are optionally in communication via a communication bus 150 of device 100a.
[0033] In some embodiments, elements of system 100 are implemented in a base station device (e.g., a computing device such as a remote server, a mobile device, or a laptop computer), and other elements of system 100 are implemented in a head mounted display (HMD) device designed to be worn by a user, wherein the HMD device communicates with the base station device. In some examples, device 100a is implemented in either the base station device or the HMD device.
[0034] like Figure 1B As shown, in some embodiments, system 100 includes two (or more) devices in communication, such as through a wired connection or a wireless connection. The first device 100b (e.g., a base station device) includes one or more processors 102, one or more RF circuits 104, and one or more memories 106. These components are optionally communicated through the communication bus 150 of device 100b. The second device 100c (e.g., a head-mounted device) includes various components, such as one or more processors 102, one or more RF circuits 104, one or more memories 106, one or more image sensors 108, one or more orientation sensors 110, one or more microphones 112, one or more position sensors 116, one or more speakers 118, one or more displays 120, and one or more touch-sensitive surfaces 122. These components are optionally communicated through the communication bus 150 of device 100c.
[0035] In some embodiments, the system 100 is a mobile device. In some embodiments, the system 100 is a head mounted display (HMD) device. In some embodiments, the system 100 is a wearable HUD device.
[0036] The system 100 includes one or more processors 102 and one or more memories 106. The one or more processors 102 include one or more general purpose processors, one or more graphics processors, and / or one or more digital signal processors. In some embodiments, the one or more memories 106 are one or more non-transitory computer-readable storage media (e.g., flash memory, random access memory) storing computer-readable instructions, which are configured to be executed by the one or more processors 102 to perform the techniques described below.
[0037] System 100 includes one or more RF circuits 104. One or more RF circuits 104 optionally include circuits for communicating with electronic devices, networks (such as the Internet, an intranet), and / or wireless networks (such as cellular networks and wireless local area networks (LANs)). One or more RF circuits 104 optionally include circuits for using near field communication and / or short range communication (such as ) circuit for communication.
[0038] The system 100 includes one or more displays 120. In some examples, the one or more displays 120 include a first display (e.g., a left eye display panel) and a second display (e.g., a right eye display panel), each display being used to display an image to a corresponding eye of a user. The corresponding images are displayed simultaneously on the first display and the second display. Optionally, the corresponding images include representations of the same virtual object and / or the same physical object from different viewpoints, thereby generating a parallax effect that provides the user with a stereoscopic effect of the object on the display. In some examples, the one or more displays 120 include a single display. For each eye of the user, the corresponding image is simultaneously displayed on a first area and a second area of the single display. Optionally, the corresponding images include representations of the same virtual object and / or the same physical object from different viewpoints, thereby generating a parallax effect that provides the user with a stereoscopic effect of the object on the single display.
[0039] In some embodiments, system 100 includes one or more touch-sensitive surfaces 122 for receiving user input, such as tap input and swipe input. In some examples, one or more displays 120 and one or more touch-sensitive surfaces 122 form one or more touch-sensitive displays.
[0040] The system 100 includes one or more image sensors 108. The one or more image sensors 108 optionally include one or more visible light image sensors (such as a charge coupled device (CCD) sensor) and / or a complementary metal oxide semiconductor (CMOS) sensor operable to obtain an image of a physical object from a real environment. The one or more image sensors also optionally include one or more infrared (IR) sensors, such as a passive IR sensor or an active IR sensor, for detecting infrared light from the real environment. For example, an active IR sensor includes an IR emitter, such as an IR point emitter, for emitting infrared light into the real environment. The one or more image sensors 108 also optionally include one or more event cameras configured to capture the movement of physical objects in the real environment. The one or more image sensors 108 also optionally include one or more depth sensors configured to detect the distance of the physical object from the system 100. In some examples, the system 100 uses a combination of CCD sensors, event cameras, and depth sensors to detect the physical environment around the system 100. In some examples, the one or more image sensors 108 include a first image sensor and a second image sensor. The first image sensor and the second image sensor are optionally configured to capture images of physical objects in the real environment from two different perspectives. In some examples, the system 100 uses one or more image sensors 108 to receive user input, such as gestures. In some examples, the system 100 uses one or more image sensors 108 to detect the position and orientation of the system 100 and / or one or more displays 120 in the real environment. For example, the system 100 uses one or more image sensors 108 to track the position and orientation of one or more displays 120 relative to one or more fixed objects in the real environment.
[0041] In some embodiments, the system 100 includes one or more microphones 112. The system 100 uses one or more microphones 112 to detect sounds from the user and / or the user's real environment. In some examples, the one or more microphones 112 include a microphone array (including multiple microphones), which are optionally operated in series to identify ambient noise or locate a sound source in the space of the real environment.
[0042] The system 100 includes one or more orientation sensors 110 for detecting the orientation and / or movement of the system 100 and / or one or more displays 120. For example, the system 100 uses the one or more orientation sensors 110 to track changes in the position and / or orientation of the system 100 and / or one or more displays 120, such as with respect to physical objects in a real environment. The one or more orientation sensors 110 optionally include one or more gyroscopes and / or one or more accelerometers.
[0043] Figure 2A A user device 202 is depicted that displays a representation 204 (e.g., an image) of an indoor physical environment 200 according to various embodiments. In this embodiment, the user device 202 is a standalone device, a handheld mobile device (e.g., a smart phone) or a standalone head-mounted device. It should be appreciated that in other embodiments, the user device 202 can be communicatively coupled to another device, such as a base device (e.g., base device 102b). In these embodiments, the operations described below for providing environment-based content in a CGR environment can be shared between the user device 202 and the other devices.
[0044] Figure 2A An example is shown in which user 210 holds user device 202 in the user's hand. In some embodiments, user 210 wears the user device as a head-mounted device. User device 202 can obtain image data using one or more cameras. Exemplary cameras include charge coupled device (CCD) type cameras.
[0045] As described above, in some embodiments, the CGR interface includes a representation of the physical environment and optionally one or more virtual objects. In some embodiments, the user device 202 uses the acquired image data to present (e.g., display or project) a representation 204 of the indoor physical environment 200. The representation 204 is a real-time 2D image or 3D image of the physical environment. For example, the representation 204 represents the physical environment from the perspective of the user device 202. Figure 2A In the embodiment of the present invention, the physical environment 200 is at least a part of the user's kitchen. Generally speaking, the physical environment can be an indoor environment or an outdoor environment. In an indoor environment, the physical environment can be a specific room or area (e.g., a living room, a family room, an office, a kitchen, a classroom, a dining room, etc.). As described in detail below, the user device 202 can provide content (e.g., a virtual object) to the user based on the type of the physical environment. For example, if the physical environment is a kitchen, the user device 202 can present corresponding virtual objects, such as food recipes, controls for operating a coffee machine, or a user interaction mechanism for ordering food. For example, if the physical environment is a living room, the user device 202 can present corresponding virtual objects, such as controls for operating a TV, a user interaction mechanism for ordering a movie, or a user interaction mechanism for subscribing to a magazine.
[0046] Figure 2B A block diagram of a user device (eg, user device 202) including a classifier 210 configured to identify one or more entities of an indoor physical environment is depicted. Figure 2BAs depicted, representation 204 is an image captured or recorded by one or more cameras of user device 202. In some embodiments, when representation 204 is presented on display 206 of user device, the user device performs classification of one or more entities of physical environment 200 using classifier 210. Classifier 210 may be predefined, dynamically updated, and / or trained over time. In some embodiments, for indoor physical environments, classifier 210 includes a ceiling classifier, a wall classifier, a table classifier, a chair classifier, a sink classifier, an animal (e.g., a cat) classifier, and the like. It should be understood that the type of classifier used for classification of the physical environment may be predetermined in any desired manner based on the intended use of the device (e.g., use in a home environment). Classifiers may be used for any entity type and / or granularity. In some examples, a classifier may be used to identify a chair or a specific type of chair (e.g., a lawn chair versus a recliner).
[0047] In some embodiments, the type of classifier used for classification can also be adjusted (e.g., learned or trained) using, for example, machine learning techniques. For example, based on training data associated with different physical environments, such as training data where the user device has been used in the past (e.g., the physical environment where the user device is often used is the living room, kitchen, etc.), the type of classifier used for classification (e.g., ceiling classifier, floor classifier, table classifier) can be derived or determined.
[0048] like Figure 2BAs shown, the classifier 210 identifies one or more entities of the physical environment 200, including but not limited to a sink 211A, a cat 211B, a wall 211C, a metal piece 211D, and a chair 211E. In some embodiments, the classifier 210 identifies the entire entity (e.g., a cat 211B) or a portion of the entity (e.g., a corner as a portion of the wall 211C). As described in detail below, in some embodiments, if the first portion of the entity is identified (e.g., a leg of a chair 211E, a corner of a wall 211C, etc.), and one or more attributes of the entity can be determined without having to identify the entire entity, the classifier 210 can abandon identifying another portion of the entity or abandon identifying the entire entity. Identifying a portion of an entity rather than the entire entity can increase recognition speed, reduce power consumption, and thus improve the operating efficiency of the electronic device. In some embodiments, the classifier 210 identifies one or more entities in the physical environment based on a hierarchical classification technique. For example, the classifier 210 performs initial classification using a subset of predefined classifiers that is less than a full set of available classifiers. The initial classification identifies one or more predefined entities. The geometric layout of the physical environment is estimated based on the identified one or more predefined entities. Regions are determined based on the geometric layout, and a second level of classification is performed using a classifier corresponding to the determined region. Thus, the classifier 210 can identify a specific entity in the determined region. Since not all available classifiers are used for all entities, hierarchical classification improves the performance of identifying specific entities in the physical environment, reduces power consumption, and enables real-time classification.
[0049] In some embodiments, based on at least a portion of the currently identified entity, the user device determines whether at least a portion of the currently identified entity corresponds to at least a portion of the previously identified entity. For example, the user device may store data (e.g., a map) associated with previously identified entities, including their classification, their location, relationship to each other, layout, etc. The user device may compare the data associated with the previously identified entity with at least a portion of the currently identified entity, and determine whether at least a portion of the currently identified entity corresponds to a portion of the previously identified entity. If so, the user device does not perform determination of one or more attributes of the currently identified entity, and then does not determine whether the currently identified entity belongs to the first type (e.g., the entity is an interior of a physical environment that can be used to determine that the user device is facing or located therein). If at least a portion of the currently identified entity does not correspond to at least a portion of the previously identified entity, the user device stores data indicating at least a portion of the currently identified entity, for example, based on which further entity type and environment type determination is performed. As an example, the user device may have previously identified one or more entities of the indoor physical environment 200 as shown in representation 204, such as a sink 211A. After the user device performs the previous identification, cat 211B may enter the kitchen (e.g., from another room). The classifier 210 of the user device may then identify cat 211B and determine that cat 211B does not correspond to any previously identified entity. As a result, the user device may store data associated with cat 211B for further determination or processing. In some embodiments, by determining whether the currently identified entity (or a portion thereof) corresponds to a previously identified entity and performing further determination or processing for previously unidentified entities, the user device reduces power consumption (e.g., battery power), increases processing speed, and thereby improves overall operating efficiency.
[0050] In some embodiments, based on the identified entity (or a portion thereof), the user device determines one or more attributes of the entity. For example, based on at least a portion of the identified entity, the user device classifies the entity and obtains attributes of the entity from a plurality of known or learned entities. Figure 2C , the user device identifies the faucet and the container as part of the sink 211A (eg Figure 2B Based on the identified faucets and containers, the user device classifies the corresponding entities (eg, using the classifier 210) as a sink-type entity 231A, and determines one or more attributes of the sink-type entity 231A.
[0051] like Figure 2C As shown, one of the entity attributes determined by the user equipment is mobility, as shown in determination 234A. Mobility is an attribute that describes the extent to which an entity can be physically moved (e.g., the ability to change location over time). Figure 2C In the example shown in , the user device determines that the sink-type entity 231A is a fixed device and is therefore highly stationary and / or unlikely to move.
[0052] Another entity attribute determined by the user device is whether the entity is a building structure or part thereof, as shown in determination 234B. The building structure attribute indicates whether the entity is part of a building structure (e.g., a wall, ceiling, floor, etc.). Figure 2C In the example shown in , the user device determines that the sink-type entity 231A is not typically part of a building structure.
[0053] Another entity attribute determined by the user device is the consistency of the entity, as shown in determination 234C. The consistency indicates the degree to which the appearance of the entity changes over time. Figure 2C In the example shown in , the user device determines that the appearance of sink class 231A generally does not change over time and is therefore highly consistent.
[0054] Another entity attribute determined by the user device is the likelihood of misclassification of the entity, as shown in determination 234D. As described above, based on at least a portion of the identified entity, the user device classifies the corresponding entity. For example, based on the identified faucet and container, the user device classifies the entity as a sink-class entity 231A. In some examples, the classification can be associated with the likelihood of error. For example, the faucet and container can also be associated with another entity other than the sink. Therefore, in some embodiments, the user device can estimate the likelihood of misclassification (e.g., based on attributes of the entity, the class of the entity, and / or other entities in the physical environment). As Figure 2C In the example shown in FIG. 1 , the user device determines that the likelihood of misclassification of the sink entity 231A is low. Figure 2C Four types of attributes are shown as being determined by the user equipment, but it should be understood that any number of other types of attributes may also be determined.
[0055] refer to Figure 2C In some embodiments, based on one or more determinations of the entity attributes (e.g., determinations 234A-D), the user device determines whether the entity is a first type of entity. In some examples, the first type of entity is also referred to as an internal entity, which is an entity that can be used to determine a physical environment associated with the entity (e.g., a physical environment in which the entity is located).
[0056] In some embodiments, to determine whether an entity is an entity of the first type, the user device determines whether a combination of one or more attributes exceeds a confidence threshold. For example, the user device may determine an attribute value or score for each entity attribute. Figure 2CIn the example shown in , the user device determines that the mobility attribute value for the sink class entity 231A is low (or a corresponding numerical value), thereby indicating that the sink class entity 231A is stationary. The user device may also determine that the building structure attribute value of the sink class entity 231A is negative (or a corresponding numerical value), thereby indicating that the sink class 231A is not a building structure. The user device may also determine that the consistency attribute value of the sink class entity 231A is high (or a corresponding numerical value), thereby indicating that the appearance of the sink class 231A is highly consistent over time. The user device may also determine that the probability of misclassification of the sink class entity 231A is low (or a corresponding numerical value), thereby indicating that the confidence in the correct classification of the sink 211A is high. It should be understood that the user device may determine attribute values or scores for one or more attributes and / or determine attribute values for any additional attributes.
[0057] In some embodiments, the user device may also determine a total count of the attributes. As described above, the user device may use one or more attributes of an entity to determine whether the entity is of the first type. Figure 2C In the example shown, one or more attributes including mobility, building structure, consistency and error classification and / or any other attribute (not shown) may be used to determine whether an entity belongs to the first type. If all attributes are used and no other attributes are used, the user device determines that the total count of attributes is four.
[0058] Based on a combination of the attribute values or scores and the total counts of those attributes, the user device can determine whether the entity is an entity of the first type. In some embodiments, to determine the type of the entity, the user device determines whether a combination of one or more attribute values and the total count of one or more attributes exceeds a confidence threshold. The confidence threshold can be configured based on a comparison of the attribute value / type indicator criteria and the score of the total count of attribute values. For example, if most or all attribute values of one or more attributes meet the type indicator criteria, the confidence threshold can be met with a relatively small attribute value count. Using Figure 2C , the user device determines that all attribute values of the attributes (e.g., low mobility, negative building structure, high consistency, and low likelihood of misclassification) meet the type indicator criteria. For example, a stationary entity that is not part of a building structure, does not change its appearance over time, and is unlikely to be misclassified is typically a good and reliable indicator of the physical environment (e.g., a kitchen) in which the entity is located. Therefore, the user device determines that the entity type (e.g., interior or exterior) can be determined based on these 4 (or fewer) attributes (e.g., a total count of 4 or less).
[0059] In some embodiments, in order to exceed the confidence threshold when at least some of the attribute values do not meet the type indicator criteria, a relatively large number of attribute values may be required to reliably or accurately determine the type of the entity. Thus, the confidence threshold for determining the type of an entity can be configured to require, for example, at least three attributes, all of which meet the type indicator criteria, at least five attributes, some of which have attribute values that are equal to or slightly below the type indicator criteria, or at least ten attributes, some of which have attribute values that are significantly below the type indicator criteria. In some embodiments, the confidence threshold and / or criteria for determining the type of an entity can be dynamically updated or learned (e.g., by training a machine learning model).
[0060] In some embodiments, the user device determines that the entity is of the first type based on determining that a combination of one or more attribute values and a total count of the attributes meets (e.g., exceeds) a confidence threshold for determining the entity type. Figure 2C In the example shown in , if the confidence threshold is configured for at least three attributes having all attribute values above the confidence level standard, the user device determines that the entity of the sink 211A (corresponding to the sink class entity 231A) is a first type of entity (e.g., interior), which can be used to determine the physical environment associated with the entity (e.g., the physical environment of a kitchen).
[0061] In some embodiments, based on determining that a combination of one or more attribute values and a count of one or more attributes does not satisfy (e.g., does not exceed) a confidence threshold, the user device determines that the entity is of a second type that is different from the first type. In some examples, the second type of entity is also referred to as an external, which cannot be used to determine a physical environment associated with the entity. Figures 2D to 2F The identification and classification of second type entities is described in more detail in .
[0062] As above about Figure 2B As described above, classifier 210 identifies at least a portion of cat 211B. Figure 2D As shown, the user device determines one or more attributes of cat 211B based on at least a portion of the identified cat 211B. The user device identifies, for example, the legs, tail, and / or whiskers of cat 211B. Based on the identified legs, tail, and / or whiskers, the user device classifies the corresponding entity (e.g., using classifier 210) as a cat-type entity 231B, and determines the attributes of cat-type entity 231B. In some embodiments, the user device determines the attributes without first classifying the corresponding entity into a particular class of entity. For example, using the identified legs of cat 211B, and not classifying the corresponding entity as a cat-type entity, the user device can determine the mobility attribute value of cat 211B (e.g., the corresponding entity may be highly mobile because anything with legs may be mobile).
[0063] Figure 2D Depicted is a process for classifying an identified entity and determining the type of the classified entity according to an embodiment of the present disclosure. Figure 2D The attributes determined by the user equipment may include mobility, building structural attributes, consistency, possibility of misclassification, and / or any other attributes. Figure 2D As shown in determinations 234A-D in FIG. 1 , the user device determines that cat entity 231B is highly mobile; is not a building structure; is somewhat consistent over time; and has a medium likelihood of being misclassified (e.g., something with legs, a tail, and whiskers can also be other animals like a tiger). Based on the determined attributes, the user device further determines whether a combination of one or more attributes exceeds a confidence threshold. Continue Figure 2D In the example shown in , the user device determines that the attribute value for mobility is high (or a corresponding numerical value), thereby indicating that the cat entity 231B is stationary. The user device may also determine that the building structure attribute value is negative (or a corresponding numerical value), thereby indicating that the cat entity 231B is not a building structure. The user device may also determine that the attribute value for consistency is medium (or a corresponding numerical value), thereby indicating that the appearance of the cat entity 231B may change over time (for example, the cat becomes dirty or old over time). The user device may also determine that the attribute value for the possibility of misclassification is medium (or a corresponding numerical value), thereby indicating that the cat 211B's confidence in the correct classification of the cat entity 231B is within a medium range. It should be understood that the user device may determine attribute values for one or more attributes, as shown in determinations 234A-D, and / or determine attribute values for additional attributes.
[0064] Based on a combination of the attribute values and the total counts of the attributes, the user device determines whether the entity belongs to the first type by, for example, determining whether the combination satisfies a confidence threshold. Figure 2D In the example shown in , the user device determines that the mobility attribute value of the cat entity 231B does not meet the type indicator criteria (e.g., highly mobile entities are generally not reliable indicators of the physical environment type). The user device can also determine that the building structure attribute value (e.g., negative) meets the type indicator criteria; the consistency attribute value (e.g., somewhat consistent) is equal to or slightly above the type indicator criteria; and the likelihood of misclassification (e.g., medium) is equal to or slightly below the type indicator criteria. In addition, the user device determines the total count of the attributes used to determine the entity type. Figure 2D In the example shown, the user device may use attributes including, for example, mobility, consistency, and misclassification to make such a determination, since the cat entity 231B is clearly not a building structure, and therefore the building structure attribute may be less relevant and thus given no or little weight. The total count is therefore three.
[0065] As described above, to determine the entity type, the user device determines whether a combination of one or more attribute values and a count of one or more attributes satisfies a confidence threshold. For example, if the confidence threshold is configured as at least three attributes having all attribute values above a confidence level criterion, the user device determines that cat 211B (corresponding to cat-type entity 231B) is a second type of entity (e.g., external), which cannot be used to determine the physical environment associated with the entity. Figure 2D In the example shown, the cat entity can exist in any physical environment and is therefore a less reliable indicator of the type of physical environment.
[0066] Figure 2E Another process for classifying the identified entities and determining the classified entities according to an embodiment of the present disclosure is shown. Figure 2B As described above, classifier 210 identifies at least a portion of wall 211C (e.g., a corner of wall 211C). Figure 2E As shown, based on at least a portion of the identified wall 211C, the user device determines one or more attributes of the wall 211C. For example, based on a corner of the wall 211C, the user device classifies the wall 211C (e.g., using the classifier 210) as a wall-type entity 231C, and determines the attributes of the wall-type entity 231C.
[0067] refer to Figure 2E And similar to those described above, the attributes determined by the user device can include mobility, building structure attributes, consistency, likelihood of misclassification, and / or any other attributes. For example, corresponding to the attributes shown in determinations 234A-D, the user device determines that wall-class entity 231C is not mobile; is a building structure; is consistent over time; and has a medium likelihood of misclassification (e.g., incorrectly classifying a shelf with a corner as a wall), respectively. In some embodiments, similar to those described above, the user device determines whether a combination of one or more attributes exceeds a confidence threshold. Using Figure 2E , the user device determines that the building structure attribute value is positive (or a corresponding numerical value), thereby indicating that the wall-like entity 231B is a building structure. As described above, the building structure may not be a reliable indicator of the type of physical environment because it is a common entity found in many types of physical environments. The user device may also determine that the mobility attribute value is low, the consistency attribute value is high, and the probability of misclassification is medium (or a corresponding numerical value). It should be understood that the user device can determine the attribute value, as shown in determination 234A-D, and / or determine the attribute value of the additional attribute.
[0068] Based on a combination of the attribute values and the total counts of the attributes, the user device may determine whether the entity belongs to the first type by, for example, determining whether the combination satisfies a confidence threshold. Figure 2E In the example shown in , the user device determines that a mobility attribute value of mobility (e.g., stationary) satisfies the type indicator criteria; a building structure attribute value (e.g., positive) does not satisfy the type indicator criteria; a consistency attribute value (e.g., highly consistent) satisfies the type indicator criteria; and a likelihood of misclassification (e.g., medium) satisfies the type indicator criteria. In addition, the user device determines a total count of attributes used to determine the entity type. Figure 2E In the example shown, the user device may use attributes such as building structure, consistency, and misclassification for such determinations. The user device may also assign more weight to the building structure attribute and less or no weight to mobility, since the building structure is obviously immobile and thus the mobility attribute of mobility is less relevant.
[0069] As described above, to determine the entity type, the user device determines whether a combination of one or more attribute values and a count of one or more attributes satisfies a confidence threshold. For example, if the confidence threshold is configured as at least three attributes having all attribute values exceeding the type indicator criteria, the user device determines that wall 211C (corresponding to wall-type entity 231C) is a second type of entity (e.g., exterior), which cannot be used to determine the physical environment associated with the entity. Figure 2E In the example shown, the entity of the wall can exist in any indoor physical environment and is therefore a less reliable indicator of the type of physical environment.
[0070] Figure 2F Another process for classifying identified entities and determining the classified entities according to an embodiment of the present disclosure is described. Figure 2B As described above, the classifier 210 identifies the metal part 211D as a part of a refrigerator, but may not identify the entity as a refrigerator. Figure 2F As shown, based on the identified metal part 211D, the user device determines one or more properties of the metal part 211D. In some embodiments, to determine the properties of the entity, the user device classifies the entity (e.g., using classifier 210) as a metal part class entity 231D and determines the properties of the metal part class entity 231D.
[0071] refer to Figure 2F, the attributes determined by the user device may include mobility, building structure attributes, consistency, likelihood of misclassification, and / or any other attributes. For example, corresponding to the attributes shown in determinations 234A-D, the user device determines that metal piece class entity 231D is likely not to move; may be a building structure; is consistent over time; and is likely to be misclassified (e.g., may be a metal piece or part of a variety of different entities such as an appliance, building structure, shelf, door, knife, cooking pot, etc.), respectively. Similar to those described above, the user device determines whether the combination of one or more attributes and the total count of these attributes exceeds a confidence threshold. Using Figure 2F , the user device may determine that the probability of misclassification is high (or a corresponding value), thereby indicating that the confidence of the correct classification of metal piece 211D is low, because the metal piece can be part of any entity. The user device may also determine that the mobility attribute value is low to medium; the building structure attribute value is a value between positive and negative; and the consistency attribute value 234C is high (or a corresponding value). It should be understood that the user device may determine attribute values for one or more attributes, as shown in determinations 234A-D, and / or determine attribute values for additional attributes.
[0072] Based on the combination of the attribute values and the total counts of these attributes, the user device can determine whether the entity belongs to the first type. As described above, in some embodiments, the user device determines whether the combination of one or more attribute values and the counts of one or more attributes meets a confidence threshold. Figure 2F In the example shown in , the user device determines whether the mobility attribute value (e.g., likely to be stationary) is equal to or slightly above the type indicator criteria; whether the building structure attribute value (e.g., between positive and negative) is equal to or slightly below the type indicator criteria; the consistency attribute value (e.g., highly consistent) meets the type indicator criteria; and the likelihood of misclassification (e.g., high) does not meet the type indicator criteria. In addition, the user device determines the total count of attributes used to determine the entity type. Figure 2F In the example shown, the user device may use, for example, all attributes including mobility, building structure, consistency, and misclassification for such determinations. The user device may also assign more weight to the likelihood of misclassification, since an initial correct classification may be an important factor in subsequent determinations of the attributes.
[0073] As described above, to determine the entity type, the user device determines whether a combination of one or more attribute values and a total count of one or more attributes satisfies a confidence threshold. For example, if the confidence threshold is configured as at least three attributes having all attribute values above the type indicator criteria, the user device determines that metal part 211D (corresponding to metal part class entity 231D) is a second type of entity (e.g., external), which cannot be used to determine the physical environment associated with the entity. Figure 2F In the example shown, the entity of the metal piece may exist as part of the entity of any physical environment and is therefore not a reliable indicator of the type of physical environment.
[0074] Figure 2G Another process for classifying the identified entities and determining the type of the classified entities according to an embodiment of the present disclosure is shown. Figure 2B As shown, classifier 210 identifies chair 211E of physical environment 200. Figure 2G As shown, based on the identified chair 211E, the user device determines one or more attributes of the chair 211E. In some embodiments, to obtain the attributes of the entity, the user device classifies the chair 211E (e.g., using the classifier 210) as a chair-type entity 231E and obtains the attributes of the chair-type entity 231E.
[0075] refer to Figure 2G And similar to those described above, the attributes that the user device can determine include mobility, building structure, consistency, likelihood of misclassification, and / or any other attributes. For example, corresponding to the attributes shown in determinations 234A-D, the user device determines that the chair-class entity 231E is mobile to some extent (e.g., the chair can be fixed to the floor or moved to another location); is not a building structure; is consistent over time; and has a low likelihood of misclassification, respectively. In some embodiments, similar to those described above, the user device determines whether the combination of one or more attributes and the total count of these attributes exceeds a confidence threshold. Using Figure 2G In the example shown, the user device determines that the mobility attribute value is medium; the building structure attribute value is negative; the consistency attribute value is high; and the probability of misclassification is low (or a corresponding numerical value). It should be understood that the user device can determine attribute values for one or more attributes, as shown in determinations 234A-D, and / or determine attribute values for additional attributes.
[0076] Based on a combination of the attribute values or scores and the total counts of these attributes, the user device can determine whether the entity belongs to the first type. As described above, in some embodiments, the user device determines whether a combination of one or more attribute values and the total counts of one or more attributes meets a confidence threshold. Figure 2G In the example shown in , the user device determines that the mobility attribute value (e.g., likely to be stationary) is equal to or slightly above the type indicator criteria; the building structure attribute value (e.g., negative) meets the type indicator criteria; the consistency attribute value (e.g., highly consistent) meets the type indicator criteria; and the likelihood of misclassification (e.g., low) meets the type indicator criteria. In addition, the user device determines the total count of the attributes used to determine the entity type. Figure 2GIn the example shown, the user device may use, for example, all four attributes including mobility, building structure, consistency, and the likelihood of misclassification for such determination. The user device may also assign more weight to the mobility attribute and / or the likelihood of misclassification. For example, if the chair class entity 231E is a bar chair class entity and is fixed to the floor, it is an important factor for determining the type of physical environment (e.g., a kitchen). If the chair class entity 231E is a regular movable chair class entity and can be moved from one place to another, it is a less important factor for determining the type of physical environment because a regular movable chair can be located in any physical environment.
[0077] As described above, to determine the type of an entity, the user device determines whether a combination of one or more attribute values and a count of one or more attributes satisfies a confidence threshold. For example, if the confidence threshold is configured as at least four attributes having all attribute values above a confidence level criterion, the user device determines that chair 211E (corresponding to chair-class entity 231D) may be a first type of entity (e.g., interior), which can be used to determine a physical environment associated with the entity.
[0078] In some embodiments, determining whether an entity is an entity of the first type is based on training data. For example, based on machine learning techniques, the user device can be trained with the training data to determine the types of various entities. The user device can also learn and improve the determination of entity types over time.
[0079] refer to Figure 2H In some embodiments, based on a determination that one or more entities in the physical environment are entities of a first type (e.g., interior), the user device determines the type of physical environment associated with the entity. Figures 2B to 2G In the example shown in , the user device determines that sink 211A and chair 211E may be first type entities (e.g., interior), and cat 211B, wall 211C, and metal piece 211D are second type entities (e.g., exterior). In some embodiments, based on a determination that the identified entities include at least one first type entity, the user device may continue to determine the type of physical environment. For example, based on a determination that the physical environment includes sink 211A, the user device may determine that the physical environment is a kitchen. In some embodiments, the user device may need more than one first type entity to determine the type of physical environment. For example, the user device may identify and / or classify one or more additional entities (e.g., chair 211E, oven, refrigerator, kitchen countertop, microwave, stove, etc.), such as a kitchen appliance. Figure 2B As shown) to determine the type of physical environment. Identifying more entities of the first type can improve the accuracy of the determination and reduce the possibility of errors, thereby improving operational efficiency and user satisfaction.
[0080] In some embodiments, the user device performs determination of the type of the physical environment by comparing one or more entities of the first type (e.g., sink 211A and chair 211E) with one or more entities determined to be associated with a physical environment of the kitchen type. If the entities associated with the type of the physical environment match the entities of the first type, the number or percentage of which is greater than a threshold number or percentage (e.g., 90%), the user device determines that the type of the physical environment is a predefined type (e.g., kitchen).
[0081] In some embodiments, more than one type of physical environment may include the same specific entity. Figure 2B , the user device identifies the faucet and the container as a sink 211A and determines that sink 211A is a first type of entity (e.g., because it is non-moving, consistent over time, not a building structure, and has a low probability of misclassification). For example, a sink may be a kitchen sink or a bathroom sink. Therefore, the user device may not be able to determine the type of physical environment that the user device is facing or located in based solely on sink 211A.
[0082] In some embodiments, in addition to one or more entities of the first type (e.g., sink 211A), the user device can be configured to use other information to determine the type of physical environment. Such additional information includes, for example, other entities in the physical environment (if any) (e.g., oven, microwave, kitchen countertop, etc., such as Figure 2B As shown), the geometric layout of the physical environment and / or contextual information, such as an electronic device. As an example, in addition to the sink 211A, the user device can use other entities in the physical environment to determine that the type of the physical environment is a kitchen. As another example, the user device can identify a napkin box and determine that the napkin box is an entity of the first type, but because it is movable, the type of environment cannot be determined based solely on the napkin box. The user device can use contextual information, such as the frequency with which the napkin box was moved in the past, to determine that it is rarely moved out of the restaurant. Therefore, the user device can determine that the type of the physical environment is a restaurant. In some embodiments, based on the additional information, the user device can select one of multiple types of physical environments (e.g., kitchen, bathroom) as the type of physical environment associated with the user device.
[0083] In some embodiments, the user device may not be able to determine the type of physical environment (with or without additional information), or may require confirmation from the user about the type of physical environment. Therefore, in some examples, after the user device determines multiple candidate physical environments, the user device outputs the determined physical environment (e.g., visual and / or auditory output) and receives a selection from the user of one of the multiple candidate physical environments.
[0084] refer to Figure 2H In some embodiments, based on the determined type of physical environment, the user device is configured to present one or more virtual objects corresponding to the determined type of physical environment. Figure 2H As shown, in some embodiments, user device 202 presents representation 204 of physical environment 200, which, as described, may be determined to be a kitchen. Representation 204 may be, for example, a 2D image, a video, an animation, a 3D image, or any type of visual representation of a physical environment or a particular entity of a physical environment. For example, user device 202 presents representations of the identified entities (of the first type and the second type) in the physical environment (e.g., an image of a sink 211A, an image of a cat 211B, etc.).
[0085] In some embodiments, the user device 202 can be configured to provide one or more services using one or more virtual objects corresponding to the physical environment while presenting the representation 204 of the kitchen. Figure 2H , as described above, the type of physical environment in this embodiment is determined to be a kitchen. Therefore, the user device 202 can provide, for example, a virtual object 286 (e.g., a virtual remote control) that enables the user to control the oven (e.g., set the baking time for 2 hours); and a virtual object 288 (e.g., a user interaction mechanism) that provides dinner recipe suggestions to the user. In some embodiments, the virtual object can be superimposed (e.g., overlapped) on the representation. The virtual object can also be presented on a separate display area of the user device 202 or on another device that is communicatively coupled to the user device 202.
[0086] In some embodiments, the user device presents one or more virtual objects without determining (e.g., before) the type of the physical environment. For example, the user device can identify a TV entity in a physical environment. By way of example, in some embodiments, the user device determines that a service can be provided based on the identified entity, regardless of the type of the physical environment. For example, whether the TV entity is located in a bedroom or a living room, a TV guide service or a TV subscription service can be provided. Therefore, the user device is configured to present one or more virtual objects (e.g., virtual objects that enable users to receive online movie streaming services) based on the identified TV entity, without having to determine the type of the physical environment (e.g., whether the physical environment is a living room or a bedroom).
[0087] In some embodiments, after the user device displays one or more virtual objects, the user device receives input (e.g., from a user of the user device) representing a selection of one or more of the presented virtual objects, and performs one or more tasks based on the selected virtual objects. For example, the user device may receive a selection of virtual object 288. Based on the selection, the user device may further present details of the recipe suggestion and / or a hyperlink to a website to purchase ingredients for the recipe.
[0088] In some embodiments, the determination of the type of physical environment is based on some or all entities in the field of vision of the user device. In the above examples, the entity in the field of vision of the user device can include a sink, a cat, a chair, an oven, a refrigerator, etc. Therefore, the determination of the type of physical environment is based on these entities. In some examples, when the user device is positioned to face another direction, the field of vision of the user device changes. Therefore, the determination of the type of physical environment can be updated or re-executed based on the entity in the changed field of vision. In addition, the virtual object presented on the user device can also be updated corresponding to the entity in the changed field of vision. For example, the user device can present other virtual objects corresponding to the entity in the changed field of vision (for example, if one of the entities in the changed field of vision is a TV, the virtual object enables the user to receive a movie streaming service), instead of presenting virtual objects 286 and 288.
[0089] Although the above examples relate to indoor physical environments (eg, kitchens), it should be appreciated that the above techniques may also be used in outdoor physical environments. Figures 3A to 3E Depicted are representations of entities of an outdoor physical environment, processes for classifying identified entities and determining the types of the classified entities, and a CGR interface including virtual objects.
[0090] Figure 3A A user device 202 is depicted presenting a representation 304 of an outdoor physical environment 300 . Figure 3A An example is shown in which user 210 holds user device 202 in the user's hand. In some embodiments, user 210 wears the user device as a head-mounted device. User device 202 can obtain image data using one or more cameras. Exemplary cameras include charge coupled device (CCD) type cameras and event cameras.
[0091] In some embodiments, the user device 202 uses the acquired image data to render a representation 304 of the outdoor physical environment 300. The representation 304 is a real-time 2D image or 3D image of the physical environment 300 from the perspective of the user device 202. Figure 3A , physical environment 300 is at least a portion of a park.
[0092] Figure 3B A block diagram of a user device (eg, user device 202) including a classifier 310 configured to identify one or more entities of an outdoor physical environment is depicted. Figure 3B As depicted, representation 304 is an image captured or recorded by one or more cameras of a user device. In some embodiments, when representation 304 is presented on a display 306 of a user device, the user device performs classification using a classifier 310. Classifier 310 may be predefined, dynamically updated, and / or trained over time. In some embodiments, for an outdoor environment, classifier 310 includes a tree classifier, a leaf classifier, a building classifier, a lake classifier, a lawn classifier, and the like. Thus, classifier 310 may include different classifiers from classifier 210, which is used for indoor environments. In some embodiments, classifier 310 identifies one or more entities in a physical environment based on the hierarchical classification technique described above. Figure 3B As shown, the classifier 310 identifies one or more entities, including but not limited to leaves 311A, trunks 311B, houses 311C, etc. In some embodiments, the classifier 310 identifies the entire entity (e.g., house 311C) or a portion of the entity (e.g., leaves 311A and trunks 311B of a tree). In some embodiments, based on the identified entity (or a portion thereof), the user device determines one or more attributes of the entity. For example, based on the portion of the identified entity, the user device classifies the entity and determines the attributes of the entity from multiple known or learned entities. Figure 3C Depicted is a process for classifying an identified entity and determining the type of the classified entity according to an embodiment of the present disclosure. Figure 3C , the user device identifies one or more leaves. Based on the identified leaves, the user device classifies the entity (eg, using classifier 310) as a leaf-type entity 331A, and determines attributes of the leaf-type entity 331A.
[0093] like Figure 3C As shown, and similar to those described above, one of the attributes determined by the user equipment is mobility, as shown in determination 234A. Figure 3C In the example shown in , the user device determines that leaf-type entity 331A is generally immobile (e.g., stationary) or only slightly movable over a short distance (e.g., a leaf may move in the wind). Another attribute determined by the user device is a building structure attribute, as shown in determination 234B. Figure 3C In the example shown in , the user device determines that leaf class entity 331A is generally not part of a building structure. Another attribute determined by the user device is consistency, as shown in determination 234C. Figure 3CIn the example shown in , the user device determines that the appearance of the leaf-type entity 331A typically changes over time (e.g., based on a change of seasons) and is therefore inconsistent.
[0094] Another attribute determined by the user device is the likelihood of misclassification of the entity, as shown in determination 234D. Figure 3C In the example shown in FIG. 1 , the user device determines that the probability of misclassification of the leaf entity 331A is low. Figure 3C Four types of attributes determined by the user equipment are shown, but it will be appreciated that other types of attributes may also be determined.
[0095] refer to Figure 3C In some embodiments, based on one or more determinations of the entity attributes (e.g., determinations 234A-D), the user device determines whether the entity is an entity of the first type. As described above, the user device can determine an attribute value or score for each attribute and a total count of the attributes. Figure 3C , the user device determines that the consistency attribute value of the leaf entity 331A is low (or a corresponding value), thereby indicating that the leaf entity 331A can change its appearance over time (e.g., based on the season). The user device can also determine that the building structure attribute value of the leaf entity 331A is negative; the mobility attribute value is low (or a corresponding value); and the probability of misclassification is low (or a corresponding value). It should be understood that the user device can determine attribute values for one or more attributes, as shown in determinations 234A-D, and / or determine attribute values for additional attributes.
[0096] Based on a combination of the attribute values or scores and the total counts of these attributes, the user device can determine whether the entity belongs to the first type. As described above, in some embodiments, the user device determines whether a combination of one or more attribute values and the counts of one or more attributes meets a confidence threshold. Figure 3C In the example shown in , the user device determines that a consistency attribute value (e.g., inconsistent) does not satisfy the type indicator criteria. In general, an entity that changes its appearance over time is not a reliable indicator of the type of the physical environment. The user device also determines that a mobility attribute value (e.g., stationary) satisfies the type indicator criteria; a building structure attribute value (e.g., negative) satisfies the type indicator criteria; and a likelihood of misclassification (e.g., low) satisfies the type indicator criteria. In addition, the user device determines a total count of the attributes used to determine the entity type. Figure 3C In the example shown, the user device may make such a determination using attributes including, for example, mobility, building structure, and consistency, since leaf class entity 331A is clearly not a building structure and thus the building structure attributes are less relevant and therefore given no or little weight.
[0097] As described above, to determine the type of an entity, the user device determines whether a combination of one or more attribute values and a total count of one or more attributes satisfies a confidence threshold. The confidence threshold can be pre-configured, dynamically updated, and / or learned over time. If the confidence threshold is configured for at least three attributes with all attribute values above the type indicator criteria, the user device determines that the leaf 311A (corresponding to the leaf-type entity 331A) is an entity of the second type (e.g., external), which cannot be used to determine the physical environment associated with the entity. Figure 3C In the example shown, the leaf entities can change their appearance over time and are therefore unlikely to be a reliable indicator of the type of physical environment.
[0098] Figure 3D Another process for classifying the identified entity (e.g., tree trunk 311B) and determining the type of tree trunk-like entity 331B is shown. Figure 3D As shown, the user device can determine attributes as shown at determinations 234A, 234B, and 234D, similar to those described above with respect to Figure 3. For example, the user device determines that the trunk class entity 331B is generally not movable (e.g., stationary), is not part of a building structure, and that the likelihood of misclassification of the trunk class entity 331B is low.
[0099] Another attribute that the user equipment may determine is a consistency attribute, as shown in determination 234C. Figure 3D The example shown in Figure 3C , the user device determines that the appearance of the trunk-like entity 331B generally does not change over time (eg, does not change based on seasons) and is therefore consistent.
[0100] refer to Figure 3D In some embodiments, the user device determines whether the entity is an entity of the first type based on a combination of one or more attributes of the entity (e.g., mobility, building structure, consistency, and / or incorrect classification) and a total count of these attributes. As described above, the user device can determine an attribute value or score for each attribute and a total count of these attributes. Figure 3D In the example shown, the user device determines that the mobility attribute value of the trunk class entity 331B is low; the building structure attribute value is negative; the consistency attribute value is high; and the possibility of misclassification is low (or a corresponding numerical value), thereby indicating that the confidence in the correct classification of the trunk class entity 311B is high. It should be understood that the user device can determine the attribute values of one or more attributes, as shown in determinations 234A-D, and / or determine the attribute values of additional attributes.
[0101] In some embodiments, the user device may also determine a total count of the attribute. Figure 3CIn the example shown, one or more attributes as shown in determinations 234A-D and / or any other attributes (not shown) may be used to determine whether the entity is of the first type. For example, if the classification attributes of mobility, consistency, and error are used but the building structure attribute is not used (because it is less relevant and therefore not given weight), the user device determines that the total number of attributes is three.
[0102] Based on a combination of the attribute values or scores and the total counts of these attributes, the user device can determine whether the entity belongs to the first type. As described above, in some embodiments, the user device determines whether a combination of one or more attribute values and the counts of one or more attributes meets a confidence threshold. Figure 3D In the example shown in , the user equipment determines that the mobility attribute value (e.g., stationary) meets the type indicator criteria; the consistency attribute value (e.g., highly consistent) meets the type indicator criteria; and the possibility of misclassification (e.g., low) meets the type indicator criteria.
[0103] As described above, to determine the type of an entity, the user device determines whether a combination of one or more attribute values and a total count of one or more attributes satisfies a confidence threshold. For example, if the confidence threshold is configured as at least three attributes having all attribute values above a confidence level criterion, the user device determines that trunk 311B (corresponding to trunk-type entity 331B) is an entity of a first type (e.g., interior), which can be used to determine a physical environment associated with the entity. Figure 3D In the example shown, the entity of the tree trunk does not change its appearance over time and may therefore be a reliable indicator of the type of physical environment.
[0104] refer to Figure 3E And similar to those described above, based on determining that one or more entities in the physical environment are entities of the first type (e.g., interior), the user device determines the type of physical environment that the user device is facing or positioned. FIG. 3A to FIG. 3DIn the example shown, the user device determines that leaves 311A are entities of the second type (e.g., exterior), and trunk 311B is an entity of the first type (e.g., interior). In some embodiments, based on a determination that the identified entities include at least one entity of the first type, the user device may proceed to determine the type of the physical environment. In some embodiments, before the user device can determine the type of the physical environment, the user device may require that more than one entity be an entity of the first type. For example, the user device may identify additional entities (e.g., house 311C, lake, lawn, etc.) and determine that one or more of these additional entities are entities of the first type before determining the type of the physical environment. In some embodiments, in addition to one or more entities of the first type (e.g., trunk 311B), the user device may be configured to use other information to determine the type of the physical environment. For example, the user device may use data collected from a GPS sensor to assist in determining Figure 3E The type of physical environment shown in (e.g., the GPS sensor indicates that tree trunk 311B is located within an area of a park).
[0105] refer to Figure 3E In some embodiments, based on the determined type of physical environment, the user device is configured to present one or more virtual objects corresponding to the determined type of physical environment. Figure 3E As shown, in some embodiments, the user device 202 presents a representation 304 (e.g., a park) of the physical environment 300. The representation 304 can be, for example, a 2D image, a video, an animation, a 3D image, or any type of visual representation of the physical environment or a particular entity of the physical environment. For example, the user device 202 presents a representation of the identified entity (first type and / or second type) in the physical environment (e.g., a representation of leaves 311A, a representation of a tree trunk 311B, etc.).
[0106] In some embodiments, the user device 202 can be configured to provide one or more services using one or more virtual objects corresponding to the physical environment while presenting the representation 304 of the park. Figure 3E As mentioned above, the type of physical environment in this embodiment is determined to be a park. Therefore, the user device 202 can provide, for example, a virtual object 386 (e.g., a user interaction mechanism) to enable the user to order a ticket for a concert in a park.
[0107] As described above, a physical environment (e.g., an indoor environment or an outdoor environment) can include a variety of entities. Some of these entities are transient items and may not be reliable indicators for determining the type of a physical environment. Such transient items (e.g., cats, vehicles) may have high mobility relative to other, more relatively stationary items (e.g., buildings, trees). In some embodiments, transient items are not used to determine the type of a physical environment.
[0108] Now go to Figure 4 , which shows a flowchart of an exemplary process 400 for identifying the type of physical environment in multiple types of physical environments. In the following description, process 400 is described as being performed using a user device (e.g., device 100a or 202). The user device is, for example, a handheld mobile device or a head-mounted device. It should be recognized that in other embodiments, process 400 is performed using two or more electronic devices, such as a user device that is communicatively coupled to another device (such as a base device). In these embodiments, the operations of process 400 are distributed between the user device and the other device in any manner. In addition, it should be understood that the display of the user device can be transparent or opaque. Although in Figure 4 400 in a particular order, but it should be understood that the blocks can be performed in any order. In addition, one or more blocks of process 400 can be optional and / or additional blocks can be performed.
[0109] At block 402, image data corresponding to a physical environment is obtained using one or more cameras.
[0110] At block 404, based on the image data, at least a portion of an entity in the physical environment is identified. In some embodiments, identifying at least a portion of an entity in the physical environment includes using a plurality of entity classifiers. In some embodiments, identifying at least a portion of an entity in the physical environment includes identifying a first portion of the entity without identifying the entire entity and identifying a second portion of the entity as previously described.
[0111] At block 406, a determination is made whether the entity is an entity of the first type based on at least a portion of the identified entity. In some embodiments, a determination is made whether the at least a portion of the entity corresponds to at least a portion of a previously identified entity based on at least a portion of the identified entity and prior to determining whether the entity is an entity of the first type. Based on determining that the at least a portion of the entity does not correspond to at least a portion of a previously identified entity, data indicative of at least a portion of the entity is stored.
[0112] In some embodiments, based on at least a portion of the identified entity, determining whether the entity is an entity of the first type includes determining one or more attributes of the entity based on at least a portion of the identified entity in the physical environment; and determining whether the entity is an entity of the first type based on the one or more attributes of the entity. The one or more attributes of the entity may include, for example, mobility of the entity, an indication of whether the entity is a building structure, consistency of the entity's appearance, and / or a likelihood of misclassification.
[0113] In some embodiments, based on at least a portion of the identified entity, determining whether the entity is an entity of the first type includes determining whether a combination of one or more attributes of the entity exceeds a confidence threshold.
[0114] At box 408, based on determining that the entity is an entity of the first type, a type of physical environment is determined based on the entity. In some embodiments, determining the type of physical environment includes determining whether the entity corresponds to at least one of a plurality of types of physical environments. Based on determining that the entity corresponds to at least one of a plurality of types of physical environments, one of a plurality of types of physical environments is selected. In some embodiments, determining the type of physical environment also includes determining one or more other types of physical environments; presenting the determined one or more other types of physical environments; and accepting a selection of one of the determined types of physical environments from a user. At box 410, representations of one or more virtual objects and entities corresponding to the determined type of physical environment are presented.
[0115] In some embodiments, an input is received representing a selection of a virtual object of one or more presented virtual objects. One or more tasks are performed based on the selected virtual object.
[0116] As described above, one aspect of the present technology is to collect and use data available from various sources to improve the performance of identifying the type of physical environment with which a user is associated (e.g., located therein), and to provide information or services to the user based on the identified type of physical environment. The present disclosure contemplates that, in some instances, these collected data may include personal information data that uniquely identifies or can be used to contact or locate a specific person. Such personal information data may include demographic data, location-based data, phone numbers, email addresses, Twitter IDs, home addresses, data or records related to the user's health or health level (e.g., vital sign measurements, medication information, exercise information), date of birth, or any other identifying or personal information.
[0117] The present disclosure recognizes that the use of such personal information data in the present technology can be used to benefit users. For example, personal information data can be used to provide customized information or services to users. Therefore, the use of such personal information data enables users to receive more customized and / or personalized information or services. In addition, the present disclosure also anticipates other uses of personal information data that benefit users. For example, health and fitness data can be used to provide insights into the user's overall health status, or can be used as positive feedback to individuals who use technology to pursue health goals.
[0118] The present disclosure contemplates that entities responsible for collecting, analyzing, disclosing, transmitting, storing or otherwise using such personal information data will comply with established privacy policies and / or privacy practices. Specifically, such entities should implement and adhere to privacy policies and practices that are recognized as meeting or exceeding industry or government requirements for maintaining the privacy and security of personal information data. Such policies should be easily accessible to users and should be updated as the collection and / or use of data changes. Personal information from users should be collected for the legal and reasonable purposes of the entity and not shared or sold outside these legal uses. In addition, such collection / sharing should be performed after receiving the user's informed consent. In addition, such entities should consider taking any necessary steps to defend and safeguard access to such personal information data and ensure that other persons who have access to personal information data comply with their privacy policies and processes. In addition, such entities may subject themselves to third-party assessments to demonstrate their compliance with widely accepted privacy policies and practices. In addition, policies and practices should be adjusted to specific types of personal information data collected and / or accessed, and to applicable laws and standards that include specific considerations of jurisdiction. For example, in the United States, the collection or access of certain health data may be governed by federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA), while health data in other countries may be subject to other regulations and policies and should be handled accordingly. Therefore, different privacy practices should be maintained in each country for different types of personal data.
[0119] Regardless of the foregoing, the present disclosure also contemplates implementation schemes in which users selectively block the use or access of personal information data. That is, the present disclosure contemplates that hardware elements and / or software elements may be provided to prevent or block access to such personal information data. For example, in the case of providing personalized or customized services, the present technology may be configured to allow users to choose to "opt in" or "opt out" at any time during or after registration for the service to participate in the collection of personal information data. As another example, a user may choose not to provide personal information for receiving services (e.g., a movie recently watched in the living room). As another example, a user may choose to limit the length of time for maintaining personal information or completely prohibit the development of a baseline personal preference profile. In addition to providing "opt-in" and "opt-out" options, the present disclosure contemplates providing notifications related to access or use of personal information. For example, a user may be notified that their personal information data will be accessed when downloading an application, and then the user may be reminded again just before the personal information data is accessed by the application.
[0120] In addition, it is an object of the present disclosure that personal information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use. Once the data is no longer needed, the risk can be minimized by limiting data collection and deleting the data. In addition, and when applicable, including in certain health-related applications, data de-identification can be used to protect the privacy of users. De-identification can be facilitated by removing specific identifiers (e.g., date of birth, etc.), controlling the amount or specificity of stored data (e.g., collecting location data at the city level rather than at the address level), controlling how the data is stored (e.g., aggregating data on users), and / or other methods when appropriate.
[0121] Thus, while the present disclosure broadly covers the use of personal information data to implement one or more of the various disclosed embodiments, the present disclosure also contemplates that various embodiments may also be implemented without access to such personal information data. That is, the various embodiments of the present technology will not fail to function properly due to the lack of all or a portion of such personal information data. For example, information or services may be selected and delivered to a user by inferring preferences based on non-personal information data or an absolute minimum amount of personal information, such as content requested by a device associated with the user, other non-personal information available to the user device providing the service, or publicly available information.
[0122] The foregoing descriptions of specific embodiments have been presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the scope of the claims to the precise forms disclosed, and it is to be understood that many modifications and variations are possible in light of the above teachings.
Claims
1. An electronic device, comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: presenting one or more virtual objects and a representation of a first entity from a set of one or more entities in a physical environment, wherein a virtual object of the one or more virtual objects performs one or more tasks corresponding to the physical environment; receiving a set of one or more inputs representing a selection of the virtual object among the one or more virtual objects presented; as well as In response to receiving the set of one or more inputs representing the selection of the virtual object, performing the one or more tasks corresponding to the physical environment, wherein performing the one or more tasks includes changing a state of a second entity from the set of one or more entities in the physical environment.
2. The electronic device according to claim 1, wherein the one or more programs further comprise instructions for: Prior to presenting the one or more virtual objects and a representation of a first entity from the set of one or more entities in the physical environment: identifying at least a portion of a first entity from a set of one or more entities in the physical environment; determining whether the at least a portion of the first entity corresponds to at least a portion of a previously identified entity; based on determining that the at least a portion of the first entity does not correspond to the at least a portion of the previously identified entity, storing data indicative of the at least a portion of the first entity; determining whether the first entity is of a first type based on the at least a portion of the first entity; as well as Based on determining that the first entity has a first type, a type of the physical environment is determined based on the first entity.
3. The electronic device of claim 2, wherein identifying the at least a portion of the first entity in the physical environment comprises: identifying a first portion of a first entity without identifying the entire first entity; as well as The second portion identifying the first entity is discarded.
4. The electronic device of claim 2, wherein determining whether the first entity is an entity of the first type based on the at least a portion of the identified first entity comprises: determining one or more attributes of a first entity in the physical environment based on the at least a portion of the entity identified; as well as A determination is made whether the first entity is an entity of a first type based on the one or more attributes of the entity.
5. The electronic device of claim 4, wherein determining the one or more attributes of the first entity based on the at least a portion of the identified first entity comprises: classifying the first entity based on the at least a portion of the identified first entity; Based on the classification of the first entity, one or more attributes of the first entity are obtained from a plurality of attributes.
6. The electronic device of claim 4, wherein the one or more attributes of the first entity include at least one of the following: the mobility of the first entity; an indication of whether the first entity is a building structure; and The consistency of the appearance of the first entity.
7. The electronic device of claim 4, wherein determining whether the first entity is an entity of the first type based on the one or more attributes of the first entity comprises: A determination is made as to whether a combination of the one or more attributes of the first entity exceeds a confidence threshold.
8. The electronic device of claim 2, wherein determining the type of the physical environment based on the first entity comprises: determining whether a first entity corresponds to at least one of a plurality of types of the physical environment; as well as Based on determining that the first entity corresponds to at least one of the plurality of types of the physical environment, one of the plurality of types of the physical environment is selected.
9. The electronic device according to claim 8, wherein the one or more programs further comprise instructions for: determining one or more additional types of the physical environment; presenting the determined one or more additional types of the physical environment; and A selection of one of the determined types of the physical environment is received from a user.
10. A computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs comprising instructions for: presenting one or more virtual objects and a representation of a first entity from a set of one or more entities in a physical environment, wherein a virtual object of the one or more virtual objects performs one or more tasks corresponding to the physical environment; receiving a set of one or more inputs representing a selection of the virtual object among the one or more virtual objects presented; as well as In response to receiving the set of one or more inputs representing the selection of the virtual object, performing the one or more tasks corresponding to the physical environment, wherein performing the one or more tasks includes changing a state of a second entity from the set of one or more entities in the physical environment.
11. The computer-readable storage medium of claim 10, wherein the one or more programs further comprise instructions for: Prior to presenting the one or more virtual objects and the representation of the first entity from the set of one or more entities in the physical environment: identifying at least a portion of a first entity from a set of one or more entities in the physical environment; determining whether the at least a portion of the first entity corresponds to at least a portion of a previously identified entity; based on determining that the at least a portion of the first entity does not correspond to the at least a portion of the previously identified entity, storing data indicative of the at least a portion of the first entity; determining whether the first entity is of a first type based on the at least a portion of the first entity; as well as Based on determining that the first entity has a first type, a type of the physical environment is determined based on the first entity.
12. The computer-readable storage medium of claim 11, wherein identifying the at least a portion of the first entity in the physical environment comprises: identifying a first portion of a first entity without identifying the entire first entity; as well as The second portion identifying the first entity is discarded.
13. The computer-readable storage medium of claim 11 , wherein determining whether the first entity is an entity of the first type based on the at least a portion of the identified first entity comprises: determining one or more attributes of a first entity in the physical environment based on the at least a portion of the entity identified; as well as A determination is made whether the first entity is an entity of a first type based on the one or more attributes of the entity.
14. The computer-readable storage medium of claim 13, wherein determining the one or more attributes of the first entity based on the at least a portion of the identified first entity comprises: classifying the first entity based on the at least a portion of the identified first entity; Based on the classification of the first entity, one or more attributes of the first entity are obtained from a plurality of attributes.
15. The computer-readable storage medium of claim 13, wherein the one or more attributes of the first entity include at least one of the following: the mobility of the first entity; an indication of whether the first entity is a building structure; and The consistency of the appearance of the first entity.
16. The computer-readable storage medium of claim 13, wherein determining whether the first entity is an entity of the first type based on the one or more attributes of the first entity comprises: A determination is made as to whether a combination of the one or more attributes of the first entity exceeds a confidence threshold.
17. The computer-readable storage medium of claim 11, wherein determining the type of the physical environment based on the first entity comprises: determining whether a first entity corresponds to at least one of a plurality of types of the physical environment; as well as Based on determining that the first entity corresponds to at least one of the plurality of types of the physical environment, one of the plurality of types of the physical environment is selected.
18. The computer-readable storage medium of claim 17, wherein the one or more programs further comprise instructions for: determining one or more additional types of the physical environment; presenting the determined one or more additional types of the physical environment; and A selection of one of the determined types of the physical environment is received from a user.
19. A method for providing environment-based content using a computer-generated reality interface, comprising: At an electronic device having one or more processors and a memory: presenting one or more virtual objects and a representation of a first entity from a set of one or more entities in a physical environment, wherein a virtual object of the one or more virtual objects performs one or more tasks corresponding to the physical environment; receiving a set of one or more inputs representing a selection of the virtual object among the one or more virtual objects presented; as well as In response to receiving the set of one or more inputs representing the selection of the virtual object, performing the one or more tasks corresponding to the physical environment, wherein performing the one or more tasks includes changing a state of a second entity from the set of one or more entities in the physical environment.
20. The method according to claim 19, further comprising: Prior to presenting the one or more virtual objects and the representation of the first entity from the set of one or more entities in the physical environment: identifying at least a portion of a first entity from a set of one or more entities in the physical environment; determining whether the at least a portion of the first entity corresponds to at least a portion of a previously identified entity; based on determining that the at least a portion of the first entity does not correspond to the at least a portion of the previously identified entity, storing data indicative of the at least a portion of the first entity; determining whether the first entity is of a first type based on the at least a portion of the first entity; as well as Based on determining that the first entity has a first type, a type of the physical environment is determined based on the first entity.
21. The method of claim 20, wherein identifying the at least a portion of the first entity in the physical environment comprises: identifying a first portion of a first entity without identifying the entire first entity; as well as The second portion identifying the first entity is discarded.
22. The method of claim 20, wherein determining whether the first entity is an entity of the first type based on the at least a portion of the identified first entity comprises: determining one or more attributes of a first entity in the physical environment based on the at least a portion of the entity identified; as well as A determination is made whether the first entity is an entity of a first type based on the one or more attributes of the entity.
23. The method of claim 22, wherein determining the one or more attributes of the first entity based on the at least a portion of the identified first entity comprises: classifying the first entity based on the at least a portion of the identified first entity; Based on the classification of the first entity, one or more attributes of the first entity are obtained from a plurality of attributes.
24. The method of claim 22, wherein determining whether the first entity is an entity of the first type based on the one or more attributes of the first entity comprises: A determination is made as to whether a combination of the one or more attributes of the entity exceeds a confidence threshold.
25. An electronic device comprising: Apparatus for performing the method according to any one of claims 19 to 24.
