-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from dynamsoft-docs/preview
update to internal commit 07c20332
- Loading branch information
Showing
65 changed files
with
3,750 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
202 changes: 202 additions & 0 deletions
202
_includes/sidelist-programming/programming-python-v2.4.2100.html
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 87 additions & 0 deletions
87
...eference/capture-vision-router/auxiliary-classes/intermediate-result-manager.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
layout: default-layout | ||
title: class IntermediateResultManager - Dynamsoft Capture Vision Router Python Edition API Reference | ||
description: This page shows the Python Edition of the class IntermediateResultManager in Dynamsoft Capture Vision Router Module. | ||
keywords: intermediate result manager, python | ||
needAutoGenerateSidebar: true | ||
--- | ||
|
||
# IntermediateResultManager | ||
|
||
The `IntermediateResultManager` class manages intermediate results generated during data capturing. It provides methods to add and remove intermediate result receivers, as well as to get original image data using an image hash id. | ||
|
||
## Definition | ||
|
||
*Module:* dynamsoft_capture_vision_router | ||
|
||
```python | ||
class IntermediateResultManager | ||
``` | ||
|
||
## Methods Summary | ||
|
||
| Method | Description | | ||
|--------|-------------| | ||
| [`add_result_receiver`](#add_result_receiver) | Adds an intermediate result receiver.| | ||
| [`remove_result_receiver`](#remove_result_receiver) | Removes an intermediate result receiver. | | ||
| [`get_original_image`](#get_original_image) | Gets the original image data using an image hash id. | | ||
|
||
### add_result_receiver | ||
|
||
Adds an intermediate result receiver to the manager. | ||
|
||
```python | ||
def add_result_receiver(self, receiver: IntermediateResultReceiver) -> int: | ||
``` | ||
|
||
**Parameters** | ||
|
||
`receiver` The intermediate result receiver to add. | ||
|
||
**Return value** | ||
|
||
Returns 0 if succeeds, nonzero otherwise. | ||
|
||
**See Also** | ||
|
||
[IntermediateResultReceiver]({{ site.dcvb_python_api }}capture-vision-router/auxiliary-classes/intermediate-result-receiver.html) | ||
|
||
### remove_result_receiver | ||
|
||
Removes an intermediate result receiver from the manager. | ||
|
||
```python | ||
def remove_result_receiver(self, receiver: IntermediateResultReceiver) -> int: | ||
``` | ||
|
||
**Parameters** | ||
|
||
`receiver` The intermediate result receiver to remove. | ||
|
||
**Return value** | ||
|
||
Returns 0 if succeeds, nonzero otherwise. | ||
|
||
**See Also** | ||
|
||
[IntermediateResultReceiver]({{ site.dcvb_python_api }}capture-vision-router/auxiliary-classes/intermediate-result-receiver.html) | ||
|
||
### get_original_image | ||
|
||
Gets the original image data using an image hash id. | ||
|
||
```python | ||
def get_original_image(self, image_hash_id: str)->ImageData: | ||
``` | ||
|
||
**Parameters** | ||
|
||
`image_hash_id` The hash id of the image to retrieve. | ||
|
||
**Return value** | ||
|
||
Returns an `ImageData` object containing the original image data. | ||
|
||
**See Also** | ||
|
||
[ImageData]({{ site.dcvb_python_api }}core/basic-classes/image-data.html) |
Oops, something went wrong.