``` tsx
import { openFaceRecognition } from '../../../plugins/projects/open-face-recognition';

interface IOpenFaceRecognitionResult {
  // 状态 0:识别成功 1:识别失败 2:授权失败 3：取消
  status: '0' | '1' | '2' | '3';
  // 结果描述
  message: string;
  // 返回识别的图片（base64格式）
  faceImgBase64: string;
  // 识别描述信息
  delta: string;
  // 假脸判断字段
  image_env?: string;
}

private openFaceSdk = () => {
  openFaceRecognition().then(result => {
    this.setState({
      value: JSON.stringify(result),
    });
  }).catch(err => {
    alert(JSON.stringify(err));
  });
}
```