Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Datacodes » ReadMultiplePDF417Codes

ReadMultiplePDF417Codes
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Datacodes |
Detects and recognizes several PDF417 codes.
Syntax
C++
C#
void fil::ReadMultiplePDF417Codes ( const fil::Image& inImage, ftl::Optional<const fil::Rectangle2D&> inRoi, ftl::Optional<const fil::CoordinateSystem2D&> inRoiAlignment, const fil::PDF417CodeParams& inCodeParams, const fil::PDF417DetectionParams& inDetectionParams, bool inAllowMultipleScales, ftl::Array<fil::PDF417Code>& outPDF417Codes, ftl::Optional<fil::Rectangle2D&> outAlignedRoi = ftl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inRoi | Optional<const Rectangle2D&> | NIL | Region of interest |
![]() |
inRoiAlignment | Optional<const CoordinateSystem2D&> | NIL | Coordinate system for the region of interest |
![]() |
inCodeParams | const PDF417CodeParams& | Specification of codes that can be detected | |
![]() |
inDetectionParams | const PDF417DetectionParams& | Specification of the way the codes are being detected | |
![]() |
inAllowMultipleScales | bool | False | Specifies whether codes of different module sizes are expected |
![]() |
outPDF417Codes | Array<PDF417Code>& | Found PDF417 codes | |
![]() |
outAlignedRoi | Optional<Rectangle2D&> | NIL | Input ROI after transformation (in the image coordinates) |
Optional Outputs
The computation of following outputs can be switched off by passing value ftl::NIL
to these parameters: outAlignedRoi.
Read more about Optional Outputs.
Hints
If codes are not detected, try to use ResizeImage on them before processing with ReadMultiplePDF417Codes.
Remarks
In inCodeParams the parameter MinModuleSize should be more or equal to 3. For values less than 3 it is not guaranteed, that ReadMultiplePDF417Codes will process codes properly.