Kể từ ngày 27 tháng 3 năm 2025, bạn nên sử dụng android-latest-release
thay vì aosp-main
để xây dựng và đóng góp cho AOSP. Để biết thêm thông tin, hãy xem phần Thay đổi đối với AOSP.
Ghi chú phát hành của Bộ kiểm thử hình ảnh máy ảnh Android 16
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bản phát hành Android 16 bao gồm một số thay đổi đối với Camera ITS. Trang này tổng hợp các thay đổi về ITS của máy ảnh cho Android 16.
Phiên bản Python và gói
Các đối tác nên sử dụng phần mềm quản lý gói để gói các phiên bản gói chính xác nhằm tạo môi trường ảo cho việc phát triển bản phát hành Android. Để biết ví dụ về công cụ quản lý gói xử lý hầu hết các gói cần thiết, hãy xem tài liệu về Python 3 cho venv.
Android 16 hỗ trợ các phiên bản Python và gói sau:
Gói sau đây là mới dành cho Android 16:
Gói sau đây không còn được dùng nữa cho Android 16:
Cảnh mới hoặc cảnh được cập nhật
Android 16 giới thiệu các cảnh sau:
Scene |
Mô tả |
scene1_3 |
Biểu đồ màu xám tương tự như scene1_1 không có đường viền màu trắng. |
scene6 |
Cập nhật lưới các vòng tròn bằng lưới các điểm đánh dấu ArUco để xác định duy nhất đối tượng được định vị trong cảnh. |
scene_ip |
Cảnh mới để so sánh tính đồng nhất của hình ảnh giữa ứng dụng máy ảnh mặc định và ảnh chụp bằng Ứng dụng máy ảnh Jetpack. |
scene_tele |
Sử dụng lại scene6 và scene7 nhưng cho phép thử nghiệm riêng biệt việc chuyển đổi từ máy ảnh góc rộng sang máy ảnh tele vì khoảng cách biểu đồ phải được tối ưu hoá cho máy ảnh tele. |
Kiểm thử mới
Android 16 giới thiệu các kiểm thử sau:
Scene |
Tên kiểm thử |
Mô tả |
scene1_3 |
test_exposure_time_priority |
Xác minh tính năng chế độ ưu tiên thời gian phơi sáng của Android 16. |
scene1_3 |
test_sensitivity_priority |
Xác minh tính năng chế độ ưu tiên ISO của Android 16. |
scene2_a |
test_exposure_keys_consistent |
Xác minh các giá trị siêu dữ liệu về độ phơi sáng cho chế độ chụp tự động và thủ công. |
scene2_b |
test_preview_num_faces |
Xác minh tính năng phát hiện khuôn mặt cho bản xem trước của luồng chụp scene2_b . |
scene2_d |
test_preview_num_faces |
Xác minh tính năng phát hiện khuôn mặt cho bản xem trước của luồng chụp scene2_d . |
scene2_f |
test_preview_num_faces |
Xác minh tính năng phát hiện khuôn mặt cho bản xem trước của luồng chụp scene2_f . |
scene2_g |
test_preview_num_faces |
Xác minh tính năng phát hiện khuôn mặt cho bản xem trước của luồng chụp scene2_g có khuôn mặt trong hồ sơ. |
scene_flash |
test_night_mode_indicator |
Xác minh tính năng Chỉ báo chế độ ban đêm của Android 16.
|
scene_ip |
test_default_jca_ip |
Xác minh tính đồng nhất của hình ảnh giữa ứng dụng máy ảnh mặc định và Ứng dụng máy ảnh Jetpack.
|
scene_tele |
test_zoom_tele |
Thêm tính năng kiểm tra chế độ thu phóng cho quá trình chuyển đổi từ máy ảnh góc rộng sang máy ảnh tele. |
scene_tele |
test_preview_zoom_tele |
Thêm tính năng kiểm tra thu phóng xem trước cho quá trình chuyển đổi từ máy ảnh góc rộng sang máy ảnh tele. |
scene_tele |
test_multi_camera_switch_tele |
Thêm tính năng kiểm tra chuyển đổi nhiều máy ảnh cho quá trình chuyển đổi từ máy ảnh góc rộng sang máy ảnh tele. |
sensor_fusion |
test_video_stabilization_jca |
Tương tự như test_video_stabilization nhưng sử dụng Ứng dụng máy ảnh Jetpack để quay video. |
Kiểm thử được tái cấu trúc
Trong Android 16, các kiểm thử sau đây được tái cấu trúc để tăng mức độ sử dụng kiểm thử và kiểm thử nhóm một cách hợp lý hơn:
Scene |
Tên kiểm thử |
Mô tả |
scene1_3 |
test_ev_compensation |
Hợp nhất test_ev_compensation_advanced và test_ev_compensation_basic . |
scene3 |
test_imu_drift |
Chạy kiểm thử lâu hơn để phát hiện các vấn đề về độ trễ của con quay hồi chuyển ở nhiệt độ cao hơn.
|
scene6 |
test_zoom |
Dừng thu phóng khi chuyển sang ống kính tele. Thêm tính năng kiểm tra độ lệch. Sử dụng ứng dụng Máy ảnh Jetpack để chụp. |
sensor_fusion |
test_preview_stabilization |
Tái cấu trúc để kiểm thử ở cả tỷ lệ thu phóng 0,9x và 1,1x cho phạm vi chụp của máy ảnh góc siêu rộng. |
Ngoài ra, một số chương trình kiểm thử trong scene1_1
và scene1_2
được chuyển sang scene1_3
để cân bằng tải cho 3 cảnh phụ. Tuy nhiên, chỉ những kiểm thử không yêu cầu tự động lấy nét mới được di chuyển do scene1_3
không có đường viền màu trắng.
Các kiểm thử không dùng nữa
Trong Android 16, các kiểm thử sau đây không còn được dùng nữa do hàm kiểm thử được các kiểm thử khác bao gồm:
Scene |
Tên kiểm thử |
Mô tả |
scene2_b |
test_num_faces |
Đã xoá do tính năng phát hiện khuôn mặt trong cảnh được kiểm thử bằng test_preview_num_faces . |
scene2_f |
test_num_faces |
Đã xoá do tính năng phát hiện khuôn mặt trong cảnh được kiểm thử bằng test_preview_num_faces . |
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],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`. |"]]