Code Monkey home page Code Monkey logo

Comments (6)

eledahl avatar eledahl commented on June 22, 2024

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?

from react-native-vision-camera.

mrousavy avatar mrousavy commented on June 22, 2024

Use a format with video resolution 3024x3024 then.

from react-native-vision-camera.

eledahl avatar eledahl commented on June 22, 2024

@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

from react-native-vision-camera.

mrousavy avatar mrousavy commented on June 22, 2024

Can you log all formats of device.formats?

from react-native-vision-camera.

eledahl avatar eledahl commented on June 22, 2024

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
    }
]

from react-native-vision-camera.

mrousavy avatar mrousavy commented on June 22, 2024

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.

from react-native-vision-camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.