ImageAnalysisScope


@CameraXDsl
class ImageAnalysisScope : InteropConfigurableScope


Scope class for ImageAnalysis configuration DSL.

Summary

Public properties

Executor

Sets the background executor for image analysis tasks.

Int

Sets the backpressure strategy for this use case.

Int

Sets the image queue depth for this use case.

Boolean

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

Int

Sets the output image format for this use case.

ResolutionSelector

Sets the resolution selector for this use case.

String

Sets the target name for this use case configuration.

Int

Sets the target rotation for this use case.

Public properties

backgroundExecutor

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var backgroundExecutorExecutor

Sets the background executor for image analysis tasks.

backpressureStrategy

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var backpressureStrategyInt

Sets the backpressure strategy for this use case.

imageQueueDepth

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var imageQueueDepthInt

Sets the image queue depth for this use case.

isOutputImageRotationEnabled

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var isOutputImageRotationEnabledBoolean

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

outputImageFormat

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var outputImageFormatInt

Sets the output image format for this use case.

resolutionSelector

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var resolutionSelectorResolutionSelector

Sets the resolution selector for this use case.

targetName

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetNameString

Sets the target name for this use case configuration.

See also
setTargetName

targetRotation

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetRotationInt

Sets the target rotation for this use case.