RobotHelper icon indicating copy to clipboard operation
RobotHelper copied to clipboard

识别文字点击

Open HotYounger opened this issue 1 year ago • 4 comments

识别图片的文字后,能够拿到文字的坐标,进行点击吗

HotYounger avatar Aug 06 '24 07:08 HotYounger

文字识别用的是TessactOcr,我封装的方法是只返回文字内容,我记得好像TessactOCR有方法可以同时返回内容和坐标,具体记不清楚了,你可以自己去翻翻

https://github.com/tesseract-ocr/tesseract 这个是TessactOCR原Repo

https://github.com/adaptech-cz/Tesseract4Android 这个项目里面是用的这个Android移植版本

Jinnrry avatar Aug 06 '24 11:08 Jinnrry

感谢感谢

------------------ 原始邮件 ------------------ 发件人: "Jinnrry/RobotHelper" @.>; 发送时间: 2024年8月6日(星期二) 晚上7:19 @.>; @.@.>; 主题: Re: [Jinnrry/RobotHelper] 识别文字点击 (Issue #65)

文字识别用的是TessactOcr,我封装的方法是只返回文字内容,我记得好像TessactOCR有方法可以同时返回内容和坐标,具体记不清楚了,你可以自己去翻翻

https://github.com/tesseract-ocr/tesseract 这个是TessactOCR原Repo

https://github.com/adaptech-cz/Tesseract4Android 这个项目里面是用的这个Android移植版本

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HotYounger avatar Aug 07 '24 01:08 HotYounger

没有找到提供返回坐标的功能,您能帮我看一下吗,大佬

HotYounger avatar Aug 08 '24 07:08 HotYounger

那可能是TessactOCR没有这个吧,换yolo之类的方案吧

Jinnrry avatar Aug 08 '24 08:08 Jinnrry