xml_parse: Parse crown annotations from an Pascal VOC XML file

View source: R/xml_parse.R

xml_parseR Documentation

Parse crown annotations from an Pascal VOC XML file

Description

Parse crown annotations from an Pascal VOC XML file

Usage

xml_parse(path)

Arguments

path

Filename of the .xml file.

Details

This utility function creates a dataframe from xml annotations from RectLabel or Labelme exported as the standard pascal voc format for object detection. This function is used for the evaluation of the image annotations and is not often called by users.

Value

A dataframe of bounding box annotations in the format xmin, xmax, ymin, ymax.

Examples

xml <- get_data("SJER_052", "annotations")
xml_parse(xml)

weecology/NeonTreeEvaluation_package documentation built on Aug. 27, 2024, 10:53 a.m.