1. 首先安装 anaconda
https://www.anaconda.com/download/
Python3.7安装包64位 468M 楼主只下载了这个
https://repo.anaconda.com/archive/Anaconda3-2019.07-Windows-x86_64.exe
Python2.7安装包位 427M
https://repo.anaconda.com/archive/Anaconda2-2019.07-Windows-x86_64.exe
LabelMeAnnotationTool
https://github.com/CSAILVision/LabelMeAnnotationTool
下载后开始以管理员权限进行安装
安装完成后,游戏系统桌面并没有显示,原因是因为windows桌面的防御策略导致,本人电脑就是这问题。
从开始菜单里面找到 Anaconda Prompt 命令行工具
逐一执行命令如下 (注意此时安装环境是base)
创建labelme的conda环境
conda create –name=labelme python=2.7
安装pyqt 默认版本即可
conda install pyqt
通过pip 安装labelme
pip install labelme
注意
在执行安装过程包没多大几十兆但是可能会提示下载失败。这种情况多试几次。
我公司网络dns解析和运营商网络问题导致迟迟下不下来和蜗牛速度。
最后通过wifi 热点利用移动4G方式下载安装速度相当快。
安装完成后直接在Anaconda Prompt 命令行输入 labelme 即可调用出工具
如果大批量标注使用快捷键需要自己设置下
在安装目录下会有个隐藏文件 c:/Users/db 看你自己打环境目录。
找到 .labelmerc 文件 直接编辑他
默认D为下一张图片 D
默认A为上一张图片 A
自己添加快捷键
create_polygon: [C, Ctrl+N] # 添加C为创建多边形
edit_polygon: [E, Ctrl+J] # 添加E为编辑多边形
auto_save: true 改为自动保存,省去ctrl + s
auto_save: true
display_label_popup: true
instance_label_auto_increment: true
store_data: true
keep_prev: false
logger_level: info
flags: null
label_flags: null
labels: null
file_search: null
sort_labels: true
validate_label: null
# main
flag_dock:
show: true
closable: true
movable: true
floatable: true
label_dock:
show: true
closable: true
movable: true
floatable: true
shape_dock:
show: true
closable: true
movable: true
floatable: true
file_dock:
show: true
closable: true
movable: true
floatable: true
# label_dialog
show_label_text_field: true
label_completion: startswith
fit_to_content:
column: true
row: false
epsilon: 10.0
shortcuts:
close: Ctrl+W
open: Ctrl+O
open_dir: Ctrl+U
quit: Ctrl+Q
save: Ctrl+S
save_as: Ctrl+Shift+S
save_to: null
delete_file: Ctrl+Delete
open_next: [D, Ctrl+Shift+D]
open_prev: [A, Ctrl+Shift+A]
zoom_in: [Ctrl++, Ctrl+=]
zoom_out: Ctrl+-
zoom_to_original: Ctrl+0
fit_window: Ctrl+F
fit_width: Ctrl+Shift+F
create_polygon: [C, Ctrl+N]
create_rectangle: Ctrl+R
create_circle: null
create_line: null
create_point: null
create_linestrip: null
edit_polygon: [E, Ctrl+J]
delete_polygon: Delete
duplicate_polygon: Ctrl+D
undo: Ctrl+Z
undo_last_point: [Ctrl+Z, Backspace]
add_point_to_edge: Ctrl+Shift+P
edit_label: Ctrl+E
edit_line_color: Ctrl+L
edit_fill_color: Ctrl+Shift+L
toggle_keep_prev_mode: Ctrl+P
有了快捷键 效率非常高