package cn.hmsoft.ai.face.baidu;

import java.io.File;
import java.util.HashMap;
import java.util.Map;

import com.baidu.aip.util.Base64Util;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;

import cn.hmsoft.ai.baidu.BaiduTokenService;
import cn.hmsoft.ai.face.FaceManager;
import cn.hmsoft.application.SpringHelper;
import cn.hmsoft.helper.FileHelper;
import cn.hmsoft.helper.http.HttpHelper;

public class BaiduFaceManager extends FaceManager {
	private final static String url = "https://aip.baidubce.com/rest/2.0/face/v3/faceset/user/add";

	private String url() {
		return url + "?access_token=" + SpringHelper.getBean(BaiduTokenService.class).getBaiduToken();
	}

	@Override
	protected String addFace(File file, String userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected String delFace(String userId) {
		// TODO Auto-generated method stub
		return null;
	}
	
}