Electronic device that presents guided meditation sessions
A head-mounted device may include one or more cameras that detect physical objects in a physical environment surrounding the head-mounted device and one or more microphones that detect sounds in the physical environment. The head-mounted device may present a guided meditation session that references one of the physical objects in the physical environment and/or one of the sounds in the physical environment. One or more sensors in the head-mounted device may be used to determine when to advance the guided meditation session between different portions.
1 . An electronic device comprising:
one or more cameras;
one or more speakers;
one or more processors; and
memory storing instructions configured to be executed by the one or more processors, the instructions for:
obtaining a user input;
determining an intent based on the user input; and
in accordance with a determination that the intent represents an intent to provide guided meditation:
capturing one or more images of a physical environment using the one or more cameras;
identifying at least one physical object in the physical environment based on the one or more images; and
presenting a guided meditation session using the one more speakers, wherein the guided meditation session references the at least one physical object in the physical environment.
2 . The electronic device defined in claim 1 , further comprising:
one or more sensors, wherein obtaining the user input comprises obtaining the user input using the one or more sensors and wherein the one or more sensors comprises a microphone, a touch sensor, a button, or an accelerometer.
3 . The electronic device defined in claim 1 , wherein obtaining the user input comprises wirelessly receiving user input information from an external electronic device, wherein the external electronic device is a tablet computer, a laptop computer, a cellular telephone, or a watch.
4 . The electronic device defined in claim 1 , wherein identifying the at least one physical object in the physical environment based on the one or more images comprises providing information regarding the one or more images of the physical environment to a trained model, wherein the guided meditation session is generated by the trained model, and wherein providing the information regarding the one or more images of the physical environment to the trained model comprises providing the one or more images of the physical environment to the trained model.
5 . The electronic device defined in claim 1 , wherein the guided meditation session is based on one or more session length parameters and contextual information and wherein the contextual information comprises location information, cultural information, age information, user preference information, temporal information, or calendar information.
6 . The electronic device defined in claim 1 , further comprising:
one or more microphones, wherein the instructions further comprise instructions for, in accordance with the determination that the intent represents the intent to provide guided meditation:
capturing one or more sounds in the physical environment using the one or more microphones, wherein the guided meditation session references at least one of the one or more sounds in the physical environment.
7 . The electronic device defined in claim 1 , wherein the at least one physical object in the physical environment satisfies a reflectivity criterion.
8 . The electronic device defined in claim 1 , wherein the instructions further comprise instructions for:
while presenting a first portion of the guided meditation session:
detecting, using the one or more cameras, a user interaction with the at least one physical object in the physical environment; and
in accordance with detecting the user interaction with the at least one physical object in the physical environment, advancing the guided meditation session from the first portion to a second portion.
9 . The electronic device defined in claim 1 , further comprising:
one or more displays, wherein the instructions further comprise instructions for:
presenting, using the one or more displays, a virtual object, wherein the guided meditation session references the virtual object.
10 . A method of operating an electronic device comprising one or more cameras and one or more speakers, the method comprising:
obtaining a user input;
determining an intent based on the user input; and
in accordance with a determination that the intent represents an intent to provide guided meditation:
capturing one or more images of a physical environment using the one or more cameras;
identifying at least one physical object in the physical environment based on the one or more images; and
presenting a guided meditation session using the one more speakers, wherein the guided meditation session references the at least one physical object in the physical environment.
11 . The method defined in claim 10 , wherein the electronic device further comprises one or more sensors, wherein obtaining the user input comprises obtaining the user input using the one or more sensors, and wherein the one or more sensors comprises a microphone, a touch sensor, a button, or an accelerometer.
12 . The method defined in claim 10 , wherein obtaining the user input comprises wirelessly receiving user input information from an external electronic device and wherein the external electronic device is a tablet computer, a laptop computer, a cellular telephone, or a watch.
13 . The method defined in claim 10 , wherein identifying the at least one physical object in the physical environment based on the one or more images comprises providing information regarding the one or more images of the physical environment to a trained model, wherein the guided meditation session is generated by the trained model, and wherein providing the information regarding the one or more images of the physical environment to the trained model comprises providing the one or more images of the physical environment to the trained model.
14 . The method defined in claim 10 , wherein the guided meditation session is based on one or more session length parameters and contextual information and wherein the contextual information comprises location information, cultural information, age information, user preference information, temporal information, or calendar information.
15 . The method defined in claim 10 , wherein the electronic device further comprises one or more microphones and wherein the method further comprises, in accordance with the determination that the intent represents the intent to provide guided meditation:
capturing one or more sounds in the physical environment using the one or more microphones, wherein the guided meditation session references at least one of the one or more sounds in the physical environment.
16 . The method defined in claim 10 , wherein the at least one physical object in the physical environment satisfies a reflectivity criterion.
17 . The method defined in claim 10 , further comprising:
while presenting a first portion of the guided meditation session:
detecting, using the one or more cameras, a user interaction with the at least one physical object in the physical environment; and
in accordance with detecting the user interaction with the at least one physical object in the physical environment, advancing the guided meditation session from the first portion to a second portion.
18 . The method defined in claim 10 , wherein the electronic device further comprises one or more displays and wherein the method further comprises:
presenting, using the one or more displays, a virtual object, wherein the guided meditation session references the virtual object.
19 . A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device comprising one or more cameras and one or more speakers, the one or more programs including instructions for:
obtaining a user input;
determining an intent based on the user input; and
in accordance with a determination that the intent represents an intent to provide guided meditation:
capturing one or more images of a physical environment using the one or more cameras;
identifying at least one physical object in the physical environment based on the one or more images; and
presenting a guided meditation session using the one more speakers, wherein the guided meditation session references the at least one physical object in the physical environment.
20 . The non-transitory computer-readable storage medium defined in claim 19 , wherein the electronic device further comprises one or more sensors, wherein obtaining the user input comprises obtaining the user input using the one or more sensors, and wherein the one or more sensors comprises a microphone, a touch sensor, a button, or an accelerometer.
21 . The non-transitory computer-readable storage medium defined in claim 19 , wherein obtaining the user input comprises wirelessly receiving user input information from an external electronic device and wherein the external electronic device is a tablet computer, a laptop computer, a cellular telephone, or a watch.
22 . The non-transitory computer-readable storage medium defined in claim 19 , wherein identifying the at least one physical object in the physical environment based on the one or more images comprises providing information regarding the one or more images of the physical environment to a trained model, wherein the guided meditation session is generated by the trained model, and wherein providing the information regarding the one or more images of the physical environment to the trained model comprises providing the one or more images of the physical environment to the trained model.
23 . The non-transitory computer-readable storage medium defined in claim 19 , wherein the guided meditation session is based on one or more session length parameters and contextual information and wherein the contextual information comprises location information, cultural information, age information, user preference information, temporal information, or calendar information.
24 . The non-transitory computer-readable storage medium defined in claim 19 , wherein the electronic device further comprises one or more microphones and wherein the instructions further comprise instructions for, in accordance with the determination that the intent represents the intent to provide guided meditation:
capturing one or more sounds in the physical environment using the one or more microphones, wherein the guided meditation session references at least one of the one or more sounds in the physical environment.
25 . The non-transitory computer-readable storage medium defined in claim 19 , wherein the at least one physical object in the physical environment satisfies a reflectivity criterion.
26 . The non-transitory computer-readable storage medium defined in claim 19 , wherein the instructions further comprise instructions for:
while presenting a first portion of the guided meditation session:
detecting, using the one or more cameras, a user interaction with the at least one physical object in the physical environment; and
in accordance with detecting the user interaction with the at least one physical object in the physical environment, advancing the guided meditation session from the first portion to a second portion.
27 . The non-transitory computer-readable storage medium defined in claim 19 , wherein the electronic device further comprises one or more displays and wherein the instructions further comprise instructions for:
presenting, using the one or more displays, a virtual object, wherein the guided meditation session references the virtual object.