Skip to content

Commit f2a5119

Browse files
update to internal commit acafc7b1
1 parent 69be56c commit f2a5119

13 files changed

+216
-72
lines changed

_data/product_version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version_info_list:
44
- value: latest version
55
- value: 2.x
66
child:
7+
- 2.2.10
78
- 2.2.0
89
- 2.0.21
910
- 2.0.20
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
- Introduced two new parameters for quadrilateral filtering.
3+
- Added a new parameter `MinQuadrilateralAreaRatio` to define the minimum targeting document area. The parameter is available via both the parameter template and the SimplifiedDocumentNormalizerSettings.
4+
- 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.
5+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<li><a href="{{ site.parameters_reference_ddn }}" class="otherLinkColour">Parameter Reference</a>
2+
<ul>
3+
<li><a class="otherLinkColour ">Capture Vision Template</a>
4+
<ul>
5+
<li><a href="{{ site.parameters_reference }}capture-vision-template/name.html" class="otherLinkColour">Name</a></li>
6+
<li><a href="{{ site.parameters_reference }}capture-vision-template/image-roi-processing-name-array.html" class="otherLinkColour">ImageROIProcessingNameArray</a></li>
7+
<li><a href="{{ site.parameters_reference }}capture-vision-template/image-source-name.html" class="otherLinkColour">ImageSourceName</a></li>
8+
<li><a href="{{ site.parameters_reference }}capture-vision-template/max-parallel-tasks.html" class="otherLinkColour">MaxParallelTasks</a></li>
9+
<li><a href="{{ site.parameters_reference }}capture-vision-template/min-image-capture-interval.html" class="otherLinkColour">MinImageCaptureInterval</a></li>
10+
<li><a href="{{ site.parameters_reference }}capture-vision-template/output-original-Image.html" class="otherLinkColour">OutputOriginalImage</a></li>
11+
<li><a href="{{ site.parameters_reference }}capture-vision-template/semantic-processing-name-array.html" class="otherLinkColour">SemanticProcessingNameArray</a></li>
12+
<li><a href="{{ site.parameters_reference }}capture-vision-template/timeout.html" class="otherLinkColour">Timeout</a></li>
13+
</ul>
14+
</li>
15+
<li><a class="otherLinkColour ">Target ROI Def</a>
16+
<ul>
17+
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
18+
<li><a href="{{ site.parameters_reference }}target-roi-def/base-target-roidef-name.html" class="otherLinkColour">BaseTargetROIDefName</a></li>
19+
<li><a href="{{ site.parameters_reference }}target-roi-def/location.html" class="otherLinkColour">Location</a></li>
20+
<li><a href="{{ site.parameters_reference }}target-roi-def/pause-flag.html" class="otherLinkColour">PauseFlag</a></li>
21+
<li><a href="{{ site.parameters_reference }}target-roi-def/task-setting-name-array.html" class="otherLinkColour">TaskSettingNameArray</a></li>
22+
</ul>
23+
</li>
24+
<li><a class="otherLinkColour ">Document Normalizer Task Setting</a>
25+
<ul>
26+
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
27+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/base-document-normalizer-task-setting-name.html" class="otherLinkColour">BaseDocumentNormalizerTaskSettingName</a></li>
28+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/brightness.html" class="otherLinkColour">Brightness</a></li>
29+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/colour-mode.html" class="otherLinkColour">ColourMode</a></li>
30+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/content-type.html" class="otherLinkColour">ContentType</a></li>
31+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/contrast.html" class="otherLinkColour">Contrast</a></li>
32+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/corner-angle-range.html" class="otherLinkColour">CornerAngleRange</a></li>
33+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/deskew-mode.html" class="otherLinkColour">DeskewMode</a></li>
34+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/expected-documents-count.html" class="otherLinkColour">ExpectedDocumentsCount</a></li>
35+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/line-extraction-modes.html" class="otherLinkColour">LineExtractionModes</a></li>
36+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/page-size.html" class="otherLinkColour">PageSize</a></li>
37+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/quadrilateral-detection-modes.html" class="otherLinkColour">QuadrilateralDetectionModes</a></li>
38+
<li><a href="{{ site.parameters_reference }}shared-parameter/max-threads-in-one-task.html" class="otherLinkColour">MaxThreadsInOneTask</a></li>
39+
<li><a href="{{ site.parameters_reference }}shared-parameter/section-image-parameter-array.html" class="otherLinkColour">SectionImageParameterArray</a></li>
40+
<li><a href="{{ site.parameters_reference }}shared-parameter/start-section.html" class="otherLinkColour">StartSection</a></li>
41+
<li><a href="{{ site.parameters_reference }}shared-parameter/terminate-setting.html" class="otherLinkColour">TerminateSetting</a></li>
42+
</ul>
43+
</li>
44+
<li><a class="otherLinkColour ">ImageParameter</a>
45+
<ul>
46+
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
47+
<li><a href="{{ site.parameters_reference }}image-parameter/base-image-parameter-name.html" class="otherLinkColour">BaseImageParameterName</a></li>
48+
<li><a href="{{ site.parameters_reference }}image-parameter/binarization-modes.html" class="otherLinkColour">BinarizationModes</a></li>
49+
<li><a href="{{ site.parameters_reference }}image-parameter/colour-conversion-modes.html" class="otherLinkColour">ColourConversionModes</a></li>
50+
<li><a href="{{ site.parameters_reference }}image-parameter/grayscale-enhancement-modes.html" class="otherLinkColour">GrayscaleEnhancementModes</a></li>
51+
<li><a href="{{ site.parameters_reference }}image-parameter/grayscale-transformation-modes.html" class="otherLinkColour">GrayscaleTransformationModes</a></li>
52+
<li><a href="{{ site.parameters_reference }}image-parameter/if-erase-text-zone.html" class="otherLinkColour">IfEraseTextZone</a></li>
53+
<li><a href="{{ site.parameters_reference }}image-parameter/region-predetection-modes.html" class="otherLinkColour">RegionPredetectionModes</a></li>
54+
<li><a href="{{ site.parameters_reference }}image-parameter/scale-down-threshold.html" class="otherLinkColour">ScaleDownThreshold</a></li>
55+
<li><a href="{{ site.parameters_reference }}image-parameter/scale-up-modes.html" class="otherLinkColour">ScaleUpModes</a></li>
56+
<li><a href="{{ site.parameters_reference }}image-parameter/text-detection-mode.html" class="otherLinkColour">TextDetectionMode</a></li>
57+
<li><a href="{{ site.parameters_reference }}image-parameter/texture-detection-modes.html" class="otherLinkColour">TextureDetectionModes</a></li>
58+
</ul>
59+
</li>
60+
<li><a class="otherLinkColour ">Image Source</a>
61+
<ul>
62+
<li><a href="{{ site.parameters_reference }}target-roi-def/name.html" class="otherLinkColour">Name</a></li>
63+
<li><a href="{{ site.parameters_reference }}image-source-options/file-filter.html" class="otherLinkColour">FileFilter</a></li>
64+
<li><a href="{{ site.parameters_reference }}image-source-options/pdf-reading-mode.html" class="otherLinkColour">PDFReadingMode</a></li>
65+
<li><a href="{{ site.parameters_reference }}image-source-options/recursive.html" class="otherLinkColour">Recursive</a></li>
66+
<li><a href="{{ site.parameters_reference }}image-source-options/type.html" class="otherLinkColour">Type</a></li>
67+
</ul>
68+
</li>
69+
<li><a class="otherLinkColour ">Global Parameter</a>
70+
<ul>
71+
<li><a href="{{ site.parameters_reference }}global-parameter/max-total-image-dimension.html" class="otherLinkColour">MaxTotalImageDimension</a></li>
72+
</ul>
73+
</li>
74+
</ul>
75+
</li>

_includes/sidelist-parameters-reference.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/contrast.html" class="otherLinkColour">Contrast</a></li>
3232
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/corner-angle-range.html" class="otherLinkColour">CornerAngleRange</a></li>
3333
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/deskew-mode.html" class="otherLinkColour">DeskewMode</a></li>
34+
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/expected-documents-count.html" class="otherLinkColour">ExpectedDocumentsCount</a></li>
3435
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/line-extraction-modes.html" class="otherLinkColour">LineExtractionModes</a></li>
3536
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/page-size.html" class="otherLinkColour">PageSize</a></li>
3637
<li><a href="{{ site.parameters_reference }}document-normalizer-task-settings/quadrilateral-detection-modes.html" class="otherLinkColour">QuadrilateralDetectionModes</a></li>

_layouts/search-page.html

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -202,57 +202,6 @@ <h1>Search</h1>
202202
window.location.href = '/document-normalizer/docs/core/search.html?q=' + $('#txtSearch').val()
203203
}
204204
})
205-
206-
$("body").delegate("#searchResult .gsc-resultsRoot a.gs-title", "click", function(e) {
207-
e.preventDefault();
208-
209-
var link = $(this).eq(0).data("ctorig")
210-
if (link.indexOf("capture-vision/docs") > 0) {
211-
var repoType = getRepoType("core", link);
212-
if (link.indexOf("?") > 0) {
213-
var arr = link.split("?")
214-
if(arr[1].indexOf("#") > 0) {
215-
var subArr = arr[1].split("#")
216-
link = link +"?product=ddn&repoType="+ repoType +"&" + arr[1]
217-
} else {
218-
link = link + "&product=ddn&repoType=" + repoType
219-
}
220-
} else {
221-
link = link + "?product=ddn&repoType=" + repoType
222-
}
223-
}
224-
window.location.href = link
225-
});
226-
227-
function getRepoType(defaultValue, link) {
228-
var lang = getCurrentUrlLang(link, true)
229-
var repoType = defaultValue
230-
if (lang) {
231-
if (lang == 'android' || lang == 'objectivec-swift') {
232-
repoType = "mobile"
233-
} else if (lang == 'javascript') {
234-
repoType = "web"
235-
} else if (lang == 'cplusplus' || lang == 'c' || lang == 'java' || lang == 'dotnet') {
236-
repoType = "server"
237-
} else {
238-
repoType = "core"
239-
}
240-
} else {
241-
if(link.indexOf("/docs/server/") > 0) {
242-
repoType = "server"
243-
}
244-
if (link.indexOf("/docs/core/") > 0) {
245-
repoType = "core"
246-
}
247-
if (link.indexOf("/docs/mobile") > 0) {
248-
repoType = "mobile"
249-
}
250-
if (link.indexOf("/docs/web/") > 0) {
251-
repoType = "web"
252-
}
253-
}
254-
return repoType
255-
}
256205
</script>
257206

258207
{%- include livehelp.html -%}

assets/js/ddnCoreVersionSearch.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
[
2+
{
3+
"version": "2.4.10",
4+
"matchList": {
5+
"dcvRepoCore": [
6+
{
7+
"path": "/parameters/reference/capture-vision-template",
8+
"version": "2.4.10"
9+
},{
10+
"path": "/parameters/reference/target-roi-def",
11+
"version": "2.4.10"
12+
},{
13+
"path": "/parameters/reference/document-normalizer-task-settings",
14+
"version": "2.4.10"
15+
},{
16+
"path": "/parameters/reference/image-parameter",
17+
"version": "2.4.10"
18+
},{
19+
"path": "/parameters/reference/image-source-options",
20+
"version": "3.4.10"
21+
},{
22+
"path": "/parameters/reference/global-parameter",
23+
"version": "2.4.10"
24+
}
25+
]
26+
}
27+
},
228
{
329
"version": "2.2.10",
430
"matchList": {
Loading
Loading
Loading

introduction/index.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,13 @@ With DDN, you can efficiently embed the functionality of quadrilateral detection
2424

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

27-
- Document boundary detection
28-
29-
<div align="center">
30-
<p><img src="assets/document-boundary-detection.jpg" alt="Document boundary detection" width="25%" /></p>
31-
<p>Figure 1 – Document boundary detection</p>
32-
</div>
33-
34-
- Table boundary detection
35-
36-
<div align="center">
37-
<p><img src="assets/table-boundary-detection.jpg" alt="Table boundary detection" width="25%" /></p>
38-
<p>Figure 2 – Table boundary detection</p>
39-
</div>
40-
41-
- Multiple boundaries in one detection
42-
43-
<div align="center">
44-
<p><img src="assets/multiple-boundaries-detection.jpg" alt="Multiple boundaries detection" width="25%" /></p>
45-
<p>Figure 3 – Multiple boundaries in one detection</p>
46-
</div>
27+
<table>
28+
<tr>
29+
<td><img src="assets/document-boundary-detection.jpg" alt="Document boundary detection" style="width:100%" /><br>Figure 1 – Document boundary detection</td>
30+
<td><img src="assets/table-boundary-detection.jpg" alt="Inner table boundary detection" style="width:100%" /><br>Figure 2 – Inner table boundary detection</td>
31+
<td><img src="assets/multiple-boundaries-detection.jpg" alt="Multiple boundaries detection" style="width:100%" /><br>Figure 3 – Multiple boundaries detection</td>
32+
</tr>
33+
</table>
4734

4835
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.
4936

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

8976
### Document scanning and archiving
9077

91-
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.
78+
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.
9279

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

0 commit comments

Comments
 (0)