code: public PersistedFace addPersonFaceFromStream(String personGroupId, UUID personId, byte[] image, AddPersonFaceFromStreamOptionalParameter addPersonFaceFromStreamOptionalParameter) {
          return addPersonFaceFromStreamWithServiceResponseAsync(personGroupId, personId, image, addPersonFaceFromStreamOptionalParameter).toBlocking().single().body();
      }
docs: Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
  
  @param personGroupId Id referencing a particular person group.
  @param personId Id referencing a particular person.
  @param image An image stream.
  @param addPersonFaceFromStreamOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws APIErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PersistedFace object if successful.