开发者

Get a picture from a word under cursor for OCR processing

开发者 https://www.devze.com 2023-02-12 03:49 出处:网络
Hi Fox I want to detect the word under cursor with get image from it(l开发者_如何学Cike babylon). But i don\'t know how can i get the area of screen for grab word that under cursor.

Hi Fox I want to detect the word under cursor with get image from it(l开发者_如何学Cike babylon). But i don't know how can i get the area of screen for grab word that under cursor.

Thanks for your help


This is done via Microsoft Active Accessibility (MSAA). You don't do it yourself in your program.

Since it's COM-based, you can do it from both C++ and C#.

(Assuming Windows since it's tagged C#)

0

精彩评论

暂无评论...
验证码 换一张
取 消