Patent information
IP India · live recordAbstract
The present invention relates to a system (100) and a method (200) for processing a structured admission document. The system (100) includes a document input interface (10) to receive an image of a structured admission document, an image preprocessing and alignment engine (20), a configurable template repository (30), a multi-stage document validation engine (40), a conditional validation gate (50), an adaptive workflow orchestration engine (60), a plurality of information-extraction engines (70), a result aggregation engine (80). The image is aligned with a reference image prior to information extraction. The conditional validation gate (50) inhibits downstream extraction when a mandatory validation condition is not satisfied. Upon successful validation, the adaptive workflow orchestration engine (60) selectively initiates required information-extraction engines (70). The result aggregation engine (80) combines the extracted outputs with validation results and template information to generate a structured admission record.
Applicants
1Inventors
5Specification
Show full textCollapse
Description:Field of the invention
[0001] The present invention relates to the field of admission form processing. More specifically, the invention relates to a system and a method for processing a structured admission document.
Background of the invention
[0002] Structured admission documents are commonly used by educational institutions and other admission-processing organizations for collecting information relating to applicants. Such documents may contain different categories of information, including textual information, numeric information, checkboxes, photographs, and signatures positioned at predefined locations. Processing of such admission documents generally involves reading the information from the documents, verifying the information, and entering the information into an admission management system or another electronic record system.
[0003] Conventionally, information contained in physical or scanned admission documents is manually entered by an operator, while admission forms, photographs, and signatures may be separately uploaded and associated with the corresponding applicant record. Such processing requires repeated operator interaction for data entry, document verification, and handling of different information types. Manual processing of a large number of admission documents may therefore involve considerable processing time and may result in inconsistencies during entry or association of information with corresponding admission fields.
[0004] Existing document-processing techniques may use optical character recognition for extracting textual or numeric information from captured documents. However, structured admission documents may have different form layouts and versions, with field locations, checkbox positions, photograph regions, and signature regions varying between respective templates. Further, a captured document image may be rotated, skewed, distorted, noisy, incomplete, blurred, overexposed, or otherwise unsuitable for information extraction. Direct application of a generic recognition operation to such documents may consequently produce incomplete or unusable extraction results.
[0005] Further, conventional processing pipelines may subject a received document to multiple downstream extraction operations before determining whether the document corresponds to a supported template or satisfies required completeness and quality conditions. Execution of text recognition, numeric recognition, checkbox detection, and photograph or signature extraction on a document that is invalid or unsuitable for processing consumes computational resources without producing a usable admission record. Existing approaches may also require separate processing logic for different form templates and may not selectively execute required extraction operations according to form-specific configuration and the validation state of the received document.
[0006] Therefore, there is a need for a system and a method for processing a structured admission document to overcome a few or all drawbacks of the existing technologies.
Objects of the invention
[0007] An object of the present invention is to provide a system and a method for processing a structured admission document.
[0008] Another object of the present invention is to provide a system and a method for processing a structured admission document that reduces manual intervention and processing time associated with handling admission information.
[0009] Another object of the present invention is to provide a system and a method for processing a structured admission document that reduces unnecessary consumption of computational resources during processing of documents unsuitable for information extraction.
[0010] Another object of the present invention is to provide a system and a method for processing a structured admission document that provides reliable processing of different types and versions of structured admission documents.
[0011] Yet another object of the present invention is to provide a system and a method for processing a structured admission document that reduces overall processing latency and improves processing throughput for a plurality of admission documents.
[0012] One more object of the present invention is to provide a system and a method for processing a structured admission document that provides consistent and machine-readable admission information for subsequent admission-related processing.
Summary of the Invention
[0013] According to the present invention, there is provided a system and a method for processing a structured admission document. The system may include a document input interface, an image preprocessing and alignment engine, a configurable template repository, a multi-stage document validation engine, a conditional validation gate, an adaptive workflow orchestration engine, a plurality of information-extraction engines, a result aggregation engine. The plurality of information-extraction engines may include a text and numeric extraction engine, a checkbox detection engine, and a photograph and signature extraction engine.
[0014] The document input interface may be configured to receive an image of the structured admission document along with at least one of a template identifier and a processing configuration. The configurable template repository may include a plurality of form-template configurations associated with respective reference images and may retrieve, based on the template identifier, a corresponding reference image and runtime template configuration defining field locations, validation rules, extraction regions, and processing parameters applicable to the structured admission document.
[0015] The image preprocessing and alignment engine may be configured to preprocess the received image and geometrically align the received image with the corresponding reference image to obtain an aligned document in a template-defined coordinate space. The preprocessing may include at least one of noise reduction, image enhancement, contrast normalization, thresholding, rotation correction, skew correction, perspective correction, resolution normalization, and geometric transformation. The alignment may be performed based on registration markers, square markers, keypoints, or template-matching information.
[0016] The multi-stage document validation engine may be configured to validate the aligned document prior to information extraction by performing a plurality of validation operations including template validation and at least one of marker validation, document-completeness validation, document-quality validation, photograph-presence validation, and signature-presence validation. The multi-stage document validation engine may generate validation results indicative of whether corresponding validation conditions are satisfied.
[0017] The conditional validation gate may be configured to evaluate the validation results and determine whether at least one mandatory validation condition is satisfied. When the at least one mandatory validation condition is not satisfied, execution of one or more downstream information-extraction operations may be inhibited and a structured validation-failure result may be generated. When the at least one mandatory validation condition is satisfied, the aligned document may be permitted to proceed for information extraction.
[0018] The adaptive workflow orchestration engine may be configured to receive the aligned document permitted by the conditional validation gate together with the corresponding runtime template configuration and determine one or more information-extraction operations required to be performed on the aligned document. Based on the determined operations, one or more information-extraction engines may be selectively initiated. When at least two determined information-extraction operations are independent of each other, the corresponding operations may be executed concurrently.
[0019] In an aspect of the present invention, the text and numeric extraction engine may perform separate recognition processing for numeric sequences and textual sequences. At least one of the numeric-sequence recognition and the textual-sequence recognition may include convolutional feature extraction, bidirectional recurrent sequence processing, and connectionist temporal classification decoding. The checkbox detection engine may obtain checkbox coordinates from the runtime template configuration and determine checked or unchecked states independently of text and numeric extraction. The photograph and signature extraction engine may obtain predefined photograph and signature regions from the runtime template configuration and extract respective photograph and signature image data from the aligned document.
[0020] The result aggregation engine may be configured to receive outputs generated by the selectively initiated information-extraction engines and combine the outputs with the validation results and template information. The combined outputs may be mapped to predefined admission fields for generation of a structured admission record. The result aggregation engine may further normalize the predefined admission fields, perform cross-field consistency validation, and resolve conflicting candidate values based on respective confidence values.
[0021] In another aspect of the present invention, execution of the plurality of information-extraction engines may be controlled such that the information-extraction operations determined from the runtime template configuration are selectively performed only after satisfaction of the at least one mandatory validation condition. Accordingly, information extraction may be prevented for documents failing mandatory validation while validated documents may be processed according to extraction requirements corresponding to the applicable form template or form version.
[0022] In another aspect of the present invention, a method for processing a structured admission document is provided. The method may include receiving an image of the structured admission document together with at least one of a template identifier and a processing configuration; retrieving a reference image and a corresponding runtime template configuration; preprocessing and geometrically aligning the received image with the reference image; validating the aligned document prior to information extraction; evaluating validation results to determine satisfaction of at least one mandatory validation condition; determining one or more required information-extraction operations based on the runtime template configuration; selectively initiating corresponding information-extraction engines; concurrently executing independent information-extraction operations; combining generated outputs with validation results and template information; mapping the combined outputs to predefined admission fields; and generating the structured admission record.
Brief description of drawings
[0023] The advantages and features of the present invention will be understood better with reference to the following detailed description and claims taken in conjunction with the accompanying drawings, wherein like elements are identified with like symbols, and in which:
[0024] FIG. 1 shows a block diagram of a system for processing a structured admission document in accordance with the present invention; and
[0025] FIG. 2 shows flowchart of a method for processing a structured admission document in accordance with the present invention.
Detailed description of the invention
[0026] An embodiment of this invention, illustrating its features, will now be described in detail. The words "comprising," "having," "containing," and "including," and other forms thereof, are intended to be equivalent in meaning and be open-ended in that an item or items following any one of these words is not meant to be an exhaustive listing of such item or items, or meant to be limited to only the listed item or items.
[0027] The present invention relates to a system and a method for processing a structured admission document. The system provides computer-implemented processing of admission documents containing different types of information arranged at predetermined locations. Conventional processing of such documents may require manual data entry, separate handling of photographs and signatures, and repeated verification of document contents. Further, direct application of information-extraction operations to an incorrectly captured, incomplete, unreadable, or unsupported document may consume processing resources without producing a usable admission record. The present invention addresses such drawbacks associated with processing structured admission documents.
[0028] The terms “first,” “second,” and the like, herein do not denote any order, quantity, or importance, but rather are used to distinguish one element from another, and the terms “a” and “an” herein do not denote a limitation of quantity, but rather denote the presence of at least one of the referenced item.
[0029] The disclosed embodiments are merely exemplary of the invention, which may be embodied in various forms.
[0030] Referring now to FIG. 1, a system (100) for processing a structured admission document in accordance with the present invention is illustrated. Specifically, the system (100) includes a document input interface (10), an image preprocessing and alignment engine (20), a configurable template repository (30), a multi-stage document validation engine (40), a conditional validation gate (50), an adaptive workflow orchestration engine (60), a plurality of information-extraction engines (70), a result aggregation engine (80). Further, the plurality of information-extraction engines (70) includes a text and numeric extraction engine (72), a checkbox detection engine (74), and a photograph and signature extraction engine (76). The components operate in a processing sequence in which document alignment and validation precede selective information extraction.
[0031] In the present embodiment, the structured admission document corresponds to an admission form containing information at defined positions with respect to a form layout. Such information may include textual fields, numeric fields, checkboxes, a photograph, a signature, registration markers, printed information, handwritten information, or combinations thereof. The admission document may be represented by an image captured from a physical form or by another supported image representation corresponding to the form. The structured admission document may correspond to an admission form, registration form, application form, enrolment form, examination form, scholarship form, or another structured document having a predetermined or configurable arrangement of information-bearing regions.
[0032] The document input interface (10) receives an image of the structured admission document for processing by the system (100). The received image represents a captured form having information arranged according to a corresponding form template and may be provided in JPG, PNG, or another supported image representation. Along with the image, the document input interface (10) receives at least one of a template identifier and a processing configuration. The template identifier identifies a form type or a form version applicable to the received structured admission document, whereas the processing configuration provides parameters applicable to processing of the received image. Upon receipt of the image and the associated information, the document input interface (10) supplies the received image and the associated template identifier or processing configuration to the subsequent processing components of the system (100).
[0033] Based on the template identifier received through the document input interface (10), the configurable template repository (30) provides configuration information corresponding to the structured admission document. The configurable template repository (30) maintains a plurality of form-template configurations associated with respective supported form types or form versions. Each form-template configuration is associated with a respective reference image and defines information used by the system (100) for processing a document corresponding to that form-template configuration. Such information includes field locations, validation rules, extraction regions, and processing parameters.
[0034] Further, the configurable template repository (30) maintains, according to the applicable form-template configuration, one or more of reference-image alignment parameters, field definitions and coordinates, presence-validation rules, extraction-engine mappings, checkbox coordinates and state rules, photograph and signature regions, and form-version information. The field definitions and coordinates identify locations at which respective admission fields occur in the form, while the extraction-engine mappings identify the information-extraction operation applicable to respective fields or regions. The checkbox coordinates identify locations of checkboxes whose states are to be determined, and the photograph and signature regions identify locations from which photograph data and signature data are to be obtained. The validation rules specify one or more conditions against which the received document is evaluated before information extraction.
[0035] Following identification of the applicable form-template configuration, the configurable template repository (30) retrieves the reference image and a corresponding runtime template configuration associated with the template identifier. The runtime template configuration represents the form-specific configuration applicable to the current structured admission document and is made available to the components that perform alignment, validation, workflow determination, information extraction, and result aggregation. Therefore, locations and processing operations applicable to one form type or form version are distinguished from those applicable to another form type or form version without changing the processing sequence of the system (100).
[0036] The image preprocessing and alignment engine (20) receives the image supplied through the document input interface (10) and processes the received image with reference to the reference image retrieved from the configurable template repository (30). The image preprocessing and alignment engine (20) performs one or more image preprocessing operations comprising noise reduction, contrast normalization, thresholding, rotation correction, skew correction, perspective correction, resolution normalization, and geometric transformation. Selection of the applicable preprocessing operation may be governed by the processing parameters contained in the runtime template configuration.
[0037] Following preprocessing, the image preprocessing and alignment engine (20) geometrically aligns the received image with the reference image corresponding to the applicable form template. The alignment may be based on registration markers, square markers, keypoints, or template-matching information represented in or associated with the reference image. Locations of corresponding alignment information in the received image and the reference image provide a basis for determining a geometric transformation between the received image and the reference image. Application of the geometric transformation places the received image into a template-defined coordinate space and produces an aligned document.
[0038] The template-defined coordinate space established by the image preprocessing and alignment engine (20) provides a coordinate relationship between regions of the aligned document and the field locations defined in the runtime template configuration. Accordingly, text and numeric field locations, checkbox coordinates, photograph regions, and signature regions defined for the applicable form template correspond to predetermined regions of the aligned document. The aligned document and the applicable runtime template configuration are subsequently provided for validation before any required information-extraction operation is permitted to proceed.
[0039] The multi-stage document validation engine (40) receives the aligned document generated by the image preprocessing and alignment engine (20) and performs a plurality of validation operations prior to information extraction. The validation operations include template validation and at least one of marker validation, document-completeness validation, document-quality validation, photograph-presence validation, and signature-presence validation. The particular validation operations applicable to the aligned document are determined according to the validation rules associated with the corresponding form-template configuration.
[0040] During template validation, the multi-stage document validation engine (40) determines whether the aligned document corresponds to a supported form template. The determination is made with reference to the template information and the reference image associated with the runtime template configuration. Failure to establish correspondence with a supported form template produces a validation result indicative of an unsupported template. In this manner, an image that does not correspond to the form identified for processing can be identified before information-extraction operations are initiated.
[0041] During marker validation, the multi-stage document validation engine (40) evaluates registration markers, square markers, or corresponding template-defined marking information present at expected locations of the aligned document. The detected marker information is compared with marker information specified by the applicable form-template configuration. The comparison provides an indication of whether the expected document layout is present and whether regions required for subsequent processing are represented within the aligned document.
[0042] During document-completeness validation, the multi-stage document validation engine (40) determines whether the portion of the document required by the corresponding form template is available for processing. The document-completeness validation operates in conjunction with the template-defined coordinate space and the validation rules to identify an incomplete document for which one or more required regions are unavailable. The resulting completeness status forms part of the validation results generated by the multi-stage document validation engine (40).
[0043] During document-quality validation, the multi-stage document validation engine (40) evaluates the aligned document to determine whether the image is suitable for the configured downstream processing. The document-quality validation identifies one or more conditions comprising a blank image, a black image, a corrupted image, an overexposed image, a blurred image, and an unreadable image. Identification of such a condition causes the corresponding condition to be represented in the validation results rather than causing the image to proceed directly to the information-extraction engines (70).
[0044] The photograph-presence validation and the signature-presence validation operate with reference to the photograph and signature regions specified in the runtime template configuration. The multi-stage document validation engine (40) evaluates the corresponding regions of the aligned document to determine whether required photograph content and required signature content are present. Presence determination at this validation stage is distinct from extraction of the photograph data and signature data subsequently performed by the photograph and signature extraction engine (76). Thus, the presence of required content may first be evaluated as a condition for further processing without executing the downstream extraction operation.
[0045] Upon completion of the applicable validation operations, the multi-stage document validation engine (40) generates validation results representing the outcome of the performed validation operations. The validation results identify whether configured validation conditions have been satisfied and may identify a detected validation-failure condition. The generated validation results are supplied to the conditional validation gate (50), whereby the validation stage is connected to control of the downstream information-extraction operations.
[0046] The conditional validation gate (50) evaluates the validation results generated by the multi-stage document validation engine (40) against at least one mandatory validation condition defined for the structured admission document. The mandatory validation condition represents a validation condition that must be satisfied before the aligned document is released for information extraction. Evaluation by the conditional validation gate (50) therefore determines whether processing terminates at the validation stage or proceeds to the adaptive workflow orchestration engine (60).
[0047] When the conditional validation gate (50) determines that at least one mandatory validation condition is not satisfied, the conditional validation gate (50) inhibits execution of one or more downstream information-extraction operations. In an implementation in which the text and numeric extraction engine (72), the checkbox detection engine (74), and the photograph and signature extraction engine (76) are downstream of the conditional validation gate (50), failure of the mandatory validation condition prevents execution of the respective engines for the failed document. Further, the conditional validation gate (50) generates a structured validation-failure result representing the detected validation failure. Therefore, processing resources associated with the downstream extraction operations are not applied to a document already determined to be unsuitable under the applicable mandatory validation condition.
[0048] When the conditional validation gate (50) determines that the at least one mandatory validation condition is satisfied, the conditional validation gate (50) permits the aligned document to proceed for information extraction. The permitted aligned document is supplied to the adaptive workflow orchestration engine (60) together with the runtime template configuration associated with the structured admission document. The validation gate therefore forms a processing-control boundary between pre-extraction document validation and selective execution of the information-extraction engines (70).
[0049] The adaptive workflow orchestration engine (60), upon receiving the aligned document permitted by the conditional validation gate (50), reads the runtime template configuration to determine one or more information-extraction operations required for the particular structured admission document. The determination is made from the field definitions, extraction-engine mappings, extraction regions, and processing parameters associated with the corresponding form-template configuration. The adaptive workflow orchestration engine (60) thereby identifies which of text and numeric extraction, checkbox detection, photograph extraction, and signature extraction are required for the aligned document.
[0050] Based on the determined information-extraction operations, the adaptive workflow orchestration engine (60) selectively initiates one or more of the plurality of information-extraction engines (70). When the runtime template configuration identifies text or numeric fields requiring recognition, the text and numeric extraction engine (72) is initiated. When the runtime template configuration identifies checkbox fields requiring state determination, the checkbox detection engine (74) is initiated. When the runtime template configuration identifies photograph or signature regions requiring extraction, the photograph and signature extraction engine (76) is initiated. An information-extraction engine for which no corresponding extraction operation is required need not be initiated for that document.
[0051] The adaptive workflow orchestration engine (60) determines whether at least two of the required information-extraction operations are independent of each other. Independence in this context indicates that execution of one of the information-extraction operations does not require an extraction output produced by another of the information-extraction operations before the former operation can be performed on its corresponding region of the aligned document. When at least two determined operations are independent, the adaptive workflow orchestration engine (60) causes the independent operations to execute concurrently. Accordingly, text and numeric extraction, checkbox detection, and photograph and signature extraction may proceed through separate processing branches after satisfaction of the mandatory validation condition when the corresponding operations are identified as independent by the workflow.
[0052] The text and numeric extraction engine (72), when selectively initiated by the adaptive workflow orchestration engine (60), receives field locations and field definitions associated with text and numeric information from the runtime template configuration. Since the aligned document is represented in the template-defined coordinate space, the text and numeric extraction engine (72) processes regions corresponding to the configured field locations. The text and numeric extraction engine (72) include separate recognition processing for numeric sequences and textual sequences so that a field identified as numeric can be processed through numeric-sequence recognition and a field identified as textual can be processed through textual-sequence recognition.
[0053] The numeric-sequence recognition is applicable to numeric information represented in admission fields, including numeric sequences associated with mobile numbers, dates, PIN codes, ages, and admission identifiers where such fields are present in the applicable form-template configuration. The textual-sequence recognition is applicable to textual information represented in admission fields, including names, addresses, course names, qualifications, and other textual entries identified by the applicable field definitions. Printed or handwritten information contained within a configured textual field may be supplied to the textual-sequence recognition processing.
[0054] In an embodiment of the text and numeric extraction engine (72), at least one of the numeric-sequence recognition and the textual-sequence recognition includes convolutional feature extraction, bidirectional recurrent sequence processing, and connectionist temporal classification decoding. Convolutional feature extraction converts image information of the corresponding field region into a sequence of feature representations. Bidirectional recurrent sequence processing operates on the feature representations to determine contextual relationships along the sequence. Connectionist temporal classification decoding converts sequence-processing outputs into a recognized numeric or textual sequence without requiring character-by-character segmentation of the field image.
[0055] Separate recognition processing permits the field type identified in the runtime template configuration to determine the recognition path applicable to the corresponding region. The numeric recognition output and textual recognition output generated by the text and numeric extraction engine (72) are associated with respective field identifiers and are supplied as extraction outputs to the result aggregation engine (80).
[0056] The checkbox detection engine (74), when selectively initiated by the adaptive workflow orchestration engine (60), obtains checkbox coordinates from the runtime template configuration. The checkbox coordinates correspond to predetermined checkbox locations in the template-defined coordinate space established by the image preprocessing and alignment engine (20). The checkbox detection engine (74) uses the coordinates to identify a checkbox region in the aligned document and determines a checked or unchecked state of the corresponding checkbox independently of the text and numeric extraction engine (72).
[0057] Determination of the checkbox state may include processing of the checkbox region by thresholding, contour extraction, filled-area determination, or foreground-pixel-density determination in accordance with checkbox state rules specified by the runtime template configuration. The resulting state is associated with the corresponding checkbox coordinates or field identifier. Since checkbox state determination does not require textual recognition of the checkbox region, the checkbox detection engine (74) constitutes a processing branch separate from the text and numeric extraction engine (72). The determined checkbox state and associated checkbox information are subsequently supplied to the result aggregation engine (80).
[0058] The photograph and signature extraction engine (76), when selectively initiated by the adaptive workflow orchestration engine (60), obtains predefined photograph and signature regions from the runtime template configuration. The predefined regions correspond to coordinates in the aligned document and identify portions of the structured admission document containing photograph and signature information. The photograph and signature extraction engine (76) extracts respective image data from the identified regions and maintains an association between the extracted image data and the corresponding photograph or signature field.
[0059] The photograph and signature extraction performed by the photograph and signature extraction engine (76) follows the validation decision made by the conditional validation gate (50). Accordingly, where photograph-presence validation or signature-presence validation constitutes a mandatory validation condition, failure of the corresponding presence condition prevents execution of the downstream extraction engines as specified by the conditional validation gate (50). Where the mandatory validation condition is satisfied and photograph or signature extraction is identified as required by the runtime template configuration, the photograph and signature extraction engine (76) extracts the corresponding image data and supplies the extracted data to the result aggregation engine (80).
[0060] The plurality of information-extraction engines (70) therefore generates heterogeneous extraction outputs corresponding to the information types represented in the structured admission document. The text and numeric extraction engine (72) generate recognized field values, the checkbox detection engine (74) generates checkbox-state information, and the photograph and signature extraction engine (76) generates photograph and signature image data. Execution of these engines is controlled jointly by the conditional validation gate (50) and the adaptive workflow orchestration engine (60), such that the information-extraction operations required by the runtime template configuration are selectively performed only after satisfaction of the at least one mandatory validation condition.
[0061] The result aggregation engine (80) receives outputs generated by the information-extraction engines (70) selectively initiated for the structured admission document. Along with the extraction outputs, the result aggregation engine (80) receives or accesses the validation results generated by the multi-stage document validation engine (40) and template information associated with the runtime template configuration. The result aggregation engine (80) combines the heterogeneous extraction outputs with the validation results and template information so that information obtained through separate processing branches is represented in relation to the corresponding admission fields.
[0062] Based on field definitions contained in the runtime template configuration, the result aggregation engine (80) maps the combined outputs to predefined admission fields. A recognized textual or numeric value is mapped according to its associated field identifier, checkbox-state information is mapped to its corresponding selection field, and photograph data and signature data are associated with their respective image fields. Template information identifies the form type or form version from which the mapped information has been obtained, while the validation results retain the validation state associated with processing of the structured admission document.
[0063] Following field mapping, the result aggregation engine (80) normalizes the predefined admission fields. Normalization includes formatting, type normalization, value normalization, or association of extracted values with the applicable field definitions according to the processing parameters of the runtime template configuration. The normalized fields thereby provide a common field representation for information obtained from the different information-extraction engines (70).
[0064] The result aggregation engine (80) further performs cross-field consistency validation on the normalized admission fields. The cross-field consistency validation evaluates configured relationships between two or more admission fields to determine whether the mapped values satisfy the corresponding consistency conditions. Such evaluation is performed according to configured field relationships or validation rules associated with the applicable template configuration. Failure of a configured consistency condition is represented in validation or error metadata associated with the processing result.
[0065] Where processing produces conflicting candidate values for a predefined admission field, the result aggregation engine (80) resolves the conflicting candidate values based on respective confidence values. Confidence information associated with the candidate values is compared, and a candidate value is selected according to the applicable confidence-based selection condition. The selected value and corresponding confidence information are retained for inclusion in the structured admission record. Where the applicable selection condition does not permit selection of one of the conflicting candidate values, the conflict may be represented in the validation information associated with the record.
[0066] Upon completion of aggregation, field mapping, normalization, and applicable consistency processing, the result aggregation engine (80) generates the structured admission record. The structured admission record contains the predefined admission fields and may include one or more of checkbox-state information, photograph data, signature data, validation metadata, confidence information, template metadata, processing timestamps, and audit information. The structured admission record provides a machine-readable representation of the information obtained from the processed structured admission document.
[0067] The components of the system (100) cooperate as a connected document-processing framework. The structured admission document entering through the document input interface (10) is first associated with its applicable template information and subjected to preprocessing and geometric alignment by the image preprocessing and alignment engine (20). The aligned document is subjected to the validation operations of the multi-stage document validation engine (40), following which the conditional validation gate (50) controls whether the document can enter the extraction portion of the processing framework. A document permitted by the conditional validation gate (50) is supplied to the adaptive workflow orchestration engine (60), which selectively dispatches the document to the required information-extraction engines (70). Outputs from the dispatched engines converge at the result aggregation engine (80) for generation of the structured admission record.
[0068] The pre-extraction validation flow starts with the received document being processed by the image preprocessing and alignment engine (20) with reference to the corresponding reference image. The resulting aligned document is subjected to template and document validation by the multi-stage document validation engine (40). Template detection, marker detection, and configured photograph or signature presence detection provide respective validation results. The validation results converge at the conditional validation gate (50). A failed mandatory validation condition causes generation of the structured validation-failure result, whereas satisfaction of the mandatory validation condition releases the aligned document to the subsequent information-extraction stage.
[0069] The adaptive workflow orchestration engine (60) receives the aligned document after permission by the conditional validation gate (50) together with the applicable runtime template configuration. The adaptive workflow orchestration engine (60) determines the required extraction operations from the runtime template configuration and routes the aligned document to the corresponding processing branches. The processing branches include text and numeric extraction, checkbox detection, and photograph and signature extraction according to the information represented in the applicable form template. Outputs generated by the selected branches are subsequently combined for preparation of the structured admission record.
[0070] The configurable template repository (30) associates a template identifier or form type with the reference image and alignment parameters, field definitions and coordinates, validation and presence rules, extraction-engine mappings, checkbox coordinates and state rules, photograph and signature regions, and form-version or processing information. Retrieval of these items as the runtime template configuration permits the same processing components to operate according to the locations and rules corresponding to the identified form type or form version. The runtime template configuration is supplied to the components requiring the corresponding configuration information, including the image preprocessing and alignment engine (20), the multi-stage document validation engine (40), the adaptive workflow orchestration engine (60), and the information-extraction engines (70).
[0071] Selective information extraction is performed through separate processing branches after validation. The text and numeric extraction engine (72) processes configured textual and numeric field regions, the checkbox detection engine (74) processes configured checkbox coordinates, and the photograph and signature extraction engine (76) processes configured photograph and signature regions. Where the respective extraction operations are independent, the adaptive workflow orchestration engine (60) causes the branches to execute concurrently. Outputs of the separate branches are then supplied to the result aggregation engine (80), without requiring checkbox-state determination or photograph and signature extraction to be performed through the text and numeric extraction engine (72).
[0072] The result aggregation engine (80) receives the text and numeric fields, checkbox-state information, photograph and signature data, validation results, and template information generated or retrieved during preceding stages. The received information is mapped to the predefined admission fields and normalized. Cross-field consistency validation is then performed on the normalized admission fields, and conflicting candidate values, when present, are processed according to their respective confidence values. The resulting information is assembled into the structured admission record together with the applicable validation and processing information.
[0073] By way of a non-limiting example, operation of the system (100) is explained in a scenario in which an image of a structured admission document containing textual fields, numeric fields, checkboxes, a photograph, and a signature is received through the document input interface (10) together with a template identifier. Based on the template identifier, the configurable template repository (30) retrieves the corresponding reference image and runtime template configuration. The image preprocessing and alignment engine (20) preprocesses and geometrically aligns the received image with the reference image to obtain an aligned document in a template-defined coordinate space. The multi-stage document validation engine (40) performs the applicable validation operations and generates validation results, which are evaluated by the conditional validation gate (50).
[0074] When a mandatory validation condition is not satisfied, downstream information-extraction operations are inhibited and a structured validation-failure result is generated. When the mandatory validation condition is satisfied, the adaptive workflow orchestration engine (60) determines the required information-extraction operations from the runtime template configuration and selectively initiates the text and numeric extraction engine (72), the checkbox detection engine (74), and the photograph and signature extraction engine (76), with independent operations being executed concurrently. The result aggregation engine (80) receives the generated outputs, combines the outputs with the validation results and template information, maps the combined outputs to predefined admission fields, and generates a structured admission record.
[0075] Referring now to FIG. 2, a flowchart of a method (200) for processing a structured admission document is illustrated.
[0076] In an aspect, a method (200) for processing a structured admission document is provided in accordance with the present invention. Referring to FIG. 2, the method (200) is described in conjunction with the system (100) comprising a document input interface (10), an image preprocessing and alignment engine (20), a configurable template repository (30), a multi-stage document validation engine (40), a conditional validation gate (50), an adaptive workflow orchestration engine (60), a plurality of information-extraction engines (70), a result aggregation engine (80). The method (200) includes the following steps:
[0077] The method (200) starts at step (210).
[0078] At step (220), the document input interface (10) receives an image of the structured admission document along with at least one of a template identifier and a processing configuration. The received image represents a structured admission document having information positioned according to a corresponding form template. The document input interface (10) supplies the received image and the associated template identifier or processing configuration for subsequent processing.
[0079] At step (230), the configurable template repository (30) retrieves a reference image and a corresponding runtime template configuration based on the template identifier. The runtime template configuration defines field locations, validation rules, extraction regions, and processing parameters applicable to the structured admission document. The retrieved reference image and the runtime template configuration are made available to the image preprocessing and alignment engine (20) and subsequent processing components.
[0080] At step (240), the image preprocessing and alignment engine (20) preprocesses the received image and geometrically aligns the received image with the reference image. The preprocessing includes one or more image-processing operations applicable according to the processing parameters, while the geometric alignment places the received image in correspondence with the reference image. The image preprocessing and alignment engine (20) thereby generates an aligned document in a template-defined coordinate space corresponding to the applicable form template.
[0081] At step (250), the multi-stage document validation engine (40) validates the aligned document prior to information extraction. The multi-stage document validation engine (40) performs a plurality of validation operations including template validation and at least one of marker validation, document-completeness validation, document-quality validation, photograph-presence validation, and signature-presence validation. Based on the performed validation operations, the multi-stage document validation engine (40) generates validation results representing whether the corresponding validation conditions have been satisfied.
[0082] At step (260), the conditional validation gate (50) evaluates the validation results generated at step (250) to determine whether at least one mandatory validation condition is satisfied. When the at least one mandatory validation condition is not satisfied, the conditional validation gate (50) inhibits execution of one or more downstream information-extraction operations. When the at least one mandatory validation condition is satisfied, the conditional validation gate (50) permits the aligned document to proceed for information extraction.
[0083] At step (270), upon the aligned document being permitted to proceed for information extraction, the adaptive workflow orchestration engine (60) determines one or more information-extraction operations required to be performed on the aligned document. The determination is made based on the runtime template configuration, including the field definitions, extraction regions, extraction-engine mappings, and processing parameters applicable to the corresponding structured admission document.
[0084] At step (280), the adaptive workflow orchestration engine (60) selectively initiates one or more of the plurality of information-extraction engines (70) corresponding to the determined information-extraction operations. The selectively initiated information-extraction engines (70) include, according to the runtime template configuration, one or more of the text and numeric extraction engine (72), the checkbox detection engine (74), and the photograph and signature extraction engine (76).
[0085] At step (290), the selectively initiated information-extraction engines (70) execute the determined information-extraction operations on the aligned document. The text and numeric extraction engine (72) processes configured textual or numeric field regions, the checkbox detection engine (74) determines states of checkboxes at configured checkbox coordinates, and the photograph and signature extraction engine (76) extracts image data from configured photograph and signature regions. When at least two of the determined information-extraction operations are independent of each other, the adaptive workflow orchestration engine (60) causes the corresponding information-extraction operations to be executed concurrently.
[0086] At step (300), the result aggregation engine (80) receives outputs generated by the selectively initiated information-extraction engines (70). The result aggregation engine (80) combines the received outputs with the validation results and template information associated with the structured admission document, thereby associating information generated through different extraction operations with the corresponding form-template information.
[0087] At step (310), the result aggregation engine (80) maps the combined outputs to predefined admission fields. The mapping associates extracted textual and numeric values, checkbox-state information, and photograph and signature data with the respective predefined admission fields identified by the runtime template configuration.
[0088] At step (320), the result aggregation engine (80) generates a structured admission record including the predefined admission fields. The structured admission record thereby represents the information extracted from the structured admission document together with the corresponding mapped admission-field information.
[0089] The method (200) ends at step (330).
[0090] The present invention has the advantage of providing a system (100) for processing a structured admission document capable of performing document preprocessing and geometric alignment followed by multi-stage validation before information extraction. The conditional validation gate (50) inhibits downstream information-extraction operations when a mandatory validation condition is not satisfied, thereby preventing processing of unsupported, incomplete, or unsuitable documents. The adaptive workflow orchestration engine (60) selectively initiates the information-extraction engines (70) according to the runtime template configuration and permits concurrent execution of independent information-extraction operations. The system (100) further combines text and numeric information, checkbox states, photograph and signature data, validation results, and template information into predefined admission fields for generation of a structured admission record.
[0091] The foregoing descriptions of specific embodiments of the present invention have been presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the present invention to the precise forms disclosed, and obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to explain the principles of the present invention best and its practical application, to thereby enabling others skilled in the art to best utilize the present invention and various embodiments with various modifications as are suited to the particular use contemplated. It is understood that various omission and substitutions of equivalents are contemplated as circumstance may suggest or render expedient, but such are intended to cover the application or implementation without departing from the scope of the claims of the present invention.
, Claims:We Claim: 1. A system (100) for processing a structured admission document, the system (100) comprising: a document intake interface (10) configured to receive an image of the structured admission document and at least one of a template identifier and a processing configuration; an image preprocessing and alignment engine (20) configured to preprocess the received image and geometrically align the received image with a reference image corresponding to a form template to obtain an aligned document in a template-defined coordinate space; a configurable template repository (30) including a plurality of form-template configurations, each associated with a respective reference image and defining field locations, validation rules, extraction regions, and processing parameters, wherein the configurable template repository (30) is configured to retrieve, based on the template identifier, the reference image and a corresponding runtime template configuration for processing the structured admission document; a multi-stage document validation engine (40) configured to validate the aligned document, prior to information extraction, by performing a plurality of validation operations including template validation and at least one of marker validation, document-completeness validation, document-quality validation, photograph-presence validation, and signature-presence validation, and to generate validation results based on the performed validation operations; a conditional validation gate (50) configured to evaluate the validation results and: inhibit execution of one or more downstream information-extraction operations when at least one mandatory validation condition is not satisfied; and permit the aligned document to proceed for information extraction when the at least one mandatory validation condition is satisfied; an adaptive workflow orchestration engine (60) configured to receive the aligned document permitted by the conditional validation gate (50) together with the runtime template configuration associated with the structured admission document, and determine, based on the runtime template configuration, one or more information-extraction operations required to be performed on the aligned document; a plurality of information-extraction engines (70) including at least a text and numeric extraction engine (72), a checkbox detection engine (74), and a photograph and signature extraction engine (76), wherein the adaptive workflow orchestration engine (60) is configured to selectively initiate one or more of the plurality of information-extraction engines (70) corresponding to the determined information-extraction operations and, when at least two of the determined information-extraction operations are independent of each other, cause the at least two information-extraction operations to be executed concurrently; and a result aggregation engine (80) configured to receive outputs generated by the selectively initiated information-extraction engines (70), combine the outputs with at least the validation results and template information, map the combined outputs to predefined admission fields, and generate a structured admission record, wherein the conditional validation gate (50) and the adaptive workflow orchestration engine (60) are configured to control execution of the plurality of information-extraction engines (70) such that the determined information-extraction operations are selectively performed according to the runtime template configuration only after satisfaction of the at least one mandatory validation condition.
2. The system (100) as claimed in claim 1, wherein: the checkbox detection engine (74) is configured to obtain checkbox coordinates from the runtime template configuration and determine a checked or unchecked state of a checkbox independently of the text and numeric extraction engine (72); and the photograph and signature extraction engine (76) is configured to obtain predefined photograph and signature regions from the runtime template configuration and extract respective photograph and signature image data from the aligned document.
3. The system (100) as claimed in claim 1, wherein the configurable template repository (30) is configured to maintain different form types or form versions, each form-template configuration further defining at least one of reference-image alignment parameters, field definitions and coordinates, presence-validation rules, extraction-engine mappings, checkbox coordinates and state rules, photograph and signature regions, and form-version information.
4. The system (100) as claimed in claim 1, wherein the image preprocessing and alignment engine (20) is configured to perform at least one of noise reduction, image enhancement, contrast normalization, thresholding, rotation correction, skew correction, perspective correction, resolution normalization, and geometric transformation, and to align the received image with the reference image based on registration markers, square markers, keypoints, or template-matching information.
5. The system (100) as claimed in claim 1, wherein the multi-stage document validation engine (40) is configured to detect, prior to information extraction, at least one of an unsupported template, an incomplete document, a blank image, a black image, a corrupted image, an overexposed image, a blurred image, an unreadable image, an absent photograph, and an absent signature, and to generate the validation results indicative thereof.
6. The system (100) as claimed in claim 1, wherein the conditional validation gate (50), upon determining that the at least one mandatory validation condition is not satisfied, is configured to generate a structured validation-failure result and prevent execution of the text and numeric extraction engine (72), the checkbox detection engine (74), and the photograph and signature extraction engine (76).
7. The system (100) as claimed in claim 1, wherein the adaptive workflow orchestration engine (60) is configured to determine, from the runtime template configuration, whether each of text and numeric extraction, checkbox detection, photograph extraction, and signature extraction is required for the structured admission document, and to cause the text and numeric extraction engine (72), the checkbox detection engine (74), and the photograph and signature extraction engine (76) to execute concurrently when the corresponding information-extraction operations are determined to be independent.
8. The system (100) as claimed in claim 1, wherein the text and numeric extraction engine (72) includes separate recognition processing for numeric sequences and textual sequences, wherein at least one of the numeric-sequence recognition and the textual-sequence recognition includes convolutional feature extraction, bidirectional recurrent sequence processing, and connectionist temporal classification decoding.
9. The system (100) as claimed in claim 1, wherein the result aggregation engine (80) is further configured to normalize the predefined admission fields, perform cross-field consistency validation on the normalized admission fields, resolve conflicting candidate values based on respective confidence values, and generate the structured admission record including at least one of checkbox-state information, photograph data, signature data, validation metadata, confidence information, template metadata, processing timestamps, and audit information.
10. A method (200) for processing a structured admission document, the method (200) comprising steps of: receiving an image of the structured admission document through the document intake interface (10) along with at least one of a template identifier and a processing configuration; retrieving a reference image and a corresponding runtime template configuration from the configurable template repository (30) based on the template identifier, wherein the runtime template configuration defines field locations, validation rules, extraction regions, and processing parameters applicable to the structured admission document; preprocessing the received image and geometrically aligning the received image with the reference image through the image preprocessing and alignment engine (20) to obtain an aligned document in a template-defined coordinate space; validating the aligned document through the multi-stage document validation engine (40), prior to information extraction, by performing a plurality of validation operations including template validation and at least one of marker validation, document-completeness validation, document-quality validation, photograph-presence validation, and signature-presence validation, and generating validation results based on the performed validation operations; evaluating the validation results through the conditional validation gate (50) to determine whether at least one mandatory validation condition is satisfied, wherein the conditional validation gate (50) inhibits execution of one or more downstream information-extraction operations when the at least one mandatory validation condition is not satisfied and permits the aligned document to proceed for information extraction when the at least one mandatory validation condition is satisfied; determining, through the adaptive workflow orchestration engine (60), one or more information-extraction operations required to be performed on the aligned document based on the runtime template configuration, upon the aligned document being permitted to proceed for information extraction; selectively initiating, through the adaptive workflow orchestration engine (60), one or more of the plurality of information-extraction engines (70), including the text and numeric extraction engine (72), the checkbox detection engine (74), and the photograph and signature extraction engine (76), corresponding to the determined information-extraction operations; executing the determined information-extraction operations through the selectively initiated information-extraction engines (70), wherein at least two of the determined information-extraction operations are executed concurrently when the at least two information-extraction operations are independent of each other; receiving outputs generated by the selectively initiated information-extraction engines (70) through the result aggregation engine (80) and combining the received outputs with the validation results and template information; mapping the combined outputs to predefined admission fields through the result aggregation engine (80); and generating a structured admission record including the predefined admission fields through the result aggregation engine (80).