Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _data/product_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version_info_list:
- value: latest version
- value: 2.x
child:
- 2.2.10
- 2.2.0
- 2.0.21
- 2.0.20
Expand Down
5 changes: 5 additions & 0 deletions _includes/release-notes/product-highlight-2.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

- Introduced two new parameters for quadrilateral filtering.
- Added a new parameter `MinQuadrilateralAreaRatio` to define the minimum targeting document area. The parameter is available via both the parameter template and the SimplifiedDocumentNormalizerSettings.
- Added a new parameter `ExpectedDocumentsCount` to define the expected document count for detection. The parameter is available via both the parameter template and the SimplifiedDocumentNormalizerSettings.

75 changes: 75 additions & 0 deletions _includes/sidelist-parameters-reference-v2.2.10.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<li><a href="{{ site.parameters_reference_ddn }}" class="otherLinkColour">Parameter Reference</a>
<ul>
<li><a class="otherLinkColour ">Capture Vision Template</a>
<ul>
<li><a href="{{ site.parameters_reference }}capture-vision-template/name.html" class="otherLinkColour">Name</a></li>
<li><a href="{{ site.parameters_reference }}capture-vision-template/image-roi-processing-name-array.html" class="otherLinkColour">ImageROIProcessingNameArray</a></li>
<li><a href="{{ site.parameters_reference }}capture-vision-template/image-source-name.html" class="otherLinkColour">ImageSourceName</a></li>
<li><a href="{{ site.parameters_reference }}capture-vision-template/max-parallel-tasks.html" class="otherLinkColour">MaxParallelTasks</a></li>
<li><a href="{{ site.parameters_reference }}capture-vision-template/min-image-capture-interval.html" class="otherLinkColour">MinImageCaptureInterval</a></li>
<li><a href="{{ site.parameters_reference }}capture-vision-template/output-original-Image.html" class="otherLinkColour">OutputOriginalImage</a></li>
<li><a href="{{ site.parameters_reference }}capture-vision-template/semantic-processing-name-array.html" class="otherLinkColour">SemanticProcessingNameArray</a></li>
<li><a href="{{ site.parameters_reference }}capture-vision-template/timeout.html" class="otherLinkColour">Timeout</a></li>
</ul>
</li>
<li><a class="otherLinkColour ">Target ROI Def</a>
<ul>
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
<li><a href="{{ site.parameters_reference }}target-roi-def/base-target-roidef-name.html" class="otherLinkColour">BaseTargetROIDefName</a></li>
<li><a href="{{ site.parameters_reference }}target-roi-def/location.html" class="otherLinkColour">Location</a></li>
<li><a href="{{ site.parameters_reference }}target-roi-def/pause-flag.html" class="otherLinkColour">PauseFlag</a></li>
<li><a href="{{ site.parameters_reference }}target-roi-def/task-setting-name-array.html" class="otherLinkColour">TaskSettingNameArray</a></li>
</ul>
</li>
<li><a class="otherLinkColour ">Document Normalizer Task Setting</a>
<ul>
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/base-document-normalizer-task-setting-name.html" class="otherLinkColour">BaseDocumentNormalizerTaskSettingName</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/brightness.html" class="otherLinkColour">Brightness</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/colour-mode.html" class="otherLinkColour">ColourMode</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/content-type.html" class="otherLinkColour">ContentType</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/contrast.html" class="otherLinkColour">Contrast</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/corner-angle-range.html" class="otherLinkColour">CornerAngleRange</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/deskew-mode.html" class="otherLinkColour">DeskewMode</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/expected-documents-count.html" class="otherLinkColour">ExpectedDocumentsCount</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/line-extraction-modes.html" class="otherLinkColour">LineExtractionModes</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/page-size.html" class="otherLinkColour">PageSize</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/quadrilateral-detection-modes.html" class="otherLinkColour">QuadrilateralDetectionModes</a></li>
<li><a href="{{ site.parameters_reference }}shared-parameter/max-threads-in-one-task.html" class="otherLinkColour">MaxThreadsInOneTask</a></li>
<li><a href="{{ site.parameters_reference }}shared-parameter/section-image-parameter-array.html" class="otherLinkColour">SectionImageParameterArray</a></li>
<li><a href="{{ site.parameters_reference }}shared-parameter/start-section.html" class="otherLinkColour">StartSection</a></li>
<li><a href="{{ site.parameters_reference }}shared-parameter/terminate-setting.html" class="otherLinkColour">TerminateSetting</a></li>
</ul>
</li>
<li><a class="otherLinkColour ">ImageParameter</a>
<ul>
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/base-image-parameter-name.html" class="otherLinkColour">BaseImageParameterName</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/binarization-modes.html" class="otherLinkColour">BinarizationModes</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/colour-conversion-modes.html" class="otherLinkColour">ColourConversionModes</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/grayscale-enhancement-modes.html" class="otherLinkColour">GrayscaleEnhancementModes</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/grayscale-transformation-modes.html" class="otherLinkColour">GrayscaleTransformationModes</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/if-erase-text-zone.html" class="otherLinkColour">IfEraseTextZone</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/region-predetection-modes.html" class="otherLinkColour">RegionPredetectionModes</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/scale-down-threshold.html" class="otherLinkColour">ScaleDownThreshold</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/scale-up-modes.html" class="otherLinkColour">ScaleUpModes</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/text-detection-mode.html" class="otherLinkColour">TextDetectionMode</a></li>
<li><a href="{{ site.parameters_reference }}image-parameter/texture-detection-modes.html" class="otherLinkColour">TextureDetectionModes</a></li>
</ul>
</li>
<li><a class="otherLinkColour ">Image Source</a>
<ul>
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
<li><a href="{{ site.parameters_reference }}image-source-options/file-filter.html" class="otherLinkColour">FileFilter</a></li>
<li><a href="{{ site.parameters_reference }}image-source-options/pdf-reading-mode.html" class="otherLinkColour">PDFReadingMode</a></li>
<li><a href="{{ site.parameters_reference }}image-source-options/recursive.html" class="otherLinkColour">Recursive</a></li>
<li><a href="{{ site.parameters_reference }}image-source-options/type.html" class="otherLinkColour">Type</a></li>
</ul>
</li>
<li><a class="otherLinkColour ">Global Parameter</a>
<ul>
<li><a href="{{ site.parameters_reference }}global-parameter/max-total-image-dimension.html" class="otherLinkColour">MaxTotalImageDimension</a></li>
</ul>
</li>
</ul>
</li>
1 change: 1 addition & 0 deletions _includes/sidelist-parameters-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/contrast.html" class="otherLinkColour">Contrast</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/corner-angle-range.html" class="otherLinkColour">CornerAngleRange</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/deskew-mode.html" class="otherLinkColour">DeskewMode</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/expected-documents-count.html" class="otherLinkColour">ExpectedDocumentsCount</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/line-extraction-modes.html" class="otherLinkColour">LineExtractionModes</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/page-size.html" class="otherLinkColour">PageSize</a></li>
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/quadrilateral-detection-modes.html" class="otherLinkColour">QuadrilateralDetectionModes</a></li>
Expand Down
51 changes: 0 additions & 51 deletions _layouts/search-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,57 +202,6 @@ <h1>Search</h1>
window.location.href = '/document-normalizer/docs/core/search.html?q=' + $('#txtSearch').val()
}
})

$("body").delegate("#searchResult .gsc-resultsRoot a.gs-title", "click", function(e) {
e.preventDefault();

var link = $(this).eq(0).data("ctorig")
if (link.indexOf("capture-vision/docs") > 0) {
var repoType = getRepoType("core", link);
if (link.indexOf("?") > 0) {
var arr = link.split("?")
if(arr[1].indexOf("#") > 0) {
var subArr = arr[1].split("#")
link = link +"?product=ddn&repoType="+ repoType +"&" + arr[1]
} else {
link = link + "&product=ddn&repoType=" + repoType
}
} else {
link = link + "?product=ddn&repoType=" + repoType
}
}
window.location.href = link
});

function getRepoType(defaultValue, link) {
var lang = getCurrentUrlLang(link, true)
var repoType = defaultValue
if (lang) {
if (lang == 'android' || lang == 'objectivec-swift') {
repoType = "mobile"
} else if (lang == 'javascript') {
repoType = "web"
} else if (lang == 'cplusplus' || lang == 'c' || lang == 'java' || lang == 'dotnet') {
repoType = "server"
} else {
repoType = "core"
}
} else {
if(link.indexOf("/docs/server/") > 0) {
repoType = "server"
}
if (link.indexOf("/docs/core/") > 0) {
repoType = "core"
}
if (link.indexOf("/docs/mobile") > 0) {
repoType = "mobile"
}
if (link.indexOf("/docs/web/") > 0) {
repoType = "web"
}
}
return repoType
}
</script>

{%- include livehelp.html -%}
Expand Down
26 changes: 26 additions & 0 deletions assets/js/ddnCoreVersionSearch.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
[
{
"version": "2.4.10",
"matchList": {
"dcvRepoCore": [
{
"path": "/parameters/reference/capture-vision-template",
"version": "2.4.10"
},{
"path": "/parameters/reference/target-roi-def",
"version": "2.4.10"
},{
"path": "/parameters/reference/document-normalizer-task-settings",
"version": "2.4.10"
},{
"path": "/parameters/reference/image-parameter",
"version": "2.2.40"
},{
"path": "/parameters/reference/image-source-options",
"version": "3.2.40"
},{
"path": "/parameters/reference/global-parameter",
"version": "2.4.10"
}
]
}
},
{
"version": "2.2.10",
"matchList": {
Expand Down
Binary file modified introduction/assets/document-boundary-detection.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified introduction/assets/multiple-boundaries-detection.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified introduction/assets/table-boundary-detection.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 8 additions & 21 deletions introduction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,13 @@ With DDN, you can efficiently embed the functionality of quadrilateral detection

With DDN, you can extract the four corner coordinates of one or multiple documents/tables.

- Document boundary detection

<div align="center">
<p><img src="assets/document-boundary-detection.jpg" alt="Document boundary detection" width="25%" /></p>
<p>Figure 1 – Document boundary detection</p>
</div>

- Table boundary detection

<div align="center">
<p><img src="assets/table-boundary-detection.jpg" alt="Table boundary detection" width="25%" /></p>
<p>Figure 2 – Table boundary detection</p>
</div>

- Multiple boundaries in one detection

<div align="center">
<p><img src="assets/multiple-boundaries-detection.jpg" alt="Multiple boundaries detection" width="25%" /></p>
<p>Figure 3 – Multiple boundaries in one detection</p>
</div>
<table>
<tr>
<td><img src="assets/document-boundary-detection.jpg" alt="Document boundary detection" style="width:100%" /><br>Figure 1 – Document boundary detection</td>
<td><img src="assets/table-boundary-detection.jpg" alt="Inner table boundary detection" style="width:100%" /><br>Figure 2 – Inner table boundary detection</td>
<td><img src="assets/multiple-boundaries-detection.jpg" alt="Multiple boundaries detection" style="width:100%" /><br>Figure 3 – Multiple boundaries detection</td>
</tr>
</table>

Don't worry if your documents/tables are blurry, damaged, too colorful or peculiar in any way. DDN provides various image processing settings for full customization. Our default settings are sufficient for most cases. However, additional tweaks can be made for your specific cases to achieve greater speed and accuracy.

Expand Down Expand Up @@ -88,7 +75,7 @@ These modes can be configured not only through API but also through a configurat

### Document scanning and archiving

In government or large corporations, paper documents usually need to be digitized and stored in an electronic format. We often do so by taking photos of the documents or scanning the documents. However, the captured document images can potentially not follow the same pattern. You may encounter images taken at different angles, in different lighting levels, bluriness, etc. With DDN, you can normalize or standardize the document images with ease. DDN also provides various settings so you can customize the outcome of the normalized document image to meet your needs.
In government or large corporations, paper documents usually need to be digitized and stored in an electronic format. We often do so by taking photos of the documents or scanning the documents. However, the captured document images can potentially not follow the same pattern. You may encounter images taken at different angles, in different lighting levels, blurriness, etc. With DDN, you can normalize or standardize the document images with ease. DDN also provides various settings so you can customize the outcome of the normalized document image to meet your needs.

<div align="center">
<p><img src="assets/document-scanning-and-archive.jpg" alt="document-scanning-and-archive" width="60%" /></p>
Expand Down
Loading