CPC G06V 40/1318 (2022.01) [G06F 3/0412 (2013.01); G06F 3/042 (2013.01); G06V 40/1365 (2022.01); G06V 40/50 (2022.01); H10K 65/00 (2023.02)] | 3 Claims |
1. A recording medium storing a program for causing an electronic device to execute a process, comprising:
taking a first image of a detection object touching a screen of the electronic device in a first period;
taking a second image of the detection object touching the screen in a second period;
obtaining a first contact area measurement of the detection object touching the screen from the first image;
obtaining a second contact area measurement of the detection object touching the screen from the second image;
calculating a difference between sizes of the first contact area and the second contact area;
judging whether the difference is larger than a reference or not,
executing a first process when the difference is larger than the reference; and
executing a second process when the difference is smaller than or equal to the reference,
wherein the detection object continues to touch the screen in a period between the first period and the second period.
|