MENU
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

FrameDecodingParameters

Defines a struct to configure the frame decoding Parameters.

Attributes

Attribute Type
maxQueueLength int
maxResultQueueLength int
width int
height int
stride int
imagePixelFormat int
region RegionDefinition
threshold float
fps int
autoFilter int
clarityCalculationMethod int
clarityFilterMode int

maxQueueLength

The maximum number of frames waiting for decoding.

int com.dynamsoft.dbr.FrameDecodingParameters.maxQueueLength
  • Value range
    [0,0x7fffffff]

  • Default value
    3

maxResultQueueLength

The maximum number of frames waiting results (text result/localization result) will be kept for further reference.

int com.dynamsoft.dbr.FrameDecodingParameters.maxResultQueueLength
  • Value range
    [0,0x7fffffff]

  • Default value
    10

width

The width of the frame image in pixels.

int com.dynamsoft.dbr.FrameDecodingParameters.width
  • Value range
    [0,0x7fffffff]

  • Default value
    0

height

The height of the frame image in pixels.

int com.dynamsoft.dbr.FrameDecodingParameters.height
  • Value range
    [0,0x7fffffff]

  • Default value
    0

stride

The stride (or scan width) of the frame image.

int com.dynamsoft.dbr.FrameDecodingParameters.stride
  • Value range
    [0,0x7fffffff]

  • Default value
    0

imagePixelFormat

The image pixel format used in the image byte array.

int com.dynamsoft.dbr.FrameDecodingParameters.imagePixelFormat

region

The region definition of the frame to calculate the internal indicator.

RegionDefinition com.dynamsoft.dbr.FrameDecodingParameters.region
  • Default value
    { regionLeft = 0, regionRight = 100, regionTop = 0, regionBottom = 100, regionMeasuredByPercentage = 1 }

  • See also
    RegionDefinition

threshold

The threshold used for filtering frames.

float com.dynamsoft.dbr.FrameDecodingParameters.threshold
  • Value range
    [0, 1]

  • Default value
    0.1

  • Remarks
    The SDK will calculate an inner indicator for each frame from appendFrame, if the change rate of the indicators between the current frame and the history frames is larger than the given threshold, the current frame will not be added to the inner frame queue waiting for decoding.

fps

The frequency of calling appendFrame per second.

int com.dynamsoft.dbr.FrameDecodingParameters.fps
  • Value range
    [0,0x7fffffff]

  • Default value
    0

  • Remarks
    0 means the frequency will be calculated automatically by the SDK.

autoFilter

Sets whether to filter frames automatically.

int com.dynamsoft.dbr.FrameDecodingParameters.autoFilter
  • Value range
    [0,1]

  • Default value
    1

  • Remarks
    0: Diable filtering frames automatically. 1: Enable filtering frames automatically.

clarityCalculationMethod

Sets the method used for calculating the clarity of the frames.

int com.dynamsoft.dbr.FrameDecodingParameters.clarityCalculationMethod

clarityFilterMode

Sets the mode used for filtering frames by calculated clarity.

int com.dynamsoft.dbr.FrameDecodingParameters.clarityFilterMode

This page is compatible for:

Version 7.5

Is this page helpful?

YesYes NoNo

latest version

  • Latest Version
  • version 7.6
  • version 7.5
Change +
© 2003–2020 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support