Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

Vision.DetectBarcode

Detects barcodes in images.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Vision 9.4 Yes No Yes, macOS only No Yes
MBS( "Vision.DetectBarcode"; Image { ; symbologies } )   More

Parameters

Parameter Description Example Flags
Image The image to analyze.
Can be container value with JPEG, PNG or other image formats supported by Vision framework.
$image
symbologies Which symbologies to allow.
Default is all, e.g. the list returned by Vision.SupportedSymbologies function.
"VNBarcodeSymbologyQR" Optional

Result

Returns JSON or error.

Description

Detects barcodes in images.
Returns JSON array with all recognized barcodes.
You may improve recognition by cropping the picture to the area with barcode and providing a good resolution.

If you need cross platform barcode detection, please use Barcode.Detect function.

Examples

Detect barcode:

Set Field [ Vision::Result ; MBS( "Vision.DetectBarcode"; Vision::Image) ]

See also

Example Databases

Blog Entries

Release notes

Created 18th August 2019, last changed 13th April 2020


Vision.ClassifyImage   -   Vision.KnownClassifications

Feedback: Report problem or ask question.




Links
MBS FileMaker blog