| CPC G06V 10/141 (2022.01) [G06T 5/50 (2013.01); G06T 7/50 (2017.01); G06T 7/70 (2017.01); G06V 10/60 (2022.01); H04N 23/11 (2023.01); G06T 2207/20224 (2013.01)] | 14 Claims |

|
1. A method for optical touch image optimization, applied for an optical touch device, wherein the method comprises:
turning on an infrared light source based on a preset second interval, wherein the infrared light source is configured to illuminate a touch object of the optical touch device;
capturing, at each time the infrared light source is turned on, a first optical touch image and a second optical touch image based on a preset first interval, wherein the first optical touch image is an image captured when the infrared light source is turned on, the second optical touch image is an image captured when the infrared light source is turned off, and both the first optical touch image and the second optical touch image comprise both the touch object and an interference object; and
performing subtraction between the first optical touch image and the second optical touch image to obtain an optimized optical touch image, wherein the optimized optical touch image comprises the touch object,
wherein the step of turning on an infrared light source based on a preset second interval comprises:
turning on, after the touch object contacts a touch panel of the optical touch device, the infrared light source based on the preset second interval,
wherein the infrared light source is configured to illuminate the touch object that is in contact with the touch panel, and not configured to illuminate the interference object that is not in contact with the touch panel.
|