mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
6.64k stars 983 forks source link

💭 Any Frame differences for Android from v2 to v4 #2795

Closed eledahl closed 3 weeks ago

eledahl commented 3 weeks ago

Question

I'm running a pose detector that is lining up fine for drawing the pose on screen with SVG on v2. I'm attempting to upgrade to v4. The pose draws fine with SVG in v4 on iOS but Android seems to be behaving much different. Pretty hard to get it to line up with the body.

With the change to CameraX/Camera2 for Android my guess is that the frame is coming through differently and I need to process it in my plugin a different way. Is there any info on changes to the frame for Android or am I way off with that assumption?

I can post the drawing code if it helps but I'm more just trying to locate any differences in what is being used since my code worked on v2

What I tried

I've tried Skia but it slows the camera down like crazy when using useSkiaFrameProcessor and when I render Skia as a canvas the points lag like crazy. They weren't aligned either though. SVG seems to be best performance wise on Android.

VisionCamera Version

4.0.0

Additional information

eledahl commented 3 weeks ago

Looks like printing out frame.height and frame.width in v2 gives me 3024 x 3024 but format is 720 x 1280

On v4, the frame matches the format size and prints 720 x 1280. Is there a way to get the 3024 x 3024 back?

mrousavy commented 3 weeks ago

Use a format with video resolution 3024x3024 then.

eledahl commented 3 weeks ago

@mrousavy Yeah no 3024 x 3024 format available or any 1:1 formats. In v2, I was using a 16:9 format (1280 x 720) and it gave me the 1:1 frame (3024 x 3024). So was more curious if you knew why it did that in v2 but the frame changes in v4 to be 16:9 and matches the format. But I'll look into it

mrousavy commented 3 weeks ago

Can you log all formats of device.formats?

eledahl commented 3 weeks ago

Sure he is the the format chosen in v2:

{"autoFocusSystem": "none", "colorSpaces": ["jpeg"], "fieldOfView": 66.55955142399227, "frameRateRanges": [{"maxFrameRate": 30, "minFrameRate": 1}, {"maxFrameRate": 15, "minFrameRate": 15}, {"maxFrameRate": 24, "minFrameRate": 7}, {"maxFrameRate": 24, "minFrameRate": 24}, {"maxFrameRate": 30, "minFrameRate": 8}, {"maxFrameRate": 30, "minFrameRate": 30}], "isHighestPhotoQualitySupported": false, "maxISO": 3200, "maxZoom": 8, "minISO": 50, "photoHeight": 910, "photoWidth": 1920, "pixelFormat": "420v", "supportsPhotoHDR": true, "supportsVideoHDR": false, "videoHeight": 720, "videoStabilizationModes": ["off", "auto", "standard", "cinematic"], "videoWidth": 1280}

Here's the format chosen for v4:

{"autoFocusSystem": "contrast-detection", "fieldOfView": 78.7353670985857, "maxFps": 30, "maxISO": 3200, "minFps": 7, "minISO": 50, "photoHeight": 3024, "photoWidth": 4032, "supportsDepthCapture": false, "supportsPhotoHdr": false, "supportsVideoHdr": false, "videoHeight": 720, "videoStabilizationModes": ["off", "cinematic"], "videoWidth": 1280}

And here are all the formats for v4:

[
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2268,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1908,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 3024,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2160,
        "photoWidth": 3840,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 2288,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 910,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 540,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1440,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 960,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1088,
        "photoWidth": 1088,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 720,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 360,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 240,
        "photoWidth": 320,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 144,
        "photoWidth": 176,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 720
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2268,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1908,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 3024,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2160,
        "photoWidth": 3840,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 2288,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 910,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 540,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1440,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 960,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1088,
        "photoWidth": 1088,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 720,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 360,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 240,
        "photoWidth": 320,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 144,
        "photoWidth": 176,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 480,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 640
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2268,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1908,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 3024,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2160,
        "photoWidth": 3840,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 2288,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 910,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 540,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1440,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 960,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1088,
        "photoWidth": 1088,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 720,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 360,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 240,
        "photoWidth": 320,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 144,
        "photoWidth": 176,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 720,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1280
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2268,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1908,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 3024,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2160,
        "photoWidth": 3840,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 2288,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 910,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 540,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1440,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 960,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1088,
        "photoWidth": 1088,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 720,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 360,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 240,
        "photoWidth": 320,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 144,
        "photoWidth": 176,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 1080,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 1920
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2268,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1908,
        "photoWidth": 4032,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 3024,
        "photoWidth": 3024,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 2160,
        "photoWidth": 3840,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 2288,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 910,
        "photoWidth": 1920,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 540,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1080,
        "photoWidth": 1440,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 960,
        "photoWidth": 1280,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 1088,
        "photoWidth": 1088,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 720,
        "photoWidth": 960,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 720,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 480,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 360,
        "photoWidth": 640,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 240,
        "photoWidth": 320,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    },
    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 144,
        "photoWidth": 176,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    }
]
mrousavy commented 2 weeks ago

Yea so the formats definitely might have changed a bit- previously VisionCamera also included formats that aren't necessarily compatible with the MediaCodec, causing an error sometimes when trying to record. Now visionCamera only includes the safe profiles, so in your case just use

    {
        "autoFocusSystem": "contrast-detection",
        "fieldOfView": 78.7353670985857,
        "maxFps": 30,
        "maxISO": 3200,
        "minFps": 7,
        "minISO": 50,
        "photoHeight": 144,
        "photoWidth": 176,
        "supportsDepthCapture": false,
        "supportsPhotoHdr": true,
        "supportsVideoHdr": false,
        "videoHeight": 2160,
        "videoStabilizationModes": [
            "off",
            "cinematic"
        ],
        "videoWidth": 3840
    }

There is no 1x1 format from a Camera. 4:3 and 16:9 are the most adopted ones.