Skip to content

Commit d8f20ff

Browse files
update to internal commit 5cbe6e21
1 parent 3018c32 commit d8f20ff

File tree

10 files changed

+765
-169
lines changed

10 files changed

+765
-169
lines changed

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ dcv_parameters: /capture-vision/docs/core/parameters/reference/
1919
dcv_js_api: /capture-vision/docs/web/programming/javascript/api-reference/
2020
dcv_introduction: /capture-vision/docs/core/introduction/
2121

22-
useVersionTree: true
22+
useVersionTree: false
23+
isDCV: true
2324

2425
assets: /document-normalizer/docs/web/assets/
2526
edit_icon: /document-normalizer/docs/web/assets/img-icon/edit-icon.png

_includes/dcvNav.html

Lines changed: 0 additions & 56 deletions
This file was deleted.

_includes/ddnNav.html

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,29 @@
11
<style>
22
#cp-header .action-buttons { display: none; }
3-
#mdHeader { border-bottom: 0!important; }
3+
#mdHeader { border-bottom: 0 !important; }
44
#sideBarCnt.sidebar-fixed { position: fixed; top: 88px; max-height: unset; }
55
.rightSideMenu.rsm-fixed { position: fixed; top: 100px; }
66
#docHead { top: 151px; }
7-
.productMenu .downloadBtn:hover { color: #ffffff!important; }
8-
@media (max-width: 1679px){
9-
#docHead {
10-
top: 145px;
11-
}
7+
.productMenu .downloadBtn:hover { color: #ffffff !important; }
8+
9+
@media (max-width: 1679px) {
10+
#docHead { top: 145px; }
1211
}
13-
</style>
12+
</style>
1413

1514
<div id="DocumentNormalizer" class="main">
1615
<div id="DocumentNormalizerMenu" class="productMenu">
1716
<div class="container pcProductMenu">
1817
<div class="row">
1918
<div class="col-xs-12">
2019
<ul class="menuList">
21-
<!---->
2220
<li class="title"><a class="orangeLink" href="{{site.docHomePage}}">Dynamsoft Document Normalizer</a></li>
23-
<!-- <li class="item overview">
24-
<a class="textUpperCase" href="{{site.overview}}">Overview</a>
25-
</li>
2621
<li class="item overview">
27-
<a class="textUpperCase" href="{{site.frontPageFolder}}">Release Notes</a>
28-
</li> -->
29-
<li class="item overview">
30-
<a class="textUpperCase" href="{{site.js}}">Documentation</a>
22+
<a class="textUpperCase" href="{{site.docHomePage}}">Documentation</a>
3123
</li>
3224
</ul>
33-
<div class="trialAndPricing fr">
34-
<ul class="menuList">
35-
<li class="item textUpperCase"><a href="{{site.download}}">Free Trial</a></li>
36-
</ul>
37-
<a class="downloadBtn fr hide-lg textUpperCase" href="https://www.dynamsoft.com/document-normalizer/ask-for-quote/">Get Pricing</a>
38-
</div>
25+
<a href="https://www.dynamsoft.com/document-normalizer/ask-for-quote/" class="downloadBtn fr">Get Pricing</a>
26+
<a href="https://www.dynamsoft.com/document-normalizer/downloads/" target="_blank" class="downloadBtn borderBtn fr">Download <span class="hide-md">30-Day Trial</span></a>
3927
</div>
4028
</div>
4129
</div>
@@ -52,16 +40,8 @@
5240
<div class="row">
5341
<div class="col-xs-12">
5442
<ul class="menuList">
55-
<!---->
56-
<!-- <li class="title"><a class="orangeLink" href="{{site.docHomePage}}">Dynamsoft Document Normalizer</a></li> -->
57-
<!-- <li class="item overview">
58-
<a class="textUpperCase" href="{{site.overview}}">Overview</a>
59-
</li>
60-
<li class="item overview">
61-
<a class="textUpperCase" href="{{site.frontPageFolder}}">Release Notes</a>
62-
</li> -->
63-
<li class="item overview">
64-
<a class="textUpperCase" href="{{site.js}}">Documentation</a>
43+
<li class="item">
44+
<a class="textUpperCase" href="{{site.docHomePage}}">Documentation</a>
6545
</li>
6646
<li class="item">
6747
<a class="textUpperCase" href="https://www.dynamsoft.com/document-normalizer/ask-for-quote/">Get Pricing</a>
File renamed without changes.
File renamed without changes.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
layout: default-layout
3+
title: Interface SimplifiedDocumentNormalizerSettings - Dynamsoft Document Normalizer JS Edition API Reference v2.2.10
4+
description: This page shows the JS edition of the interface SimplifiedDocumentNormalizerSettings in Dynamsoft DDN Module v2.2.10.
5+
keywords: simplified setting, document normalizer, JS
6+
needAutoGenerateSidebar: true
7+
noTitleIndex: true
8+
---
9+
10+
# SimplifiedDocumentNormalizerSettings
11+
12+
This interface defines simplified settings for document normalizer tasks.
13+
14+
## Definition
15+
16+
```typescript
17+
interface SimplifiedDocumentNormalizerSettings {
18+
grayscaleEnhancementModes: Array<Core.EnumGrayscaleEnhancementMode>;
19+
grayscaleTransformationModes: Array<Core.EnumGrayscaleTransformationMode>;
20+
colourMode: EnumImageColourMode;
21+
pageSize: [number, number];
22+
brightness: number;
23+
contrast: number;
24+
scaleDownThreshold: number;
25+
}
26+
```
27+
28+
## grayscaleEnhancementModes
29+
30+
Set the grayscale enhancement modes with an array of enumeration `GrayscaleEnhancementMode`. View the reference page of `GrayscaleEnhancementModes` for more detail about grayscale enhancement modes.
31+
32+
```typescript
33+
grayscaleEnhancementModes: Array<Core.EnumGrayscaleEnhancementMode>;
34+
```
35+
36+
**See also**
37+
38+
* [EnumGrayscaleEnhancementMode]({{ site.enums }}core/grayscale-enhancement-mode.html?lang=js)
39+
40+
## grayscaleTransformationModes
41+
42+
Set the grayscale transformation modes with an array of enumeration `GrayscaleTransformationMode`. View the reference page of `GrayscaleTransformationModes` for more detail about grayscale transformation modes.
43+
44+
```typescript
45+
grayscaleTransformationModes: Array<Core.EnumGrayscaleTransformationMode>;
46+
```
47+
48+
**See also**
49+
50+
* [EnumGrayscaleTransformationMode]({{ site.enums }}core/grayscale-transformation-mode.html?lang=js)
51+
52+
## colourMode
53+
54+
Sets the colour mode of the normalized image with enumeration `ImageColourMode`. View the reference page of `ImageColourMode` for more detail about colour mode.
55+
56+
```typescript
57+
colourMode: EnumImageColourMode;
58+
```
59+
60+
**See also**
61+
62+
* [EnumImageColourMode]({{ site.enums }}document-normalizer/image-colour-mode.html?lang=js)
63+
64+
## pageSize
65+
66+
Sets the page size (width by height in pixels) of the normalized image.
67+
68+
```typescript
69+
pageSize: [number, number];
70+
```
71+
72+
## brightness
73+
74+
Sets the brightness of the normalized image. The value range is [-100,100].
75+
76+
```typescript
77+
brightness: number;
78+
```
79+
80+
## contrast
81+
82+
Sets the contrast of the normalized image. The value range is [-100,100].
83+
84+
```typescript
85+
contrast: number;
86+
```
87+
88+
## scaleDownThreshold
89+
90+
Set the threshold for scaling down the input image during document detection. If the shorter edge size of the image is larger than this threshold,the original may be scaled down to reduce processing time. The default value is 2300.
91+
92+
```typescript
93+
scaleDownThreshold: number;
94+
```

programming/javascript/api-reference/interfaces/simplified-document-normalizer-settings.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ interface SimplifiedDocumentNormalizerSettings {
2222
brightness: number;
2323
contrast: number;
2424
scaleDownThreshold: number;
25+
minQuadrilateralAreaRatio: number;
26+
expectedDocumentsCount: number;
2527
}
2628
```
2729

@@ -91,4 +93,20 @@ Set the threshold for scaling down the input image during document detection. If
9193

9294
```typescript
9395
scaleDownThreshold: number;
96+
```
97+
98+
## minQuadrilateralAreaRatio
99+
100+
The minimum ratio between the target document area and the total image area. Only those exceeding this value will be output (measured in percentages).
101+
102+
```typescript
103+
minQuadrilateralAreaRatio: number;
104+
```
105+
106+
## expectedDocumentsCount
107+
108+
The number of documents expected to be detected.
109+
110+
```typescript
111+
expectedDocumentsCount: number;
94112
```

0 commit comments

Comments
 (0)