This application is based on and claims priority under 35 U.S.C. 119 to Korean Patent Application No. 10-2019-0163763, filed on Dec. 10, 2019, in the Korean Intellectual Property Office, the disclosure of which is herein incorporated by reference in its entirety.
Various embodiment disclosed herein relate to an electronic device and a method for processing a slanted writing input
Electronic devices, such as smartphones, tablet PCs, and wearable smart devices, may provide various functions, such as music playback, navigation, short-range wireless communication (e.g. Bluetooth, Wi-Fi, or near-field communication (NEC)), a fingerprint recognition, image capture(or still image), video capture (video recording), and facilitating electronic payments.
Some user equipment may recognize a writing input manually entered using an electronic pen. For example, the electronic device may include an input device that detects the approach and touch of a user's finger or an electronic pen, and may recognize handwriting input by application of the finger or pen to the input device.
The electronic device may store the recognized writing input in the form of an image, or may convert the recognized writing input into text for additional processing. To convert the recognized writing input into text, the electronic device may use a text recognition algorithm able to account for unique characteristics of user handwriting.
The above information is presented as background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the disclosure.
In handwriting recognition, a conventional electronic device may perform line separation on text based on the assumption of a horizontal writing input. Thus, when a plurality of sentences are input at a slant, the electronic device has difficulty in accurately recognizing each sentence. When the user inputs slanted handwriting including a plurality of lines, because slanted handwriting is not separately considered by the electronic device, a problem and/or inconvenience may arise resulting in errors, in that sentences and/or text become unrecognizable by the device due to limitations of detecting separations between different lines of text.
Certain embodiments disclosed herein may provide a writing recognition method that enables detection of handwritten input in a plurality of lines, even when the sentences are input at a slant. For example, one embodiment of the invention may allow detection of individual lines and text even when the sentences are slanted at up to 80 degrees, resulting in a successful recognition rate of 90% or higher, by performing preprocessing accounting for characteristics of the handwriting, and an electronic device supporting the same.
An electronic device according to an embodiment may include: a display, a memory configured to store instructions, and at least one processor electrically connected to the display and the memory, wherein, the stored instructions are executable by the at least one processor to cause the electronic device to: detect a written input including a plurality of strokes through the display, group the plurality of strokes into a first group and a second group based on respective coordinates of each of the plurality of strokes, group first strokes included in the first group into a plurality of blocks, based on a distance between respective coordinates of each of the first strokes, determine a slope for each of the plurality of blocks, rotate an area corresponding to the first group based on the determined slope, execute handwriting recognition on the first strokes based on the rotated area, and displaying a result of the handwriting recognition on the display.
A method for recognizing a slanted writing input by an electronic device according to an embodiment may include: detecting, through display, a handwritten input including a plurality of strokes, grouping, by a processor, the plurality of strokes into a first group and a second group based on respective coordinates of each the plurality of strokes, grouping first strokes included in the first group from among the plurality of strokes into a plurality of blocks based on a distance between coordinates of each of the respective first strokes, determining a slope for each of the plurality of blocks, rotating an area corresponding to the first group based on the determined slope; and executing handwriting recognition on the first strokes based on the rotated area.
An electronic device according to an embodiment may include: a display, a memory storing instructions, an electronic pen detectable by the electronic device, and at least one processor electrically connected to the display and the memory, wherein the instructions are executable by the at least one processor to cause the electronic device to: detect a written input including a plurality of strokes via the electronic pen, group the plurality of strokes into a plurality of blocks based on respective distances between coordinates of each of the plurality of strokes, determine a slope for each of the plurality of blocks, rotate an area including the plurality of strokes based on the determined slope, execute handwriting recognition on the plurality of strokes based on the rotated area, and display a result of the handwriting recognition on the display.
According to certain embodiments disclosed herein, in recognizing slanted handwriting input in a plurality of lines, the slanted handwriting may be analyzed by block-based linear regression to derive the slope thereof and may be subjected to preprocessing of rotation in a reverse direction, thereby increasing the recognition rate of the slanted writing input.
According to certain embodiments disclosed herein, in recognizing slanted handwriting input in a plurality of lines, the slanted handwriting may be subjected to grouping before analysis by block-based linear regression, thereby increasing the accuracy of rotation and increasing the recognition rate of the slanted writing input.
In addition, various effects directly or indirectly identified through this disclosure may be provided.
The above and other aspects, features, and advantages of certain embodiments of the disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
In a description of the drawings, like reference numerals may be used to refer to like components.
Hereinafter, certain embodiments disclosed herein are described with reference to the accompanying drawings. The size of components illustrated in the drawings may be exaggerated or reduced for convenience of description, and the disclosure is not necessarily limited as illustrated.
Referring to
The processor 120 may execute, for example, software (e.g., a program 140) to control at least one other component (e.g., a hardware or software component) of the electronic device 101 coupled with the processor 120, and may perform various data processing or computation. According to an embodiment, as at least part of the data processing or computation, the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 121. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or to be specific to a specified function. The auxiliary processor 123 may be implemented as separate from, or as part of the main processor 121.
The auxiliary processor 123 may control at least some of functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, instead of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or together with the main processor 121 while the main processor 121 is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123.
The memory 130 may store various data used by at least one component (e.g., the processor 120 or the sensor module 176) of the electronic device 101. The various data may include, for example, software (e.g., the program 140) and input data or output data for a command related thereto. The memory 130 may include the volatile memory 132 or the non-volatile memory 134.
The program 140 may be stored in the memory 130 as software, and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
The input device 150 may receive a command or data to be used by other component (e.g., the processor 120) of the electronic device 101, from the outside (e.g., a user) of the electronic device 101. The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).
The sound output device 155 may output sound signals to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing record, and the receiver may be used for an incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.
The display device 160 may visually provide information to the outside (e.g., a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector. According to an embodiment, the display device 160 may include touch circuitry adapted to detect a touch, or sensor circuitry (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.
The audio module 170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain the sound via the input device 150, or output the sound via the sound output device 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.
The sensor module 176 may detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
The interface 177 may support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
A connecting terminal 178 may include a connector via which the electronic device 101 may be physically connected with the external electronic device (e.g., the electronic device 102). According to an embodiment, the connecting terminal 178 may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector).
The haptic module 179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
The camera module 180 may capture a still image or moving images. According to an 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. According to an embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and the external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel. The communication module 190 may include one or more communication processors that are operable independently from the processor 120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., 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 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
The antenna module 197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 101. According to an embodiment, the antenna module 197 may include an antenna including a radiating element implemented using a conductive material or a conductive pattern formed in or on a substrate (e.g., PCB). According to an embodiment, the antenna module 197 may include a plurality of antennas. In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 198 or the second network 199, may be selected, for example, by the communication module 190 (e.g., the wireless communication module 192) from the plurality of antennas. The signal or the power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.
At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199. Each of the electronic devices 102 and 104 may be a device of a same type as, or a different type, from the electronic device 101. According to an embodiment, all or some of operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 101. The electronic device 101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, or client-server computing technology may be used, for example.
The OS 142 may control management (e.g., allocating or deallocation) of one or more system resources (e.g., process, memory, or power source) of the electronic device 101. The OS 142, additionally or alternatively, may include one or more driver programs to drive other hardware devices of the electronic device 101, for example, the input device 150, the sound output device 155, the display device 160, the audio module 170, the sensor module 176, the interface 177, the haptic module 179, the camera module 180, the power management module 188, the battery 189, the communication module 190, the subscriber identification module 196, or the antenna module 197.
The middleware 144 may provide various functions to the application 146 such that a function or information provided from one or more resources of the electronic device 101 may be used by the application 146. The middleware 144 may include, for example, an application manager 201, a window manager 203, a multimedia manager 205, a resource manager 207, a power manager 209, a database manager 211, a package manager 213, a connectivity manager 215, a notification manager 217, a location manager 219, a graphic manager 221, a security manager 223, a telephony manager 225, or a voice recognition manager 227.
The application manager 201, for example, may manage the life cycle of the application 146. The window manager 203, for example, may manage one or more graphical user interface (GUI) resources that are used on a screen. The multimedia manager 205, for example, may identify one or more formats to be used to play media files, and may encode or decode a corresponding one of the media files using a codec appropriate for a corresponding format selected from the one or more formats. The resource manager 207, for example, may manage the source code of the application 146 or a memory space of the memory 130. The power manager 209, for example, may manage the capacity, temperature, or power of the battery 189, and determine or provide related information to be used for the operation of the electronic device 101 based at least in part on corresponding information of the capacity, temperature, or power of the battery 189. According to an embodiment, the power manager 209 may interwork with a basic input/output system (BIOS) (not shown) of the electronic device 101.
The database manager 211, for example, may generate, search, or change a database to be used by the application 146. The package manager 213, for example, may manage installation or update of an application that is distributed in the form of a package file. The connectivity manager 215, for example, may manage a wireless connection or a direct connection between the electronic device 101 and the external electronic device. The notification manager 217, for example, may provide a function to notify a user of an occurrence of a specified event (e.g., an incoming call, message, or alert). The location manager 219, for example, may manage locational information on the electronic device 101. The graphic manager 221, for example, may manage one or more graphic effects to be offered to a user or a user interface related to the one or more graphic effects.
The security manager 223, for example, may provide system security or user authentication. The telephony manager 225, for example, may manage a voice call function or a video call function provided by the electronic device 101. The voice recognition manager 227, for example, may transmit a user's voice data to the server 108, and receive, from the server 108, a command corresponding to a function to be executed on the electronic device 101 based at least in part on the voice data, or text data converted based at least in part on the voice data. According to an embodiment, the middleware 144 may dynamically delete some existing components or add new components. According to an embodiment, at least part of the middleware 144 may be included as part of the OS 142 or may be implemented as another software separate from the OS 142.
The application 146 may include, for example, a home 251, dialer 253, short message service (SMS)/multimedia messaging service (MMS) 255, instant message (IM) 257, browser 259, camera 261, alarm 263, contact 265, voice recognition 267, email 269, calendar 271, media player 273, album 275, watch 277, health 279 (e.g., for measuring the degree of workout or biometric information, such as blood sugar), or environmental information 281 (e.g., for measuring air pressure, humidity, or temperature information) application. According to an embodiment, the application 146 may further include an information exchanging application (not shown) that is capable of supporting information exchange between the electronic device 101 and the external electronic device. The information exchange application, for example, may include a notification relay application adapted to transfer designated information (e.g., a call, message, or alert) to the external electronic device or a device management application adapted to manage the external electronic device. The notification relay application may transfer notification information corresponding to an occurrence of a specified event (e.g., receipt of an email) at another application (e.g., the email application 269) of the electronic device 101 to the external electronic device. Additionally or alternatively, the notification relay application may receive notification information from the external electronic device and provide the notification information to a user of the electronic device 101.
The device management application may control the power (e.g., turn-on or turn-off) or the function (e.g., adjustment of brightness, resolution, or focus) of the external electronic device or some component thereof (e.g., a display device or a camera module of the external electronic device). The device management application, additionally or alternatively, may support installation, delete, or update of an application running on the external electronic device.
In an embodiment, as illustrated in
The display 310 (e.g., the display device 160 of
In an embodiment, the display 310 may provide a rectangular screen. However, the shape of the screen provided by the display 310 is not limited to a rectangle but may include a rectangle having a rounded corner, a circle, a rectangle having a notched area, a rectangle having a circular hole in an area, or the like depending on the type or design of the electronic device. Although it is assumed in this document that the display has a rectangular shape and slanted writing is input in a horizontal direction of the display for convenience of explanation, various modifications are possible. For example, embodiments disclosed herein may also be applied to a case in which slanted writing is input in a vertical direction of the display.
In an embodiment, a slanted writing input or a writing input being slanted may mean that a series of writing inputs (e.g., a sentence, a word, or the like) are provided at a predetermined angle with respect to a reference direction (e.g., the horizontal direction) of the display. Here, the horizontal direction may refer to a direction that is the same as that of a first edge among edges forming the screen of the display 310. The first edge may correspond to a short edge (e.g., an edge corresponding to a width direction) in an embodiment, while the first edge may correspond to a long edge (e.g., an edge corresponding to a length direction) in another embodiment.
The memory 330 (e.g., the memory 130 in
The processor 350 (e.g., the processor 120 of
According to an embodiment, by executing the instruction, the processor 350 may obtain a writing input including a plurality of strokes on the display 310, may configure the strokes, and may group the strokes into a first group and a second group based on the coordinates of the plurality of strokes. The processor 350 may group first strokes included in the first group among the plurality of strokes into a plurality of blocks based on the distance between the coordinates of the strokes, may determine the slope of each block, and may rotate an area corresponding to the first group. The processor 350 may perform the foregoing pre-rotation process, thereby performing writing recognition of the first strokes based on the rotated area and displaying the result of the writing recognition on the display 310. A writing recognition method via a pre-rotation process will be described in detail later.
The electronic pen 370 (e.g., the input device 150 of
The communication circuit 390 may support communication between the electronic device 300 and an external electronic device. According to an embodiment, the communication circuit 390 may receive data from the external electronic device or may transmit data to the external electronic device. According to another embodiment, the communication circuit 390 may transmit at least one of a writing input received via the electronic pen 370, data for recognizing the received writing input, or the result of recognizing the received writing input to the external electronic device.
According to an embodiment, in operation 401, the processor 350 may obtain a writing input (e.g., handwritten text) including a plurality of strokes on the display 310. For example, the processor 350 may detect the writing input through the electronic pad 371 that detects the approach or touch of the electronic pen 370. According to an embodiment, the processor 350 may detect the writing input through a touch circuit (e.g., an electrostatic capacitive touch circuit, an electromagnetic induction touch circuit, or the like) included in the display 310.
According to an embodiment, in operation 403, the processor 350 may group the strokes into a first group and a second group based on the respective coordinates of the strokes. The processor 350 may determine to group the plurality of strokes into the groups according to positional similarity between the strokes. According to an embodiment, the processor 350 may analyze whether the strokes are spaced apart by at least a predetermined distance to be grouped into groups based on the coordinates of the strokes, and may group the strokes into one or more groups. For example, the plurality of inputted strokes may be grouped into one group, may be grouped into a first group and a second group, or may be grouped into three or more groups according to positional similarity.
According to an embodiment, the processor 350 may derive the average distance (average delta) between the plurality of strokes, and may group the strokes into groups when there is a gap of an n multiple of the average distance (average delta) based on the coordinates of the strokes. A relevant example will be described with reference to
According to an embodiment, when a stroke that is out of order is input, the processor 350 may use stored coordinate information about strokes in a preconfigured group to be quickly applied to the grouping operation 403.
A method for the grouping operation 403 is not limited to the above-described method, and any method using positional similarity is applicable. For example, the processor 350 may analyze images of the plurality of strokes and may group the images into one or more groups according to positional similarity.
Referring back to
According to an embodiment, the distance between the coordinates may be derived by designating reference points on the first strokes for calculating the distance and obtaining the distance between the reference points. For example, the distance between the coordinates may be at least one of the distance between the start points of the first strokes, the distance between the end points of the first strokes, or the distance between intermediate points between the start points and the end points. According to an embodiment, the distance between the coordinates may be the distance between the end point of any one of the first strokes and the start point of a subsequent first stroke. A relevant example will be described with reference to
The processor 350 may group the strokes into one or more blocks based on the distance between the coordinates. According to an embodiment, the processor 350 may group the strokes into different blocks when any one distance between coordinates is equal to or greater than an n multiple of the average of derived distances between the coordinates. The variable “n” is a value greater than 1 and may be variously determined depending on the obtained writing input. A relevant example will be described with reference to
Referring back to
According to an embodiment, when performing operation 407 of determining the slopes of the plurality of blocks, the processor 350 may omit determination of slope for some blocks of which the angle is too difficult to calculate, from among the plurality of blocks. For example, a block having a very low aspect ratio may be excluded from slope determination.
Referring back to
According to an embodiment, when obtaining the average value of the inclination angles of the blocks, the processor 350 may exclude the inclination angle of any block deemed unnecessary for calculating the rotation angle. For example, a relatively small block (e.g., a black having insufficient length compared to a predetermined length), a block slanted at an angle that is significantly different from the inclination angles of other blocks (e.g., having a differentiation greater than some preset angular threshold), or the like may be excluded from the process of obtaining the average value of the inclination angles.
Referring back to
According to an embodiment, the processor 350 may rotate an area corresponding to the second group by the average value of inclination angles of blocks in the second group by the same method as the foregoing method for rotating the first group. The rotation angle of the first group and the rotation angle of the second group may be different.
According to an embodiment, in operation 409 of rotating the area, the processor 350 may rotate the area corresponding to the first group excluding at least one block that does not require rotation among the plurality of blocks. For example, a block that is slanted at a small angle not to significantly affect writing recognition performance (e.g., being slanted at an angle smaller than some predetermined angular threshold) and thus does not require rotation may be excluded from the rotation.
Referring back to
According to an embodiment, in DLA information analysis (1131), the processor may classify handwritten text and non-text (e.g., a picture) by DLA in real time. According to an embodiment, in DLA information analysis (1131), the processor may classify the input strokes in real time according to the learning result of learning data of the handwritten text and the non-text (e.g., the picture).
According to an embodiment, in stroke separation (1132), the processor may separate the strokes in a group classified as the text in real time. According to an embodiment, stroke separation (1132) may be performed according to a rule (e.g., the order of handwritten strokes, an input position, or the like) in order to increase speed.
According to an embodiment, in text recognition (1142), the processor may perform text recognition using a writing recognition algorithm (e.g., a database in tandem with recognition strategies based on machine learning). The processor may generate text with the highest probability of accuracy translation of the handwritten text through various methodologies in post processing (1143). The derived text (i.e., recognition result) may be received in the app (UI) 1110 (1113) and may be displayed.
Referring back to
The processor 350 disclosed herein may display the result of recognizing slanted writing on the display 310 in various ways. For example, the processor 350 may display not only a converted text result value but also other information. A relevant example will be described with reference to
Referring to
Referring to
Referring to
A method for outputting a result value on the display 310 is not limited to the foregoing embodiments, and the result of recognizing a slanted writing input may be displayed by various methods.
As described above, according to an embodiment, a method for recognizing a slanted writing input by an electronic device (e.g., the electronic device 101 of
According to an embodiment, in the operation of grouping the plurality of strokes into the first group and the second group, the at least one processor may determine to group the plurality of strokes into the first group and the second group according to positional similarity between the plurality of strokes.
According to an embodiment, the distance between the coordinates may be at least one of a distance between start points of the first strokes, a distance between end points of the first strokes, or a distance between intermediate points between the start points and the end points.
According to an embodiment, the distance between the coordinates may be a distance between an end point of any one of the first strokes and a start point of a subsequent first stroke.
According to an embodiment, in the operation of determining the slope, the at least one processor may determine the slope of each of the plurality of blocks using linear regression.
According to an embodiment, an angle by which the area is rotated may be an average of inclination angles of the plurality of blocks.
According to an embodiment, in the operation of rotating the area, the at least one processor may rotate the entire area corresponding to the first group in a reverse direction by the average of the inclination angles of the plurality of blocks.
According to an embodiment, in the operation of rotating the area, the at least one processor may rotate the area corresponding to the first group excluding at least one block not needing rotation among the plurality of blocks.
As described above, according to an embodiment, an electronic device 300 (e.g., the electronic device 101 of
According to an embodiment, the electronic device 300 may further include an electronic pad (an electromagnetic resonance or EMR pad) 371 configured to detect an input by the electronic pen, in which the at least one processor 350 may be configured to detect the plurality of strokes through the electronic pad 371.
According to an embodiment, the electronic device 300 may further include: an accommodation space configured to accommodate the electronic pen 370; and a sensor configured to detect whether the electronic pen 370 is detached from the accommodation space.
According to an embodiment, the electronic device 300 may further include a communication circuit 390 configured to support communication between the electronic device 300 and an external electronic device, in which the communication circuit 390 may receive data from the external electronic device or may transmit data to the external electronic device.
The electronic device according to certain embodiments may be one of various types of electronic devices. The electronic devices may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.
It should be appreciated that certain embodiments of the present disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C,” may include any one of, or all possible combinations of the items enumerated together in a corresponding one of the phrases. As used herein, such terms as “1st” and “2nd,” or “first” and “second” may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). It is to be understood that if an element (e.g., a first element) is referred to, with or without the term “operatively” or “communicatively”, as “coupled with,” “coupled to,” “connected with,” or “connected to” another element (e.g., a second element), it means that the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry”. A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC).
Certain embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that is readable by a machine (e.g., the electronic device 101). For example, a processor (e.g., the processor 120) of the machine (e.g., the electronic device 101) may invoke at least one of the one or more instructions stored in the storage medium, and execute it, with or without using one or more other components under the control of the processor. This allows the machine to be operated to perform at least one function according to the at least one instruction invoked. The one or more instructions may include a code generated by a complier or a code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. The term “non-transitory” simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
According to an embodiment, a method according to certain embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., PlayStore™), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
According to certain embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. According to certain embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to certain embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to certain embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
Number | Date | Country | Kind |
---|---|---|---|
10-2019-0163763 | Dec 2019 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
4653107 | Shojima | Mar 1987 | A |
5615285 | Beernink | Mar 1997 | A |
5903668 | Beernink | May 1999 | A |
7620244 | Collier | Nov 2009 | B1 |
9373049 | Worley | Jun 2016 | B1 |
9524440 | Wimmer | Dec 2016 | B2 |
9621219 | Richmond | Apr 2017 | B1 |
10346035 | Xia | Jul 2019 | B2 |
10614300 | Kelso | Apr 2020 | B2 |
10748031 | Binford | Aug 2020 | B1 |
10949660 | Wang | Mar 2021 | B2 |
11017258 | Gur | May 2021 | B2 |
20030215136 | Chao | Nov 2003 | A1 |
20040141648 | Dodge | Jul 2004 | A1 |
20040165774 | Koubaroulis | Aug 2004 | A1 |
20050100217 | Abdulkader | May 2005 | A1 |
20050163377 | Walch | Jul 2005 | A1 |
20070003142 | Simard | Jan 2007 | A1 |
20080231635 | Saund | Sep 2008 | A1 |
20080253659 | Walch | Oct 2008 | A1 |
20080292190 | Biswas | Nov 2008 | A1 |
20130242021 | Hasegawa | Sep 2013 | A1 |
20160162174 | Tsutsui | Jun 2016 | A1 |
20170117930 | Richmond | Apr 2017 | A1 |
20180018774 | Kacher | Jan 2018 | A1 |
20180293435 | Wang | Oct 2018 | A1 |
20190325211 | Ordonez | Oct 2019 | A1 |
20200065601 | Andreassen | Feb 2020 | A1 |
Number | Date | Country |
---|---|---|
6055065 | Dec 2016 | JP |
10-2008-0086460 | Sep 2008 | KR |
10-2015-0024107 | Mar 2015 | KR |
10-2021-0017063 | Feb 2021 | KR |
Entry |
---|
International Search Report dated Apr. 1, 2021. |
Number | Date | Country | |
---|---|---|---|
20210174075 A1 | Jun 2021 | US |