首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

【连载21】Selective Search-3.11

对于目标识别任务,比如判断一张图片中有没有车、是什么车,一般需要解决两个问题:目标检测、目标识别。而目标检测任务中通常需要先通过某种方法做图像分割,事先得到候选框;直观的做法是:给定窗口,对整张图片滑动扫描,结束后改变窗口大小重复上面步骤,缺点很明显:重复劳动耗费资源、精度和质量不高等等。 针对上面的问题,一种解决方案是借鉴启发式搜索的方法,充分利用人类的先验知识。J.R.R. Uijlings在《Selective Search for Object Recoginition》提出一种方法:基于数据驱动,与具体类别无关的多种策略融合的启发式生成方法。图片包含各种丰富信息,例如:大小、形状、颜色、纹理、物体重叠关系等,如果只使用一种信息往往不能解决大部分问题,例如:

03

arping命令

大家好,又见面了,我是你们的朋友全栈君。arping是用于发送arp请求到一个相邻主机的工具; arping使用arp数据包,通过ping命令检查设备上的硬件地址。 语法: [root@ha01 ~]# arping Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination -f : quit on first reply -q : be quiet -b : keep broadcasting, don’t go unicast -D : duplicate address detection mode -U : Unsolicited ARP mode, update your neighbours -A : ARP answer mode, update your neighbours -V : print version and exit -c count : how many packets to send -w timeout : how long to wait for a reply -I device : which ethernet device to use (eth0) -s source : source ip address destination : ask for what ip address 该命令的各选项含义如下: -f 表示在收到第一个响应包后就退出; -q quiet output 不显示任何信息; -b 用于发送以太网广播帧(FFFFFFFFFFFF)。arping一开始使用广播地址,在收到响应后就使用unicast地址。 -c count表示发送指定数量的 ARP 请求数据包后就停止。如果制定了deadline选项,则arping会等待相同数量的arp响应包,直到超时为止; -d hostname 删除指定 hostname 的所有入口; -w timeout设定一个超时时间,单位是秒。如果到了指定时间,arping 还没有完全收到响应则退出; -V 显示版本信息 -H type设置和查询arp缓存时检查 type 类型的地址; -a [hostname] 显示指定 hostname 的所有入口; -s hostname hw_addr 手工加入 hostname 的地址映射; 范例1 :发送ARP请求 [root@ha01 ~]# arping 10.0.0.101 ARPING 10.0.0.101 from 10.0.0.121 eth0 Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 1.121ms Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 0.804ms Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 1.431ms Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 1.019ms Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 1.289ms Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 0.831ms Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 1.480ms Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 1.024ms 范例2 :向指定主机发送ARP请求,当收到第一个包自动退出 [root@ha01 ~]# arping -f 10.0.0.101 ARPING 10.0.0.101 from 10.0.0.121 eth0 Unicast reply from 10.0.0.101 [78:E4:00:4C:9E:E9] 1.145ms Sent 1 probes (1 broadcast(s)) Received 1 response(s) 范例3 : 指定发送次数 [root@ha01 ~]# arping -c 5 10.0.0.101 ARPING 10.0.0.101 from 10.0.0.12

02
领券