Attention! This forum will be made read-only by Dec-20. Please migrate to Most of existing active users should've received invitation by e-mail.
Ask Your Question

How to draw arrow from 2 Points

asked 2017-02-26 21:33:00 -0500

hoang anh tuan gravatar image

I have 2 point A(xA,yA) and B(xB,yB). How to draw arrow from A to B? (Of couse, with OpenCV)

Thank for reading!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2017-02-27 02:27:18 -0500

you can use arrowedLine()

you could modify the code if you need some customization

edit flag offensive delete link more

answered 2017-02-26 22:37:22 -0500

reference this blog

image description

Or you can copy a arrow img to the right place ,and in the right size.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-26 21:33:00 -0500

Seen: 8,172 times

Last updated: Feb 27 '17