title: Good way to input PASCAL-VOC 2012 training data and labels with tensorflow
body: <p>I want to do object detection of <a href="http://host.robots.ox.ac.uk/pascal/VOC/voc2012/index.html#introduction" rel="nofollow noreferrer">PASCAL-VOC 2012 dataset</a> with tensorflow. </p>
  
  <p>I want to input <strong>the whole image</strong> with <strong>object labels</strong> and the corresponding <strong>bounding boxes</strong> into the tensorflow for training. </p>
  
  <p>Is there any good way to write a data file for tensorflow to read? Or just read the original XML file in tensorflow?</p>
  
  <p>Thank you very much.</p>
  
  <p>Here is an image example:
  <a href="https://i.stack.imgur.com/1i0O1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1i0O1.jpg" alt="enter image description here"></a> </p>