VGG Image Annotator (VIA)
- VGG Image Annotator (VIA)是一款开源的图像标注工具,由Visual Geometry Group开发。
- 地址: http://www.robots.ox.ac.uk/~vgg/software/via/。
1.打开网址,选择source code进行下载:
下载后,解压via-src-2.0.7.zip
2.工具使用:
1) 点击via.html,打开在线标注页面。
2) 点击Add Files或者Add URL,添加图片。Add Files是添加本地图片,Add URL是给出图片URL或者绝对路径。
3) 点击小圆点,进行图像选点标注。
3.导出标注文件:
点击菜单栏Annotation,
导出.json文件。
文件内容:其中shape_attributes为点位信息。
{"error.PNG98490":{"filename":"error.PNG","size":98490,"regions":[{"shape_attributes":{"name":"point","cx":85,"cy":56},"region_attributes":{}},{"shape_attributes":{"name":"point","cx":59,"cy":128},"region_attributes":{}},{"shape_attributes":{"name":"point","cx":171,"cy":132},"region_attributes":{}},{"shape_attributes":{"name":"point","cx":93,"cy":192},"region_attributes":{}},{"shape_attributes":{"name":"point","cx":10,"cy":16},"region_attributes":{}},{"shape_attributes":{"name":"point","cx":196,"cy":13},"region_attributes":{}}],"file_attributes":{}}}
4.后续工作:
自行写脚本,提取坐标信息。