WO2023033301A1 - 가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치와 이의 동작 방법 - Google Patents

가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치와 이의 동작 방법 Download PDF

Info

Publication number
WO2023033301A1
WO2023033301A1 PCT/KR2022/006269 KR2022006269W WO2023033301A1 WO 2023033301 A1 WO2023033301 A1 WO 2023033301A1 KR 2022006269 W KR2022006269 W KR 2022006269W WO 2023033301 A1 WO2023033301 A1 WO 2023033301A1
Authority
WO
WIPO (PCT)
Prior art keywords
finger object
electronic device
key
virtual
finger
Prior art date
Application number
PCT/KR2022/006269
Other languages
English (en)
French (fr)
Inventor
오양근
손병준
안성주
윤성욱
박지윤
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020210133683A external-priority patent/KR20230036021A/ko
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to EP22864810.1A priority Critical patent/EP4325345A1/en
Priority to US17/749,610 priority patent/US11941180B2/en
Publication of WO2023033301A1 publication Critical patent/WO2023033301A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present disclosure relates to an electronic device that obtains a user input through a virtual keyboard and an operating method thereof.
  • the error rate of the virtual keyboard may be high.
  • the columns of the virtual keyboard are fixedly corresponded to each user's fingers without considering the position and degree of bending of the user's fingers, it is difficult to distinguish inputs for keys existing in the same column in the virtual keyboard. In addition, it can be difficult to change the layout of the virtual keyboard.
  • the electronic device provides a guide image for accurately detecting an input on a virtual keyboard, identifies a virtual key corresponding to the user's finger based on the position and degree of bending of the finger, and Based on the movement of the virtual key input or not can be determined.
  • an electronic device includes a camera, a display, and a processor, and the processor displays a second image determined based on a posture of the electronic device from a first image acquired using the camera. control the display to do so, detect a finger object from the second image, identify a first virtual key corresponding to the finger object from a virtual keyboard based on a position of the finger object and a degree of bending; and , Based on detecting the typing movement of the finger object, the input of the first virtual key may be identified.
  • a method of operating an electronic device controls a display of the electronic device to display a second image determined based on a posture of the electronic device from a first image acquired using a camera of the electronic device. an operation of detecting a finger object from the second image, an operation of identifying a first virtual key corresponding to the finger object from a virtual keyboard based on a position of the finger object and a degree of bending, and An operation of identifying an input of the first virtual key based on detecting a typing movement of the finger object.
  • an electronic device includes a camera, a display, and a processor, and the processor is based on a posture of the electronic device from a first image obtained through the camera while a first application is executed. Control the display to display the determined second image together with the virtual keyboard, and if the finger object detected from the second image does not satisfy a predetermined condition, the display to display a guide indicator corresponding to the predetermined condition and, when the finger object satisfies the predetermined condition, control the display to display a visual effect on a graphic user interface of a first virtual key corresponding to the finger object.
  • a virtual key to be input by a user is accurately identified based on the position and degree of bending of the user's finger, visual effects are provided to distinguish the identified virtual key from other virtual keys, and a virtual keyboard is provided.
  • An electronic device and an operating method of the electronic device that improve the convenience of a user's typing input on a virtual keyboard by providing a guide image for accurately detecting an input to a virtual keyboard may be provided.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
  • FIG. 2 is a flowchart illustrating a method of inputting a virtual key corresponding to a finger object by an electronic device according to various embodiments of the present disclosure.
  • FIG 3 illustrates an embodiment in which an electronic device displays a second image determined based on a posture of the electronic device, according to various embodiments of the present disclosure.
  • FIG. 4 illustrates an example in which an electronic device corresponds to each region of a second image with each key sequence of a virtual keyboard according to various embodiments of the present disclosure.
  • 5A illustrates a first embodiment in which an electronic device determines a key column corresponding to a finger object from a virtual keyboard, according to various embodiments of the present disclosure.
  • 5B illustrates a second embodiment in which an electronic device determines a key column corresponding to a finger object from a virtual keyboard, according to various embodiments of the present disclosure.
  • FIG. 6A illustrates a first embodiment in which an electronic device identifies a virtual key specified by a key row corresponding to a degree of bending of a finger object, according to various embodiments of the present disclosure.
  • FIG. 6B illustrates a second embodiment in which an electronic device identifies a virtual key specified by a key row corresponding to a degree of bending of a finger object, according to various embodiments of the present disclosure.
  • GUI 7 illustrates an embodiment in which an electronic device displays a visual effect on a virtual key corresponding to a finger object on graphical user interfaces (GUI) according to various embodiments of the present disclosure.
  • FIG. 8 is a flowchart illustrating a method of displaying, by an electronic device, text input through a virtual keyboard through a display according to various embodiments of the present disclosure.
  • FIG 9 illustrates an embodiment in which an electronic device displays an execution screen of a first application, a virtual keyboard, and a second image through a display, according to various embodiments of the present disclosure.
  • FIG. 10 illustrates an embodiment in which an electronic device displays a guide indicator according to various embodiments of the present disclosure.
  • FIG. 11 illustrates an embodiment in which an electronic device displays a visual effect on a GUI of a virtual key, according to various embodiments of the present disclosure.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.
  • the processor 120 for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor), or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) that may operate independently of or together with the main processor 121 .
  • main processor 121 eg, a central processing unit or an application processor
  • secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • image signal processor e.g., image signal processor, sensor hub processor, or communication processor.
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, image signal processor or communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where artificial intelligence is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, program 140) and commands related thereto.
  • the memory 130 may include volatile memory 132 or non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user).
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 may be a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, a : a local area network (LAN) communication module or a power line communication module).
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, a legacy communication module).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low latency
  • -latency communications can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.
  • eMBB peak data rate for eMBB realization
  • a loss coverage for mMTC realization eg, 164 dB or less
  • U-plane latency for URLLC realization eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • the antenna module may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 197 in addition to the radiator.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or part of operations executed in the electronic device 101 may be executed in one or more external devices among the external electronic devices 102 , 104 , and 108 .
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 .
  • the electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a flowchart illustrating a method of inputting a virtual key corresponding to a finger object by an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • an electronic device eg, the electronic device 101 of FIG. 1
  • the electronic device 101 receives a first image acquired using a camera (eg, the camera module 180 of FIG. 1).
  • the display 160 may be controlled to display the second image determined based on the posture of the electronic device 101 .
  • the electronic device 101 may display a second image representing optimal hand position information through the display 160 in order to accurately detect a typing input on the virtual keyboard.
  • the electronic device 101 uses a sensor module (eg, the sensor module 176 of FIG. 1 ) to determine the posture of the electronic device 101 . It can be identified, and a second image corresponding to a partial region can be determined based on the attitude of the electronic device 101 among the entire regions of the first image acquired using the camera 180 .
  • a sensor module eg, the sensor module 176 of FIG. 1
  • FIG 3 illustrates an embodiment in which the electronic device 101 displays a second image determined based on the posture of the electronic device 101 according to various embodiments of the present disclosure.
  • the electronic device 101 uses the sensor module 176 (eg, a gyro sensor) to determine the direction (eg, left) where the camera 180 is located and the electronic device 101.
  • the posture state of the electronic device 101 indicating the degree of tilt of the device 101 may be identified, and based on the identified posture state of the electronic device 101, among the entire area of the first image (eg, preview image) A second image 320 may be determined.
  • the electronic device 101 uses the sensor module 176 (eg, a gyro sensor) in a direction (eg, center) where the camera 180 is located. and identify a posture state of the electronic device 101 indicating a degree of tilt of the electronic device 101, and generate a second image 320 from the first image based on the identified posture state of the electronic device 101. can decide whether a posture state of the electronic device 101 indicating a degree of tilt of the electronic device 101.
  • the electronic device 101 uses the sensor module 176 (eg, a gyro sensor) in a direction (eg, right) where the camera 180 is located. and identify a posture state of the electronic device 101 indicating a degree of tilt of the electronic device 101, and generate a second image 320 from the first image based on the identified posture state of the electronic device 101.
  • the electronic device 101 may determine the size of the second image 320 based on the size of the first image.
  • the electronic device 101 determines the number of horizontal pixels (m) and vertical pixels (n) of the first image corresponding to the resolution of the camera 180. Based on this, the number of horizontal pixels (w) (eg, 2/m) and the number of vertical pixels (h) (eg, n/3) of the second image 320 may be determined. According to an embodiment, the size of the second image 320 may be predefined in a table when the electronic device 101 is manufactured and stored in a memory (eg, the memory 130 of FIG. 1 ).
  • the electronic device 101 may display the determined second image 320 through the guide area 310 .
  • the electronic device 101 presents a second image 320 cropped from the first image at a specific position (x, y) of the display 160. It can be displayed through the guide area 310 to be.
  • the position and size of the guide area 310 may be determined by the manufacturer of the electronic device 101 or according to a user input (eg, a drag input).
  • the electronic device 101 may detect a finger object from the second image 320.
  • the electronic device 101 may analyze the second image 320 to determine whether a finger object exists in the second image 320 . For example, referring to ⁇ 301> of FIG. 3 , the electronic device 101 may detect a finger object from the second image 320 being displayed through the guide area 310 .
  • the electronic device 101 uses at least one of an RGB camera (eg, a 2D camera) or a depth camera (eg, a 3D camera) of the camera 180 to capture three images of the finger object. Dimensional coordinate information can be identified.
  • the electronic device 101 may use the camera 180 to identify 3D coordinate information (x, y, z) of the tip of the finger object.
  • the electronic device 101 responds to the finger object from the virtual keyboard based on the location and degree of bending of the finger object. It is possible to identify a first virtual key that
  • the electronic device 101 may identify a plurality of areas from the second image 320, and key columns of the virtual keyboard. may correspond to the plurality of regions. According to an embodiment, the electronic device 101 may identify a plurality of areas having intervals determined based on the position of each finger object from the second image 320, and designate a key column of the virtual keyboard as the plurality of areas. Can correspond to dog areas.
  • FIG. 4 illustrates an example in which the electronic device 101 corresponds each key row of a virtual keyboard to each region of a second image, according to various embodiments of the present disclosure.
  • the electronic device 101 may identify the coordinates of the tip 401 of the third finger object (eg, the middle finger of the left hand), and determine the interval (eg, the middle finger of the left hand) based on the coordinates. : a3), and a third column (eg, E, D, C) of the virtual keyboard may correspond to the third area.
  • the electronic device 101 may correspond each key column of the virtual keyboard 410 to each area of the second image 320 .
  • the number of the plurality of regions may be the same as the number of key columns of the virtual keyboard 410 .
  • the electronic device 101 may identify a plurality of areas having respective predetermined intervals from the second image 320, and may correspond a key column of a virtual keyboard to the plurality of areas. there is.
  • the electronic device 101 may identify a first area having a predetermined interval (eg, a1) with respect to the first area from the second image 320, and display a virtual keyboard 410.
  • the first column eg, Q, A, Z) of ) may correspond to the first region.
  • Each of the predetermined intervals may be the same as or different from each other, and may be determined by the manufacturer of the electronic device 101 .
  • the electronic device 101 may determine a key column of the virtual keyboard 410 corresponding to a position of a finger object.
  • the electronic device 101 corresponds to key columns of the virtual keyboard 410 to a plurality of regions of the second image 320, and then detects a finger object from the second image 320. Based on this, it is possible to determine a key column of the virtual keyboard corresponding to the position of a specific part of the finger object.
  • the electronic device 101 may identify the coordinates of the tip 402 of the eighth finger object (eg, the middle finger of the right hand), and correspond to the eighth region to which the coordinates belong.
  • a key column (eg, an eighth column) of the virtual keyboard 410 may be determined as a key column corresponding to a position of an eighth finger object.
  • 5A illustrates a first embodiment in which the electronic device 101 determines a key column corresponding to a finger object from a virtual keyboard, according to various embodiments of the present disclosure.
  • a first finger object eg, the little finger of the left hand
  • a fourth finger object eg, the index finger of the left hand
  • the electronic device 101 displays the first to fourth regions of the virtual keyboard 410 corresponding to the first to fourth regions.
  • Columns to fourth columns may be determined as key columns corresponding to positions of first to fourth finger objects.
  • the electronic device 101 sets the seventh to tenth columns of the virtual keyboard 410 to the positions of the seventh finger object (eg, the index finger of the right hand) to the tenth finger object (eg, the little finger of the right hand). It can be determined as a key column corresponding to .
  • the electronic device 101 may change a key column corresponding to a location of a finger object based on a location change of the finger object.
  • the electronic device 101 sets a key column of the virtual keyboard 410 corresponding to the position of the finger object to a first position. You can change from a specific column to a second specific column. For example, referring to ⁇ 501> and ⁇ 502> of FIG. 5A, the electronic device 101 changes the distance between the user's hands from a first distance (eg, d1) to a second distance (eg, d2).
  • position coordinates of the first finger object (eg, the little finger of the left hand) to the fourth finger object (eg, the index finger of the left hand) belong to the second to fifth regions of the second image 320, respectively.
  • the electronic device 101 assigns key columns corresponding to positions of the first to fourth finger objects of the virtual keyboard 410 corresponding to the second to fifth areas. It can be changed to columns 2 to 5.
  • the electronic device 101 assigns key columns corresponding to positions of the seventh finger object (eg, the index finger of the right hand) to the tenth finger object (eg, the little finger of the right hand) on the virtual keyboard 410 at the sixth Column to ninth column can be changed.
  • the electronic device 101 may determine key columns of the virtual keyboard 410 corresponding to locations of other finger objects other than a predetermined finger object. For example, referring to ⁇ 501> and ⁇ 502> of FIG. 5A , the electronic device 101 includes other finger objects (eg, left and right thumbs) except for predetermined finger objects (eg, left and right thumbs). A key column of the virtual keyboard 410 corresponding to the position of the index finger or little finger may be determined. This is because, when a predetermined finger object (eg, thumb) corresponds to only one specific key (eg, space bar), it is not necessary to perform an operation of determining a key column to distinguish a plurality of keys.
  • a predetermined finger object eg, thumb
  • only one specific key eg, space bar
  • 5B illustrates a second embodiment in which the electronic device 101 determines a key column corresponding to a finger object from a virtual keyboard, according to various embodiments of the present disclosure.
  • the electronic device 101 may determine a key column of the virtual keyboard 410 corresponding to a previously set position of a finger object. For example, referring to FIG. 5B , the electronic device 101 sets coordinates of tips of a fourth finger object (eg, left index finger) and a seventh finger object (eg, right index finger), which are preset finger objects. It can be identified, and key columns (eg, a fourth column and a seventh column) of the virtual keyboard 410 corresponding to regions to which the coordinates belong can be determined as key columns corresponding to the preset finger object.
  • a fourth finger object eg, left index finger
  • a seventh finger object eg, right index finger
  • the electronic device 101 (eg, the processor 120 of FIG. 1 ) includes a key column corresponding to a position of a finger object and a key row corresponding to a degree of bending of the finger object. key row), a first virtual key corresponding to the finger object may be identified.
  • FIG. 6A illustrates a first embodiment in which the electronic device 101 identifies a virtual key specified by a key row corresponding to a degree of bending of a finger object, according to various embodiments of the present disclosure.
  • the electronic device 101 uses at least two coordinates of the finger object from the second image 320 to identify the degree of bending of the finger object. can do.
  • the electronic device 101 provides coordinate information (eg, p1(x1, y1, z1) of a predetermined part of a third finger object (eg, the middle finger of the left hand) from the second image 320. ), p2 (x2, y2, z2), p3 (x3, y3, z3)) can be detected, and by using two coordinate information (eg p1, p3) among the coordinate information, the third finger object The degree of bending can be identified.
  • the electronic device 101 may identify a degree of bending of the finger object based on a distance between at least two coordinates of the finger object. According to an embodiment, the electronic device 101 determines that a first distance between a first coordinate and a second coordinate of a finger object along a first axis exceeds a first threshold and a second distance along a second axis exceeds a first threshold value. If the value is less than 2, the degree of bending of the finger object may be determined as a first bending state.
  • FIG. 6B illustrates a second embodiment in which the electronic device 101 identifies a virtual key specified by a key row corresponding to a degree of bending of a finger object, according to various embodiments of the present disclosure.
  • the electronic device 101 provides a first distance between the first coordinate p1 and the second coordinate p3 of the third finger object (eg, the middle finger of the left hand) along the x-axis.
  • the third finger object eg, the middle finger of the left hand
  • the second distance eg z3-z1 on the z axis between the first coordinate p1 and the second coordinate p3 is the second threshold value
  • the degree of bending of the third finger object may be determined as the first bending state.
  • the electronic device 101 determines that a first distance between the first coordinate and the second coordinate of the finger object along a first axis is less than a third threshold and a second distance along the second axis is a fourth When the threshold value is exceeded, the degree of bending of the finger object may be determined as a third bending state.
  • the electronic device 101 provides a first distance between the first coordinate p1 and the second coordinate p3 of the third finger object (eg, the middle finger of the left hand) along the x-axis.
  • the third finger object eg, the middle finger of the left hand
  • the second distance eg z3-z1 in the z-axis between the first coordinate p1 and the second coordinate value p3 exceeds the fourth threshold value. If it exceeds, the degree of bending of the third finger object may be determined as a third bending state.
  • the electronic device 101 may determine the second bent state when the degree of bending of the finger object is not the first bent state and the third bent state.
  • the electronic device 101 provides a first distance between the first coordinate p1 and the second coordinate p3 of the third finger object (eg, the middle finger of the left hand) along the x-axis.
  • x3-x1 is a value between the third threshold and the first threshold
  • the second distance between the first coordinate (p1) and the second coordinate (p3) in the z axis eg: When z3-z1) is a value between the second threshold and the fourth threshold, the degree of bending of the third finger object may be determined as the second bending state.
  • the first threshold value may be greater than the third threshold value
  • the fourth threshold value may be greater than the second threshold value.
  • the first to fourth threshold values for each finger object may be set differently for each finger object. For example, a first threshold value for a first finger object may be different from a first threshold value for a second finger object.
  • the electronic device 101 determines a degree of bending of the finger object, among a plurality of virtual keys included in a key column corresponding to a position of the finger object.
  • a first virtual key specified by the key row may be identified.
  • the electronic device 101 identifies a key in a first row corresponding to a first bent state of the finger object as a first virtual key among a plurality of virtual keys included in a key column corresponding to a position of the finger object. can do.
  • the electronic device 101 includes a plurality of virtual objects included in a fourth column of the virtual keyboard 410 corresponding to coordinates of a fourth finger object (eg, a left index finger).
  • a key (eg, R) of a first row corresponding to a first bent state of the fourth finger object may be identified as a first virtual key.
  • the electronic device 101 identifies a key in a second row corresponding to a second bent state of the finger object as a first virtual key among a plurality of virtual keys included in a key column corresponding to a position of the finger object. can do.
  • the electronic device 101 includes a plurality of virtual objects included in a fourth column of the virtual keyboard 410 corresponding to coordinates of a fourth finger object (eg, a left index finger).
  • a key (eg, F) of a second row corresponding to the second bent state of the fourth finger object may be identified as a first virtual key.
  • the electronic device 101 identifies a key in a third row corresponding to a third bent state of the finger object as a first virtual key among a plurality of virtual keys included in a key column corresponding to a position of the finger object. can do.
  • the electronic device 101 includes a plurality of virtual objects included in a fourth column of the virtual keyboard 410 corresponding to coordinates of a fourth finger object (eg, a left index finger).
  • a fourth finger object eg, a left index finger.
  • the keys eg, R, F, and V
  • a key (eg, V) of a third row corresponding to a third bent state of the fourth finger object may be identified as a first virtual key.
  • the electronic device 101 determines the confidence value of the finger object among a plurality of virtual keys included in the key column corresponding to the position of the finger object.
  • the second virtual key specified by the key row corresponding to can be identified.
  • the confidence value corresponds to a value near each threshold value (eg, a first threshold value to a fourth threshold value) where a first distance on the x-axis and/or a second distance on the z-axis of the finger object corresponds to a value near the first virtual key.
  • a first threshold value to a fourth threshold value When the reliability of p is low, information for selecting a second virtual key as a candidate virtual key in addition to the first virtual key may be indicated.
  • the electronic device 101 may identify confidence values of virtual keys other than the first virtual key among a plurality of virtual keys included in the key column corresponding to the position of the finger object. For example, referring to ⁇ 501> of FIG. 5A, when a first virtual key (eg, F) is specified based on the position and degree of bending of a fourth finger object (eg, the index finger of the left hand), the electronic device (101) may identify the confidence values of the remaining virtual keys (eg, R, V). According to an embodiment, the electronic device 101 may identify a second virtual key having a confidence value exceeding a preset value or having the highest confidence value among the remaining virtual keys.
  • a first virtual key eg, F
  • the electronic device (101) may identify the confidence values of the remaining virtual keys (eg, R, V).
  • the electronic device 101 may identify a second virtual key having a confidence value exceeding a preset value or having the highest confidence value among the remaining virtual keys.
  • the electronic device 101 may identify a second virtual key (eg, V) having a confidence value exceeding a preset value or having the highest confidence value among the remaining virtual keys (eg, R and V).
  • a second virtual key eg, V
  • the electronic device 101 identifies a confidence value of each of a plurality of virtual keys included in a key column corresponding to the finger object by using a deep learning model learned based on the degree of bending of the finger object.
  • FIG. 7 illustrates an embodiment in which the electronic device 101 displays visual effects on a GUI of a virtual key corresponding to a finger object, according to various embodiments of the present disclosure.
  • the electronic device 101 may control the display 160 to display a visual effect on a graphical user interface (GUI) of the first virtual key.
  • GUI graphical user interface
  • the electronic device 101 A visual effect 720 eg, yellow highlight
  • the electronic device 101 may control the display 160 to display visual effects on the GUI of the first virtual key and the second virtual key.
  • a first virtual key (eg, E) is specified based on the position and degree of bending of a fourth finger object (eg, a left index finger), and a confidence value of the fourth finger object.
  • the second virtual key (eg, V) is specified based on the first virtual key (eg, E) and the second virtual key (eg, V) in the GUI 710 of the virtual keyboard
  • the electronic device 101 A visual effect 730 (eg, yellow highlight) may be displayed on the GUI of the .
  • the electronic device 101 detects a typing movement of a finger object, and first creates a first virtual typing movement. Key input can be identified.
  • the electronic device 101 may detect a typing movement of the finger object based on a movement of a specific part of the finger object downward by a predetermined distance or more.
  • the z-axis coordinate (eg, z1) of the tip of the third finger object is in a downward direction (eg, -z-axis direction).
  • the typing movement of the third finger object may be detected based on a change of more than a predetermined distance with respect to .
  • the electronic device 101 may detect a plane object from the second image 320, and when a specific part of the finger object contacts the plane object or enters below a specific reference line, the finger object It is possible to detect the typing movement of
  • the z-axis coordinate (eg z1) of the tip of the third finger object constitutes a flat object (eg, a desk surface).
  • the typing movement of the third finger object may be detected when it coincides with the z-axis coordinate of the third finger object or is positioned below the reference line 610 determined based on the positions of the plane object and the third finger object.
  • the electronic device 101 may identify an input of a specified first wake-up key based on the location and degree of bending of the finger object. For example, referring to ⁇ 501> of FIG. 5A , when a typing movement of a third finger object (eg, the middle finger of the left hand) is detected, a first specified third finger object is determined based on the position and degree of bending of the third finger object.
  • the input of a virtual key e.g. D
  • the electronic device 101 when the electronic device 101 detects a predetermined number of typing movements of a finger object or detects a typing movement of the finger object together with an input of another virtual key, the electronic device 101 detects a key previously designated for the finger object.
  • the input of the virtual key specified by the row can be identified. For example, referring to ⁇ 501> of FIG. 5A, the electronic device 101 detects two typing movements (eg, double strokes) of the third finger object or another virtual key (eg, shift key).
  • the degree of bending of the third finger object is not identified, and the key row specified in advance (eg, the third row) for the third finger object is specified. It can identify the input of a virtual key (e.g. C).
  • the electronic device 101 detects the typing movement of the finger object, and then, based on the degree of subsequent bending of the finger object, determines a value corresponding to the finger object. It is possible to determine whether to identify an input of the first virtual key.
  • the electronic device 101 may calculate first typing probabilities of a plurality of virtual keys included in a key column corresponding to a position of a finger object, based on a degree of subsequent bending of the finger object.
  • the electronic device 101 may identify a degree of subsequent bending of the finger object using at least two coordinates of the finger object.
  • the electronic device 101 may identify the degree of subsequent bending of the finger object by using the 'operation of identifying the degree of bending of the finger object' described in operation 205 .
  • the electronic device 101 detects a typing movement of a first finger object (eg, the little finger of the left hand), and then based on the degree of subsequent bending of the first finger object.
  • the first typing probability eg, p(Q), p(A), p(Z)
  • the electronic device 101 may calculate a second typing probability obtained by applying a weight to the first typing probability of each of a plurality of virtual keys. For example, the electronic device 101 calculates a second typing probability (eg, p(Q)*w1) obtained by applying a first weight w1 to the first typing probability of a first virtual key (eg, Q); , A second typing probability (eg, p(A)*w2) obtained by applying a second weight w2 to the first typing probability of a second virtual key (eg, A) is calculated, and a third virtual key (eg, Z ), the second typing probability (eg, p(Z)*w3) may be calculated by applying the third weight w3 to the first typing probability.
  • a second typing probability eg, p(Q)*w1
  • a second typing probability eg, p(A)*w2
  • a third virtual key eg, Z
  • the second typing probability eg, p(Z)*w3
  • the electronic device 101 may apply the highest weight to the first typing probability of the first virtual key corresponding to the finger object.
  • the electronic device 101 may apply the highest weight to the first typing probability of the first virtual key corresponding to the finger object.
  • the first virtual key eg, Q
  • the electronic device 101 may apply the highest weight to the first typing probability of the first virtual key.
  • the values of the second weight w2 and the third weight w3 may be lower than the value of the first weight w1 and may be the same as or different from each other.
  • the electronic device 101 assigns the highest value to the first weight w1 and the same value to the second weight w2 and the third weight w3, so that the first finger object (eg, As the second typing probability of the left hand little finger), p(Q)*w1, p(A)*w2 (e.g. (1-w1)/2), p(Z)*w3 (e.g. (1-w1) /2) can be calculated.
  • the first weight value applied to the first typing probability of the first virtual key may be greater than 0.5 and less than 1, and may be set by the manufacturer or user of the electronic device 101 .
  • the electronic device 101 identifies an input of the first virtual key. can decide
  • the electronic device 101 performs an operation corresponding to the input of the first virtual key (eg, displaying a character assigned to the first virtual key) based on identifying the input of the first virtual key. can do.
  • the electronic device 101 displays a word related to a character assigned to the first virtual key through the display 160 by using an auto-completion algorithm based on the identification of the input of the first virtual key. can do.
  • the automatic word completion algorithm may use an algorithm known to those skilled in the art.
  • the electronic device 101 may learn an input pattern of the first virtual key by monitoring the input of the first virtual key, and when an input of the first virtual key is detected more than a predetermined frequency, the first virtual key input is detected.
  • a weight applied to the first typing probability of 1 virtual key may be increased.
  • the electronic device 101 sets a weight value applied to the first typing probability of the first virtual key. and increase the value of the weight applied to the first typing probability of another virtual key input after the deletion of the first virtual key.
  • the electronic device 101 may determine an input effect provided when a virtual key is input, based on the type of the virtual key. For example, the electronic device 101 performs a first input effect (eg, vibration) through the electronic device 101 based on an input of a virtual key of a first type (eg, a space bar, an enter key, and a delete key).
  • a first input effect eg, vibration
  • a virtual key of a first type eg, a space bar, an enter key, and a delete key.
  • a second input effect eg, highlight
  • a third input effect eg, sound
  • FIG. 8 is an electronic device (eg, the electronic device 101 of FIG. 1 ) displays text input through a virtual keyboard (eg, the display module 160 of FIG. 1 ) according to various embodiments of the present disclosure. It is a flow chart to explain how to display through.
  • a virtual keyboard eg, the display module 160 of FIG. 1
  • the electronic device 101 operates a camera (eg, the camera module 180 of FIG. 1) while executing the first application.
  • the display 160 may be controlled to display a second image (eg, the second image 320 of FIG. 3 ) determined based on the posture of the electronic device 101 from the first image obtained through the virtual keyboard.
  • a first application 900 eg, a message application
  • the second image 320 corresponding to the specific region determined based on the posture of (101) may be displayed on the display 160 together with the virtual keyboard 910.
  • the electronic device 101 may select the second image 320 from the first image using the method described in operation 201 of FIG. 2 .
  • the electronic device 101 displays the execution screen of the first application 900, the virtual keyboard 910, and the second image 320 through the display 160 according to a preset layout.
  • FIG 9 illustrates an embodiment in which the electronic device 101 displays an execution screen of a first application, a virtual keyboard, and a second image through the display 160 according to various embodiments of the present disclosure.
  • the electronic device 101 displays the execution screen of the first application 900 on the top of the display 160 according to a preset layout, and displays the virtual keyboard 910 ( 160), and the second image 320 may be displayed on the lower right side of the display 160 adjacent to the virtual keyboard 910.
  • the electronic device 101 displays the display positions of the execution screen of the first application 900, the virtual keyboard 910, and the second image 320, respectively, according to a user input (eg, a drag input). /or the layout regarding the display size can be changed.
  • the electronic device 101 may determine whether the finger object detected from the second image 320 satisfies a predetermined condition. there is.
  • the electronic device 101 may determine that the finger object satisfies a predetermined condition. For example, when the electronic device 101 detects a third finger object (eg, the middle finger of the left hand) and an eighth finger object (eg, the middle finger of the right hand) as predetermined finger objects from the second image 320, the electronic device 101 detects the It may be determined that the finger object satisfies a predetermined condition. As another example, the electronic device 101 detects all of the first finger object (eg, the little finger of the left hand) to the tenth finger object (eg, the little finger of the right hand) as predetermined finger objects from the second image 320.
  • a predetermined condition e.g., the electronic device 101 detects the It may be determined that the finger object satisfies a predetermined condition.
  • the electronic device 101 detects all of the first finger object (eg, the little finger of the left hand) to the tenth finger object (eg, the little finger of the right hand) as predetermined finger objects from the second
  • the electronic device 101 may determine that the finger object does not satisfy a predetermined condition.
  • the ratio of the size of a specific part of the finger object to the size of the second image 320 is If the ratio exceeds 1 threshold and is less than the second threshold, the electronic device 101 may determine that the finger object satisfies a predetermined condition. For example, the electronic device 101 determines the size of the tip of the third finger object (eg, the middle finger of the left hand) relative to the size (eg, a*b pixels) of the area of the second image 320 (eg, c). When the ratio of *d pixels) exceeds a first threshold ratio (eg, 0.1) and is less than a second threshold ratio (eg, 0.2), it may be determined that the finger object satisfies a predetermined condition.
  • a first threshold ratio eg, 0.1
  • a second threshold ratio eg, 0.2
  • the electronic device 101 determines the average size (eg, e*f pixels) of tips of a plurality of finger objects relative to the size (eg, a*b pixels) of the area of the second image 320 .
  • the ratio of exceeds the first critical ratio (eg, 0.1) and is less than the second critical ratio (eg, 0.2) it may be determined that the finger object satisfies a predetermined condition.
  • the electronic device 101 determines the condition of the finger object. may be determined to be unsatisfactory.
  • the ratio of the size of a specific part of the finger object to the size of the second image 320 is If the ratio exceeds the third threshold ratio and is less than the fourth threshold ratio, the electronic device 101 may determine that the finger object satisfies a predetermined condition.
  • the third critical ratio may be smaller than the first critical ratio
  • the fourth critical ratio may be smaller than the second critical ratio.
  • the third critical ratio may be 1/2 of the first critical ratio
  • the fourth critical ratio may be 1/2 of the second critical ratio.
  • the electronic device 101 determines the condition of the finger object. may be determined to be unsatisfactory.
  • the electronic device 101 determines the predetermined condition.
  • the display 160 may be controlled to display a guide indicator corresponding to .
  • FIG. 10 illustrates an embodiment in which the electronic device 101 displays a guide indicator according to various embodiments of the present disclosure.
  • the electronic device 101 may control the display 160 to display a guide indicator corresponding to the predetermined finger object. For example, referring to ⁇ 1001> of FIG. 10 , when the electronic device 101 does not detect a tenth finger object (eg, the little finger of the right hand) from the second image 320, the electronic device 101 responds to the tenth finger object. As a guide indicator for displaying, the first guide indicator 1011 and/or the second guide indicator 1012 may be displayed through the display 160 .
  • a guide indicator for displaying the first guide indicator 1011 and/or the second guide indicator 1012 may be displayed through the display 160 .
  • the electronic device 101 determines the size corresponding to the finger object.
  • the display 160 may be controlled to display a guide indicator. For example, referring to ⁇ 1002> of FIG. 10 , the electronic device 101 determines that the size of the tip of a third finger object (eg, the middle finger of the left hand) from the second image 320 is the second image 320.
  • a third finger object eg, the middle finger of the left hand
  • the first guide indicator 1021 and/or the second guide indicator 1022 are used as guide indicators corresponding to the third finger object. It can be displayed through the display 160.
  • the electronic device 101 when the finger object detected from the second image 320 satisfies a predetermined condition, the electronic device 101 (eg, the processor 120 of FIG. 1 ) assigns the finger object to the finger object.
  • the display 160 may be controlled to display a visual effect on a GUI of a corresponding first virtual key.
  • the electronic device 101 may identify the first virtual key corresponding to the finger object using the method described in operation 205 of FIG. 2 .
  • FIG 11 illustrates an embodiment in which the electronic device 101 displays a visual effect on a GUI of a virtual key, according to various embodiments of the present disclosure.
  • the electronic device 101 when the finger object detected from the second image 320 satisfies a predetermined condition, the electronic device 101 provides a GUI of a first wake-up key specified based on the location and degree of bending of the finger object.
  • Visual effects can be displayed on the screen.
  • the electronic device 101 when each finger object detected from the second image 320 satisfies a predetermined condition, the electronic device 101 based on the position and degree of bending of each finger object A visual effect 1110 (eg, yellow highlight) may be displayed on the GUI of each specified virtual key.
  • the electronic device 101 may identify the second virtual key corresponding to the finger object using the method described in operation 205 of FIG.
  • the display 160 may be controlled to display visual effects on the GUI.
  • the electronic device 101 may identify the input of the first virtual key based on detecting the typing movement of the finger object.
  • the electronic device 101 may identify the input of the first virtual key using the method described in operation 207 .
  • the electronic device 101 responds to an input of a first virtual key on the typing input area 901 of the first application 900 based on detecting a typing movement of a finger object.
  • a corresponding operation eg, displaying a character assigned to the first virtual key may be performed.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • non-transitory only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and this term refers to the case where data is stored semi-permanently in the storage medium and temporarily It does not distinguish when it is stored.
  • a signal e.g., electromagnetic waves
  • the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play Store TM
  • It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • at least part of the computer program product may be temporarily stored or temporarily created in a storage medium readable by a device such as a manufacturer's server, an application store server, or a relay server's memory.
  • each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is.
  • one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg modules or programs
  • the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
  • an electronic device may include a camera (eg, the camera module 180 of FIG. 1 ) and a display (eg, the display module 160 of FIG. 1 ). , and a processor (eg, the processor 120 of FIG. 1 ), wherein the processor includes a second image determined based on the posture of the electronic device 101 from a first image acquired using the camera 180. Controls the display 160 to display an image, detects a finger object from the second image, and based on the location of the finger object and the degree of bending, a first object corresponding to the finger object from a virtual keyboard. 1 virtual key may be identified and an input of the first virtual key may be identified based on detecting a typing movement of the finger object.
  • the processor identifies, from the second image, a plurality of regions having an interval determined or a predetermined interval based on the location of each finger object, and a key column of the virtual keyboard. ) may be set to correspond to the plurality of regions.
  • the number of the plurality of areas may be equal to the number of key columns of the virtual keyboard.
  • the processor may be configured to determine a key column of the virtual keyboard corresponding to the position of the finger object.
  • the processor identifies coordinate information of a specific part of the finger object using the camera, and corresponds to a key column corresponding to a region to which the coordinate information belongs to the position of the finger object. It can be set to determine with the key column.
  • the processor is configured to identify the first virtual key specified by a key row corresponding to the degree of bending of the finger object from among a plurality of virtual keys included in the key column. can be set.
  • the processor may be configured such that a first distance between a first coordinate and a second coordinate of the finger object along a first axis exceeds a first threshold value, and a second distance along a second axis is When the degree of bending of the finger object is less than a second threshold, determining a degree of bending of the finger object as a first bending state, and identifying a key in a first row corresponding to the first bending state among the plurality of virtual keys as the first virtual key.
  • the finger object A degree of bending is determined as a second bent state
  • a key in a second row corresponding to the second bent state is identified as the first virtual key among the plurality of virtual keys
  • the first distance of the finger object is determined.
  • a degree of bending of the finger object is determined as a third bending state
  • the third bending among the plurality of virtual keys is determined. set to identify a key in a third row corresponding to a state as the first virtual key, the first threshold value being greater than the third threshold value, and the fourth threshold value being greater than the second threshold value.
  • the processor may be set to detect the typing movement of the finger object based on a movement of a specific part of the finger object downward by a predetermined distance or more.
  • the processor may be configured to control the display to display a visual effect on a graphical user interface (GUI) of the first virtual key.
  • GUI graphical user interface
  • the processor controls the display to display a first guide indicator corresponding to the predetermined finger object when the predetermined finger object is not detected from the second image, and the second image
  • the display may be set to be controlled to display a second guide indicator corresponding to the finger object.
  • a method of operating an electronic device controls a display of the electronic device to display a second image determined based on a posture of the electronic device from a first image acquired using a camera of the electronic device. an operation of detecting a finger object from the second image, an operation of identifying a first virtual key corresponding to the finger object from a virtual keyboard based on a position of the finger object and a degree of bending, and An operation of identifying an input of the first virtual key based on detecting a typing movement of the finger object.
  • the operating method of the electronic device may include identifying, from the second image, a plurality of regions having an interval determined based on the position of each finger object or a plurality of regions having a predetermined interval; and An operation of corresponding a key column to the plurality of regions may be further included.
  • the operation of identifying the first virtual key may include determining a key column of the virtual keyboard corresponding to the position of the finger object. .
  • the determining of the key column of the virtual keyboard may include identifying coordinate information of a specific part of the finger object using the camera, and key column corresponding to the region to which the coordinate information belongs. It may include an operation of determining as the key column corresponding to the position of the finger object.
  • the operation of identifying the first virtual key may include the key row specified by a key row corresponding to the degree of bending of the finger object among a plurality of virtual keys included in the key column. and identifying the first virtual key.
  • the operation of identifying the first virtual key may include a first distance along a first axis between a first coordinate and a second coordinate of the finger object exceeding a first threshold, and a second When the second distance to the axis is less than a second threshold value, a degree of bending of the finger object is determined as a first bent state, and keys in a first row corresponding to the first bent state are selected from among the plurality of virtual keys. Identifying as the first virtual key, wherein the first distance of the finger object is a value between the first threshold value and a third threshold value, and the second distance is a value between the second threshold value and a fourth threshold value.
  • the value may be greater than the second threshold.
  • the operating method of the electronic device may further include an operation of detecting the typing movement of the finger object based on a movement of a specific part of the finger object downward by a predetermined distance or more.
  • the operating method of the electronic device may further include controlling the display to display a visual effect on a graphical user interface (GUI) of the first virtual key.
  • GUI graphical user interface
  • an electronic device includes a camera, a display, and a processor, and the processor is based on a posture of the electronic device from a first image obtained through the camera while a first application is executed. Control the display to display the determined second image together with the virtual keyboard, and if the finger object detected from the second image does not satisfy a predetermined condition, the display to display a guide indicator corresponding to the predetermined condition and, when the finger object satisfies the predetermined condition, control the display to display a visual effect on a graphic user interface of a first virtual key corresponding to the finger object.

Abstract

카메라, 디스플레이, 및 프로세서를 포함하는 전자 장치가 개시된다. 상기 프로세서는, 상기 카메라를 이용하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 표시하도록 상기 디스플레이를 제어하고, 상기 제2 영상으로부터 손가락 오브젝트를 검출하고, 상기 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 상기 손가락 오브젝트에 대응하는 제1 가상 키를 식별하고, 상기 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 상기 제1 가상 키의 입력을 식별하도록 설정될 수 있다. 그 밖의 실시예들도 가능할 수 있다.

Description

가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치와 이의 동작 방법
본 개시는 가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치 및 그 동작 방법에 관한 것이다.
최근 기술의 발전으로 인해 다양한 전자 기기들에 카메라가 탑재되는 것이 대중화되고 있다. 휴대용 기기에서는 온 스크린(On Screen) 키보드, 휴대용 물리 키보드, 음성 키보드와 같은 인터페이스를 통해 문자를 입력하여 이메일 작성, 보고서 작성, 메신저를 이용한 채팅, 콘텐츠 생산 등의 작업들이 수행될 수 있다.
전자 장치의 자세를 고려하지 않고, 카메라를 통하여 획득한 영상을 이용하여 일률적으로 가상 키보드에 대한 사용자의 손의 움직임을 검출할 경우, 가상 키보드의 오타율이 높을 수 있다. 또한, 사용자 손가락의 위치 및 구부림(bending)의 정도를 고려하지 않고, 사용자 손가락 별로 가상 키보드의 열(column)을 고정적으로 대응시킬 경우, 가상 키보드 내의 동일한 열에 존재하는 키들에 대한 입력을 구별하기 어려울 뿐만 아니라, 가상 키보드의 레이아웃을 변경하기가 어려울 수 있다.
다양한 실시예들에 따르면, 전자 장치는 가상 키보드에 대한 입력을 정확하게 검출하기 위한 가이드 영상을 제공하고, 사용자의 손가락의 위치 및 구부림의 정도에 기반하여 상기 손가락에 대응하는 가상 키를 식별하고, 손가락의 움직임에 기반하여 가상 키의 입력 여부를 결정할 수 있다.
본 개시는 상기 언급된 문제점 및 단점을 해결하고, 적어도 후술하는 이점을 제공하기 위해 이루어졌다.
다양한 실시예들에 따라서, 전자 장치는, 카메라, 디스플레이, 및 프로세서를 포함하고, 상기 프로세서는, 상기 카메라를 이용하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 표시하도록 상기 디스플레이를 제어하고, 상기 제2 영상으로부터 손가락 오브젝트를 검출하고, 상기 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 상기 손가락 오브젝트에 대응하는 제1 가상 키를 식별하고, 상기 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 상기 제1 가상 키의 입력을 식별하도록 설정될 수 있다.
다양한 실시예들에 따라서, 전자 장치의 동작 방법은, 상기 전자 장치의 카메라를 이용하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 표시하도록 상기 전자 장치의 디스플레이를 제어하는 동작, 상기 제2 영상으로부터 손가락 오브젝트를 검출하는 동작, 상기 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 상기 손가락 오브젝트에 대응하는 제1 가상 키를 식별하는 동작, 및 상기 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 상기 제1 가상 키의 입력을 식별하는 동작을 포함할 수 있다.
다양한 실시예들에 따라서, 전자 장치는, 카메라, 디스플레이, 및 프로세서를 포함하고, 상기 프로세서는, 제1 어플리케이션을 실행하는 동안, 상기 카메라를 통하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 가상 키보드와 함께 표시하도록 상기 디스플레이를 제어하고, 상기 제2 영상으로부터 검출된 손가락 오브젝트가 정해진 조건을 만족하지 않은 경우, 상기 정해진 조건에 대응하는 가이드 인디케이터를 표시하도록 상기 디스플레이를 제어하고, 및 상기 손가락 오브젝트가 상기 정해진 조건을 만족하는 경우, 상기 손가락 오브젝트에 대응하는 제1 가상 키의 그래픽 사용자 인터페이스 상에 시각 효과를 표시하도록 상기 디스플레이를 제어하도록 설정될 수 있다.
다양한 실시예들에 따르면, 사용자의 손가락의 위치 및 구부림의 정도에 기반하여 사용자가 입력하고자 하는 가상 키를 정확하게 식별하고, 식별된 가상 키가 다른 가상 키와 구별되도록 시각 효과를 제공하고, 가상 키보드에 대한 입력을 정확하게 검출하기 위한 가이드 영상을 제공함으로써, 가상 키보드에 대한 사용자의 타이핑 입력의 편의성을 향상시키는 전자 장치 및 그 동작 방법이 제공될 수 있다.
본 개시의 특정 실시예의 상기 및 다른 측면, 특징, 및 이점은 첨부된 도면과 함께 취해진 다음의 설명으로부터 더 명백할 것이다.
도 1은 본 개시의 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 개시의 다양한 실시예들에 따른, 전자 장치가 손가락 오브젝트에 대응하는 가상 키를 입력하는 방법을 설명하기 위한 흐름도이다.
도 3은 본 개시의 다양한 실시예들에 따른, 전자 장치가 전자 장치의 자세에 기반하여 결정된 제2 영상을 표시하는 실시예를 나타낸다.
도 4는 본 개시의 다양한 실시예들에 따른, 전자 장치가 제2 영상의 각 영역에 가상 키보드의 각 키열을 대응시키는 실시예를 나타낸다.
도 5a는 본 개시의 다양한 실시예들에 따른, 전자 장치가 가상 키보드로부터 손가락 오브젝트에 대응하는 키 열을 결정하는 제1 실시예를 나타낸다.
도 5b는 본 개시의 다양한 실시예들에 따른, 전자 장치가 가상 키보드로부터 손가락 오브젝트에 대응하는 키 열을 결정하는 제2 실시예를 나타낸다.
도 6a는 본 개시의 다양한 실시예들에 따른, 전자 장치가 손가락 오브젝트의 구부림의 정도에 대응하는 키 행에 의하여 특정된 가상 키를 식별하는 제1 실시예를 나타낸다.
도 6b는 본 개시의 다양한 실시예들에 따른, 전자 장치가 손가락 오브젝트의 구부림의 정도에 대응하는 키 행에 의하여 특정된 가상 키를 식별하는 제2 실시예를 나타낸다.
도 7은 본 개시의 다양한 실시예들에 따른, 전자 장치가 손가락 오브젝트에 대응하는 가상 키의 GUI(graphical user interfaces) 상에 시각 효과를 표시하는 실시예를 나타낸다.
도 8은 본 개시의 다양한 실시예들에 따른, 전자 장치가 가상 키보드를 통하여 입력된 텍스트를 디스플레이를 통하여 표시하는 방법을 설명하기 위한 흐름도이다.
도 9는 본 개시의 다양한 실시예들에 따른, 전자 장치가 제1 어플리케이션의 실행 화면, 가상 키보드, 및 제2 영상을 디스플레이를 통하여 표시하는 실시예를 나타낸다.
도 10은 본 개시의 다양한 실시예들에 따른, 전자 장치가 가이드 인디케이터를 표시하는 실시예를 나타낸다.
도 11은 본 개시의 다양한 실시예들에 따른, 전자 장치가 가상 키의 GUI 상에 시각 효과를 표시하는 실시예를 나타낸다.
본 개시의 다양한 실시예들은 첨부된 도면을 참조하여 설명된다. 그러나, 본 개시의 다양한 실시예들은 특정 실시예에 제한되지 않으며, 여기에 기재된 실시예의 변형, 등가 및/또는 대안이 다양하게 이루어질 수 있음을 이해해야 한다. 도면에 대한 설명과 관련하여 유사한 구성 요소는 유사한 참조 숫자로 표시 될 수 있습니다.
도 1은, 본 개시의 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
 일 실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104 또는 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.  전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2는 본 개시의 다양한 실시예들에 따른, 전자 장치(예: 도 1의 전자 장치(101))가 손가락 오브젝트에 대응하는 가상 키를 입력하는 방법을 설명하기 위한 흐름도이다.
201 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 카메라(예: 도 1의 카메라 모듈(180))를 이용하여 획득한 제1 영상으로부터 전자 장치(101)의 자세에 기반하여 결정된 제2 영상을 표시하도록 디스플레이(160)를 제어할 수 있다. 전자 장치(101)는 가상 키보드에 대한 타이핑 입력을 정확하게 검출하기 위하여 최적의 손 위치 정보를 나타내는 제2 영상을 디스플레이(160)를 통하여 표시할 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 센서 모듈(예: 도 1의 센서 모듈(176))을 이용하여, 전자 장치(101)의 자세를 식별할 수 있고, 카메라(180)를 이용하여 획득한 제1 영상의 전체 영역 중에서 전자 장치(101)의 자세에 기반하여, 일부 영역에 대응하는 제2 영상을 결정할 수 있다.
도 3은 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 전자 장치(101)의 자세에 기반하여 결정된 제2 영상을 표시하는 실시예를 나타낸다.
예를 들어, 도 3의 <301>을 참조하면, 전자 장치(101)는 센서 모듈(176)(예: 자이로 센서)을 이용하여, 카메라(180)가 위치하는 방향(예: 왼쪽) 및 전자 장치(101)가 기울어진 정도를 나타내는 전자 장치(101)의 자세 상태를 식별할 수 있고, 식별된 전자 장치(101)의 자세 상태에 기반하여 제1 영상(예: 프리뷰 영상)의 전체 영역 중에서 제2 영상(320)을 결정할 수 있다.
또 다른 예를 들어, 도 3의 <302>를 참조하면, 전자 장치(101)는 센서 모듈(176)(예: 자이로 센서)을 이용하여, 카메라(180)가 위치하는 방향(예: 중앙) 및 전자 장치(101)가 기울어진 정도를 나타내는 전자 장치(101)의 자세 상태를 식별할 수 있고, 식별된 전자 장치(101)의 자세 상태에 기반하여 제1 영상으로부터 제2 영상(320)을 결정할 수 있다. 
또 다른 예를 들어, 도 3의 <303>을 참조하면, 전자 장치(101)는 센서 모듈(176)(예: 자이로 센서)을 이용하여, 카메라(180)가 위치하는 방향(예: 오른쪽) 및 전자 장치(101)가 기울어진 정도를 나타내는 전자 장치(101)의 자세 상태를 식별할 수 있고, 식별된 전자 장치(101)의 자세 상태에 기반하여 제1 영상으로부터 제2 영상(320)을 결정할 수 있다.  일 실시예에 따르면, 전자 장치(101)는 제1 영상의 크기에 기반하여 제2 영상(320)의 크기를 결정할 수 있다.
예를 들어, 도 3의 <301>을 참조하면, 전자 장치(101)는 카메라(180)의 해상도(resolution)에 해당하는 제1 영상의 가로 화소 수(m) 및 세로 화소 수(n)에 기반하여, 제2 영상(320)의 가로 화소 수(w)(예: 2/m) 및 세로 화소 수(h)(예: n/3)를 결정할 수 있다. 일 실시예에 따르면, 제2 영상(320)의 크기는 전자 장치(101)의 제조 시에 테이블 내에 미리 정의되어 메모리(예: 도 1의 메모리(130))에 저장될 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 결정된 제2 영상(320)을 가이드 영역(310)을 통하여 표시할 수 있다. 예를 들어, 도 3의 <301>을 참조하면, 전자 장치(101)는 제1 영상으로부터 크롭(crop)된 제2 영상(320)을 디스플레이(160)의 특정 위치(x,y)에 존재하는 가이드 영역(310)을 통하여 표시할 수 있다. 일 실시예에 따르면, 가이드 영역(310)의 위치 및 크기는 전자 장치(101)의 제조사에 의하여 결정되거나 또는 사용자 입력(예: 드래그 입력)에 따라 결정될 수 있다.
203 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제2 영상(320)으로부터 손가락 오브젝트를 검출할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)을 분석하여, 손가락 오브젝트가 제2 영상(320) 내에 존재하는지를 판단할 수 있다. 예를 들어, 도 3의 <301>을 참조하면, 전자 장치(101)는 가이드 영역(310)을 통하여 표시 중인 제2 영상(320)으로부터 손가락 오브젝트를 검출할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 카메라(180)의 RGB 카메라(예: 2차원 카메라) 또는 깊이(depth) 카메라(예: 3차원 카메라) 중 적어도 하나를 이용하여, 손가락 오브젝트의 3차원 좌표 정보를 식별할 수 있다. 예를 들어, 전자 장치(101)는 카메라(180)를 이용하여 손가락 오브젝트의 끝 부분의 3차원 좌표 정보(x, y, z)를 식별할 수 있다.
205 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 손가락 오브젝트에 대응하는 제1 가상 키를 식별할 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제2 영상(320)으로부터, 복수 개의 영역들을 식별할 수 있고, 가상 키보드의 키 열(key column)을 상기 복수 개의 영역들에 대응시킬 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)으로부터, 각각의 손가락 오브젝트의 위치에 기반하여 결정된 간격을 갖는 복수 개의 영역들을 식별할 수 있고, 가상 키보드의 키 열을 상기 복수 개의 영역들에 대응시킬 수 있다.
도 4는 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 제2 영상의 각 영역에 가상 키보드의 각 키열을 대응시키는 실시예를 나타낸다.
예를 들어, 도 4를 참조하면, 전자 장치(101)는 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 끝 부분(401)의 좌표를 식별할 수 있고, 상기 좌표를 기준으로 결정된 간격(예: a3)을 갖는 제3 영역을 식별할 수 있고, 가상 키보드의 제3 열(예: E, D, C)을 상기 제3 영역에 대응시킬 수 있다.
위와 같은 방법으로, 전자 장치(101)는 가상 키보드(410)의 각 키 열을 제2 영상(320)의 각 영역에 대응시킬 수 있다. 일 실시예에 따르면, 상기 복수 개의 영역들의 개수는 상기 가상 키보드(410)의 키 열의 개수와 동일할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)으로부터, 각각의 정해진 간격을 갖는 복수 개의 영역들을 식별할 수 있고, 가상 키보드의 키 열을 상기 복수 개의 영역들에 대응시킬 수 있다.
예를 들어, 도 4를 참조하면, 전자 장치(101)는 제2 영상(320)으로부터 제1 영역에 대하여 정해진 간격(예: a1)을 갖는 제1 영역을 식별할 수 있고, 가상 키보드(410)의 제1 열(예: Q, A, Z)을 상기 제1 영역에 대응시킬 수 있다. 상기 각각의 정해진 간격은 서로 동일하거나 상이할 수 있고, 전자 장치(101)의 제조사에 의하여 결정될 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 위치에 대응하는 가상 키보드(410)의 키 열을 결정할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)의 복수 개의 영역들에 가상 키보드(410)의 키 열을 대응시킨 후에, 제2 영상(320)으로부터 손가락 오브젝트가 검출되는 것에 기반하여, 손가락 오브젝트의 특정 부분의 위치에 대응하는 가상 키보드의 키 열을 결정할 수 있다.
예를 들어, 도 4를 참조하면, 전자 장치(101)는 제8 손가락 오브젝트(예: 오른손 중지 손가락)의 끝 부분(402)의 좌표를 식별할 수 있고, 상기 좌표가 속하는 제8 영역에 대응하는 가상 키보드(410)의 키 열(예: 제8 열)을 제8 손가락 오브젝트의 위치에 대응하는 키 열로 결정할 수 있다.
도 5a는 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 가상 키보드로부터 손가락 오브젝트에 대응하는 키 열을 결정하는 제1 실시예를 나타낸다.
예를 들어, 도 5a의 <501>을 참조하면, 사용자의 양 손 사이의 거리(예: d1)로 인하여, 제1 손가락 오브젝트(예: 왼손 소지 손가락) 내지 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 각 위치 좌표가 제2 영상(320)의 제1 영역 내지 제4 영역에 각각 속하는 경우, 전자 장치(101)는 제1 영역 내지 제4 영역에 대응하는 가상 키보드(410)의 제1 열 내지 제4 열을 제1 손가락 오브젝트 내지 제4 손가락 오브젝트의 위치에 대응하는 키 열로 결정할 수 있다. 위와 같은 상황에서, 전자 장치(101)는 가상 키보드(410)의 제7 열 내지 제10 열을 제7 손가락 오브젝트(예: 오른손 검지 손가락) 내지 제10 손가락 오브젝트(예: 오른손 소지 손가락)의 위치에 대응하는 키 열로 결정할 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 위치 변경에 기반하여, 손가락 오브젝트의 위치에 대응하는 키 열을 변경할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 특정 부분의 위치가 제1 위치로부터 제2 위치로 변경되는 경우, 손가락 오브젝트의 위치에 대응하는 가상 키보드(410)의 키 열을 제1 특정 열로부터 제2 특정 열로 변경할 수 있다. 예를 들어, 도 5a의 <501> 및 <502>를 참조하면, 전자 장치(101)는 사용자의 양 손 사이의 거리가 제1 거리(예: d1)로부터 제2 거리(예: d2)로 변경됨에 따라, 제1 손가락 오브젝트(예: 왼손 소지 손가락) 내지 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 각 위치 좌표가 제2 영상(320)의 제2 영역 내지 제5 영역에 각각 속하도록 상기 손가락 오브젝트들의 위치가 변경되는 경우, 전자 장치(101)는 제1 손가락 오브젝트 내지 제4 손가락 오브젝트의 위치에 대응하는 키 열을 제2 영역 내지 제5 영역에 대응하는 가상 키보드(410)의 제2 열 내지 제5 열로 변경할 수 있다. 위와 같은 상황에서, 전자 장치(101)는 제7 손가락 오브젝트(예: 오른손 검지 손가락) 내지 제10 손가락 오브젝트(예: 오른손 소지 손가락)의 위치에 대응하는 키 열을 가상 키보드(410)의 제6 열 내지 제9 열로 변경할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 정해진 손가락 오브젝트를 제외한 나머지 손가락 오브젝트들의 위치에 대응하는 가상 키보드(410)의 키 열을 결정할 수 있다. 예를 들어, 도 5a의 <501> 및 <502>를 참조하면, 전자 장치(101)는 정해진 손가락 오브젝트(예: 왼손 및 오른손의 엄지 손가락)를 제외한 나머지 손가락 오브젝트들(예: 왼손 및 오른손의 검지 손가락 내지 소지 손가락)의 위치에 대응하는 가상 키보드(410)의 키 열을 결정할 수 있다. 이는, 정해진 손가락 오브젝트(예: 엄지 손가락)가 하나의 특정 키(예: 스페이스 바)에만 대응하는 경우, 복수의 키들을 구분하기 위하여 키 열을 결정하는 동작을 수행할 필요가 없기 때문이다.
도 5b는 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 가상 키보드로부터 손가락 오브젝트에 대응하는 키 열을 결정하는 제2 실시예를 나타낸다.
일 실시예에 따르면, 전자 장치(101)는 미리 설정된 손가락 오브젝트의 위치에 대응하는 가상 키보드(410)의 키 열을 결정할 수 있다. 예를 들어, 도 5b를 참조하면, 전자 장치(101)는 미리 설정된 손가락 오브젝트인 제4 손가락 오브젝트(예: 왼손 검지 손가락) 및 제7 손가락 오브젝트(예: 오른손 검지 손가락)의 끝 부분의 좌표를 식별할 수 있고, 상기 좌표들이 속하는 영역들에 대응하는 가상 키보드(410)의 키 열(예: 제4 열 및 제7 열)을 상기 미리 설정된 손가락 오브젝트에 대응하는 키 열로 결정할 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 위치에 대응하는 키 열(key column) 및 손가락 오브젝트의 구부림의 정도에 대응하는 키 행(key row)에 기반하여, 손가락 오브젝트에 대응하는 제1 가상 키를 식별할 수 있다.
도 6a는 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 손가락 오브젝트의 구부림의 정도에 대응하는 키 행에 의하여 특정된 가상 키를 식별하는 제1 실시예를 나타낸다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제2 영상(320)으로부터 손가락 오브젝트의 적어도 두 개의 좌표들을 이용하여, 손가락 오브젝트의 구부림의 정도를 식별할 수 있다. 예를 들어, 도 6a를 참조하면, 전자 장치(101)는 제2 영상(320)으로부터 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 정해진 부분의 좌표 정보(예: p1(x1, y1, z1), p2(x2, y2, z2), p3(x3, y3, z3))를 검출할 수 있고, 상기 좌표 정보 중에서 두 개의 좌표 정보(예: p1, p3)를 이용하여, 제3 손가락 오브젝트의 구부림의 정도를 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 적어도 두 개의 좌표들 사이의 거리에 기반하여, 손가락 오브젝트의 구부림의 정도를 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 제1 좌표와 제2 좌표 사이의 제1 축에 대한 제1 거리가 제1 임계값을 초과하고 제2 축에 대한 제2 거리가 제2 임계값 미만인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제1 구부림 상태(a first bending state)로 결정할 수 있다.
도 6b는 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 손가락 오브젝트의 구부림의 정도에 대응하는 키 행에 의하여 특정된 가상 키를 식별하는 제2 실시예를 나타낸다.
예를 들어, 도 6b를 참조하면, 전자 장치(101)는 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 제1 좌표(p1)와 제2 좌표(p3) 사이의 x축에 대한 제1 거리(예: x3-x1)가 제1 임계값을 초과하고, 제1 좌표(p1)와 제2 좌표(p3) 사이의 z축에 대한 제2 거리(예: z3-z1)가 제2 임계값 미만인 경우, 상기 제3 손가락 오브젝트의 구부림의 정도를 제1 구부림 상태로 결정할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 제1 좌표와 제2 좌표 사이의 제1 축에 대한 제1 거리가 제3 임계값 미만이고 제2 축에 대한 제2 거리가 제4 임계값을 초과하는 경우, 상기 손가락 오브젝트의 구부림의 정도를 제3 구부림 상태(a third bending state)로 결정할 수 있다.
예를 들어, 도 6b를 참조하면, 전자 장치(101)는 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 제1 좌표(p1)와 제2 좌표(p3) 사이의 x축에 대한 제1 거리(예: x3-x1)가 제3 임계값 미만이고, 제1 좌표(p1)와 제2 좌표(p3) 사이의 z축에 대한 제2 거리(예: z3-z1)가 제4 임계값을 초과하는 경우, 상기 제3 손가락 오브젝트의 구부림의 정도를 제3 구부림 상태로 결정할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 구부림의 정도가 제1 구부림 상태 및 제3 구부림 상태가 아닌 경우, 제2 구부림 상태로 결정할 수 있다.
예를 들어, 도 6b를 참조하면, 전자 장치(101)는 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 제1 좌표(p1)와 제2 좌표(p3) 사이의 x축에 대한 제1 거리(예: x3-x1)가 제3 임계값과 제1 임계값 사이의 값이거나, 및/또는 제1 좌표(p1)와 제2 좌표(p3) 사이의 z축에 대한 제2 거리(예: z3-z1)가 제2 임계값과 제4 임계값 사이의 값인 경우, 상기 제3 손가락 오브젝트의 구부림의 정도를 제2 구부림 상태로 결정할 수 있다. 일 실시예에 따르면, 상기 제1 임계값은 상기 제3 임계값 보다 큰 값이고, 상기 제4 임계값은 상기 제2 임계값 보다 큰 값일 수 있다. 일 실시예에 따르면, 각 손가락 오브젝트에 대한 제1 임계값 내지 제4 임계값은 손가락 오브젝트 별로 다르게 설정될 수 있다. 예를 들어, 제1 손가락 오브젝트에 대한 제1 임계값과 제2 손가락 오브젝트에 대한 제1 임계값은 서로 상이할 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 위치에 대응하는 키 열에 포함된 복수 개의 가상 키들 중에서, 손가락 오브젝트의 구부림의 정도에 대응하는 키 행에 의하여 특정된 제1 가상 키를 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 위치에 대응하는 키 열에 포함된 복수 개의 가상 키들 중에서 손가락 오브젝트의 제1 구부림 상태에 대응하는 제1 행의 키를 제1 가상 키로서 식별할 수 있다.
예를 들어, 도 5a의 <501>을 참조하면, 전자 장치(101)는 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 좌표에 대응하는 가상 키보드(410)의 제4 열에 포함된 복수 개의 가상 키들(예: R, F, V) 중에서 제4 손가락 오브젝트의 제1 구부림 상태에 대응하는 제1 행의 키(예: R)를 제1 가상 키로서 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 위치에 대응하는 키 열에 포함된 복수 개의 가상 키들 중에서 손가락 오브젝트의 제2 구부림 상태에 대응하는 제2 행의 키를 제1 가상 키로서 식별할 수 있다.
예를 들어, 도 5a의 <501>을 참조하면, 전자 장치(101)는 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 좌표에 대응하는 가상 키보드(410)의 제4 열에 포함된 복수 개의 가상 키들(예: R, F, V) 중에서 제4 손가락 오브젝트의 제2 구부림 상태에 대응하는 제2 행의 키(예: F)를 제1 가상 키로서 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 위치에 대응하는 키 열에 포함된 복수 개의 가상 키들 중에서 손가락 오브젝트의 제3 구부림 상태에 대응하는 제3 행의 키를 제1 가상 키로서 식별할 수 있다. 예를 들어, 도 5a의 <501>을 참조하면, 전자 장치(101)는 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 좌표에 대응하는 가상 키보드(410)의 제4 열에 포함된 복수 개의 가상 키들(예: R, F, V) 중에서 제4 손가락 오브젝트의 제3 구부림 상태에 대응하는 제3 행의 키(예: V)를 제1 가상 키로서 식별할 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 위치에 대응하는 키 열에 포함된 복수 개의 가상 키들 중에서, 손가락 오브젝트의 컨피던스 값(confidence value)에 대응하는 키 행에 의하여 특정된 제2 가상 키를 식별할 수 있다. 컨피던스 값은 손가락 오브젝트의 x축에 대한 제1 거리 및/또는 z축에 대한 제2 거리가 각 임계값(예: 제1 임계값 내지 제4 임계값) 근처의 값에 해당하여 제1 가상 키에 대한 신뢰도가 낮은 경우, 제1 가상 키 이외에 후보 가상 키로서 제2 가상 키를 선택하기 위한 정보를 나타낼 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 위치에 대응하는 키 열에 포함된 복수 개의 가상 키들 중에서 제1 가상 키를 제외한 나머지 가상 키들의 컨피던스 값을 식별할 수 있다. 예를 들어, 도 5a의 <501>을 참조하면, 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 위치 및 구부림의 정도에 기반하여 제1 가상 키(예: F)가 특정된 경우, 전자 장치(101)는 나머지 가상 키들(예: R, V)의 컨피던스 값을 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 상기 나머지 가상 키들 중에서 미리 설정된 값을 초과하는 컨피던스 값을 갖거나 가장 높은 컨피던스 값을 갖는 제2 가상 키를 식별할 수 있다. 예를 들어, 전자 장치(101)는 나머지 가상 키들(예: R, V) 중에서 미리 설정된 값을 초과하는 컨피던스 값을 갖거나 가장 높은 컨피던스 값을 갖는 제2 가상 키(예: V)를 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 구부림의 정도에 기반하여 학습된 딥러닝 모델을 이용하여, 손가락 오브젝트에 대응하는 키 열에 포함된 복수 개의 가상 키들 각각의 컨피던스 값을 식별할 수 있다.
도 7은 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 손가락 오브젝트에 대응하는 가상 키의 GUI 상에 시각 효과를 표시하는 실시예를 나타낸다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제1 가상 키의 그래픽 사용자 인터페이스(GUI) 상에 시각 효과를 표시하도록 디스플레이(160)를 제어할 수 있다. 예를 들어, 도 7을 참조하면, 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 위치 및 구부림의 정도에 기반하여 제1 가상 키(예: E)가 특정된 경우, 전자 장치(101)는 사용자의 손가락이 지시하는 가상 키를 용이하게 나타낼 수 있도록, 가상 키보드의 GUI(710) 내의 제1 가상 키(예: E)의 GUI 상에 시각 효과(720)(예: 노란색 하이라이트)를 표시할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 가상 키 및 제2 가상 키의 GUI 상에 시각 효과를 표시하도록 디스플레이(160)를 제어할 수 있다.
예를 들어, 도 7을 참조하면, 제4 손가락 오브젝트(예: 왼손 검지 손가락)의 위치 및 구부림의 정도에 기반하여 제1 가상 키(예: E)가 특정되고, 제4 손가락 오브젝트의 컨피던스 값에 기반하여 제2 가상 키(예: V)가 특정된 경우, 전자 장치(101)는 가상 키보드의 GUI(710) 내의 제1 가상 키(예: E) 및 제2 가상 키(예: V)의 GUI 상에 시각 효과(730)(예: 노란색 하이라이트)를 표시할 수 있다.
다시 도 2를 참조하면, 207 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 제1 가상 키의 입력을 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 특정 부분이 아래 방향으로 정해진 거리 이상을 이동하는 것에 기반하여, 손가락 오브젝트의 타이핑 움직임을 검출할 수 있다.
예를 들어, 도 6b를 참조하면, 전자 장치(101)는 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 끝 부분의 z축 좌표(예: z1)가 아래 방향(예: -z축 방향)에 대하여 정해진 거리 이상 변하는 것에 기반하여, 제3 손가락 오브젝트의 타이핑 움직임을 검출할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)으로부터 평면 오브젝트를 검출할 수 있고, 손가락 오브젝트의 특정 부분이 상기 평면 오브젝트에 접촉하거나 특정 기준 선 아래로 진입한 경우, 손가락 오브젝트의 타이핑 움직임을 검출할 수 있다.
예를 들어, 도 6b를 참조하면, 전자 장치(101)는 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 끝 부분의 z축 좌표(예: z1)가 평면 오브젝트(예: 책상 면)를 구성하는 z축 좌표에 일치하거나, 상기 평면 오브젝트 및 상기 제3 손가락 오브젝트의 위치에 기반하여 결정된 기준 선(610) 아래에 위치하는 경우, 제3 손가락 오브젝트의 타이핑 움직임을 검출할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 타이핑 움직임을 검출하는 경우, 손가락 오브젝트의 위치 및 구부림의 정도에 기반하여 특정된 제1 기상 키의 입력을 식별할 수 있다. 예를 들어, 도 5a의 <501>을 참조하면, 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 타이핑 움직임을 검출하는 경우, 제3 손가락 오브젝트의 위치 및 구부림의 정도에 기반하여 특정된 제1 가상 키(예: D)의 입력을 식별할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 정해진 횟수의 타이핑 움직임을 검출하거나, 또는 다른 가상 키의 입력과 함께 상기 손가락 오브젝트의 타이핑 움직임을 검출하는 경우, 손가락 오브젝트에 대하여 미리 지정된 키 행에 의하여 특정된 가상 키의 입력을 식별할 수 있다. 예를 들어, 도 5a의 <501>을 참조하면, 전자 장치(101)는 제3 손가락 오브젝트의 2회의 타이핑 움직임(예: 더블 스트로크)을 검출하거나, 또는 다른 가상 키(예: shift 키)의 입력과 함께 제3 손가락 오브젝트의 타이핑 움직임을 검출하는 경우, 제3 손가락 오브젝트의 구부림의 정도를 식별할 필요 없이, 제3 손가락 오브젝트에 대하여 미리 지정된 키 행(예: 제3 행)에 의하여 특정된 가상 키(예: C)의 입력을 식별할 수 있다.
다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 손가락 오브젝트의 타이핑 움직임을 검출한 후, 손가락 오브젝트의 후속 구부림의 정도에 기반하여, 손가락 오브젝트에 대응하는 제1 가상 키의 입력의 식별 여부를 결정할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 후속 구부림의 정도에 기반하여, 손가락 오브젝트의 위치에 대응하는 키 열에 포함된 복수 개의 가상 키들의 제1 타이핑 확률을 산출할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 타이핑 움직임을 검출한 후, 손가락 오브젝트의 적어도 두 개의 좌표들을 이용하여, 손가락 오브젝트의 후속 구부림의 정도를 식별할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 205 동작에서 설명된 '손가락 오브젝트의 구부림의 정도를 식별하는 동작'을 이용하여, 손가락 오브젝트의 후속 구부림의 정도를 식별할 수 있다. 예를 들어, 도 5a의 <501>을 참조하면, 전자 장치(101)는 제1 손가락 오브젝트(예: 왼손 소지 손가락)의 타이핑 움직임을 검출한 후, 제1 손가락 오브젝트의 후속 구부림의 정도에 기반하여, 제1 손가락 오브젝트의 좌표에 대응하는 키 열(예: 제1 열)에 포함된 복수 개의 가상 키들(예: Q, A, Z) 각각의 제1 타이핑 확률(예: p(Q), p(A), p(Z))을 산출할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 복수 개의 가상 키들 각각의 제1 타이핑 확률에 가중치를 적용한 제2 타이핑 확률을 산출할 수 있다. 예를 들어, 전자 장치(101)는 제1 가상 키(예: Q)의 제1 타이핑 확률에 제1 가중치(w1)를 적용한 제2 타이핑 확률(예: p(Q)*w1)을 산출하고, 제2 가상 키(예: A)의 제1 타이핑 확률에 제2 가중치(w2)를 적용한 제2 타이핑 확률(예: p(A)*w2)를 산출하고, 제3 가상 키(예: Z)의 제1 타이핑 확률에 제3 가중치(w3)를 적용한 제2 타이핑 확률(예: p(Z)*w3)를 산출할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트에 대응하는 제1 가상 키의 제1 타이핑 확률에 가장 높은 가중치를 적용할 수 있다. 예를 들어, 앞서 205 동작에 따라, 제1 손가락 오브젝트(예: 왼손 소지 손가락)의 위치 및 구부림의 정도에 기반하여 제1 가상 키(예: Q)가 특정된 경우, 전자 장치(101)는 제1 가상 키의 제1 타이핑 확률에 가장 높은 가중치로서 제1 가중치(w1)를 적용할 수 있다. 이 경우, 제2 가중치(w2) 및 제3 가중치(w3)의 값은 제1 가중치(w1)의 값보다 낮을 수 있고, 서로 동일하거나 상이할 수 있다. 예를 들어, 전자 장치(101)는 제1 가중치(w1)에 가장 높은 값을 부여하고 제2 가중치(w2) 및 제3 가중치(w3)에 동일한 값을 부여함으로써, 제1 손가락 오브젝트(예: 왼손 소지 손가락)의 제2 타이핑 확률로서, p(Q)*w1, p(A)*w2(예: (1-w1)/2), p(Z)*w3(예: (1-w1)/2)를 산출할 수 있다. 일 실시예에 따르면, 제1 가상 키의 제1 타이핑 확률에 적용되는 제1 가중치 값은 0.5를 초과하고 1 미만일 수 있고, 전자 장치(101)의 제조사 또는 사용자에 의하여 설정될 수 있다. 일 실시예에 따르면, 전자 장치(101)는 산출된 제2 타이핑 확률 중에서 가장 높은 제2 타이핑 확률을 갖는 가상 키가 제1 가상 키와 일치하는 경우, 상기 제1 가상 키의 입력을 식별하는 것으로 결정할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 제1 가상 키의 입력을 식별하는 것에 기반하여, 제1 가상 키의 입력에 대응하는 동작(예: 제1 가상 키에 지정된 문자를 표시)을 수행할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 가상 키의 입력을 식별하는 것에 기반하여, 단어 자동 완성 알고리즘을 이용하여 제1 가상 키에 지정된 문자와 관련된 단어를 디스플레이(160)를 통하여 표시할 수 있다. 상기 단어 자동 완성 알고리즘은 해당 기술분야의 기술자에게 공지된 알고리즘을 이용할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 가상 키의 입력을 모니터링하여 제1 가상 키의 입력 패턴을 학습할 수 있고, 정해진 빈도 수 이상 제1 가상 키의 입력이 검출된 경우, 제1 가상 키의 제1 타이핑 확률에 적용되는 가중치를 증가시킬 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제1 가상 키의 입력 후, 상기 입력된 제1 가상 키의 삭제 횟수가 증가할수록, 상기 제1 가상 키의 제1 타이핑 확률에 적용되는 가중치의 값을 감소시키고 상기 제1 가상 키의 삭제 이후에 입력된 다른 가상 키의 제1 타이핑 확률에 적용되는 가중치의 값을 증가시킬 수 있다.
일 실시예에 따르면, 전자 장치(101)는 가상 키의 타입에 기반하여, 가상 키의 입력 시 제공되는 입력 효과를 결정할 수 있다. 예를 들어, 전자 장치(101)는 제1 타입(예: 스페이스 바, 엔터 키, 삭제 키)의 가상 키의 입력에 기반하여, 전자 장치(101)를 통하여 제1 입력 효과(예: 진동)를 제공하고, 제2 타입(예: 문자 키)의 가상 키의 입력에 기반하여, 디스플레이(160)를 통하여 해당 가상 키의 GUI 상에 제2 입력 효과(예: 하이라이트)를 제공하고, 제3 타입(예: 숫자 키)의 가상 키의 입력에 기반하여, 전자 장치(101)의 스피커를 통하여 해당 가상 키에 대한 제3 입력 효과(예: 소리)를 제공할 수 있다.
도 8은 본 개시의 다양한 실시예들에 따른, 전자 장치(예: 도 1의 전자 장치(101))가 가상 키보드를 통하여 입력된 텍스트를 디스플레이(예: 도 1의 디스플레이 모듈(160))를 통하여 표시하는 방법을 설명하기 위한 흐름도이다.
801 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제1 어플리케이션을 실행하는 동안, 카메라(예: 도 1의 카메라 모듈(180))를 통하여 획득한 제1 영상으로부터 전자 장치(101)의 자세에 기반하여 결정된 제2 영상(예: 도 3의 제2 영상(320))을 가상 키보드와 함께 표시하도록 디스플레이(160)를 제어할 수 있다. 예를 들어, 도 9를 참조하면, 전자 장치(101)는 제1 어플리케이션(900)(예: 메시지 어플리케이션)을 실행하는 동안, 카메라(180)를 통하여 획득한 제1 영상의 전체 영역 중에서 전자 장치(101)의 자세에 기반하여 결정된 특정 영역에 대응하는 제2 영상(320)을 가상 키보드(910)와 함께 디스플레이(160) 상에 표시할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 도 2의 201 동작에서 설명된 방법을 이용하여, 제1 영상으로부터 제2 영상(320)을 선택할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 미리 설정된 레이아웃에 따라, 제1 어플리케이션(900)의 실행 화면, 가상 키보드(910), 및 제2 영상(320)을 디스플레이(160)를 통하여 표시할 수 있다.
도 9는 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 제1 어플리케이션의 실행 화면, 가상 키보드, 및 제2 영상을 디스플레이(160)를 통하여 표시하는 실시예를 나타낸다.
예를 들어, 도 9를 참조하면, 전자 장치(101)는 미리 설정된 레이아웃에 따라, 제1 어플리케이션(900)의 실행 화면을 디스플레이(160)의 상단에 표시하고, 가상 키보드(910)를 디스플레이(160)의 좌측 하단에 표시하고, 제2 영상(320)을 가상 키보드(910)에 인접하도록 디스플레이(160)의 우측 하단에 표시할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 사용자 입력(예: 드래그 입력)에 따라 제1 어플리케이션(900)의 실행 화면, 가상 키보드(910), 및 제2 영상(320) 각각의 표시 위치 및/또는 표시 크기에 관한 레이아웃을 변경할 수 있다.
803 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제2 영상(320)으로부터 검출된 손가락 오브젝트가 정해진 조건을 만족하는지 여부를 판단할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)으로부터 정해진 손가락 오브젝트가 검출되는 경우, 손가락 오브젝트가 정해진 조건을 만족하는 것으로 결정할 수 있다. 예를 들어, 전자 장치(101)는 제2 영상(320)으로부터 정해진 손가락 오브젝트로서 제3 손가락 오브젝트(예: 왼손 중지 손가락) 및 제8 손가락 오브젝트(예: 오른손 중지 손가락)가 검출되는 경우, 상기 손가락 오브젝트가 정해진 조건을 만족하는 것으로 결정할 수 있다. 또 다른 예를 들어, 전자 장치(101)는 제2 영상(320)으로부터 정해진 손가락 오브젝트로서 제1 손가락 오브젝트(예: 왼손 소지 손가락) 내지 제10 손가락 오브젝트(예: 오른손 소지 손가락)가 모두 검출되는 경우, 상기 손가락 오브젝트가 정해진 조건을 만족하는 것으로 결정할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)으로부터 정해진 손가락 오브젝트가 검출되지 않은 경우, 손가락 오브젝트가 정해진 조건을 만족하지 못하는 것으로 결정할 수 있다.
일 실시예에 따르면, 전자 장치(101)가 제2 영상(320)으로부터 양 손 오브젝트를 검출하도록 설정된 상태에서, 제2 영상(320)의 크기에 대한 손가락 오브젝트의 특정 부분의 크기의 비율이 제1 임계 비율을 초과하고 제2 임계 비율 미만인 경우, 전자 장치(101)는 손가락 오브젝트가 정해진 조건을 만족하는 것으로 결정할 수 있다. 예를 들어, 전자 장치(101)는 제2 영상(320)의 영역의 크기(예: a*b 픽셀)에 대한 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 끝 부분의 크기(예: c*d 픽셀)의 비율이 제1 임계 비율(예: 0.1)을 초과하고 제2 임계 비율(예: 0.2) 미만인 경우, 상기 손가락 오브젝트가 정해진 조건을 만족하는 것으로 결정할 수 있다.
또 다른 예를 들어, 전자 장치(101)는 제2 영상(320)의 영역의 크기(예: a*b 픽셀)에 대한 복수의 손가락 오브젝트들의 끝 부분의 평균 크기(예: e*f 픽셀)의 비율이 제1 임계 비율(예: 0.1)을 초과하고 제2 임계 비율(예: 0.2) 미만인 경우, 상기 손가락 오브젝트가 정해진 조건을 만족하는 것으로 결정할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)의 크기에 대한 손가락 오브젝트의 특정 부분의 크기의 비율이 제1 임계 비율 이하이거나 제2 임계 비율 이상인 경우, 손가락 오브젝트가 정해진 조건을 만족하지 못하는 것으로 결정할 수 있다.
일 실시예에 따르면, 전자 장치(101)가 제2 영상(320)으로부터 한 손 오브젝트를 검출하도록 설정된 상태에서, 제2 영상(320)의 크기에 대한 손가락 오브젝트의 특정 부분의 크기의 비율이 제3 임계 비율을 초과하고 제4 임계 비율 미만인 경우, 전자 장치(101)는 손가락 오브젝트가 정해진 조건을 만족하는 것으로 결정할 수 있다. 일 실시예에 따르면, 상기 제3 임계 비율은 제1 임계 비율 보다 작을 수 있고, 제4 임계 비율은 제2 임계 비율 보다 작을 수 있다. 예를 들어, 제3 임계 비율은 제1 임계 비율의 1/2일 수 있고, 제4 임계 비율은 제2 임계 비율의 1/2일 수 있다. 일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)의 크기에 대한 손가락 오브젝트의 특정 부분의 크기의 비율이 제3 임계 비율 이하이거나 제4 임계 비율 이상인 경우, 손가락 오브젝트가 정해진 조건을 만족하지 못하는 것으로 결정할 수 있다.
805 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제2 영상(320)으로부터 검출된 손가락 오브젝트가 정해진 조건을 만족하지 않은 경우, 정해진 조건에 대응하는 가이드 인디케이터(guide indicator)를 표시하도록 디스플레이(160)를 제어할 수 있다.
도 10은 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 가이드 인디케이터를 표시하는 실시예를 나타낸다.
일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)으로부터 정해진 손가락 오브젝트가 검출되지 않은 경우, 정해진 손가락 오브젝트에 대응하는 가이드 인디케이터를 표시하도록 디스플레이(160)를 제어할 수 있다. 예를 들어, 도 10의 <1001>을 참조하면, 전자 장치(101)는 제2 영상(320)으로부터 제10 손가락 오브젝트(예: 오른손 소지 손가락)가 검출되지 않은 경우, 제10 손가락 오브젝트에 대응하는 가이드 인디케이터로서, 제1 가이드 인디케이터(1011) 및/또는 제2 가이드 인디케이터(1012)를 디스플레이(160)를 통하여 표시할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)의 크기에 대한 손가락 오브젝트의 특정 부분의 크기의 비율이 제1 임계 비율 이하이거나 제2 임계 비율 이상인 경우, 손가락 오브젝트에 대응하는 가이드 인디케이터를 표시하도록 디스플레이(160)를 제어할 수 있다. 예를 들어, 도 10의 <1002>을 참조하면, 전자 장치(101)는 제2 영상(320)으로부터 제3 손가락 오브젝트(예: 왼손 중지 손가락)의 끝부분의 크기가 제2 영상(320)에 기반하여 결정된 영역의 크기 보다 큰 경우(즉, 제2 임계 비율 이상인 경우), 제3 손가락 오브젝트에 대응하는 가이드 인디케이터로서, 제1 가이드 인디케이터(1021) 및/또는 제2 가이드 인디케이터(1022)를 디스플레이(160)를 통하여 표시할 수 있다.
807 동작에서, 다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 제2 영상(320)으로부터 검출된 손가락 오브젝트가 정해진 조건을 만족하는 경우, 손가락 오브젝트에 대응하는 제1 가상 키의 그래픽 사용자 인터페이스(GUI) 상에 시각 효과를 표시하도록 디스플레이(160)를 제어할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 도 2의 205 동작에서 설명된 방법을 이용하여, 손가락 오브젝트에 대응하는 제1 가상 키를 식별할 수 있다.
도 11은 본 개시의 다양한 실시예들에 따른, 전자 장치(101)가 가상 키의 GUI 상에 시각 효과를 표시하는 실시예를 나타낸다.
일 실시예에 따르면, 전자 장치(101)는 제2 영상(320)으로부터 검출된 손가락 오브젝트가 정해진 조건을 만족하는 경우, 손가락 오브젝트의 위치 및 구부림의 정도에 기반하여 특정된 제1 기상 키의 GUI 상에 시각 효과를 표시할 수 있다. 예를 들어, 도 11을 참조하면, 전자 장치(101)는 제2 영상(320)으로부터 검출된 각각의 손가락 오브젝트가 정해진 조건을 만족하는 경우, 각각의 손가락 오브젝트의 위치 및 구부림의 정도에 기반하여 특정된 각각의 가상 키의 GUI 상에 시각 효과(1110)(예: 노란색 하이라이트)를 표시할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 도 2의 205 동작에서 설명된 방법을 이용하여, 손가락 오브젝트에 대응하는 제2 가상 키를 식별할 수 있고, 제1 가상 키 및 제2 가상 키의 GUI 상에 시각 효과를 표시하도록 디스플레이(160)를 제어할 수 있다.
일 실시예에 따르면, 전자 장치(101)는 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 제1 가상 키의 입력을 식별할 수 있다. 전자 장치(101)는 207 동작에서 설명된 방법을 이용하여 제1 가상 키의 입력을 식별할 수 있다. 예를 들어, 도 9를 참조하면, 전자 장치(101)는 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 제1 어플리케이션(900)의 타이핑 입력 영역(901) 상에 제1 가상 키의 입력에 대응하는 동작(예: 제1 가상 키에 지정된 문자를 표시)을 수행할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, 비일시적은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
다양한 실시예들에 따라서, 전자 장치(예: 도 1의 전자 장치(101))는, 카메라(예: 도 1의 카메라 모듈(180)), 디스플레이(예: 도 1의 디스플레이 모듈(160)), 및 프로세서(예: 도 1의 프로세서(120))를 포함하고, 상기 프로세서는, 상기 카메라(180)를 이용하여 획득한 제1 영상으로부터 상기 전자 장치(101)의 자세에 기반하여 결정된 제2 영상을 표시하도록 상기 디스플레이(160)를 제어하고, 상기 제2 영상으로부터 손가락 오브젝트를 검출하고, 상기 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 상기 손가락 오브젝트에 대응하는 제1 가상 키를 식별하고, 상기 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 상기 제1 가상 키의 입력을 식별하도록 설정될 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 제2 영상으로부터, 각각의 손가락 오브젝트의 위치에 기반하여 결정된 간격 또는 정해진 간격을 갖는 복수 개의 영역들을 식별하고, 및 상기 가상 키보드의 키 열(key column)을 상기 복수 개의 영역들에 대응시키도록 설정될 수 있다.
다양한 실시예들에 따라서, 상기 복수 개의 영역들의 개수는 상기 가상 키보드의 키 열의 개수와 동일할 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 손가락 오브젝트의 상기 위치에 대응하는 상기 가상 키보드의 키 열을 결정하도록 설정될 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 카메라를 이용하여 상기 손가락 오브젝트의 특정 부분의 좌표 정보를 식별하고, 및 상기 좌표 정보가 속하는 영역에 대응하는 키 열을 상기 손가락 오브젝트의 상기 위치에 대응하는 상기 키 열로 결정하도록 설정될 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 키 열에 포함된 복수 개의 가상 키들 중에서 상기 손가락 오브젝트의 상기 구부림의 정도에 대응하는 키 행(key row)에 의하여 특정된 상기 제1 가상 키를 식별하도록 설정될 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 손가락 오브젝트의 제1 좌표와 제2 좌표 사이의 제1 축에 대한 제1 거리가 제1 임계값을 초과하고, 제2 축에 대한 제2 거리가 제2 임계값 미만인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제1 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제1 구부림 상태에 대응하는 제1 행의 키를 상기 제1 가상 키로서 식별하고, 상기 손가락 오브젝트의 상기 제1 거리가 상기 제1 임계값과 제3 임계값 사이의 값이고, 상기 제2 거리가 상기 제2 임계값과 제4 임계값 사이의 값인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제2 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제2 구부림 상태에 대응하는 제2 행의 키를 상기 제1 가상 키로서 식별하고, 및 상기 손가락 오브젝트의 상기 제1 거리가 상기 제3 임계값 미만이고, 상기 제2 거리가 상기 제4 임계값을 초과하는 경우, 상기 손가락 오브젝트의 구부림의 정도를 제3 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제3 구부림 상태에 대응하는 제3 행의 키를 상기 제1 가상 키로서 식별하도록 설정되고, 상기 제1 임계값은 상기 제3 임계값 보다 크고, 상기 제4 임계값은 상기 제2 임계값 보다 클 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 손가락 오브젝트의 특정 부분이 아래 방향으로 정해진 거리 이상을 이동하는 것에 기반하여, 상기 손가락 오브젝트의 상기 타이핑 움직임을 검출하도록 설정될 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 제1 가상 키의 그래픽 사용자 인터페이스(GUI) 상에 시각 효과를 표시하도록 상기 디스플레이를 제어하도록 설정될 수 있다.
다양한 실시예들에 따라서, 상기 프로세서는, 상기 제2 영상으로부터 정해진 손가락 오브젝트가 검출되지 않은 경우, 상기 정해진 손가락 오브젝트에 대응하는 제1 가이드 인디케이터를 표시하도록 상기 디스플레이를 제어하고, 및 상기 제2 영상의 크기에 대한 상기 손가락 오브젝트의 특정 부분의 크기의 비율이 제1 임계 비율 이하이거나 제2 임계 비율 이상인 경우, 상기 손가락 오브젝트에 대응하는 제2 가이드 인디케이터를 표시하도록 상기 디스플레이를 제어하도록 설정될 수 있다.
다양한 실시예들에 따라서, 전자 장치의 동작 방법은, 상기 전자 장치의 카메라를 이용하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 표시하도록 상기 전자 장치의 디스플레이를 제어하는 동작, 상기 제2 영상으로부터 손가락 오브젝트를 검출하는 동작, 상기 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 상기 손가락 오브젝트에 대응하는 제1 가상 키를 식별하는 동작, 및 상기 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 상기 제1 가상 키의 입력을 식별하는 동작을 포함할 수 있다.
다양한 실시예들에 따라서, 상기 전자 장치의 동작 방법은, 상기 제2 영상으로부터, 각각의 손가락 오브젝트의 위치에 기반하여 결정된 간격 또는 정해진 간격을 갖는 복수 개의 영역들을 식별하는 동작, 및 상기 가상 키보드의 키 열(key column)을 상기 복수 개의 영역들에 대응시키는 동작을 더 포함할 수 있다.
다양한 실시예들에 따라서, 상기 전자 장치의 동작 방법은, 상기 제1 가상 키를 식별하는 동작은, 상기 손가락 오브젝트의 상기 위치에 대응하는 상기 가상 키보드의 키 열을 결정하는 동작을 포함할 수 있다.
다양한 실시예들에 따라서, 상기 가상 키보드의 키 열을 결정하는 동작은, 상기 카메라를 이용하여 상기 손가락 오브젝트의 특정 부분의 좌표 정보를 식별하는 동작, 및 상기 좌표 정보가 속하는 영역에 대응하는 키 열을 상기 손가락 오브젝트의 상기 위치에 대응하는 상기 키 열로 결정하는 동작을 포함할 수 있다.
다양한 실시예들에 따라서, 상기 제1 가상 키를 식별하는 동작은, 상기 키 열에 포함된 복수 개의 가상 키들 중에서 상기 손가락 오브젝트의 상기 구부림의 정도에 대응하는 키 행(key row)에 의하여 특정된 상기 제1 가상 키를 식별하는 동작을 포함할 수 있다.
다양한 실시예들에 따라서, 상기 제1 가상 키를 식별하는 동작은, 상기 손가락 오브젝트의 제1 좌표와 제2 좌표 사이의 제1 축에 대한 제1 거리가 제1 임계값을 초과하고, 제2 축에 대한 제2 거리가 제2 임계값 미만인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제1 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제1 구부림 상태에 대응하는 제1 행의 키를 상기 제1 가상 키로서 식별하는 동작, 상기 손가락 오브젝트의 상기 제1 거리가 상기 제1 임계값과 제3 임계값 사이의 값이고, 상기 제2 거리가 상기 제2 임계값과 제4 임계값 사이의 값인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제2 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제2 구부림 상태에 대응하는 제2 행의 키를 상기 제1 가상 키로서 식별하는 동작, 및 상기 손가락 오브젝트의 상기 제1 거리가 상기 제3 임계값 미만이고, 상기 제2 거리가 상기 제4 임계값을 초과하는 경우, 상기 손가락 오브젝트의 구부림의 정도를 제3 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제3 구부림 상태에 대응하는 제3 행의 키를 상기 제1 가상 키로서 식별하는 동작을 포함하고, 상기 제1 임계값은 상기 제3 임계값 보다 크고, 상기 제4 임계값은 상기 제2 임계값 보다 클 수 있다.
다양한 실시예들에 따라서, 상기 전자 장치의 동작 방법은, 상기 손가락 오브젝트의 특정 부분이 아래 방향으로 정해진 거리 이상을 이동하는 것에 기반하여, 상기 손가락 오브젝트의 상기 타이핑 움직임을 검출하는 동작을 더 포함할 수 있다.
다양한 실시예들에 따라서, 상기 전자 장치의 동작 방법은, 상기 제1 가상 키의 그래픽 사용자 인터페이스(GUI) 상에 시각 효과를 표시하도록 상기 디스플레이를 제어하는 동작을 더 포함할 수 있다.
다양한 실시예들에 따라서, 전자 장치는, 카메라, 디스플레이, 및 프로세서를 포함하고, 상기 프로세서는, 제1 어플리케이션을 실행하는 동안, 상기 카메라를 통하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 가상 키보드와 함께 표시하도록 상기 디스플레이를 제어하고, 상기 제2 영상으로부터 검출된 손가락 오브젝트가 정해진 조건을 만족하지 않은 경우, 상기 정해진 조건에 대응하는 가이드 인디케이터를 표시하도록 상기 디스플레이를 제어하고, 및 상기 손가락 오브젝트가 상기 정해진 조건을 만족하는 경우, 상기 손가락 오브젝트에 대응하는 제1 가상 키의 그래픽 사용자 인터페이스 상에 시각 효과를 표시하도록 상기 디스플레이를 제어하도록 설정될 수 있다.
본 개시는 특별히 특정 실시예를 참조하여 보여지고 설명되었지만, 첨부된 청구항 및 그의 등가물에 의해 정의된 본 개시의 정신 및 범위로부터 벗어나지 않고, 해당 기술 분야의 통상의 지식을 가진 자에 의해 형태 및 세부사항에 대한 다양한 변화가 이루어질 수 있다는 것이 이해될 것이다.

Claims (15)

  1. 전자 장치에 있어서,
    카메라,
    디스플레이, 및
    프로세서를 포함하고,
    상기 프로세서는:
    상기 카메라를 이용하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 표시하도록 상기 디스플레이를 제어하고,
    상기 제2 영상으로부터 손가락 오브젝트를 검출하고,
    상기 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 상기 손가락 오브젝트에 대응하는 제1 가상 키를 식별하고, 및
    상기 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 상기 제1 가상 키의 입력을 식별하도록 설정된, 전자 장치.
  2. 제1 항에 있어서,
    상기 프로세서는:
    상기 제2 영상으로부터, 각각의 손가락 오브젝트의 위치에 기반하여 결정된 간격 또는 정해진 간격을 갖는 복수 개의 영역들을 식별하고, 및
    상기 가상 키보드의 키 열(key column)을 상기 복수 개의 영역들에 대응시키도록 설정된, 전자 장치.
  3. 제2 항에 있어서,
    상기 복수 개의 영역들의 개수는 상기 가상 키보드의 키 열의 개수와 동일한, 전자 장치.
  4. 제1 항에 있어서,
    상기 프로세서는:
    상기 손가락 오브젝트의 상기 위치에 대응하는 상기 가상 키보드의 키 열을 결정하도록 설정된, 전자 장치.
  5. 제4 항에 있어서,
    상기 프로세서는:
    상기 카메라를 이용하여 상기 손가락 오브젝트의 특정 부분의 좌표 정보를 식별하고, 및
    상기 좌표 정보가 속하는 영역에 대응하는 키 열을 상기 손가락 오브젝트의 상기 위치에 대응하는 상기 키 열로 결정하도록 설정된, 전자 장치.
  6. 제4 항에 있어서,
    상기 프로세서는:
    상기 키 열에 포함된 복수 개의 가상 키들 중에서 상기 손가락 오브젝트의 상기 구부림의 정도에 대응하는 키 행(key row)에 의하여 특정된 상기 제1 가상 키를 식별하도록 설정된, 전자 장치.
  7. 제6 항에 있어서,
    상기 프로세서는:
    상기 손가락 오브젝트의 제1 좌표와 제2 좌표 사이의 제1 축에 대한 제1 거리가 제1 임계값을 초과하고, 제2 축에 대한 제2 거리가 제2 임계값 미만인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제1 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제1 구부림 상태에 대응하는 제1 행의 키를 상기 제1 가상 키로서 식별하고,
    상기 손가락 오브젝트의 상기 제1 거리가 상기 제1 임계값과 제3 임계값 사이의 값이고, 상기 제2 거리가 상기 제2 임계값과 제4 임계값 사이의 값인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제2 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제2 구부림 상태에 대응하는 제2 행의 키를 상기 제1 가상 키로서 식별하고, 및
    상기 손가락 오브젝트의 상기 제1 거리가 상기 제3 임계값 미만이고, 상기 제2 거리가 상기 제4 임계값을 초과하는 경우, 상기 손가락 오브젝트의 구부림의 정도를 제3 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제3 구부림 상태에 대응하는 제3 행의 키를 상기 제1 가상 키로서 식별하도록 설정되고,
    상기 제1 임계값은 상기 제3 임계값 보다 크고, 상기 제4 임계값은 상기 제2 임계값 보다 큰, 전자 장치.
  8. 제1 항에 있어서,
    상기 프로세서는:
    상기 손가락 오브젝트의 특정 부분이 아래 방향으로 정해진 거리 이상을 이동하는 것에 기반하여, 상기 손가락 오브젝트의 상기 타이핑 움직임을 검출하도록 설정된, 전자 장치.
  9. 제1 항에 있어서,
    상기 프로세서는:
    상기 제1 가상 키의 그래픽 사용자 인터페이스(GUI) 상에 시각 효과를 표시하도록 상기 디스플레이를 제어하도록 설정된, 전자 장치.
  10. 제1 항에 있어서,
    상기 프로세서는:
    상기 제2 영상으로부터 정해진 손가락 오브젝트가 검출되지 않은 경우, 상기 정해진 손가락 오브젝트에 대응하는 제1 가이드 인디케이터를 표시하도록 상기 디스플레이를 제어하고, 및
    상기 제2 영상의 크기에 대한 상기 손가락 오브젝트의 특정 부분의 크기의 비율이 제1 임계 비율 이하이거나 제2 임계 비율 이상인 경우, 상기 손가락 오브젝트에 대응하는 제2 가이드 인디케이터를 표시하도록 상기 디스플레이를 제어하도록 설정된, 전자 장치.
  11. 전자 장치의 동작 방법에 있어서,
    상기 전자 장치의 카메라를 이용하여 획득한 제1 영상으로부터 상기 전자 장치의 자세에 기반하여 결정된 제2 영상을 표시하도록 상기 전자 장치의 디스플레이를 제어하는 동작,
    상기 제2 영상으로부터 손가락 오브젝트를 검출하는 동작,
    상기 손가락 오브젝트의 위치 및 구부림(bending)의 정도에 기반하여, 가상 키보드로부터 상기 손가락 오브젝트에 대응하는 제1 가상 키를 식별하는 동작, 및
    상기 손가락 오브젝트의 타이핑 움직임을 검출하는 것에 기반하여, 상기 제1 가상 키의 입력을 식별하는 동작을 포함하는, 전자 장치의 동작 방법.
  12. 제11 항에 있어서,
    상기 제2 영상으로부터, 각각의 손가락 오브젝트의 위치에 기반하여 결정된 간격 또는 정해진 간격을 갖는 복수 개의 영역들을 식별하는 동작, 및
    상기 가상 키보드의 키 열(key column)을 상기 복수 개의 영역들에 대응시키는 동작을 더 포함하는, 전자 장치의 동작 방법.
  13. 제11 항에 있어서,
    상기 제1 가상 키를 식별하는 동작은,
    상기 손가락 오브젝트의 상기 위치에 대응하는 상기 가상 키보드의 키 열을 결정하는 동작을 포함하고,
    상기 가상 키보드의 키 열을 결정하는 동작은,
    상기 카메라를 이용하여 상기 손가락 오브젝트의 특정 부분의 좌표 정보를 식별하는 동작, 및
    상기 좌표 정보가 속하는 영역에 대응하는 키 열을 상기 손가락 오브젝트의 상기 위치에 대응하는 상기 키 열로 결정하는 동작을 포함하는, 전자 장치의 동작 방법.
  14. 제11 항에 있어서,
    상기 제1 가상 키를 식별하는 동작은,
    상기 손가락 오브젝트의 상기 위치에 대응하는 상기 가상 키보드의 키 열을 결정하는 동작, 및
    상기 키 열에 포함된 복수 개의 가상 키들 중에서 상기 손가락 오브젝트의 상기 구부림의 정도에 대응하는 키 행(key row)에 의하여 특정된 상기 제1 가상 키를 식별하는 동작을 포함하는, 전자 장치의 동작 방법.
  15. 제14 항에 있어서,
    상기 제1 가상 키를 식별하는 동작은,
    상기 손가락 오브젝트의 제1 좌표와 제2 좌표 사이의 제1 축에 대한 제1 거리가 제1 임계값을 초과하고, 제2 축에 대한 제2 거리가 제2 임계값 미만인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제1 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제1 구부림 상태에 대응하는 제1 행의 키를 상기 제1 가상 키로서 식별하는 동작,
    상기 손가락 오브젝트의 상기 제1 거리가 상기 제1 임계값과 제3 임계값 사이의 값이고, 상기 제2 거리가 상기 제2 임계값과 제4 임계값 사이의 값인 경우, 상기 손가락 오브젝트의 구부림의 정도를 제2 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제2 구부림 상태에 대응하는 제2 행의 키를 상기 제1 가상 키로서 식별하는 동작, 및
    상기 손가락 오브젝트의 상기 제1 거리가 상기 제3 임계값 미만이고, 상기 제2 거리가 상기 제4 임계값을 초과하는 경우, 상기 손가락 오브젝트의 구부림의 정도를 제3 구부림 상태로 결정하고, 상기 복수 개의 가상 키들 중에서 상기 제3 구부림 상태에 대응하는 제3 행의 키를 상기 제1 가상 키로서 식별하는 동작을 포함하고,
    상기 제1 임계값은 상기 제3 임계값 보다 크고, 상기 제4 임계값은 상기 제2 임계값 보다 큰, 전자 장치의 동작 방법.
PCT/KR2022/006269 2021-09-06 2022-05-02 가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치와 이의 동작 방법 WO2023033301A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22864810.1A EP4325345A1 (en) 2021-09-06 2022-05-02 Electronic device for acquiring user input through virtual keyboard and operating method thereof
US17/749,610 US11941180B2 (en) 2021-09-06 2022-05-20 Electronic device for obtaining user input through virtual keyboard and method of operating the same

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2021-0118348 2021-09-06
KR20210118348 2021-09-06
KR10-2021-0133683 2021-10-08
KR1020210133683A KR20230036021A (ko) 2021-09-06 2021-10-08 가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치와 이의 동작 방법

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/749,610 Continuation US11941180B2 (en) 2021-09-06 2022-05-20 Electronic device for obtaining user input through virtual keyboard and method of operating the same

Publications (1)

Publication Number Publication Date
WO2023033301A1 true WO2023033301A1 (ko) 2023-03-09

Family

ID=85411475

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/006269 WO2023033301A1 (ko) 2021-09-06 2022-05-02 가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치와 이의 동작 방법

Country Status (1)

Country Link
WO (1) WO2023033301A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2725458A1 (en) * 2011-06-23 2014-04-30 Fujitsu Limited Information processing device, input control method, and input control program
JP2014120131A (ja) * 2012-12-19 2014-06-30 Sharp Corp 仮想キー入力判定装置及びそれを備えた携帯端末装置
JP2014165660A (ja) * 2013-02-25 2014-09-08 Univ Of Tsukuba バーチャルキーボードの入力方法、プログラム、記憶媒体、及びバーチャルキーボードシステム
KR20190114616A (ko) * 2018-03-30 2019-10-10 한국전자통신연구원 3차원 공간 상의 손가락 움직임을 통해 문자를 입력하는 방법 및 장치
KR20210033394A (ko) * 2019-09-18 2021-03-26 삼성전자주식회사 전자 장치 및 그의 제어 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2725458A1 (en) * 2011-06-23 2014-04-30 Fujitsu Limited Information processing device, input control method, and input control program
JP2014120131A (ja) * 2012-12-19 2014-06-30 Sharp Corp 仮想キー入力判定装置及びそれを備えた携帯端末装置
JP2014165660A (ja) * 2013-02-25 2014-09-08 Univ Of Tsukuba バーチャルキーボードの入力方法、プログラム、記憶媒体、及びバーチャルキーボードシステム
KR20190114616A (ko) * 2018-03-30 2019-10-10 한국전자통신연구원 3차원 공간 상의 손가락 움직임을 통해 문자를 입력하는 방법 및 장치
KR20210033394A (ko) * 2019-09-18 2021-03-26 삼성전자주식회사 전자 장치 및 그의 제어 방법

Similar Documents

Publication Publication Date Title
WO2022108192A1 (ko) 전자 장치 및 전자 장치의 멀티윈도우 제어방법
WO2022035236A1 (ko) 표시 면적이 가변되는 디스플레이를 포함하는 전자 장치 및 제어 방법
WO2023008677A1 (ko) 전자 장치 및 입력 좌표 예측 방법
WO2022197076A1 (ko) 전자 장치 및 오타 보정 방법
WO2023277380A1 (ko) 입력 필드를 기반으로 사용자 인터페이스를 구성하는 방법 및 전자 장치
WO2022177299A1 (ko) 통화 기능의 제어 방법 및 이를 지원하는 전자 장치
WO2022211271A1 (ko) 학습 기반의 필기 입력을 처리하는 전자 장치, 그 동작 방법 및 저장매체
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2023033301A1 (ko) 가상 키보드를 통하여 사용자 입력을 획득하는 전자 장치와 이의 동작 방법
WO2022030921A1 (ko) 전자 장치 및 그의 화면을 제어하는 방법
WO2023146077A1 (ko) 가상 키보드 상의 터치 입력으로부터 사용자 의도를 인식하기 위한 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2023146173A1 (ko) 화면을 제공하는 방법 및 이를 지원하는 전자 장치
WO2023106830A1 (ko) 한 손 조작 모드를 지원하는 전자 장치 및 전자 장치의 동작 방법
WO2022234984A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2021242022A1 (ko) 3차원 객체에 2차원 객체를 합성하기 위한 전자 장치, 전자 장치의 동작 방법 및 비일시적 저장 매체
WO2022181949A1 (ko) Ar/vr 환경을 제공하는 전자 장치 및 그 운용 방법
WO2023054897A1 (ko) 영상 통화를 수행하는 전자 장치 및 방법
WO2023085822A1 (ko) 디바이스 위치 결정 방법 및 상기 방법을 수행하는 전자 장치
WO2022050772A1 (ko) 프리뷰 드로잉 방법 및 이를 위한 전자 장치
WO2022103156A1 (ko) 플렉서블 디스플레이를 포함하는 전자 장치 및 이를 이용하는 방법
WO2023033319A1 (ko) 디스플레이의 제어 방법 및 이를 지원하는 전자 장치
WO2024080838A1 (ko) 키보드 입력의 오타 보정을 위한 전자 장치 및 방법
WO2023063720A1 (ko) 전자 장치의 디스플레이를 확장하는 방법 및 이를 지원하는 전자 장치
WO2023075153A1 (ko) 통신 모듈을 식별하기 위한 구성 핀을 이용하여 안테나 장치를 제어하는 전자 장치 및 방법
WO2024029740A1 (ko) 입력 장치를 이용하여 드로잉 데이터를 출력하는 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22864810

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022864810

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022864810

Country of ref document: EP

Effective date: 20231117

NENP Non-entry into the national phase

Ref country code: DE