Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

AVRecorder.StartQRCodeDetection

Starts QRCode detection.

Component Version macOS Windows Linux Server 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

Release notes

Blog Entries

This function checks for a license.

Created 29th August 2018, last changed 30th August 2018


AVRecorder.StartPreview - AVRecorder.StartRecording