Skip to content

Commit 1b549fb

Browse files
authored
Merge pull request #70 from dynamsoft-docs/preview
update to internal commit 19642a2e
2 parents ee8368f + c4c04e4 commit 1b549fb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2178
-80
lines changed

programming/android/api-reference/candidate-quad-edges-unit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `CandidateQuadEdgesUnit` class represents an intermediate result unit whose
1616

1717
*Namespace:* com.dynamsoft.ddn.intermediate_results
1818

19-
*Assembly:* DynamsoftDocumentNormalizer.aar
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
2020

2121
```java
2222
class CandidateQuadEdgesUnit extends IntermediateResultUnit

programming/android/api-reference/corners-unit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `CornersUnit` class represents an intermediate result unit whose type is cor
1616

1717
*Namespace:* com.dynamsoft.ddn.intermediate_results
1818

19-
*Assembly:* DynamsoftDocumentNormalizer.aar
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
2020

2121
```java
2222
class CornersUnit extends IntermediateResultUnit
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
layout: default-layout
3+
title: DeskewedImageElement - Dynamsoft Document Normalizer Android SDK API Reference
4+
description: The class DeskewedImageElement represents an intermediate result whose type is deskewed image, It is inherited from RegionObjectElement and contains image data of deskewed result as additional parameter.
5+
keywords: deskewed image element, java, kotlin
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
---
10+
11+
# DeskewedImageElement
12+
13+
The `DeskewedImageElement` class represents an intermediate result whose type is deskewed image. It is inherited from `RegionObjectElement` and contains image data of deskewed result as an additional parameter.
14+
15+
## Definition
16+
17+
*Namespace:* com.dynamsoft.ddn.intermediate_results
18+
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
20+
21+
```java
22+
class DeskewedImageElement extends RegionObjectElement
23+
```
24+
25+
## Methods
26+
27+
| Methods | Description |
28+
| ---------- | ----------- |
29+
| [`setImageData`](#getimagedata) | Sets the image data of the deskewed image with a `DSImageData` object. |
30+
| [`getSourceDeskewQuad`](#sourcedeskewquad) | Returns the quadrilateral from which you get the deskewed image result item. |
31+
32+
The following methods are inherited from class [`RegionObjectElement`]({{ site.dcv_android_api }}core/intermediate-results/region-object-element.html).
33+
34+
{%- include api-reference/region-object-element-android.md -%}
35+
36+
### setImageData
37+
38+
Gets an [`ImageData`]({{site.dcv_android_api}}core/basic-structures/image-data.html) object as the deskewed image.
39+
40+
```java
41+
void setImageData(ImageData imageData);
42+
```
43+
44+
**Parameters**
45+
46+
`imageData`: A [`ImageData`]({{site.dcv_android_api}}core/basic-structures/image-data.html) object that represents the deskewed image.
47+
48+
### getSourceDeskewQuad
49+
50+
Returns the quadrilateral from which you get the deskewed image result item.
51+
52+
```java
53+
Quadrilateral getSourceDeskewQuad();
54+
```
55+
56+
**Return Value**
57+
58+
The quadrilateral from which you get the deskewed image result item.
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
layout: default-layout
3+
title: DeskewedImageResultItem - Dynamsoft Document Normalizer Android SDK API Reference
4+
description: The class DeskewedImageResultItem represents a captured result item whose type is a deskewed image. It stores the deskewed image information.
5+
keywords: deskewed image result item, java, kotlin
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
---
10+
11+
# DeskewedImageResultItem
12+
13+
The `DeskewedImageResultItem` class is an extension of [`CapturedResultItem`]({{ site.dcv_android_api }}core/basic-structures/captured-result-item.html) that represents a deskewed image. This is the most basic unit of the deskewed image result, one of the captured result types that the Capture Vision Router can output.
14+
15+
## Definition
16+
17+
*Namespace:* com.dynamsoft.ddn
18+
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
20+
21+
```java
22+
class DeskewedImageResultItem extends CapturedResultItem
23+
```
24+
25+
## Methods
26+
27+
| Methods | Description |
28+
| ---------- | ----------- |
29+
| [`getImageData`](#getimagedata) | Returns an `ImageData` object as the deskewed image. |
30+
| [`getSourceDeskewQuad`](#getlocation) | Returns the quadrilateral from which you get the deskewed image result item. |
31+
| [`getCrossVerificationStatus`](#getcrossverificationstatus) | Returns the cross verification status of the result item. |
32+
| [`getOriginalToLocalMatrix`](#getoriginaltolocalmatrix) | Returns the transformation matrix from the original image coordinate system to the local coordinate system. |
33+
34+
The following methods are inherited from [`CapturedResultItem`]({{ site.dcv_android_api }}core/basic-structures/captured-result-item.html).
35+
36+
| Method | Description |
37+
| ------ | ----------- |
38+
| [`getType`]({{ site.dcv_android_api }}core/basic-structures/captured-result-item.html#gettype) | Returns the type of the captured result item, indicating what kind of data it represents. |
39+
| [`getReferencedItem`]({{ site.dcv_android_api }}core/basic-structures/captured-result-item.html#getreferenceditem) | Returns a property of type `CapturedResultItem` that represents a reference to another captured result item. |
40+
| [`getTargetROIDefName`]({{ site.dcv_android_api }}core/basic-structures/captured-result-item.html#gettargetroidefname) | Returns the name of the [`TargetROIDef`]({{ site.dcv_parameters_reference }}target-roi-def/) object which includes a task that generated the result. |
41+
| [`getTaskName`]({{ site.dcv_android_api }}core/basic-structures/captured-result-item.html#gettaskname) | Returns the name of the task that generated the result. |
42+
43+
### getImageData
44+
45+
Returns an [`ImageData`]({{ site.dcv_android_api }}core/basic-structures/image-data.html) object for the deskewed image.
46+
47+
```java
48+
ImageData getImageData();
49+
```
50+
51+
**Return Value**
52+
53+
The `ImageData` object as the deskewed image.
54+
55+
### getSourceDeskewQuad
56+
57+
Returns the soure [Quadrilateral]({{ site.dcv_android_api }}core/basic-structures/quadrilateral.html) that used to deskew the image.
58+
59+
```java
60+
Quadrilateral getLocation();
61+
```
62+
63+
**Return Value**
64+
65+
The soure [Quadrilateral]({{ site.dcv_android_api }}core/basic-structures/quadrilateral.html) that used to deskew the image.
66+
67+
### getCrossVerificationStatus
68+
69+
Returns the cross verification status of the result item. The cross verification status determines whether the result item is approved by the multi-frame cross verification mechanism. If approved, the cross verification status is `CVS_PASSED`. Otherwise, it is `CVS_FAILED`.
70+
71+
```java
72+
EnumCrossVerificationStatus getCrossVerificationStatus();
73+
```
74+
75+
**Return Value**
76+
77+
Returns the cross verification status of type [`EnumCrossVerificationStatus`]({{ site.dcv_enumerations }}core/cross-verification-status.html).
78+
79+
### getOriginalToLocalMatrix
80+
81+
Returns the transformation matrix from the original image coordinate system to the local coordinate system.
82+
83+
```java
84+
Matrix getOriginalToLocalMatrix();
85+
```
86+
87+
**Return Value**
88+
89+
The transformation matrix of type `android.graphics.Matrix`.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
layout: default-layout
3+
title: DeskewedImagesUnit - Dynamsoft Document Normalizer Android SDK API Reference
4+
description: The class DeskewedImagesUnit represents an intermediate result unit whose type is deskewed images.
5+
keywords: deskewed images, java, kotlin
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
---
10+
11+
# DeskewedImagesUnit
12+
13+
The `DeskewedImagesUnit` class represents an intermediate result unit whose type is deskewed images.
14+
15+
## Definition
16+
17+
*Namespace:* com.dynamsoft.ddn.intermediate_results
18+
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
20+
21+
```java
22+
class DeskewedImagesUnit extends IntermediateResultUnit
23+
```
24+
25+
## Methods
26+
27+
| Methods | Description |
28+
| ---------- | ----------- |
29+
| [`getDeskewedImage`](#getdeskewedimage) | Gets the deskewed image of type [`DeskewedImageElement`](deskewed-image-element.md). |
30+
| [`setDeskewedImage`](#setdeskewedimage) | Sets the deskewed image with a [`DeskewedImageElement`](deskewed-image-element.md) object |
31+
32+
The following methods are inherited from class [`IntermediateResultUnit`]({{ site.dcv_android_api }}core/intermediate-results/intermediate-result-unit.html).
33+
34+
{%- include api-reference/intermediate-result-unit-android.md -%}
35+
36+
### getDeskewedImage
37+
38+
Gets a deskewed image.
39+
40+
```java
41+
DeskewedImageElement getDeskewedImage();
42+
```
43+
44+
**Return Value**
45+
46+
A [`DeskewedImageElement`](deskewed-image-element.md) object that represents the deskewed image.
47+
48+
### setDeskewedImage
49+
50+
Sets a [`DeskewedImageElement`](deskewed-image-element.md) as the deskewed image.
51+
52+
```java
53+
void setDeskewedImage(DeskewedImageElement element, Matrix matrixToOriginalImage);
54+
```
55+
56+
**Parameters**
57+
58+
`[in] element`: The deskewed image to be set.
59+
60+
`[in] matrixToOriginalImage`: The matrix to the original image.

programming/android/api-reference/detected-quad-element.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `DetectedQuadElement` class represents a detected quadrilateral element, whi
1616

1717
*Namespace:* com.dynamsoft.ddn.intermediate_results
1818

19-
*Assembly:* DynamsoftDocumentNormalizer.aar
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
2020

2121
```java
2222
class DetectedQuadElement extends RegionObjectElement

programming/android/api-reference/detected-quad-result-item.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `DetectedQuadResultItem` class is an extension of the [`CapturedResultItem`]
1616

1717
*Namespace:* com.dynamsoft.ddn
1818

19-
*Assembly:* DynamsoftDocumentNormalizer.aar
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
2020

2121
```java
2222
class DetectedQuadResultItem extends CapturedResultItem

programming/android/api-reference/detected-quads-result.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `DetectedQuadsResult` class represents a collection of [`DetectedQuadResultI
1616

1717
*Namespace:* com.dynamsoft.ddn
1818

19-
*Assembly:* DynamsoftDocumentNormalizer.aar
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
2020

2121
```java
2222
class DetectedQuadsResult

programming/android/api-reference/detected-quads-unit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `DetectedQuadsUnit` class represents an intermediate result unit whose type
1616

1717
*Namespace:* com.dynamsoft.ddn.intermediate_results
1818

19-
*Assembly:* DynamsoftDocumentNormalizer.aar
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
2020

2121
```java
2222
class DetectedQuadsUnit extends IntermediateResultUnit

programming/android/api-reference/document-normalizer-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `DocumentNormalizerModule` class defines general functions of the document n
1616

1717
*Namespace:* com.dynamsoft.ddn
1818

19-
*Assembly:* DynamsoftDocumentNormalizer.aar
19+
*Assembly:* DynamsoftCaptureVisionBundle.aar
2020

2121
```java
2222
class DocumentNormalizerModule

0 commit comments

Comments
 (0)