public virtual VideoOperation FaceDetectionAndTracking(string videoUrl)
        {
            var response = RepositoryClient.SendOperationPost(ApiKeys.Video, $"{ApiKeys.VideoEndpoint}trackface", JsonConvert.SerializeObject(new Video {
                Url = videoUrl
            }));

            return(new VideoOperation(response));
        }
 public virtual string GetTopics(TopicRequest request)
 {
     return(RepositoryClient.SendOperationPost(ApiKeys.TextAnalytics, $"{ApiKeys.TextAnalyticsEndpoint}{topicUrl}", JsonConvert.SerializeObject((object)request)));
 }
Exemple #3
0
 public virtual string RecognizeHandwrittenText(string imageUrl, bool handwriting = false)
 {
     return(RepositoryClient.SendOperationPost(ApiKeys.ComputerVision, $"{ApiKeys.ComputerVisionEndpoint}recognizeText?handwriting={handwriting}", GetImageUrlJson(imageUrl)));
 }