loope和loopne就是比loop多了一个测试ZF标志位的东西。
loope是只有在CX不等于0和ZF=1的情况下才执行循环。
loopne是是只有在CX不等于0和ZF=0的情况下才执行循环。
例子:
assume cs:code,ds:data
data segment
buff db 12,45,67,23,0FFH
data ends
code segment
start:
mov ax,data
mov ds,ax
mov bx,offset buff
mov cx,100
circle:
inc byte ptr [bx]
inc bx
cmp byte ptr [bx],0FFH
loopne circle
mov ax,4C00H
int 21H
code ends end start
扩展资料
loop closure detection与place recognition有很多相似之处,它们所使用的方法很多都是相通的,可以说place recognition是loop closure detection的支撑。
不同点:
它们对应的性能评价指标有些不同:
(1)place recognition主要关注算法对视角变化和光照变化的鲁棒性,具体说来就是Precision和Recall的取值
(2)由于loop closure detection是slam的一个模块,所以loop closure detection除了关注算法对视角变化和光照变化的鲁棒性外,还关注算法的时间性能。
尽管有些place recognition算法也关注算法的时间性能,但是place recognition主要关心的是算法的离线时间性能,也就是place recognition关注判断某张所对应的位置是否在整个数据集(数据集大小固定)中对应的位置出现所用的时间。
而loop closure detection关注的是算法的在线性能,也就是随着算法的时间性能随着机器人采集的增长的变化趋势。
因此,如果一种place recognition算法仅能做离线工作,那它就不能移植成loop closure detection算法。
反之,如果一种place recognition算法能做在线工作,那它就能移植成loop closure detection算法,这时place recognition和loop closure detection的方法的核心是一样的。
参考资料来源:百度百科——Loop
一、《计算机专业英语》
1 file n 文件;v 保存文件
2 command n 命令,指令
3 use v 使用,用途
4 program n 程序
5 line n (数据,程序)行,线路
6 if conj 如果
7 display vt 显示,显示器
8 set v 设置,n 集合
9 key n 键,关键字,关键码
10 list n 列表,显示,v 打印
11 by prep 凭,靠,沿
12 press v 按,压
13 with prep 用,与,随着
14 format n 格式
15 change v 更换,改变,变动
16 cursor n 光标
17 directory n 目录,索引簿
18 from prep 从,来自,以来
19 menu n 菜单,目录
20 option n 任选,选择,可选项
21 character n 字符,符号,特性
22 current n 电流
23 type n 型,类型;v 打印
24 screen n 屏幕,屏;v 屏蔽
25 specify v 指定,规定,确定
26 move v 移动
27 disk n 盘,磁盘
28 text n 正文,文本
29 drive v 驱动;n 驱动器
30 see v 看,看出,查看
31 name n 名,名称;vt 命名
32 record n 记录
33 box n 箱,匣,(逻辑)框
34 database n 数据库
35 help v & n 帮助
36 memory n 记忆存储,存储器
37 which pron 哪个,a 那一个
38 all a 全,全部;ad 完全
39 on ad 接通,导电,开
40 copy n 复制,v 拷贝
41 shell n 壳,外壳
42 delete vt 删除,删去,作废
43 enter v 键入,送入
44 margin n 余量,边缘,边际
45 mark n 标记;vt 加标记
46 also ad & conj 也,亦,还
47 do v 做,干;n 循环
48 information n 信息,情报
49 choose v 挑选,选择,选定
50 select vt 选择
51 group n 组,群
52 first a & ad & n 第一,首先
53 field n 字段,域,栏,场
54 procedure n 过程,程序,工序
55 print v 打印,印刷
56 return v 返回,回送
57 number n 数字,号码;vt 编号
58 selected a 精选的
59 want v 需要,应该,缺少
60 window n 窗口
61 message n 信息,消息,电文
62 dialog n & vt 对话
63 example n 例子,实例
64 create vt 创立,建立
65 insert vt 插入
66 related a 相关的
67 item n 项,项目,条款
68 edit vt 编辑,编排,编篡
69 marked a 有记号的
70 area n (区)域,面积,方面
71 parameter n 参数,参变量
72 then ad & conj 那时,则
73 variable a 可变的;n 变量
74 tab n 制表键
75 up ad 上,向上,a 高的
76 string n 行,字符串
77 each a & ad 各(自),每个
78 active a 激活的,活动的
79 topic n 题目,论题
80 start v 起动,开始,启动
81 mode n 态,方式,模
82 selection n 选择
83 function n 函数,功能, *** 作
84 word n 字(词),单词
85 make vt 制造,形成,接通
86 right a 右边的,正确的
87 value n 值
88 button n 按钮
89 index n 索引,变址,指数
90 without prep 没有,在以外
91 appear vi 出现,显现,好像
92 left a & n 左边(的)
93 save v 保存
94 next n 下一次,a 其次
95 off ad (设备)关着,脱离
96 following a 下列的,以下的
97 control v 控制,支配,管理
98 only a 唯一的,ad 仅仅
99 user n 用户
100 end n 结束,终点,端点
101 system n 系统
102 contain vt 包含,包括
103 time n 时间;vt 计时
104 letter n 字母,信
105 data n 数据
106 setting n 设置,调整
107 desire v & n 期望
108 position n 位置;vt 定位
109 down ad 落下,降低,减少
110 task n 任务;v 派给任务
111 view n & v 视图,景象
112 switch n & v 开关,转换,切换
113 include vt 包括,包含
114 get v 得到,获得,取
115 default v 缺省,预置,约定
116 structure n 结构,构造,构件
117 into prep 向内,进入
118 path n 路径,通路,轨道
119 blank n 空白,间隔
120 open v 打开,开启,断开
二、《计算机专业英语词汇》
A
Active-matrix主动距陈
Adapter cards适配卡
Advanced application高级应用
Analytical graph分析图表
Analyze分析
Animations动画
Application software 应用软件
Arithmetic operations算术运算
Audio-output device音频输出设备
Access time存取时间
access存取
accuracy准确性
ad network cookies广告网络信息记录软件
Add-ons 插件
Address地址
Agents代理
Analog signals模拟信号
Applets程序
Asynchronous communications port异步通信端口
Attachment附件
B
Bar code条形码
Bar code reader条形码读卡器
Basic application基础程序
Binary coding schemes二进制译码方案
Binary system二进制系统
Bit比特
Browser浏览器
Bus line总线
Backup tape cartridge units备份磁带盒单元
Bandwidth带宽
Bluetooth蓝牙
Broadband宽带
Browser浏览器
Business-to-business企业对企业电子商务
Business-to-consumer企业对消费者
Bus总线
C
Cables连线
Cell单元箱
Chain printer链式打印机
Character and recognition device字符标识识别设备
Chart图表
Chassis支架
Chip芯片
Clarity清晰度
Closed architecture封闭式体系结构
Column列
Combination key结合键
computer competency计算机能力
connectivity连接,结点
Continuous-speech recognition system连续语言识别系统
Control unit *** 纵单元
Cordless or wireless mouse无线鼠标
Cable modems有线调制解调器
carpal tunnel syndrome腕骨神经综合症
CD-ROM可记录光盘
CD-RW可重写光盘
CD-R可记录压缩光盘
Channel信道
Chat group谈话群组
chlorofluorocarbons(CFCs) ]氯氟甲烷
Client客户端
Coaxial cable同轴电缆
cold site冷战
Commerce servers商业服务器
Communication channel信道
Communication systems信息系统
Compact disc rewritable
Compact disc光盘
computer abuse amendments act of 19941994计算机滥用法案
computer crime计算机犯罪
computer ethics计算机道德
computer fraud and abuse act of 1986计算机欺诈和滥用法案
computer matching and privacy protection act of 1988计算机查找和隐私保护法案
Computer network计算机网络
computer support specialist计算机支持专家
computer technician计算机技术人员
computer trainer计算机教师
Connection device连接设备
Connectivity连接
Consumer-to-consumer个人对个人
cookies-cutter programs信息记录截取程序
cookies信息记录程序
cracker解密高手
cumulative trauma disorder积累性损伤错乱
Cybercash电子现金
Cyberspace计算机空间
cynic愤世嫉俗者
D
Database数据库
database files数据库文件
Database manager数据库管理
Data bus数据总线
Data projector数码放映机
Desktop system unit台式电脑系统单元
Destination file目标文件
Digital cameras数码照相机
Digital notebooks数字笔记本
Digital bideo camera数码摄影机
Discrete-speech recognition system不连续语言识别系统
Document文档
document files文档文件
Dot-matrix printer点矩阵式打印机
Dual-scan monitor双向扫描显示器
Dumb terminal非智能终端
data security数据安全
Data transmission specifications数据传输说明
database administrator数据库管理员
Dataplay数字播放器
Demodulation解调
denial of service attack拒绝服务攻击
Dial-up service拨号服务
Digital cash数字现金
Digital signals数字信号
Digital subscriber line数字用户线路
Digital versatile disc数字化通用磁盘
Digital video disc数字化视频光盘
Direct access直接存取
Directory search目录搜索
disaster recovery plan灾难恢复计划
Disk caching磁盘驱动器高速缓存
Diskette磁盘
Disk磁碟
Distributed data processing system分部数据处理系统
Distributed processing分布处理
Domain code域代码
Downloading下载
DVD 数字化通用磁盘
DVD-R 可写DVD
DVD-RAM DVD随机存取器
DVD-ROM 只读DVD
E
e-book电子阅读器
Expansion cards扩展卡
end user终端用户
e-cash电子现金
e-commerce电子商务
electronic cash电子现金
electronic commerce电子商务
electronic communications privacy act of1986电子通信隐私法案
encrypting加密术
energy star能源之星
Enterprise computing企业计算化
environment环境
Erasable optical disks可擦除式光盘
ergonomics人类工程学
ethics道德规范
External modem外置调制解调器
extranet企业外部网
F
Fax machine传真机
Field域
Find搜索
FireWire port port火线端口
Firmware固件
Flash RAM闪存
Flatbed scanner台式扫描器
Flat-panel monitor纯平显示器
floppy disk软盘
Formatting toolbar格式化工具条
Formula公式
Function函数
fair credit reporting act of 1970公平信用报告法案
Fiber-optic cable光纤电缆
File compression文件压缩
File decompression文件解压缩
filter过滤
firewall防火墙
firewall防火墙
Fixed disk固定硬盘
Flash memory闪存
Flexible disk可折叠磁盘
Floppies磁盘
Floppy disk软盘
Floppy-disk cartridge磁盘盒
Formatting格式化
freedom of information act of 1970信息自由法案
frequency频率
frustrated受挫折
Full-duplex communication全双通通信
G
General-purpose application通用运用程序
Gigahertz千兆赫
Graphic tablet绘图板
green pc绿色个人计算机
H
handheld computer手提电脑
Hard copy硬拷贝
hard disk硬盘
hardware硬件
Help帮助
Host computer主机
Home page主页
Hyperlink超链接
hacker黑客
Half-duplex communication半双通通信
Hard disk硬盘
Hard-disk cartridge硬盘盒
Hard-disk pack硬盘组
Head crash磁头碰撞
header标题
help desk specialist帮助办公专家
helper applications帮助软件
Hierarchical network层次型网络
history file历史文件
hits匹配记录
horizontal portal横向用户
hot site热战
Hybrid network混合网络
hyperlinks超连接
I
Image capturing device图像获取设备
information technology信息技术
Ink-jet printer墨水喷射印刷机
Integrated package综合性组件
Intelligent terminal智能终端设备
Intergrated circuit集成电路
Interface cards接口卡
Internal modem内部调制解调器
internet telephony网络电话
internet terminal互联网终端
Identification识别
i-drive网络硬盘驱动器
illusion of anonymity匿名幻想
index search索引搜索
information pushers信息推送器
initializing 初始化
instant messaging计时信息
internal hard disk内置硬盘
Internal modem内部调制解调器
Internet hard drive 网络硬盘驱动器
intranet企业内部网
J
joystick *** 纵杆
K
keyword search关键字搜索
L
laser printer激光打印机
Layout files版式文件
Light pen光笔
Locate定位
Logical operations逻辑运算
Lands凸面
Line of sight communication视影通信
Low bandwidth低带宽
lurking潜伏
M
Main board主板
Mark sensing标志检测
Mechanical mouse机械鼠标
Memory内存
Menu菜单
Menu bar菜单条
Microprocessor微处理器
Microseconds微秒
Modem card调制解调器
Monitor显示器
Motherboard主板
Mouse 鼠标
Multifunctional device多功能设备
Magnetic tape reels磁带卷
Magnetic tape streamers磁带条
mailing list邮件列表
Medium band媒质带宽
metasearch engine整合搜索引擎
Microwave微波
Modem解调器
Modulation解调
N
Net PC网络计算机
Network adapter card网卡
Network personal computer网络个人电脑
Network terminal 网络终端
Notebook computer笔记本电脑
Notebook system unit笔记本系统单元
Numeric entry数字输入
national information infrastructure protection act of1996国际信息保护法案
national service provider全国性服务供应商
Network architecture网络体系结构
Network bridge网桥
Network gateway网关
network manager网络管理员
newsgroup新闻组
no electronic theft act of1997无电子盗窃法
Node节点
Nonvolatile storage非易失性存储
O
Object embedding对象嵌入
Object linking目标链接
Open architecture开放式体系结构
Optical disk光盘
Optical mouse光电鼠标
Optical scanner光电扫描仪
Outline大纲
off-line browsers离线浏览器
Online storage联机存储
P
palmtop computer掌上电脑
Parallel ports并行端口
Passive-matrix被动矩阵
PC card个人计算机卡
Personal laser printer个人激光打印机
Personal video recorder card个人视频记录卡
Photo printer照片打印机
Pixel像素
Platform scanner平版式扫描仪
Plotter绘图仪
Plug and play即插即用
Plug-in boards插件卡
Pointer指示器
Pointing stick指示棍
Port端口
Portable scanner便携式扫描仪
Presentation files演示文稿
Presentation graphics电子文稿程序
Primary storage主存
Procedures规程
Processor处理机
Programming control lanugage程序控制语言
Packets数据包
Parallel data transmission平行数据传输
Peer-to-peer network system得等网络系统
person-person auction site个人对个人拍卖站点
physical security物理安全
Pits凹面
plug-in插件程序
Polling轮询
privacy隐私权
proactive主动地
programmer程序员
Protocols协议
provider供应商
proxy server代理服务
pull products推取程序
push products推送程序
R
RAM cache随机高速缓冲器
Range范围
Record记录
Relational database关系数据库
Replace替换
Resolution分辨率
Row行
Read-only只读
Reformatting重组
regional service provider区域性服务供应商
repetitive motion injury反复性动作损伤
reverse directory反向目录
right to financial privacy act of 1979财产隐私法案
Ring network环形网
S
Scanner扫描器
Search查找
Secondary storage device助存储设备
Semiconductor半导体
Serial ports串行端口
Server服务器
Shared laser printer共享激光打印机
Sheet表格
Silicon chip硅片
Slots插槽
Smart card智能卡
Soft copy软拷贝
Software suite软件协议
Sorting排序分类
Source file源文件
Special-purpose application专用文件
Spreadsheet电子数据表
Standard toolbar标准工具栏
Supercomputer巨型机
System cabine 系统箱
System clock时钟
System software系统软件
Satellite/air connection services卫星无线连接服务
search engines搜索引擎
search providers搜索供应者
search services 搜索服务器
Sectors扇区
security安全
Sending and receiving devices发送接收设备
Sequential access顺序存取
Serial data transmission单向通信
signature line签名档
snoopware监控软件
software copyright act of1980软件版权法案
software piracy软件盗版
Solid-state storage固态存储器
specialized search engine专用搜索引擎
spiders网页爬虫
spike尖峰电压
Star network星型网
Strategy方案
subject主题
subscription address预定地址
Superdisk超级磁盘
surfing网上冲浪
surge protector浪涌保护器
systems analyst系统分析师
T
Table二维表
Telephony电话学
Television boards电视扩展卡
Terminal 终端
Template模板
Text entry文本输入
Thermal printer 热印刷
Thin client瘦客
Toggle key触发键
Toolbar工具栏
Touch screen触摸屏
Trackball追踪球
TV tuner card电视调谐卡
Two-state system双状态系统
technical writer技术协作者
technostress重压技术
telnet远程登录
Time-sharing system分时系统
Topology拓扑结构
Tracks磁道
traditional cookies传统的信息记录程序
Twisted pair双绞
U
Unicode统一字符标准
uploading上传
usenet世界性新闻组网络
V
Virtual memory虚拟内存
Video display screen视频显示屏
Voice recognition system声音识别系统
vertical portal纵向门户
video privacy protection act of 1988视频隐私权保护法案
virus checker病毒检测程序
virus病毒
Voiceband音频带宽
Volatile storage易失性存储
voltage surge
W
Wand reader 条形码读入
Web 网络
Web appliance 环球网设备
Web page网页
Web site address网络地址
Web terminal环球网终端
Webcam摄像头
What-if analysis假定分析
Wireless revolution无线革命
Word字长
Word processing文字处理
Word wrap自动换行
Worksheet file 工文件
web auctions网上拍卖
web broadcasters网络广播
web portals门户网站
web sites网站
web storefront creation packages网上商店创建包
web storefronts网上商店
web utilities网上应用程序
web-downloading utilities网页下载应用程序
webmaster web站点管理员
web万维网
Wireless modems无线调制解调器
wireless service provider无线服务供应商
world wide web万维网
worm蠕虫病毒
Write-protect notch写保护口
其他缩写
DVD digital bersatile 数字化通用光盘
IT information technology信息技术
CD compact disc 压缩盘
PDA personal digital assistant个人数字助理
RAM random access memory随机存储器
>
简介
该库可以通过python或者命令行即可实现人脸识别的功能。使用dlib深度学习人脸识别技术构建,在户外脸部检测数据库基准(Labeled Faces in the Wild)上的准确率为9938%。
在github上有相关的链接和API文档。
在下方为提供的一些相关源码或是文档。当前库的版本是v020,点击docs可以查看API文档,我们可以查看一些函数相关的说明等。
安装配置
安装配置很简单,按照github上的说明一步一步来就可以了。
根据你的python版本输入指令:
pip install face_recognition11
或者
pip3 install face_recognition11
正常来说,安装过程中会出错,会在安装dlib时出错,可能报错也可能会卡在那不动。因为pip在编译dlib时会出错,所以我们需要手动编译dlib再进行安装。
按照它给出的解决办法:
1、先下载下来dlib的源码。
git clone
2、编译dlib。
cd dlib
mkdir build
cd build
cmake -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=1
cmake --build1234512345
3、编译并安装python的拓展包。
cd
python3 setuppy install --yes USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA1212
注意:这个安装步骤是默认认为没有GPU的,所以不支持cuda。
在自己手动编译了dlib后,我们可以在python中import dlib了。
之后再重新安装,就可以配置成功了。
根据你的python版本输入指令:
pip install face_recognition11
或者
pip3 install face_recognition11
安装成功之后,我们可以在python中正常import face_recognition了。
编写人脸识别程序
编写py文件:
# -- coding: utf-8 --
#
# 检测人脸
import face_recognition
import cv2
# 读取并识别人脸
img = face_recognitionload_image_file("silicon_valleyjpg")
face_locations = face_recognitionface_locations(img)
print face_locations
# 调用opencv函数显示
img = cv2imread("silicon_valleyjpg")
cv2namedWindow("原图")
cv2imshow("原图", img)
# 遍历每个人脸,并标注
faceNum = len(face_locations)
for i in range(0, faceNum):
top = face_locations[i][0]
right = face_locations[i][1]
bottom = face_locations[i][2]
left = face_locations[i][3]
start = (left, top)
end = (right, bottom)
color = (55,255,155)
thickness = 3
cv2rectangle(img, start, end, color, thickness)
# 显示识别结果
cv2namedWindow("识别")
cv2imshow("识别", img)
cv2waitKey(0)
cv2destroyAllWindows()12345678910111213141516171819202122232425262728293031323334353637381234567891011121314151617181920212223242526272829303132333435363738
注意:这里使用了python-OpenCV,一定要配置好了opencv才能运行成功。
运行结果:
程序会读取当前目录下指定的,然后识别其中的人脸,并标注每个人脸。
(使用来自美剧硅谷)
编写人脸比对程序
首先,我在目录下放了几张:
这里用到的是一张乔布斯的照片和一张奥巴马的照片,和一张未知的照片。
编写程序:
# 识别中的人脸
import face_recognition
jobs_image = face_recognitionload_image_file("jobsjpg");
obama_image = face_recognitionload_image_file("obamajpg");
unknown_image = face_recognitionload_image_file("unknownjpg");
jobs_encoding = face_recognitionface_encodings(jobs_image)[0]
obama_encoding = face_recognitionface_encodings(obama_image)[0]
unknown_encoding = face_recognitionface_encodings(unknown_image)[0]
results = face_recognitioncompare_faces([jobs_encoding, obama_encoding], unknown_encoding )
labels = ['jobs', 'obama']
print('results:'+str(results))
for i in range(0, len(results)):
if results[i] == True:
print('The person is:'+labels[i])123456789101112131415161718123456789101112131415161718
运行结果:
识别出未知的那张照片是乔布斯的。
摄像头实时识别
代码:
# -- coding: utf-8 --
import face_recognition
import cv2
video_capture = cv2VideoCapture(1)
obama_img = face_recognitionload_image_file("obamajpg")
obama_face_encoding = face_recognitionface_encodings(obama_img)[0]
face_locations = []
face_encodings = []
face_names = []
process_this_frame = True
while True:
ret, frame = video_captureread()
small_frame = cv2resize(frame, (0, 0), fx=025, fy=025)
if process_this_frame:
face_locations = face_recognitionface_locations(small_frame)
face_encodings = face_recognitionface_encodings(small_frame, face_locations)
face_names = []
for face_encoding in face_encodings:
match = face_recognitioncompare_faces([obama_face_encoding], face_encoding)
if match[0]:
name = "Barack"
else:
name = "unknown"
face_namesappend(name)
process_this_frame = not process_this_frame
for (top, right, bottom, left), name in zip(face_locations, face_names):
top = 4
right = 4
bottom = 4
left = 4
cv2rectangle(frame, (left, top), (right, bottom), (0, 0, 255), 2)
cv2rectangle(frame, (left, bottom - 35), (right, bottom), (0, 0, 255), 2)
font = cv2FONT_HERSHEY_DUPLEX
cv2putText(frame, name, (left+6, bottom-6), font, 10, (255, 255, 255), 1)
cv2imshow('Video', frame)
if cv2waitKey(1) & 0xFF == ord('q'):
break
video_capturerelease()
cv2destroyAllWindows()1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545512345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
识别结果:
我直接在手机上百度了几张图试试,程序识别出了奥巴马。
这个库很cool啊!
以上就是关于loop loope loopne有什么差别全部的内容,包括:loop loope loopne有什么差别、计算机专业的单词、谁用过python中的第三方库face recognition等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)