package com.example.demo.color;
import com.aliyun.imagerecog20190930.Client;
import com.aliyun.oss.HttpMethod;
import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
import com.aliyun.oss.model.GeneratePresignedUrlRequest;
import com.aliyun.tea.*;
import com.aliyun.imagerecog20190930.*;
import com.aliyun.imagerecog20190930.models.*;
import com.aliyun.teaopenapi.*;
import com.aliyun.teaopenapi.models.*;
import com.aliyuncs.goodstech.model.v20191230.ClassifyCommodityRequest;
import com.google.gson.Gson;
import java.io.File;
import java.net.URL;
import java.util.Date;
import java.util.List;
public class Sample {
/**
* 使用AK&SK初始化账号Client
* * @param accessKeyId
* * @param accessKeySecret
* * @return Client
* * @throws Exception
**/
public static com.aliyun.imagerecog20190930.Client createClient(String accessKeyId, String accessKeySecret) throws Exception {
Config config = new Config()
使用OSS实现图片云存储加图像识别
最新推荐文章于 2024-05-21 19:15:40 发布