自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
Android 16 相机图像测试套件版本说明
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Android 16 版包含对相机 ITS 的多项更改。本页中总结了 Android 16 的相机 ITS 更改。
Python 和软件包版本
我们强烈建议合作伙伴使用软件包管理软件将正确版本的软件包捆绑在一起,以便为 Android 版本开发创建虚拟环境。如需查看处理所需大多数软件包的示例软件包管理工具,请参阅有关 venv 的 Python 3 文档。
Android 16 支持以下 Python 和软件包版本:
以下软件包是 Android 16 中新增的软件包:
以下软件包已在 Android 16 中废弃:
新增场景或更新后的场景
Android 16 引入了以下场景:
场景 |
说明 |
scene1_3 |
灰色图表类似于 scene1_1 ,没有白色边界。 |
scene6 |
将圆圈网格更新为 ArUco 标记网格,以便唯一标识场景中定位的对象。 |
scene_ip |
新增场景,用于对比默认相机应用和 Jetpack 相机应用所捕捉图像的一致性。 |
scene_tele |
重复使用 scene6 和 scene7,但允许单独测试广角到长焦相机的切换,因为图表距离必须针对长焦相机进行优化。 |
新测试
Android 16 引入了以下测试:
场景 |
测试名称 |
说明 |
scene1_3 |
test_exposure_time_priority |
验证 Android 16 曝光时间优先模式功能。 |
scene1_3 |
test_sensitivity_priority |
验证 Android 16 ISO 优先模式功能。 |
scene2_a |
test_exposure_keys_consistent |
验证自动和手动拍摄的曝光元数据值。 |
scene2_b |
test_preview_num_faces |
验证针对 scene2_b 的预览视频流拍摄内容的人脸检测。 |
scene2_d |
test_preview_num_faces |
验证针对 scene2_d 的预览视频流拍摄内容的人脸检测。 |
scene2_f |
test_preview_num_faces |
验证针对 scene2_f 的预览视频流拍摄内容的人脸检测。 |
scene2_g |
test_preview_num_faces |
验证针对个人资料中包含人脸的 scene2_g 的预览视频流拍摄内容的人脸检测。 |
scene_flash |
test_night_mode_indicator |
验证 Android 16 夜间模式指示器功能。
|
scene_ip |
test_default_jca_ip |
验证默认相机应用和 Jetpack 相机应用所捕捉图像的一致性。
|
scene_tele |
test_zoom_tele |
添加了针对广角到长焦相机过渡的变焦检查。 |
scene_tele |
test_preview_zoom_tele |
添加了针对广角到长焦相机过渡的预览变焦检查。 |
scene_tele |
test_multi_camera_switch_tele |
添加了针对广角到长焦相机过渡的多相机开关检查。 |
sensor_fusion |
test_video_stabilization_jca |
与 test_video_stabilization 类似,但使用 Jetpack 相机应用拍摄视频。 |
重构的测试
在 Android 16 中,下列测试已被重构,以扩大测试覆盖率并更合理地将测试分组:
场景 |
测试名称 |
说明 |
scene1_3 |
test_ev_compensation |
合并了 test_ev_compensation_advanced 和 test_ev_compensation_basic 。 |
scene3 |
test_imu_drift |
延长了运行测试的时间,以便在更高温度下发现陀螺仪偏移问题。
|
scene6 |
test_zoom |
在过渡到长焦镜头时停止变焦。添加了偏移检查。使用 Jetpack 相机应用进行拍摄。 |
sensor_fusion |
test_preview_stabilization |
重构了测试,以便以 0.9x 和 1.1x 两种缩放比对超广角摄像头的覆盖范围进行测试。 |
此外,scene1_1
和 scene1_2
中的许多测试已移至 scene1_3
,以对这三个子场景进行负载均衡。不过,由于 scene1_3
没有白色边框,所以只有不需要自动对焦的测试进行了此迁移。
已废弃的测试
在 Android 16 中,以下测试已废弃,因为相应的测试功能已涵盖在其他测试中:
场景 |
测试名称 |
说明 |
scene2_b |
test_num_faces |
已移除,因为场景中的人脸检测可由 test_preview_num_faces 进行测试。 |
scene2_f |
test_num_faces |
已移除,因为场景中的人脸检测可由 test_preview_num_faces 进行测试。 |
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Android 16 Camera Image Test Suite release notes\n\nThe Android 16 release includes a number of changes to\n[Camera ITS](/docs/compatibility/cts/camera-hal#its_tests). This page\nsummarizes the Camera ITS changes for Android\n16.\n\nPython and package versions\n---------------------------\n\nWe strongly encourage partners to use package management software to bundle the\ncorrect versions of packages to create a virtual environment for Android release\ndevelopment. For an example package management tool that handles most of the\npackages required, see the Python 3 documentation for\n[venv](https://docs.python.org/3/library/venv.html).\n\nAndroid 16 supports the following Python and package\nversions:\n\n- [Python 3.10.13](https://www.python.org/downloads/)\n- [OpenCV 4.10.0](https://opencv.org/releases/)\n- [Numpy 2.2.5](https://numpy.org/)\n- [Matplotlib 3.8.4](https://matplotlib.org/)\n- [Scipy 1.13.1](https://docs.scipy.org/doc/)\n- [pySerial 3.5](https://pyserial.readthedocs.io/)\n- [Pillow 10.3.0](https://pypi.org/project/pillow/)\n- [PyYAML 6.0.1](https://pypi.org/project/PyYAML/)\n- [Mobly 1.12.2](https://github.com/google/mobly/)\n- [FFmpeg 7.0.2](https://ffmpeg.org/)\n- [Snippet UiAutomator 1.1.1](https://github.com/google/snippet-uiautomator/)\n\nThe following package is new for Android 16:\n\n- [Protocol Buffers 5.28.0](https://github.com/protocolbuffers/protobuf/blob/main/python/)\n- [pyudev 0.24.3](https://pypi.org/project/pyudev/)\n\nThe following package has been deprecated for Android 16:\n\n- [Colour-science 0.4.2](https://pypi.org/project/colour-science/)\n\nNew or updated scenes\n---------------------\n\nAndroid 16 introduces the following scenes:\n\n| Scene | Description |\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `scene1_3` | Gray chart similar to `scene1_1` with no white boundary. |\n| `scene6` | Updates grid of circles with grid of ArUco markers to uniquely identify the located object in the scene. |\n| `scene_ip` | New scene for image parity comparisons between the default camera app and Jetpack Camera App captures. |\n| `scene_tele` | Reuses scene6 and scene7 but allows the wide to tele camera crossover to be tested separately as chart distance must be optimized for tele camera. |\n\nNew tests\n---------\n\nAndroid 16 introduces the following tests:\n\n| Scene | Test name | Description |\n|-----------------|---------------------------------|------------------------------------------------------------------------------------------|\n| `scene1_3` | `test_exposure_time_priority` | Verifies the Android 16 exposure time priority mode feature. |\n| `scene1_3` | `test_sensitivity_priority` | Verifies the Android 16 ISO priority mode feature. |\n| `scene2_a` | `test_exposure_keys_consistent` | Verifies exposure metadata values for auto and manual captures. |\n| `scene2_b` | `test_preview_num_faces` | Verifies face detection for preview stream captures of `scene2_b`. |\n| `scene2_d` | `test_preview_num_faces` | Verifies face detection for preview stream captures of `scene2_d`. |\n| `scene2_f` | `test_preview_num_faces` | Verifies face detection for preview stream captures of `scene2_f`. |\n| `scene2_g` | `test_preview_num_faces` | Verifies face detection for preview stream captures of `scene2_g` with faces in profile. |\n| `scene_flash` | `test_night_mode_indicator` | Verifies the Android 16 Night Mode Indicator feature. |\n| `scene_ip` | `test_default_jca_ip` | Verifies image parity between default camera app and Jetpack Camera App. |\n| `scene_tele` | `test_zoom_tele` | Adds zoom check for wide to tele camera transition. |\n| `scene_tele` | `test_preview_zoom_tele` | Adds preview zoom check for wide to tele camera transition. |\n| `scene_tele` | `test_multi_camera_switch_tele` | Adds multi-camera switch check for wide to tele camera transition. |\n| `sensor_fusion` | `test_video_stabilization_jca` | Similar to `test_video_stabilization` but uses Jetpack Camera App for video capture. |\n\nRefactored tests\n----------------\n\nIn Android 16, the following tests are refactored to\nincrease test coverage and group tests more logically:\n\n| Scene | Test name | Description |\n|-----------------|------------------------------|---------------------------------------------------------------------------------------------------------|\n| `scene1_3` | `test_ev_compensation` | Merges `test_ev_compensation_advanced` \\& `test_ev_compensation_basic`. |\n| `scene3` | `test_imu_drift` | Runs test longer to uncover gyroscope drift issues at higher temperatures. |\n| `scene6` | `test_zoom` | Stops zooming at transition to telephoto lens. Adds offset check. Uses Jetpack Camera App for captures. |\n| `sensor_fusion` | `test_preview_stabilization` | Refactored to test at both 0.9x and 1.1x zoom ratios for ultra-wide camera coverage. |\n\nAdditionally, a number of tests in `scene1_1` and\n`scene1_2` are moved to `scene1_3` to load balance the\nthree sub-scenes. However, only tests not requiring autofocus are moved due to\n`scene1_3` not having a white border.\n\nDeprecated tests\n----------------\n\nIn Android 16, the following tests are deprecated due\nto test function being covered by other tests:\n\n| Scene | Test name | Description |\n|------------|------------------|----------------------------------------------------------------------------|\n| `scene2_b` | `test_num_faces` | Removed due to face detection in scene tested by `test_preview_num_faces`. |\n| `scene2_f` | `test_num_faces` | Removed due to face detection in scene tested by `test_preview_num_faces`. |"]]