flickrex v0.6.0 Flickrex.Flickr.Photos.People View Source

Link to this section Summary

Functions

Add a person to a photo. Coordinates and sizes of boxes are optional; they are measured in pixels, based on the 500px image size shown on individual photo pages

Remove a person from a photo

Remove the bounding box from a person in a photo

Edit the bounding box of an existing person on a photo

Get a list of people in a given photo

Link to this section Types

Link to this section Functions

Add a person to a photo. Coordinates and sizes of boxes are optional; they are measured in pixels, based on the 500px image size shown on individual photo pages.

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The id of the photo to add a person to.

  • user_id - (required) The NSID of the user to add to the photo.

  • person_x - The left-most pixel co-ordinate of the box around the person.

  • person_y - The top-most pixel co-ordinate of the box around the person.

  • person_w - The width (in pixels) of the box around the person.

  • person_h - The height (in pixels) of the box around the person.

Link to this function delete(args \\ []) View Source
delete(args()) :: operation()

Remove a person from a photo.

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The id of the photo to remove a person from.

  • user_id - (required) The NSID of the person to remove from the photo.

Link to this function delete_coords(args \\ []) View Source
delete_coords(args()) :: operation()

Remove the bounding box from a person in a photo

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The id of the photo to edit a person in.

  • user_id - (required) The NSID of the person whose bounding box you want to remove.

Link to this function edit_coords(args \\ []) View Source
edit_coords(args()) :: operation()

Edit the bounding box of an existing person on a photo.

This method requires authentication with “write” permission.

Arguments

  • photo_id - (required) The id of the photo to edit a person in.

  • user_id - (required) The NSID of the person to edit in a photo.

  • person_x - (required) The left-most pixel co-ordinate of the box around the person.

  • person_y - (required) The top-most pixel co-ordinate of the box around the person.

  • person_w - (required) The width (in pixels) of the box around the person.

  • person_h - (required) The height (in pixels) of the box around the person.

Link to this function get_list(args \\ []) View Source
get_list(args()) :: operation()

Get a list of people in a given photo.

This method does not require authentication.

Arguments

  • photo_id - (required) The id of the photo to get a list of people for.