From aa133cd899309dc7a5e0e7e63eb2fa242b914a34 Mon Sep 17 00:00:00 2001 From: ShengYu Date: Mon, 19 Aug 2024 18:00:07 +0800 Subject: [PATCH] Merge pull request #26038 from shengyu7697:fix-typo Fix typos #26038 Fix typos ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake --- modules/gapi/src/backends/ie/giebackend.cpp | 4 ++-- modules/gapi/src/backends/ov/govbackend.cpp | 2 +- modules/gapi/test/streaming/gapi_streaming_tests.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/gapi/src/backends/ie/giebackend.cpp b/modules/gapi/src/backends/ie/giebackend.cpp index 4fc4fe9a8d..119539db42 100644 --- a/modules/gapi/src/backends/ie/giebackend.cpp +++ b/modules/gapi/src/backends/ie/giebackend.cpp @@ -1232,8 +1232,8 @@ void cv::gimpl::ie::GIEExecutable::run(cv::gimpl::GIslandExecutable::IInput &in // General algorithm: // 1. Collect island inputs/outputs. // 2. Create kernel context. (Every kernel has his own context). - // 3. If the EndOfStream message is recieved, wait until all passed task are done. - // 4. If the Exception message is revieved, propagate it further. + // 3. If the EndOfStream message is received, wait until all passed task are done. + // 4. If the Exception message is received, propagate it further. // 5. // 5.1 Run the kernel. // 5.2 Kernel wait for all nececcary infer requests and start asynchronous execution. diff --git a/modules/gapi/src/backends/ov/govbackend.cpp b/modules/gapi/src/backends/ov/govbackend.cpp index dde4da2bb7..ed2b6fd94e 100644 --- a/modules/gapi/src/backends/ov/govbackend.cpp +++ b/modules/gapi/src/backends/ov/govbackend.cpp @@ -622,7 +622,7 @@ static void PostOutputs(::ov::InferRequest &infer_request, ctx->eptr = std::move(eptr); for (auto i : ade::util::iota(ctx->uu.params.num_out)) { - // NB: Copy data back only if execution finished sucessfuly + // NB: Copy data back only if execution finished successfully // and inference only mode is disabled. // Otherwise just post outputs to maintain streaming executor contract. if (!ctx->eptr && !ctx->getOptions().inference_only) { diff --git a/modules/gapi/test/streaming/gapi_streaming_tests.cpp b/modules/gapi/test/streaming/gapi_streaming_tests.cpp index e50e11d5c8..10f8df820f 100644 --- a/modules/gapi/test/streaming/gapi_streaming_tests.cpp +++ b/modules/gapi/test/streaming/gapi_streaming_tests.cpp @@ -316,7 +316,7 @@ public: static std::string exception_msg() { - return "InvalidSource sucessfuly failed!"; + return "InvalidSource successfully failed!"; } bool pull(cv::gapi::wip::Data& d) override { @@ -355,7 +355,7 @@ GAPI_OCV_KERNEL(GThrowExceptionKernel, GThrowExceptionOp) { static std::string exception_msg() { - return "GThrowExceptionKernel sucessfuly failed"; + return "GThrowExceptionKernel successfully failed"; } static void run(const cv::Mat&, cv::Mat&)