Skip to content
New issue

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

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

Already on GitHub? # to your account

opencv.js 中如何 获取 cv.approxPolyDP 多边形的顶点 #62

Open
Forever1Love opened this issue Jun 11, 2022 · 0 comments
Open

opencv.js 中如何 获取 cv.approxPolyDP 多边形的顶点 #62

Forever1Love opened this issue Jun 11, 2022 · 0 comments

Comments

@Forever1Love
Copy link

你好, @daidai21@jiangzhonglian ,我这边使用opencv.js 4.6.0版本的,使用cv.approxPolyDP(cnt, tmpMat, 0.01 * cntLen, true);把值赋值给tmpMat,我想通过tmpMat获取多边形的各个顶点,我的例子中是不规则多边形是一个不规则的四边形,请问有方法可以调用获取不规则四边形的四个顶点吗?

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

No branches or pull requests

1 participant