mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #28309 from raimbekovm:fix-typos-batch6
docs: fix typos in documentation and code comments #28309 ## Summary This PR fixes 10 spelling errors in documentation and code comments across 7 files. ## Changes - `suppport` → `support` (2 occurrences in test_video_io.cpp) - `compability` → `compatibility` (2 occurrences in face.hpp) - `successfull` → `successful` (1 occurrence in cv2.cpp) - `accomodate` → `accommodate` (2 occurrences in calib3d.hpp and test_camera.cpp) - `minimun` → `minimum` (1 occurrence in aruco_detector.hpp) - `maximun` → `maximum` (1 occurrence in aruco_detector.hpp) - `orignal` → `original` (1 occurrence in aruco_detector.cpp) ## Test plan - [x] No API changes - [x] Documentation-only changes - [x] Code compiles without errors
This commit is contained in:
@@ -37,7 +37,7 @@ namespace cv
|
||||
{
|
||||
static const char* tag()
|
||||
{
|
||||
return "org.opencv.test.background_substractor_state_params";
|
||||
return "org.opencv.test.background_subtractor_state_params";
|
||||
}
|
||||
};
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace
|
||||
}
|
||||
};
|
||||
|
||||
G_TYPED_KERNEL(GBackSub, <GMat(GMat)>, "org.opencv.test.background_substractor")
|
||||
G_TYPED_KERNEL(GBackSub, <GMat(GMat)>, "org.opencv.test.background_subtractor")
|
||||
{
|
||||
static GMatDesc outMeta(GMatDesc in) { return in.withType(CV_8U, 1); }
|
||||
};
|
||||
@@ -438,10 +438,10 @@ namespace
|
||||
gapiBackSub.start();
|
||||
EXPECT_TRUE(gapiBackSub.running());
|
||||
|
||||
// OpenCV reference substractor
|
||||
// OpenCV reference subtractor
|
||||
auto pOCVBackSub = createBackgroundSubtractorKNN();
|
||||
|
||||
// Comparison of G-API and OpenCV substractors
|
||||
// Comparison of G-API and OpenCV subtractors
|
||||
std::size_t frames = 0u;
|
||||
while (gapiBackSub.pull(cv::gout(frame, gapiForeground))) {
|
||||
pOCVBackSub->apply(frame, ocvForeground, -1);
|
||||
@@ -503,7 +503,7 @@ TEST(StatefulKernel, StateIsChangedViaCompArgsOnReshape)
|
||||
|
||||
const auto pkg = cv::gapi::kernels<GOCVBackSub>();
|
||||
|
||||
// OpenCV reference substractor
|
||||
// OpenCV reference subtractor
|
||||
auto pOCVBackSubKNN = createBackgroundSubtractorKNN();
|
||||
auto pOCVBackSubMOG2 = createBackgroundSubtractorMOG2();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user