Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Vision.DetectBarcode
Detects barcodes in images.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Vision | 9.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ 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.Scan or Barcode.Detect functions.
Added for macOS 12: Codabar, GS1DataBar, GS1DataBarExpanded, GS1DataBarLimited, MicroPDF417 and MicroQR.
Examples
Detect barcode:
Set Field [ Vision::Result ; MBS( "Vision.DetectBarcode"; Vision::Image) ]
See also
Release notes
- Version 11.3
- Updated Vision.DetectBarcode and Vision.SupportedSymbologies to support newer barcode types in macOS 12.
- Version 10.5
- Fixed memory leaks in BinaryFile.WriteContainer, Container.ReadImage, Vision.ClassifyImage, Vision.DetectBarcode and Vision.RecognizeText functions.
- Version 9.5
- Fixed Vision.DetectBarcode to return proper JSON.
Example Databases
Blog Entries
- Rectify document rectangle in images in FileMaker
- MBS Plugin Advent calendar: 2 - Vision
- Neues MBS FileMaker Plugin 11.3
- MBS FileMaker Plugin 11.3 - More than 6500 Functions In One Plugin
- MBS FileMaker Plugin, version 11.3pr4
- Using zbar library with FileMaker
- MBS FileMaker Plugin, version 10.5pr7
- Neue Funktionen des MBS FileMaker Plugin 9.4
- MBS FileMaker Plugin, version 9.5pr1
- Vision Framework for FileMaker
FileMaker Magazin
This function checks for a license.
Created 18th August 2019, last changed 17th June 2021