Skip to contents

This function will extract the relevant information from a JSON file returned from the Plantnet API.

Usage

ca_get_polygon(pn_json)

Arguments

pn_json

The JSON object (read by e.g. jsonlite::read_json)

Value

list of center_x, center_y and size