Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML files generated from xml2yml.m #14

Open
ZhengYuxiao opened this issue Oct 28, 2016 · 2 comments
Open

YAML files generated from xml2yml.m #14

ZhengYuxiao opened this issue Oct 28, 2016 · 2 comments

Comments

@ZhengYuxiao
Copy link

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

@seanXYZ
Copy link

seanXYZ commented Nov 23, 2016

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

@linleee
Copy link

linleee commented Apr 6, 2017

How to run wy own data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants