Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问c_api的结果支持输出对应坐标吗 #5

Open
futz12 opened this issue Aug 20, 2022 · 6 comments
Open

请问c_api的结果支持输出对应坐标吗 #5

futz12 opened this issue Aug 20, 2022 · 6 comments

Comments

@futz12
Copy link

futz12 commented Aug 20, 2022

No description provided.

@benjaminwan
Copy link
Owner

有框的坐标

@futz12
Copy link
Author

futz12 commented Aug 20, 2022

Demo中没有讲到如何获取,是和pParam这个参数有关还是需要用其他方法

@benjaminwan
Copy link
Owner

搞错了,这个项目有返回坐标,OcrLiteNcnnLibTest没有返回坐标只有结果文字;

@futz12
Copy link
Author

futz12 commented Aug 20, 2022

也就是说c_api暂时还没法获取到对应的坐标信息吗?
thanks

@benjaminwan
Copy link
Owner

是的

@wode2016501
Copy link

("TextBox[%d][x: %d, y: %d], [x: %d, y: %d], [x: %d, y: %d], [x: %d, y: %d]]\n", i,
textBoxes[i].boxPoint[0].x, textBoxes[i].boxPoint[0].y,
textBoxes[i].boxPoint[1].x, textBoxes[i].boxPoint[1].y,
textBoxes[i].boxPoint[2].x, textBoxes[i].boxPoint[2].y,
textBoxes[i].boxPoint[3].x, textBoxes[i].boxPoint[3].y);
输出的是?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants