US 12,118,811 B2
Electronic device and method for shape recognition based on stroke analysis in electronic device
Taewon Kwak, Gyeonggi-do (KR); Jinsu Shin, Gyeonggi-do (KR); and Jiwon Lee, Gyeonggi-do (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Gyeonggi-do (KR)
Filed on Jan. 28, 2022, as Appl. No. 17/586,965.
Application 17/586,965 is a continuation of application No. PCT/KR2022/001390, filed on Jan. 26, 2022.
Claims priority of application No. 10-2021-0012683 (KR), filed on Jan. 28, 2021.
Prior Publication US 2022/0237936 A1, Jul. 28, 2022
Int. Cl. G06V 30/32 (2022.01); G06F 3/04883 (2022.01)
CPC G06V 30/347 (2022.01) [G06F 3/04883 (2013.01)] 17 Claims
OG exemplary drawing
 
1. An electronic device comprising:
a display;
a memory; and
at least one processor operatively coupled to the display and the memory,
wherein the memory stores instructions that are configured to, when executed, cause the at least one processor to:
identify a size of a first stroke trajectory and a distance between a stroke start point of the first stroke trajectory and each one of points following the stroke start point on the first stroke trajectory at designated time intervals while displaying first stroke data of the first stroke trajectory, based on an input of a first touch-move without a first touch-up after a first touch-down on the display,
determine whether the size of the first stroke trajectory is greater than a specified size and a first distance between the stroke start point and a point among the points is less than a second distance between the stroke start point and a previous point of the point among the points,
responsive to the determination, perform shape recognition for the first stroke trajectory,
obtain second stroke data corresponding to a recognized shape about the first stroke data based on the shape recognition, and
display the second stroke data on the display,
wherein the second stroke data includes a first shape recognized by using the first stroke trajectory, and the first shape is one of a triangle shape, a rectangle shape, a circle shape, an ellipse shape, a trapezoid shape, a star shape, a straight line, or a curved line.