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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
AVRecorder.StartQRCodeDetection
Starts QRCode detection.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVRecorder | 8.4 | Yes | No | No | No | Yes |
MBS( "AVRecorder.StartQRCodeDetection"; AVSession { ; Filename; ScriptName } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| AVSession | The ID for the AVRecorder session as returned by AVRecorder.Init. | $AVSession | |
| Filename | The database file name where the script is located. | "test.fmp12" | Optional |
| ScriptName | The script to trigger if a barcode was detected. | "MyScript" | Optional |
Result
Returns OK or error.
Description
Starts QRCode detection.Optionally, we can trigger script when a new barcode is detected.
Parameter to the script is the session ID for the recording.
If you need different detection, you can always get current frame with AVRecorder.CaptureStillPhoto and pass it to OCR.SetImage for text recognition or Barcode.Detect to find different barcodes.
Examples
Start QRCode recognition:
Set Variable [ $r ; Value: MBS("AVRecorder.StartQRCodeDetection"; AVRecorder::Session; Get(FileName); "GotBarcode") ]
See also
- AVRecorder.CaptureStillPhoto
- AVRecorder.Init
- AVRecorder.StopQRCodeDetection
- Barcode.Detect
- OCR.SetImage
Blog Entries
Release notes
- Version 8.4
- Added AVRecorder.CurrentQRCode, AVRecorder.HasQRCode, AVRecorder.StartQRCodeDetection, AVRecorder.StopQRCodeDetection functions for live barcode detection on MacOS and iOS.
Created 29th August 2018, last changed 30th August 2018
AVRecorder.StartPreview - AVRecorder.StartRecording
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins