generic_camera_examples

Inherit

FrontCameraAssemble07

This test object cannot be run directly. User have to inherit and modify it.

run_if

not constants.has_device_data or device.component.has_front_camera

pytest_name

camera

args

camera_facing
"front"
mode
"camera_assemble"
min_luminance_ratio
0.7

FrontCameraBrightness

This test object cannot be run directly. User have to inherit and modify it.

run_if

not constants.has_device_data or device.component.has_front_camera

pytest_name

camera

args

camera_facing
"front"
num_frames_to_pass
5
mode
"brightness"
timeout_secs
3
brightness_range
[
  null,
  10
]

FrontCameraFrames

This test object cannot be run directly. User have to inherit and modify it.

run_if

not constants.has_device_data or device.component.has_front_camera

pytest_name

camera

args

camera_facing
"front"
num_frames_to_pass
100
mode
"frame_count"
timeout_secs
1000
show_image
false

FrontCameraManualOpenCV

This test object cannot be run directly. User have to inherit and modify it.

run_if

not constants.has_device_data or device.component.has_front_camera

pytest_name

camera

args

camera_facing
"front"
mode
"manual"
e2e_mode
false

FrontCameraQRScan1920x1080

This test object cannot be run directly. User have to inherit and modify it.

run_if

not constants.has_device_data or device.component.has_front_camera

pytest_name

camera

args

camera_facing
"front"
mode
"qr"
QR_string
"ChromeTeam"
timeout_secs
2000
camera_args
{
  "resolution": [
    1920,
    1080
  ]
}

FrontCameraStress

This test object cannot be run directly. User have to inherit and modify it.

run_if

not constants.has_device_data or device.component.has_front_camera

pytest_name

camera

args

camera_facing
"front"
mode
"timeout"
timeout_secs
1000
show_image
false

RearCameraManualOpenCV

This test object cannot be run directly. User have to inherit and modify it.

run_if

not constants.has_device_data or device.component.has_rear_camera

pytest_name

camera

args

camera_facing
"rear"
mode
"manual"
e2e_mode
false