如何在 Kofax Capture 中以 PDF 或 JPG 格式导出索引字段的快照?

How to export a snapshot of the Index Field in PDF or JPG in Kofax Capture?

我是 Kofax Capture 的新手。问题是如何在 Kofax Capture 中以 PDF 或 JPG 格式导出索引字段的快照?喜欢从文档中导出签名。

我唯一想到的是编写自定义导出模块的代码,但也许我错过了一些 'out of the box' 的功能,或者如果您提供一些现有的解决方案,那就太好了。

提前致谢

当然可以 - 识别脚本可以访问区域片段(代表正在处理的区域的图像的小切口)并且它们可以在自定义引擎中处理区域片段(参见开发人员指南)。这是一个让您入门的示例:

using Kofax.AscentCapture.NetScripting;
using Kofax.Capture.CaptureModule.InteropServices;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

public class Save_Snippet : RecognitionScript {

    public Save_Snippet() : base()
    {
        this.BatchLoading += Save_Snippet_BatchLoading;
        this.BatchUnloading += Save_Snippet_BatchUnloading;
    }


    void Save_Snippet_BatchLoading(object sender, ref bool ImageFileRequired)
    {
        this.RecognitionPostProcessing += Save_Snippet_RecognitionPostProcessing;
        ImageFileRequired = true;
    }


    void Save_Snippet_BatchUnloading(object sender)
    {
        this.BatchLoading -= Save_Snippet_BatchLoading;
        this.RecognitionPostProcessing -= Save_Snippet_RecognitionPostProcessing;
        this.BatchUnloading -= Save_Snippet_BatchUnloading;

    }


    void Save_Snippet_RecognitionPostProcessing(object sender, PostRecognitionEventArgs e)
    {
        File.Copy(e.ImageFile, @"C:\temp\test.tiff");
    }

}