python箭头方向,OpenCV 2.4.8(Python)确定箭头的方向

在实时视频帧中,作者需要确定箭头的方向来指导机器人行进。尝试了SURF、ORB、SIFT和Moments等方法,但未找到可靠解决方案。建议是通过查找角度接近90度的箭尖和相邻角度接近45度的角,计算这两个线段的角度和,以确定箭头方向。链接提供了一个可能有帮助的资源。
摘要由CSDN通过智能技术生成

I am currently working on a project where I need to determine the orientation of arrows. These arrows will be used as input for a robot to determine what direction it should travel in.

I am using a Beaglebone Black with Ubuntu and OpenCV 2.4.8. I've experimenting with SURF, ORB, SIFT, Moments, and BFMatcher. I haven't found a reliable way to determine the orientation of an arrow. This needs to be done in real time as we will be using frames from a video.

I was wondering if someone could offer a reliable solution to determine the orientation of an arrow?

Here is a sample image:

5ec64958ab3d4c370fd2c9702a4e37bf.png

解决方案

Here is some approach, I think it will works with the image you provided.

As your arrow image have the followin

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值