Coder Social home page Coder Social logo

csharp_sdk's Introduction

TencentYoutuyun-person-face-service

CSharp sdk for 腾讯云智能优图服务 & 腾讯优图开放平台

说明

  • 本SDK由开发者:根(qq418871901)提供,后续将由开放平台和根共同维护,也欢迎大家提pull request

使用方法

从github下载dll文件,并添加到你项目引用里,本sdk依赖Newtonsoft.Json,也需一起引用

名词

  • AppId 平台添加应用后分配的AppId
  • SecretId 平台添加应用后分配的SecretId
  • SecretKey 平台添加应用后分配的SecretKey
  • 签名 接口鉴权凭证,由AppIdSecretIdSecretKey等生成,详见http://open.YouTu::qq.com/welcome/authentication

使用示例

// 设置为你自己的密钥对
string appid = "you appid";
string secretId = "you secretid";
string secretKey = "you secretkey";
string userid = "you qq";

//优图开放平台初始化
Conf.Instance().setAppInfo(appid, secretId, secretKey, userid, Conf.Instance().YOUTU_END_POINT);
//腾讯云初始化;2种初始化方式选择一种即可,优图是免费提供给大家使用的
Conf.Instance().setAppInfo(appid, secretId, secretKey, userid, Conf.Instance().TENCENTYUN_END_POINT);


string path = System.IO.Directory.GetCurrentDirectory();
string result = string.Empty;
// 人脸检测调用demo
result = Youtu.detectface(path + "\\test.jpg");
Console.WriteLine(result);
Console.ReadKey();

csharp_sdk's People

Contributors

tencentyoutu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.