Resource Base
Table of contents

SDK Overview: Modules and Main APIs

This page provides an overview of the various modules and highlights the most essential APIs that form the backbone of Dynamsoft Document Normalizer SDK.

Modules Summary

The Dynamsoft Document Normalizer (DDN) SDK is built on the Dynamsoft Capture Vision (DCV) framework, which includes multiple modules working together to achieve boundary detection or document normalization. The hierarchical structure diagram below illustrates the various modules of the DDN SDK (with modules at the top depending on those below).

region-def

Modules hierarchical of the DDN SDK

The table below describes details the functionalities of these modules:

Module Description Mandatory/Optional
DynamsoftCaptureVisionRouter.aar(CVR) Provides APIs for single/multiple images processing, setting configurations, and other features. Mandatory
DynamsoftDocumentNormalizer.aar(DDN) This library mainly provides boundary detection & document normalization algorithms. It includes APIs for you to configure detection & normalization settings and obtaining the processing results. Mandatory
DynamsoftCore.aar(Core) Provides basic structures and intermediate result related APIs. Mandatory
DynamsoftImageProcessing.aar(DIP) This library mainly provides image processing algorithms. Mandatory
DynamsoftLicense.aar(License) Provides license activation or management APIs. Mandatory
DynamsoftCameraEnhancer.aar(DCE) The Dynamsoft Camera Enhancer (DCE) SDK provides camera control, camera enhancements, and basic UI configuration features. Optional
DynamsoftUtility.aar(Utility) The utility library, which includes multiple implementations of image source adapters, result filter, image exporter, and other utility APIs etc. Optional

Main APIs

Capture Vision Router

The main class DSCaptureVisionRouter acts as the SDK entry point and provides the following essential APIs:

Image Source Adapter

The DSImageSourceAdapter class is an abstract class representing an adapter for image sources, providing a framework for fetching, buffering, and managing images from various sources. It serves as the input for the DSCaptureVisionRouter. You can either use the typical implementations of DSImageSourceAdapter or implement your own.

Class DSCameraEnhancer is one of the typical implementations of DSImageSourceAdapter. It is a class that not only implements the video frame obtaining APIs but also enable you to improve the video quality by adjusting the camera settings.

Captured Result Receiver

To receive the results of video streaming boundary detection or document normalization, you need to implement the DSCapturedResultReceiver with onDetectedQuadsReceived or onNormalizedImagesReceived.

Boundary detection related APIs:

Document Normalization related APIs:

Camera View

DSCameraView is a view class that design for visualizing the real time video streaming and the boundary detection result. If the DSCameraEnhancer is set as the input of your CVR, the detected boundaries will be highlighted automatically on the DSCameraView.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.10
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.10
  • Version 1.x
    • Version 1.0.30
    • Version 1.0.21
    • Version 1.0.20
    • Version 1.0.12
    • Version 1.0.11
    • Version 1.0.10
    • Version 1.0.0
    • Version 1.0.30
    • Version 1.0.21
    • Version 1.0.20
    • Version 1.0.12
    • Version 1.0.11
    • Version 1.0.10
    • Version 1.0.0
    • Version 1.0.5
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support