Icon

Bounding Box from XML Creator

Bounding Box Creation & Display (XML Workflow)
Annotations and comments
  • Notes Please read workflow description about the component. IMPORTANT Change the PATH inside the Python Script node within the component to save images to your intended file (can be any random folder). Link for sample images (small set): https://drive.google.com/file/d/1BJEUTWuSNl8rbmwxpPEtBT3AQKH34_Y8/view
  • read all created image bounding boxes
  • extra math manipulation to account for how KNIME has different axes for x and y - so the bounding box is at the correct place
  • calculate bounding box x length
  • calculate bounding box y length
  • creates bounding boxes through PIL CHANGE PATH TO DESIRED PATH
  • List only jpg files (or change to whatever file your images are in)
  • List only xml files
  • Query bounding box coordinates for all xml files
  • See bounding box images Right Click > View: Interactive Segmentation View
  • Input both XML & Image files

Nodes

Extensions

Links