Download include/opencv2/gapi/cpu/stereo.hpp from dlxjj/opencv: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/datasets/dlxjj/opencv/resolve/main/include/opencv2/gapi/cpu/stereo.hpp
- Command line
-
hf download hf://datasets/dlxjj/opencv/include/opencv2/gapi/cpu/stereo.hpp
-
curl -L -o stereo.hpp https://huggingface.co/datasets/dlxjj/opencv/resolve/main/include/opencv2/gapi/cpu/stereo.hpp
1.19 kB
| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // | |
| // Copyright (C) 2021 Intel Corporation | |
| namespace cv { | |
| namespace gapi { | |
| namespace calib3d { | |
| namespace cpu { | |
| GAPI_EXPORTS GKernelPackage kernels(); | |
| /** @brief Structure for the Stereo operation initialization parameters.*/ | |
| struct GAPI_EXPORTS StereoInitParam { | |
| StereoInitParam(int nD, int bS, double bL, double f): | |
| numDisparities(nD), blockSize(bS), baseline(bL), focus(f) {} | |
| StereoInitParam() = default; | |
| int numDisparities = 0; | |
| int blockSize = 21; | |
| double baseline = 63.5; | |
| double focus = 3.6; | |
| }; | |
| } // namespace cpu | |
| } // namespace calib3d | |
| } // namespace gapi | |
| namespace detail { | |
| template<> struct CompileArgTag<cv::gapi::calib3d::cpu::StereoInitParam> { | |
| static const char* tag() { | |
| return "org.opencv.stereoInit"; | |
| } | |
| }; | |
| } // namespace detail | |
| } // namespace cv | |