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.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
Statistic
FMM
Blog
Vision.DetectBarcode
Detects barcodes in images.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
Vision | 9.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | ✅ 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
- MBS FileMaker Plugin, version 10.5pr7
- Neue Funktionen des MBS FileMaker Plugin 9.4
- MBS FileMaker Plugin, version 9.5pr1
- Vision Framework for FileMaker
Release notes
- 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.
Created 18th August 2019, last changed 13th April 2020
Vision.ClassifyImage - Vision.KnownClassifications
Feedback: Report problem or ask question.

Links
MBS Xojo Plugins