You are here: Start » FIL.NET » Invoke.ReadSingleDatacode

Invoke.ReadSingleDatacode

Detects and recognizes one Data Code.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ReadSingleDatacode
(
	Fil.ReadDataMatrixCodes_State ioState,
	Fil.Image inImage,
	Optional<Fil.Rectangle2D> inRoi,
	Optional<Fil.CoordinateSystem2D> inRoiAlignment,
	Fil.DatacodeParams inCodeParams,
	Fil.DatacodeDetectionParams inDetectionParams,
	bool inComputeScores,
	Fil.DataCodeTypeSelection inTypeSelection,
	Conditional<Fil.DataCode> outDataCode,
	List<Fil.Path> outCandidates,
	Optional<Fil.Rectangle2D> outAlignedRoi
)

Parameters

Name Type Range Default Description
ioStateFil.ReadDataMatrixCodes_State
inImageFil.ImageInput image.
inRoiFtl.Optional<Fil.Rectangle2D>Region of interest. Default value: ftl::NIL.
inRoiAlignmentFtl.Optional<Fil.CoordinateSystem2D>Coordinate system for the region of interest. Default value: ftl::NIL.
inCodeParamsFil.DatacodeParamsSpecification of codes that can be detected.
inDetectionParamsFil.DatacodeDetectionParamsParameters of the code detection algorithm.
inComputeScoresboolEnables computing of confidence scores (much slower!).
inTypeSelectionFil.DataCodeTypeSelectionSpecifies which code types the filter should try to read.
outDataCodeFtl.Conditional<Fil.DataCode>A code that has been correctly detected and decoded.
outCandidatesSystem.Collections.Generic.List<Fil.Path>Diagnostic information about detection results.
outAlignedRoiFtl.Optional<Fil.Rectangle2D>Input ROI after transformation (in the image coordinates).

See also