Head-mounted electronic device for converting a screen of an electronic device into extended reality and electronic device connected thereto
A head-mounted electronic device configured to convert a screen of an electronic device into an extended reality and the electronic device connected thereto are disclosed. The electronic device includes a processor further configured to convert objects into a plurality of virtual objects to display the objects in a visual image output by a display of the head-mounted electronic device. The electronic device includes the processor further configured to verify information on a theme corresponding to a color of an execution screen of an application and information on the visual image output by the display of the head-mounted electronic device. The electronic device includes the processor further configured to control at least one of a brightness and a saturation of the virtual objects based on at least one of the information on the theme and the information on the visual image.
1 . An electronic device comprising:
memory having computer readable instructions; and
at least one processor for executing the computer readable instructions, the computer readable instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
display, on a display, objects related to an execution screen of an application being executed, the objects being configured to display pieces of content related to the application;
convert, by the electronic device, the objects into virtual objects to be displayed in a visual image output on a head-mounted electronic device;
in response to converting the objects into the virtual objects by the electronic device, transmit the visual image of the virtual objects to the head-mounted electronic device for output by the bead-mounted electronic device;
in response to transmitting the visual image of the virtual objects to the head-mounted electronic device, verify a first information of a theme corresponding to a color of the execution screen of the application displayed on the display and a second information of the visual image having been transmitted for output by the head-mounted electronic device; and
control at least one of a brightness and a saturation of the virtual objects in the visual image output on the head-mounted electronic device based on at least one of the first information of the theme and the second information of the visual image.
2 . The electronic device of claim 1 , wherein:
the execution screen of the application comprises a background object of the execution screen and the objects on the background object, each of the objects being named in advance; and
pieces of content related to the objects are grouped and displayed; and
the computer readable instructions cause the electronic device to select at least one of a light theme or a dark theme for the visual image output by the head-mounted electronic device.
3 . The electronic device of claim 1 , wherein:
the objects comprise one or more detailed objects related to the objects; and
the virtual objects comprise one or more detailed virtual objects related to the virtual objects.
4 . The electronic device of claim 1 , wherein the computer readable instructions cause the electronic device to identify an arrangement of the objects from the execution screen of the application being executed and arrange the virtual objects in the visual image displayed on the head-mounted electronic device to correspond to the arrangement.
5 . The electronic device of claim 1 , wherein the computer readable instructions cause the electronic device to arrange the virtual objects in the visual image displayed on the head-mounted electronic device in a same arrangement as an arrangement in the execution screen of the electronic device for the objects having a same name as the virtual objects in the visual image.
6 . The electronic device of claim 1 , wherein the computer readable instructions cause the electronic device to convert a size of the virtual objects and a size of a font comprised by the virtual objects based on a size of the visual image output on the head-mounted electronic device.
7 . The electronic device of claim 1 , wherein the computer readable instructions cause the electronic device to determine a theme corresponding to a color of the virtual objects displayed on the head-mounted electronic devices to match the theme corresponding to the color of the execution screen of the application.
8 . The electronic device of claim 1 , wherein:
the visual image comprises a first visual image configured to output a surrounding environment of a user captured by one or more cameras of the head-mounted electronic device or a second visual image configured to output a virtual environment; and
the computer readable instructions cause the electronic device to determine whether the first visual image or the second visual image is output on the head-mounted electronic device and control at least one of the brightness and the saturation of the virtual objects according to the visual image that is output.
9 . The electronic device of claim 1 , wherein:
each of the virtual objects is configured to group and display pieces of content related to the virtual objects; and
each of the virtual objects is displayed on the head-mounted electronic device to be identified by depth from other virtual objects.
10 . The electronic device of claim 1 , wherein, when a virtual object of the virtual objects comprises pieces of content, overlapping layers are used to distinguish the pieces of content of the virtual object of the virtual objects from other virtual objects.
11 . The electronic device of claim 1 , wherein the computer readable instructions cause the electronic device to, when converting the execution screen from a second visual image to a first visual image or from the first visual image to the second visual image, modify at least one of the brightness and the saturation of the virtual objects.
12 . The electronic device of claim 1 , wherein the computer readable instructions cause the electronic device to, when a new virtual object is displayed in the visual image of the head-mounted electronic device in response to the virtual objects being displayed in the visual image of the head-mounted electronic device, identify the new virtual object from the virtual objects being displayed by using depth.
13 . A method of operating an electronic device, the method comprising:
displaying, on a display, objects related to an execution screen of an application being executed, the objects being configured to display pieces of content related to the application;
converting, by the electronic device, the objects into virtual objects to be displayed in a visual image output on a head-mounted electronic device;
in response to converting the objects into the virtual objects by the electronic device, transmit the visual image of the virtual objects to the head-mounted electronic device for output by the bead-mounted electronic devices;
in response to transmitting the visual image of the virtual objects to the head-mounted electronic device, verifying a first information of a theme corresponding to a color of the execution screen of the application displayed on the display and a second information of the visual image having been transmitted for output by the head-mounted electronic device; and
controlling at least one of a brightness and a saturation of the virtual objects in the visual image output on the head-mounted electronic device based on at least one of the first information of the theme and the second information of the visual image.