USQL/Cognitive Imaging Face Detection Hello World

podle Saveen Reddy
Poslední aktualizace: 23. 9. 2017
Upravit na GitHubu
REFERENCE ASSEMBLY ImageCommon;
REFERENCE ASSEMBLY FaceSdk;
REFERENCE ASSEMBLY ImageEmotion;
REFERENCE ASSEMBLY ImageTagging;
REFERENCE ASSEMBLY ImageOcr;

@faces_from_extractor =
    EXTRACT FileName string, 
        NumFaces int, 
        FaceIndex int, 
        RectX float, RectY float, Width float, Height float, 
        FaceAge int, 
        FaceGender string
    FROM @"/usqlext/samples/cognition/{FileName}.jpg"
    USING new Cognition.Vision.FaceDetectionExtractor();