cschwem2er/imgrec

crop_hints not working as a standalone feature

DamienCaillet opened this issue · 1 comments

Hi Carsten,
Thanks a lot for the great package.
I tried querying only the feature "crop_hints" and i get the following error:

Error in get_annotations(images = sw_image, features = "crop_hints", max_res = 1,  : 
  invalid "features" provided. Check the documentation for valid features.

query:

results <- get_annotations(images = sw_image, # image character vector
                           features = "crop_hints", # request all available features
                           max_res = 1, # maximum number of results per feature
                           mode = 'url') # maximum number of results per feature

When i choose features = "all", i do get the crop_hints annotation but also all the others.

One suggestion for crop_hints, it would be amazing if we could be able to set the ratio crop in the query 👍

Thanks for your help,
Cheers, Damien

Thanks Damien for the info and my apologies for the late response. I'll look into it.