ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
บันทึกประจำรุ่นของชุดทดสอบรูปภาพจากกล้องสำหรับ Android 14
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เวอร์ชัน Android 14 มีการเปลี่ยนแปลงหลายอย่างใน Camera ITS
หน้านี้จะสรุปการเปลี่ยนแปลง ITS ของกล้องสำหรับ Android
14 การเปลี่ยนแปลงนี้แบ่งออกเป็น 5 หมวดหมู่หลักๆ ดังนี้
เวอร์ชัน Python และแพ็กเกจ
Android 14 รองรับ Python เวอร์ชันต่อไปนี้นอกเหนือจากเวอร์ชันและไลบรารี Python ที่รองรับใน Android 12 และ 13
เพิ่มการทดสอบกล้องแบบจํากัด
ใน Android 14 จะมีการแยกโครงสร้างการทดสอบต่อไปนี้เพื่อเปิดใช้การทดสอบกล้องแบบจํากัดกับการทดสอบที่มีอยู่
ฉาก |
ชื่อการทดสอบ |
คำอธิบาย |
1_1 |
test_jpeg |
ปรับโครงสร้างเพื่อนำเมธอด manual_capture() ออก |
1_2 |
test_yuv_jpeg_all |
ปรับโครงสร้างเพื่อนำเมธอด manual_capture() ออก |
1_2 |
test_yuv_plus_jpeg |
ปรับโครงสร้างเพื่อนำเมธอด manual_capture() ออก |
1_2 |
test_yuv_plus_raw |
เปลี่ยนรูปแบบเป็นเมธอด manual_capture()
การทดสอบ RAW/RAW10/RAW12 ผสานรวมเป็นการทดสอบเดียว |
4 |
test_multi_camera_alignment |
เปลี่ยนรูปแบบเป็นเมธอด manual_capture() |
ใน Android 14 จะมีการแยกส่วนการทดสอบการตรวจจับใบหน้าต่อไปนี้
ฉาก |
ชื่อการทดสอบ |
คำอธิบาย |
2 |
test_num_faces |
ใบหน้าใหม่เพื่อเพิ่มความหลากหลายของใบหน้า ยืนยันตำแหน่งใบหน้าแล้ว |
การเปลี่ยนแปลงการทดสอบอื่นๆ
ใน Android 14 มีการแยกโครงสร้างการทดสอบต่อไปนี้เพื่อเพิ่มความครอบคลุมของการทดสอบ
ฉาก |
ชื่อการทดสอบ |
คำอธิบาย |
0 |
test_read_write |
ปรับโครงสร้างเพื่อแจ้งค่าข้อมูลเมตาการจับภาพสำหรับความไวที่ไม่อยู่ในandroid.sensor.sensitivityRange |
1_1 |
test_burst_sameness_manual |
ปรับโครงสร้างใหม่ให้ถ่ายแบบต่อเนื่อง 2 ชุดๆ ละ 50 เฟรมแทนที่จะเป็น 5 ชุดๆ ละ 50 เฟรม |
1_2 |
test_yuv_jpeg_all |
ปรับโครงสร้างใหม่เพื่อใช้ Use Case STILL_CAPTURE หากมี |
1_2 |
test_yuv_plus_jpeg |
ปรับโครงสร้างใหม่เพื่อใช้ Use Case STILL_CAPTURE หากมี |
4 |
test_multi_camera_alignment |
ปรับโครงสร้างเพื่อเพิ่มการจับภาพ YUV และเพิ่มการจับภาพ 640x360 ลงใน640x480 ที่มีอยู่ |
การทดสอบใหม่
Android 14 มีการทดสอบใหม่ต่อไปนี้
ฉาก |
ชื่อการทดสอบ |
คำอธิบาย |
2_a |
test_autoframing |
ยืนยันว่าการจัดเฟรมอัตโนมัติสามารถปรับ FoV ให้รวมใบหน้าทั้งหมดที่มีโทนสีผิวแตกต่างกันได้ ไม่ว่าจะตั้งค่าอัตราส่วนการซูมไว้อย่างไรก็ตาม |
2_a |
test_display_p3 |
ยืนยันว่าเอาต์พุต P3 JPEG ถูกต้อง |
2_a |
test_preview_min_frame_rate |
ยืนยันว่า FPS ของตัวอย่างถึงค่าต่ำสุดที่กำหนดโดยพร็อพเพอร์ตี้กล้องภายใต้สภาพแสงน้อย |
3 |
test_landscape_to_portrait |
ยืนยันว่าการลบล้างการวางแนวแนวนอนเป็นแนวตั้งหมุนรูปภาพอย่างถูกต้อง |
4 |
test_preview_aspect_ratio_and_crop |
ตรวจสอบว่าPreview สัดส่วนภาพของการสตรีม การครอบตัด และ FoV เหมาะสมกับรูปแบบที่รองรับ |
6 |
test_in_sensor_zoom |
ยืนยันลักษณะการซูมในเซ็นเซอร์ของกล้อง |
6 |
test_low_latency_zoom |
ตรวจสอบว่าสัดส่วนการซูมปรับขนาดอย่างถูกต้องหากตั้งค่าการซูมการลบล้าง |
6 |
test_preview_video_zoom_match |
ยืนยันว่าการซูมทำงานเหมือนกันในสตรีม Preview และ Video |
ส่วนขยาย |
test_hdr_extension |
ยืนยันว่าส่วนขยาย HDR เปิดใช้งานอย่างถูกต้องเมื่อได้รับคําขอ |
ส่วนขยาย |
test_night_extension |
ยืนยันว่าส่วนขยาย Night เปิดใช้งานอย่างถูกต้องเมื่อได้รับคําขอ |
sensor_fusion |
test_led_snapshot |
ยืนยันว่าภาพนิ่งจาก LED ไม่ทำให้รูปภาพมีสีจัดหรือมีสี |
การทดสอบ DUT แบบขนาน
Android 14 รองรับการทดสอบ DUT แบบขนาน ซึ่งช่วยให้คุณทดสอบ DUT หลายเครื่องพร้อมกันด้วยแท่นทดสอบหลายตัวเพื่อเร่งการทดสอบโดยรวมได้ เช่น การทดสอบแบบขนานช่วยให้คุณทดสอบกล้อง 0 ในแท่นหนึ่งและกล้อง 1 ในแท่นอื่นพร้อมกันได้
ดูรายละเอียดเพิ่มเติมได้ที่การทดสอบ DUT แบบขนาน
ข้อกำหนดการทดสอบ
รูปที่ 1 แสดงวงแหวนถอดรหัสลับของ ITS ใน Android 14 ตารางนี้แสดงการตั้งค่าการทดสอบที่กําหนดให้แต่ละการทดสอบ การตั้งค่าการทดสอบที่มีการกำหนดสิทธิ์โดย
android.request.availableCapabilities
จะเป็นตัวพิมพ์ใหญ่
รายการหลักในการจำกัดมีดังนี้
MANUAL_SENSOR
READ_3A
PER_FRAME_CONTROL
RAW
faceDetectModes
timestampSource
flash.info.available
รูปที่ 1 Android 14 ITS secret decoder ring
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","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 UTC"],[],[],null,["# Android 14 Camera Image Test Suite Release Notes\n\nThe Android 14 release includes a number of changes to\n[Camera ITS](/docs/compatibility/cts/camera-hal#its_tests).\n\nThis page summarizes the Camera ITS changes for Android\n14. The changes fall into five broad categories:\n\n- [Python and package versions](#package-versions)\n- [Increased LIMITED camera testing](#increased-limited-camera-testing)\n- [Increased face-related testing](#increased-face-related-testing)\n- [Other test changes](#other-test-changes)\n- [New tests](#new-tests)\n- [Parallel DUT testing](#parallel-dut-testing)\n\nPython and package versions\n---------------------------\n\nAndroid 14 supports the following Python versions in\naddition to the Python versions and libraries supported in Android\n12 and 13:\n\n- [Python 3.9.2](https://www.python.org/downloads/)\n- [OpenCV 4.2.0](https://opencv.org/)\n- [Numpy 1.20.3](https://numpy.org/)\n- [Matplotlib 3.4.1](https://matplotlib.org/)\n- [Scipy 1.6.2](https://docs.scipy.org/doc/)\n- [pySerial 3.5](https://pyserial.readthedocs.io/)\n- [Pillow 8.3.1](https://pypi.org/project/Pillow/)\n- [PyYAML 5.4.1](https://pypi.org/project/PyYAML/)\n- [Mobly 1.11](https://github.com/google/mobly)\n- [FFmpeg 4.4.1](https://ffmpeg.org/)\n- (For Display P3 tests only) [Colour-science 0.4.2](https://pypi.org/project/colour-science/)\n\nIncreased LIMITED camera testing\n--------------------------------\n\nIn Android 14, the following tests are refactored\nto enable testing of LIMITED cameras with existing tests.\n\n| **Scene** | **Test name** | **Description** |\n|-----------|-----------------------------|-----------------------------------------------------------------------------------------------|\n| 1_1 | test_jpeg | Refactored to eliminate the `manual_capture()` method. |\n| 1_2 | test_yuv_jpeg_all | Refactored to eliminate the `manual_capture()` method. |\n| 1_2 | test_yuv_plus_jpeg | Refactored to eliminate the `manual_capture()` method. |\n| 1_2 | test_yuv_plus_raw | Refactored to the `manual_capture()` method. RAW/RAW10/RAW12 testing merged to a single test. |\n| 4 | test_multi_camera_alignment | Refactored to the `manual_capture()` method. |\n\nIncreased face-related testing\n------------------------------\n\nIn Android 14, the following face detection\ntests are refactored.\n\n| **Scene** | **Test name** | **Description** |\n|-----------|----------------|-------------------------------------------------------------------|\n| 2 | test_num_faces | New faces for increased face diversity. Face locations confirmed. |\n\n\u003cbr /\u003e\n\nOther test changes\n------------------\n\nIn Android 14, the following tests are refactored to\nincrease test coverage.\n\n| **Scene** | **Test name** | **Description** |\n|-----------|-----------------------------|--------------------------------------------------------------------------------------------------------------------|\n| 0 | test_read_write | Refactored to flag capture metadata values for sensitivity that fall outside of `android.sensor.sensitivityRange`. |\n| 1_1 | test_burst_sameness_manual | Refactored to do two bursts of 50 frames rather than five bursts of 50 frames. |\n| 1_2 | test_yuv_jpeg_all | Refactored to use the `STILL_CAPTURE` use case if available. |\n| 1_2 | test_yuv_plus_jpeg | Refactored to use the `STILL_CAPTURE` use case if available. |\n| 4 | test_multi_camera_alignment | Refactored to add YUV captures and to add `640x360` captures to the existing `640x480` captures. |\n\n\u003cbr /\u003e\n\nNew tests\n---------\n\nAndroid 14 includes the following new tests.\n\n| **Scene** | **Test name** | **Description** |\n|---------------|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| 2_a | test_autoframing | Verifies that autoframing can adjust the FoV to include all faces with different skin tones regardless of the zoom ratio set. |\n| 2_a | test_display_p3 | Verifies `P3 JPEG` output is correct. |\n| 2_a | test_preview_min_frame_rate | Verifies that preview FPS reaches minimum defined by camera properties under low light conditions. |\n| 3 | test_landscape_to_portrait | Verifies landscape to portrait override rotates image properly. |\n| 4 | test_preview_aspect_ratio_and_crop | Verifies `Preview` stream aspect ratio, crop, and FoV are appropriate for supported formats. |\n| 6 | test_in_sensor_zoom | Verifies the camera in-sensor zoom behavior. |\n| 6 | test_low_latency_zoom | Verifies zoom ratio scales correctly if settings override zoom is set. |\n| 6 | test_preview_video_zoom_match | Verifies that zoom behaves the same in `Preview` and `Video` streams. |\n| extensions | test_hdr_extension | Verifies `HDR` extension activates correctly when requested. |\n| extensions | test_night_extension | Verifies `Night` extension activates correctly when requested. |\n| sensor_fusion | test_led_snapshot | Verifies LED snapshots don't saturate or tint image. |\n\nParallel DUT testing\n--------------------\n\nAndroid 14 supports parallel DUT testing, which lets\nyou test DUTs in parallel with multiple rigs to speed up overall testing. For\nexample, parallel testing lets you test camera 0 in one rig and camera 1 in\nanother rig at the same time.\n\nFor more details, see\n[Parallel DUT testing](/docs/compatibility/cts/camera-its#parallel-dut-testing).\n\nTest requirements\n-----------------\n\nFigure 1 shows the Android 14 ITS *secret\ndecoder ring* . The secret decoder ring shows what test settings individual\ntests are gated by. Test settings gated by\n`android.request.availableCapabilities` are in uppercase letters.\nThe main gating items are:\n\n- `MANUAL_SENSOR`\n- `READ_3A`\n- `PER_FRAME_CONTROL`\n- `RAW`\n- `faceDetectModes`\n- `timestampSource`\n- `flash.info.available`\n\n**Figure 1.** Android 14 ITS secret decoder ring"]]