Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

AVRecorder.StartQRCodeDetection

Starts QRCode detection.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 8.4 Yes No No No Yes
MBS( "AVRecorder.StartQRCodeDetection"; AVSession { ; Filename; ScriptName } )   More

Parameters

Parameter Description Example value
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession
Filename Optional
The database file name where the script is located.
"test.fmp12"
ScriptName Optional
The script to trigger if a barcode was detected.
"MyScript"

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

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


AVRecorder.StartPreview   -   AVRecorder.StartRecording

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins