package com.esv.freight.file.module.ocr.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.esv.freight.file.common.exception.EException;
import com.esv.freight.file.module.ocr.entity.OcrHistoryEntity;
import com.esv.freight.file.module.ocr.form.IdCardForm;

/**
 * 图片OCR识别记录表
 *
 * @author 黄朝斌
 * @email huangchaobin@esvtek.com
 * @date 2020-04-15 10:52:08
 */
public interface OcrHistoryService extends IService<OcrHistoryEntity> {

    /**
     * description 身份证正面识别
     * param [idCardForm]
     * return com.alibaba.fastjson.JSONObject
     * author Administrator
     * createTime 2020/04/15 10:10
     **/
    JSONObject OcrIdCard(IdCardForm idCardForm) throws EException;
}