Skip to contents

Parse the .m output of the annotation script and send to the database.

Usage

postImageAnnotationsToDatabase(
  annotation_path,
  auth_token,
  image_id,
  post_table = TRUE
)

Arguments

annotation_path

path to the .m output of the matematica annotation script

auth_token

your user authentication token to the database. See getUserAuthToken. Note that this will be recorded as the person responsible for these annotations -- please only upload annotations which you did yourself

image_id

numeric ID from the capsuleImage table which identifies a given image

post_table

boolean, default TRUE. Set to FALSE to prevent sending the data to the database, and instead return the dataframe

Value

http response if post_table is true, otherwise the dataframe