INNER CODE UNIT · C++

output_height

nihui/opencv-mobile · highgui/src/capture_cvi.cpp:2906

                output_height = height * cap_width / width;
            }
        }
        else if (width > cap_width)
        {
            output_width = cap_width;
            output_height = height * cap_width / width;
        }
        else if (height > cap_height)
        {
            output_height = cap_height;
            output_width = width * cap_height / height;
        }
        else
        {
            output_width = width;
            output_height = height;
        }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…