FaceService.java 756 Bytes
package com.ruoyi.service.dss;

import com.ruoyi.common.core.domain.ResponseResult;
import com.ruoyi.domain.driver.NewDriver;

/**
 * @author liujun
 * @date 2024年07月12日 10:50
 */
public interface FaceService {
    /***
     * 校验人脸
     * @author liujun
     * @date 2024/7/12 10:50
     * @param driver 图片的base64字符串放到了image
     * @return com.ruoyi.domain.driver.NewDriver
     */
    NewDriver checkFace(NewDriver driver);

    String getBase64ImagePath(String path);

    String getBase64ImageContent(String content);

    ResponseResult<String> getFaceFeatureImageContent(String content);
    ResponseResult<String> getFaceFeatureImagePath(String path);
    ResponseResult<String> getFaceFeatureImageURL(String url);

}