com.google.api.services.vision.v1.model.FaceAnnotation

Here are the examples of the java api class com.google.api.services.vision.v1.model.FaceAnnotation taken from open source projects.

1. FaceDetectApp#annotateWithFaces()

Project: cloud-vision
Source File: FaceDetectApp.java
View license
/**
   * Annotates an image {@code img} with a polygon around each face in {@code faces}.
   */
public static void annotateWithFaces(BufferedImage img, List<FaceAnnotation> faces) {
    for (FaceAnnotation face : faces) {
        annotateWithFace(img, face);
    }
}