flickrex v0.3.0 Flickr.Photos.People
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
Types
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.
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.
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.
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.