PersonGroupPersons Interface
public interface PersonGroupPersons
An instance of this class provides access to all the operations defined in PersonGroupPersons.
Method Summary
Modifier and Type | Method and Description |
---|---|
PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithPersonGroupId |
addPersonFaceFromStream()
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle. |
Persisted |
addPersonFaceFromStream(String personGroupId, UUID personId, byte[] image, AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter)
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle. |
Observable<Persisted |
addPersonFaceFromStreamAsync(String personGroupId, UUID personId, byte[] image, AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter)
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle. |
PersonGroupPersonsAddPersonFaceFromUrlDefinitionStages.WithPersonGroupId |
addPersonFaceFromUrl()
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle. |
Persisted |
addPersonFaceFromUrl(String personGroupId, UUID personId, String url, AddPersonFaceFromUrlOptionalParameter addPersonFaceFromUrlOptionalParameter)
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle. |
Observable<Persisted |
addPersonFaceFromUrlAsync(String personGroupId, UUID personId, String url, AddPersonFaceFromUrlOptionalParameter addPersonFaceFromUrlOptionalParameter)
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle. |
PersonGroupPersonsCreateDefinitionStages.WithPersonGroupId |
create()
Create a new person in a specified person group. |
Person |
create(String personGroupId, CreatePersonGroupPersonsOptionalParameter createOptionalParameter)
Create a new person in a specified person group. |
Observable<Person> |
createAsync(String personGroupId, CreatePersonGroupPersonsOptionalParameter createOptionalParameter)
Create a new person in a specified person group. |
void |
delete(String personGroupId, UUID personId)
Delete an existing person from a person group. Persisted face images of the person will also be deleted. |
Observable<Void> |
deleteAsync(String personGroupId, UUID personId)
Delete an existing person from a person group. Persisted face images of the person will also be deleted. |
void |
deleteFace(String personGroupId, UUID personId, UUID persistedFaceId)
Delete a face from a person. Relative image for the persisted face will also be deleted. |
Observable<Void> |
deleteFaceAsync(String personGroupId, UUID personId, UUID persistedFaceId)
Delete a face from a person. Relative image for the persisted face will also be deleted. |
Person |
get(String personGroupId, UUID personId)
Retrieve a person's information, including registered persisted faces, name and userData. |
Observable<Person> |
getAsync(String personGroupId, UUID personId)
Retrieve a person's information, including registered persisted faces, name and userData. |
Persisted |
getFace(String personGroupId, UUID personId, UUID persistedFaceId)
Retrieve information about a persisted face (specified by persistedFaceId, personId and its belonging personGroupId). |
Observable<Persisted |
getFaceAsync(String personGroupId, UUID personId, UUID persistedFaceId)
Retrieve information about a persisted face (specified by persistedFaceId, personId and its belonging personGroupId). |
PersonGroupPersonsListDefinitionStages.WithPersonGroupId |
list()
List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person). |
List<Person> |
list(String personGroupId, ListPersonGroupPersonsOptionalParameter listOptionalParameter)
List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person). |
Observable<List<Person>> |
listAsync(String personGroupId, ListPersonGroupPersonsOptionalParameter listOptionalParameter)
List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person). |
PersonGroupPersonsUpdateDefinitionStages.WithPersonGroupId |
update()
Update name or userData of a person. |
void |
update(String personGroupId, UUID personId, UpdatePersonGroupPersonsOptionalParameter updateOptionalParameter)
Update name or userData of a person. |
Observable<Void> |
updateAsync(String personGroupId, UUID personId, UpdatePersonGroupPersonsOptionalParameter updateOptionalParameter)
Update name or userData of a person. |
PersonGroupPersonsUpdateFaceDefinitionStages.WithPersonGroupId |
updateFace()
Update a person persisted face's userData field. |
void |
updateFace(String personGroupId, UUID personId, UUID persistedFaceId, UpdateFaceOptionalParameter updateFaceOptionalParameter)
Update a person persisted face's userData field. |
Observable<Void> |
updateFaceAsync(String personGroupId, UUID personId, UUID persistedFaceId, UpdateFaceOptionalParameter updateFaceOptionalParameter)
Update a person persisted face's userData field. |
Method Details
addPersonFaceFromStream
public PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithPersonGroupId addPersonFaceFromStream()
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
Returns:
addPersonFaceFromStream
public PersistedFace addPersonFaceFromStream(String personGroupId, UUID personId, byte[] image, AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter)
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
Parameters:
Returns:
Throws:
addPersonFaceFromStreamAsync
public Observable
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
Parameters:
Returns:
Throws:
addPersonFaceFromUrl
public PersonGroupPersonsAddPersonFaceFromUrlDefinitionStages.WithPersonGroupId addPersonFaceFromUrl()
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
Returns:
addPersonFaceFromUrl
public PersistedFace addPersonFaceFromUrl(String personGroupId, UUID personId, String url, AddPersonFaceFromUrlOptionalParameter addPersonFaceFromUrlOptionalParameter)
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
Parameters:
Returns:
Throws:
addPersonFaceFromUrlAsync
public Observable
Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
Parameters:
Returns:
Throws:
create
public PersonGroupPersonsCreateDefinitionStages.WithPersonGroupId create()
Create a new person in a specified person group.
Returns:
create
public Person create(String personGroupId, CreatePersonGroupPersonsOptionalParameter createOptionalParameter)
Create a new person in a specified person group.
Parameters:
Returns:
Throws:
createAsync
public Observable
Create a new person in a specified person group.
Parameters:
Returns:
Throws:
delete
public void delete(String personGroupId, UUID personId)
Delete an existing person from a person group. Persisted face images of the person will also be deleted.
Parameters:
Throws:
deleteAsync
public Observable
Delete an existing person from a person group. Persisted face images of the person will also be deleted.
Parameters:
Returns:
Throws:
deleteFace
public void deleteFace(String personGroupId, UUID personId, UUID persistedFaceId)
Delete a face from a person. Relative image for the persisted face will also be deleted.
Parameters:
Throws:
deleteFaceAsync
public Observable
Delete a face from a person. Relative image for the persisted face will also be deleted.
Parameters:
Returns:
Throws:
get
public Person get(String personGroupId, UUID personId)
Retrieve a person's information, including registered persisted faces, name and userData.
Parameters:
Returns:
Throws:
getAsync
public Observable
Retrieve a person's information, including registered persisted faces, name and userData.
Parameters:
Returns:
Throws:
getFace
public PersistedFace getFace(String personGroupId, UUID personId, UUID persistedFaceId)
Retrieve information about a persisted face (specified by persistedFaceId, personId and its belonging personGroupId).
Parameters:
Returns:
Throws:
getFaceAsync
public Observable
Retrieve information about a persisted face (specified by persistedFaceId, personId and its belonging personGroupId).
Parameters:
Returns:
Throws:
list
public PersonGroupPersonsListDefinitionStages.WithPersonGroupId list()
List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person).
Returns:
list
public List
List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person).
Parameters:
Returns:
Throws:
listAsync
public Observable> listAsync(String personGroupId, ListPersonGroupPersonsOptionalParameter listOptionalParameter)
List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person).
Parameters:
Returns:
Throws:
update
public PersonGroupPersonsUpdateDefinitionStages.WithPersonGroupId update()
Update name or userData of a person.
Returns:
update
public void update(String personGroupId, UUID personId, UpdatePersonGroupPersonsOptionalParameter updateOptionalParameter)
Update name or userData of a person.
Parameters:
Throws:
updateAsync
public Observable
Update name or userData of a person.
Parameters:
Returns:
Throws:
updateFace
public PersonGroupPersonsUpdateFaceDefinitionStages.WithPersonGroupId updateFace()
Update a person persisted face's userData field.
Returns:
updateFace
public void updateFace(String personGroupId, UUID personId, UUID persistedFaceId, UpdateFaceOptionalParameter updateFaceOptionalParameter)
Update a person persisted face's userData field.
Parameters:
Throws:
updateFaceAsync
public Observable
Update a person persisted face's userData field.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java