Skip to content

crop_hints not working as a standalone feature #2

Description

@DamienCaillet

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions