imglab is a simple graphical tool for annotating images with object bounding
boxes and optionally their part locations. Generally, you use it when you want
to train an object detector (e.g. a face detector) since it allows you to
easily create the needed training dataset.
You can compile imglab with the following commands:
cd dlib/tools/imglab
mkdir build
cd build
cmake ..
cmake --build . --config Release
Note that you may need to install CMake (www.cmake.org) for this to work. On a
unix system you can also install imglab into /usr/local/bin by running
sudo make install
This will make running it more convenient.
Next, to use it, lets assume you have a folder of images called /tmp/images.
These images should contain examples of the objects you want to learn to
detect. You will use the imglab tool to label these objects. Do this by
typing the following command:
./imglab -c mydataset.xml /tmp/images
This will create a file called mydataset.xml which simply lists the images in
/tmp/images. To add bounding boxes to the objects you run:
./imglab mydataset.xml
and a window will appear showing all the images. You can use the up and down
arrow keys to cycle though the images and the mouse to label objects. In
particular, holding the shift key, left clicking, and dragging the mouse will
allow you to draw boxes around the objects you wish to detect.
Once you finish labeling objects go to the file menu, click save, and then
close the program. This will save the object boxes back to mydataset.xml. You
can verify this by opening the tool again with:
./imglab mydataset.xml
and observing that the boxes are present.
imglab can do a few additional things. To see these run:
imglab -h
and also read the instructions in the About->Help menu.
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
训练工具、测试代码、goface修改的代码和头文件。 (370个子文件)
feature_tests.bin 38KB
CMakeDetermineCompilerABI_C.bin 35KB
SIZE_OF_VOID_PTR.bin 35KB
CMakeDetermineCompilerABI_CXX.bin 35KB
CMakeCCompilerId.c 19KB
SIZE_OF_VOID_PTR.c 1KB
cmake.check_cache 86B
cmake.check_cache 86B
CMakeCXXCompiler.cmake 5KB
cmake_install.cmake 3KB
CMakeCCompiler.cmake 2KB
cmake_install.cmake 2KB
cmake_install.cmake 1KB
CMakeSystem.cmake 395B
CMakeRCCompiler.cmake 212B
convert_imglab_paths_to_relative 554B
copy_imglab_dataset 756B
main.cpp 48KB
metadata_editor.cpp 22KB
CMakeCXXCompilerId.cpp 19KB
cluster.cpp 9KB
flip_dataset.cpp 8KB
convert_pascal_xml.cpp 7KB
convert_pascal_v1.cpp 5KB
convert_idl.cpp 4KB
common.cpp 2KB
feature_tests.cxx 5KB
generate.stamp.depend 11KB
generate.stamp.depend 4KB
generate.stamp.depend 2KB
main.exe 54.44MB
imglab.exe 1.48MB
CompilerIdCXX.exe 11KB
CompilerIdC.exe 11KB
dlib.vcxproj.filters 22KB
imglab.vcxproj.filters 3KB
neon_test.vcxproj.filters 678B
ZERO_CHECK.vcxproj.filters 587B
ZERO_CHECK.vcxproj.filters 560B
INSTALL.vcxproj.filters 559B
INSTALL.vcxproj.filters 559B
ALL_BUILD.vcxproj.filters 335B
ALL_BUILD.vcxproj.filters 317B
ALL_BUILD.vcxproj.filters 309B
main.go 2KB
simple_object_detector.h 16KB
metadata_editor.h 3KB
serialize_object_detector.h 2KB
simple_object_detector_py.h 2KB
common.h 1KB
convert_pascal_xml.h 384B
convert_pascal_v1.h 381B
convert_idl.h 358B
flip_dataset.h 341B
cluster.h 323B
test17_dlib_Train.iml 288B
2.jpg 521KB
3.jpg 421KB
17.jpg 406KB
10.jpg 319KB
20.jpg 283KB
8.jpg 253KB
1.jpg 230KB
30.jpg 228KB
43.jpg 215KB
14.jpg 181KB
13.jpg 176KB
53.jpg 167KB
33.jpg 167KB
9.jpg 163KB
45.jpg 161KB
44.jpg 155KB
22.jpg 151KB
15.jpg 132KB
19.jpg 130KB
56.jpg 130KB
59.jpg 130KB
35.jpg 120KB
23.jpg 116KB
6.jpg 107KB
29.jpg 98KB
60.jpg 94KB
5.jpg 92KB
25.jpg 86KB
32.jpg 83KB
47.jpg 78KB
18.jpg 70KB
21.jpg 60KB
58.jpg 52KB
26.jpg 52KB
16.jpg 51KB
41.jpg 44KB
48.jpg 43KB
27.jpg 41KB
24.jpg 41KB
37.jpg 40KB
11.jpg 40KB
31.jpg 38KB
42.jpg 33KB
46.jpg 33KB
共 370 条
- 1
- 2
- 3
- 4
xinlinhack
- 粉丝: 14
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0