<script setup lang="ts">
import type { ReportModel } from '@/model';


const props = withDefaults(defineProps<{
  dataset: ReportModel;
  title?: string;
  loading?: boolean;
}>(), {
  title: '面象分析',
});
</script>
<template>
  <a-card
    v-if="props.dataset.faceAnalysisResult"
    class="card no-bordered" size="small"
    :title="props.title"
  >
    <a-descriptions :column="3" size="small">
      <a-descriptions-item>
        <a-image :width="200" :src="props.dataset.faceImg" :preview="true" />
      </a-descriptions-item>
      <a-descriptions-item :span="2">{{ props.dataset.faceAnalysisResult }}</a-descriptions-item>
    </a-descriptions>
  </a-card>
</template>
<style scoped lang="scss">
</style>
