Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

About

U-SQL/Cognitive Imaging Emotion Detection Hello World

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

9 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

services data-lake-analytics
platforms dotnet
author saveenr

U-SQL: Cognitive Imaging Emotion Detection Hello World

Load the assemblies

REFERENCE ASSEMBLY ImageCommon;
REFERENCE ASSEMBLY FaceSdk;
REFERENCE ASSEMBLY ImageEmotion;
REFERENCE ASSEMBLY ImageTagging;
REFERENCE ASSEMBLY ImageOcr;

@emotions_from_extractor =
    EXTRACT FileName string, 
        NumFaces int, 
        FaceIndex int, 
        RectX float, 
        RectY float, 
        Width float, 
        Height float, 
        Emotion string, 
        Confidence float
    FROM @"/usqlext/samples/cognition/{FileName}.jpg"
    USING new Cognition.Vision.EmotionExtractor();

About

U-SQL/Cognitive Imaging Emotion Detection Hello World

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

9 watching

Forks

Releases

Packages

Contributors