read_annotations_from_labelme: Reads bounding box annotations from JSON files. Each XML has...

Description Usage Arguments Value

View source: R/yolo3_generator.R

Description

Reads bounding box annotations from JSON files. Each JSON has to be in 'labelme JSON' format.

Usage

1
read_annotations_from_labelme(annot_paths, indices, images_path, labels)

Arguments

annot_paths

List to XML annotations filepaths.

indices

Indices specifying which files to read. If 'NULL' all files are loaded.

images_path

Path to directory with images.

labels

Character vector containing class labels. For example coco_labels.

Value

List of bounding box coordinates, heights, widths and image filepaths.


maju116/platypus documentation built on Oct. 18, 2020, 9:40 a.m.