RGLCaptureMode

Objective-C

NS_ENUM(NSInteger, RGLCaptureMode) {
    /**
     A flow of frames is taken for recognition right after a scenario is started.
     */
    RGLCaptureModeAuto                   =   0,
    /**
     A flow of frames is taken for recognition right after the Capture button is pushed
     */
    RGLCaptureModeCaptureVideo           =   1,
    /**
     A single frame is taken for recognition right after the Capture button is pushed.
     */
    RGLCaptureModeCaptureFrame           =   2
}

Swift

enum CaptureMode : Int, @unchecked Sendable

Undocumented

  • A flow of frames is taken for recognition right after a scenario is started.

    Declaration

    Objective-C

    RGLCaptureModeAuto = 0

    Swift

    case auto = 0
  • A flow of frames is taken for recognition right after the Capture button is pushed

    Declaration

    Objective-C

    RGLCaptureModeCaptureVideo = 1

    Swift

    case captureVideo = 1
  • A single frame is taken for recognition right after the Capture button is pushed.

    Declaration

    Objective-C

    RGLCaptureModeCaptureFrame = 2

    Swift

    case captureFrame = 2