• mcasas's avatar
    Face Detection: Use DetectedFace in FaceDetector.cpp iso DOMRect · f1f5959f
    mcasas authored
    FaceDetector.detect() in ToT returns a sequence<DetectedObject>,
    but DetectedObject doesn't exist, and it should return DetectedFace
    instead according to the Spec. Also, DetectedFace is not used at the
    moment (FaceDetector  goes around this issue by returning DOMRects
    directly).
    
    This CL sorts that out by returning DetectedFaces directly.
    
    BUG=673075
    
    Review-Url: https://codereview.chromium.org/2564123003
    Cr-Commit-Position: refs/heads/master@{#437794}
    f1f5959f
face_detection_test.html 915 Bytes