| 54 | } // namespace |
| 55 | |
| 56 | void ExportOpBoxBlur(py::module &m) |
| 57 | { |
| 58 | using namespace pybind11::literals; |
| 59 | |
| 60 | m.def("boxblur", &BoxBlur, "src"_a, "bboxes"_a, py::kw_only(), "stream"_a = nullptr, R"pbdoc( |
| 61 | |
| 62 | Executes the BoxBlur operation on the given cuda stream. |
| 63 | |
| 64 | See also: |
| 65 | Refer to the CV-CUDA C API reference for the BoxBlur operator |
| 66 | for more details and usage examples. |
| 67 | |
| 68 | Args: |
| 69 | src (cvcuda.Tensor): Input tensor containing one or more images. |
| 70 | bboxes (cvcuda.BlurBoxesI): Blur boxes in reference to the input tensor. |
| 71 | stream (cvcuda.Stream, optional): CUDA Stream on which to perform the operation. |
| 72 | |
| 73 | Returns: |
| 74 | cvcuda.Tensor: The output tensor. |
| 75 | |
| 76 | Caution: |
| 77 | Restrictions to several arguments may apply. Check the C |
| 78 | API references of the CV-CUDA operator. |
| 79 | )pbdoc"); |
| 80 | |
| 81 | m.def("boxblur_into", &BoxBlurInto, "dst"_a, "src"_a, "bboxes"_a, py::kw_only(), "stream"_a = nullptr, R"pbdoc( |
| 82 | |
| 83 | Executes the BoxBlur operation on the given cuda stream. |
| 84 | |
| 85 | See also: |
| 86 | Refer to the CV-CUDA C API reference for the BoxBlur operator |
| 87 | for more details and usage examples. |
| 88 | |
| 89 | Args: |
| 90 | dst (cvcuda.Tensor): Output tensor to store the result of the operation. |
| 91 | src (cvcuda.Tensor): Input tensor containing one or more images. |
| 92 | bboxes (cvcuda.BlurBoxesI): Blur boxes in reference to the input tensor. |
| 93 | stream (cvcuda.Stream, optional): CUDA Stream on which to perform the operation. |
| 94 | |
| 95 | Returns: |
| 96 | None |
| 97 | |
| 98 | Caution: |
| 99 | Restrictions to several arguments may apply. Check the C |
| 100 | API references of the CV-CUDA operator. |
| 101 | )pbdoc"); |
| 102 | } |
| 103 | |
| 104 | } // namespace cvcudapy |