ImageAnalysisScope


@CameraXDsl
class ImageAnalysisScope : InteropConfigurableScope


Scope class for ImageAnalysis configuration DSL.

Summary

Public properties

Executor

Sets or gets the background executor for image analysis tasks.

Int

Sets or gets the backpressure strategy for this use case.

Int

Sets or gets the image queue depth for this use case.

Boolean

Sets or gets whether output image rotation is enabled for this use case.

Int

Sets or gets the output image format for this use case.

ResolutionSelector

Sets or gets the resolution selector for this use case.

String

Sets or gets the target name for this use case configuration.

Int

Sets or gets the target rotation for this use case.

Public properties

backgroundExecutor

Added in 1.7.0-rc01
var backgroundExecutor: Executor

Sets or gets the background executor for image analysis tasks.

backpressureStrategy

Added in 1.7.0-rc01
var backpressureStrategy: Int

Sets or gets the backpressure strategy for this use case.

imageQueueDepth

Added in 1.7.0-rc01
var imageQueueDepth: Int

Sets or gets the image queue depth for this use case.

isOutputImageRotationEnabled

Added in 1.7.0-rc01
var isOutputImageRotationEnabled: Boolean

Sets or gets whether output image rotation is enabled for this use case.

outputImageFormat

Added in 1.7.0-rc01
var outputImageFormat: Int

Sets or gets the output image format for this use case.

resolutionSelector

Added in 1.7.0-rc01
var resolutionSelector: ResolutionSelector

Sets or gets the resolution selector for this use case.

targetName

Added in 1.7.0-rc01
var targetName: String

Sets or gets the target name for this use case configuration.

See also
setTargetName

targetRotation

Added in 1.7.0-rc01
var targetRotation: Int

Sets or gets the target rotation for this use case.