自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
Android 16 相機圖片測試套件版本資訊
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Android 16 版本對 Camera ITS 進行了許多變更。本頁面概述 Android 16 的相機 ITS 變更。
Python 和套件版本
我們強烈建議合作夥伴使用套件管理軟體,將正確版本的套件打包,建立 Android 版本開發作業的虛擬環境。如需處理大部分必要套件的套件管理工具範例,請參閱 Python 3 的 venv 說明文件。
Android 16 支援下列 Python 和套件版本:
以下套件是 Android 16 的新功能:
以下套件已在 Android 16 中淘汰:
新場景或更新的場景
Android 16 推出下列場景:
Scene |
說明 |
scene1_3 |
灰色圖表,類似於 scene1_1 ,但沒有白色邊框。 |
scene6 |
更新圓形格線,以便使用 ArUco 標記格線,藉此在場景中明確識別所定位的物體。 |
scene_ip |
新增場景,用於比較預設相機應用程式和 Jetpack Camera 應用程式擷取的圖片。 |
scene_tele |
重複使用場景 6 和場景 7,但允許分別測試廣角和望遠鏡頭交叉測試,因為圖表距離必須針對望遠鏡頭進行最佳化。 |
新測試
Android 16 推出下列測試:
Scene |
測試名稱 |
說明 |
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 Camera 應用程式之間的圖片相符性。 |
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 Camera 應用程式錄製影片。 |
重構測試
在 Android 16 中,我們重新整理了下列測試,以便提高測試涵蓋率,並以更有邏輯的方式將測試分組:
Scene |
測試名稱 |
說明 |
scene1_3 |
test_ev_compensation |
合併 test_ev_compensation_advanced 和 test_ev_compensation_basic 。 |
scene3 |
test_imu_drift |
延長測試時間,以便在較高溫度下找出陀螺儀漂移問題。 |
scene6 |
test_zoom |
切換至望遠鏡頭時停止變焦。新增偏移檢查。使用 Jetpack Camera 應用程式進行擷取。 |
sensor_fusion |
test_preview_stabilization |
重新整理,以便測試 0.9x 和 1.1x 縮放比例的超廣角鏡頭涵蓋範圍。 |
此外,scene1_1
和 scene1_2
中的多個測試會移至 scene1_3
,以便平衡三個子場景的負載。不過,由於 scene1_3
沒有白色邊框,因此只有不需要自動對焦的測試才會移至此處。
已淘汰的測試
在 Android 16 中,由於測試函式已納入其他測試,因此下列測試已淘汰:
Scene |
測試名稱 |
說明 |
scene2_b |
test_num_faces |
由於 test_preview_num_faces 測試的場景中偵測到臉孔,因此已移除。 |
scene2_f |
test_num_faces |
已移除,因為 test_preview_num_faces 測試的場景中偵測到臉孔。 |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間: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`. |"]]