Objectness icon indicating copy to clipboard operation
Objectness copied to clipboard

YAML files generated from xml2yml.m

Open ZhengYuxiao opened this issue 9 years ago • 2 comments

Hello,I am a student who want make my own data set like VOC2007, but the Annotations of VOC2007 is xml, I need transform xml to yml, like the follow form , %YAML:1.0

annotation: folder: VOC2007 filename: "000001.jpg" source: {database: The VOC2007 Database, annotation: PASCAL VOC2007, image: flickr, flickrid: '341012865'} owner: {flickrid: Fried Camels, name: Jinky the Fruit Bat} size: {width: '353', height: '500', depth: '3'} segmented: '0' object:

  • bndbox: {xmin: '48', ymin: '240', xmax: '195', ymax: '371'} name: dog pose: Left truncated: '1' difficult: '0'
  • bndbox: {xmin: '8', ymin: '12', xmax: '352', ymax: '498'} name: person pose: Left truncated: '1' difficult: '0'

Can you tell me how to transform,Thank you very much

ZhengYuxiao avatar Oct 28 '16 01:10 ZhengYuxiao

Prepare all your info about the box of objects in picture. And thento put the info in XML or YAML file by APIs. For example, opencv has such APIs

seanXYZ avatar Nov 23 '16 02:11 seanXYZ

How to run wy own data?

linleee avatar Apr 06 '17 12:04 linleee