diff --git a/modules/calib3d/src/chessboard.hpp b/modules/calib3d/src/chessboard.hpp index 80519d15a5..7c9ce96802 100644 --- a/modules/calib3d/src/chessboard.hpp +++ b/modules/calib3d/src/chessboard.hpp @@ -149,7 +149,7 @@ class Chessboard: public cv::Feature2D int max_tests; //!< maximal number of tested hypothesis bool super_resolution; //!< use super-repsolution for chessboard detection bool larger; //!< indicates if larger boards should be returned - bool marker; //!< indicates that valid boards must have a white and black cirlce marker used for orientation + bool marker; //!< indicates that valid boards must have a white and black circle marker used for orientation Parameters() { diff --git a/modules/core/test/test_ds.cpp b/modules/core/test/test_ds.cpp index 3dc9e81d4f..685f60f96a 100644 --- a/modules/core/test/test_ds.cpp +++ b/modules/core/test/test_ds.cpp @@ -1641,7 +1641,7 @@ int Core_GraphTest::test_graph_ops( int iters ) edge = (CvGraphEdge*)&elem_buf[0]; // assign some default weight that is easy to check for - // consistensy, 'cause an edge weight is not stored + // consistency, 'cause an edge weight is not stored // in the simple graph edge->weight = (float)(v_idx[0] + v_idx[1]); pass_data = cvtest::randInt(rng) % 2; diff --git a/modules/dnn/src/layers/const_layer.cpp b/modules/dnn/src/layers/const_layer.cpp index 2246c16320..11dd429686 100644 --- a/modules/dnn/src/layers/const_layer.cpp +++ b/modules/dnn/src/layers/const_layer.cpp @@ -102,14 +102,14 @@ public: { case CV_32F: break; case CV_32S: ge_dtype = ge::DT_INT32; break; - default: CV_Error(Error::StsNotImplemented, "Unsuppported data type"); + default: CV_Error(Error::StsNotImplemented, "Unsupported data type"); } auto size_of_type = sizeof(float); switch (blobs[0].type()) { case CV_32F: break; case CV_32S: size_of_type = sizeof(int); break; - default: CV_Error(Error::StsNotImplemented, "Unsuppported data type"); + default: CV_Error(Error::StsNotImplemented, "Unsupported data type"); } auto desc = std::make_shared(ge_shape, ge::FORMAT_NCHW, ge_dtype); diff --git a/modules/features2d/include/opencv2/features2d.hpp b/modules/features2d/include/opencv2/features2d.hpp index b09fc3ac04..567aeeefce 100644 --- a/modules/features2d/include/opencv2/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d.hpp @@ -687,7 +687,7 @@ public: CV_WRAP static Ptr create( int maxCorners=1000, double qualityLevel=0.01, double minDistance=1, int blockSize=3, bool useHarrisDetector=false, double k=0.04 ); CV_WRAP static Ptr create( int maxCorners, double qualityLevel, double minDistance, - int blockSize, int gradiantSize, bool useHarrisDetector=false, double k=0.04 ); + int blockSize, int gradientSize, bool useHarrisDetector=false, double k=0.04 ); CV_WRAP virtual void setMaxFeatures(int maxFeatures) = 0; CV_WRAP virtual int getMaxFeatures() const = 0; diff --git a/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp b/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp index 1ee419aa2c..b8c7baa8f3 100644 --- a/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp +++ b/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp @@ -575,7 +575,7 @@ TEST(StatefulKernel, StateIsResetOnceOnReshapeInStreaming) run("cv/video/768x576.avi", 1); // FIXME: it should be 2, not 3 for expectedSetupsCount here. - // With current implemention both GCPUExecutable reshape() and + // With current implementation both GCPUExecutable reshape() and // handleNewStream() call setupKernelStates() run("cv/video/1920x1080.avi", 3); } diff --git a/modules/imgcodecs/test/test_exr.impl.hpp b/modules/imgcodecs/test/test_exr.impl.hpp index d439b7da44..c8aef61653 100644 --- a/modules/imgcodecs/test/test_exr.impl.hpp +++ b/modules/imgcodecs/test/test_exr.impl.hpp @@ -210,7 +210,7 @@ TEST(Imgcodecs_EXR, read_YA_unchanged) ASSERT_FALSE(img.empty()); ASSERT_EQ(CV_32FC2, img.type()); - // Cannot test writing, 2 channel writing not suppported by loadsave + // Cannot test writing, 2 channel writing not supported by loadsave } TEST(Imgcodecs_EXR, read_YC_changeDepth) diff --git a/modules/imgproc/test/test_convhull.cpp b/modules/imgproc/test/test_convhull.cpp index 2d9dab5a57..714ed75ba0 100644 --- a/modules/imgproc/test/test_convhull.cpp +++ b/modules/imgproc/test/test_convhull.cpp @@ -1053,7 +1053,7 @@ TEST_P(minEnclosingTriangle_Modes, accuracy) const Mat midPoint = (cur + next) / 2; EXPECT_TRUE(isPointOnHull(hull, midPoint)); - // at least one of hull edges must be on tirangle edge + // at least one of hull edges must be on triangle edge hasEdgeOnHull = hasEdgeOnHull || isEdgeOnHull(hull, cur, next); } EXPECT_TRUE(hasEdgeOnHull); diff --git a/modules/videoio/src/cap_v4l.cpp b/modules/videoio/src/cap_v4l.cpp index 9450f85f5a..30a86f672e 100644 --- a/modules/videoio/src/cap_v4l.cpp +++ b/modules/videoio/src/cap_v4l.cpp @@ -1103,7 +1103,7 @@ bool CvCaptureCAM_V4L::grabFrame() FirstCapture = false; #if defined(V4L_ABORT_BADJPEG) - // skip first frame. it is often bad -- this is unnotied in traditional apps, + // skip first frame. it is often bad -- this is unnoticed in traditional apps, // but could be fatal if bad jpeg is enabled if (!read_frame_v4l2()) return false; diff --git a/modules/videoio/test/test_video_io.cpp b/modules/videoio/test/test_video_io.cpp index 0a631d8a04..9c1b5cb209 100644 --- a/modules/videoio/test/test_video_io.cpp +++ b/modules/videoio/test/test_video_io.cpp @@ -787,7 +787,7 @@ TEST_P(videocapture_acceleration, read) { if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4") throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)"); - // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding. + // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't support hardware accelerated AV1 decoding. if (filename == "sample_322x242_15frames.yuv420p.libaom-av1.mp4") throw SkipTestException("Unable to read the first frame with AV1 codec (missing support)"); } @@ -809,7 +809,7 @@ TEST_P(videocapture_acceleration, read) { if (filename == "sample_322x242_15frames.yuv420p.libvpx-vp9.mp4") throw SkipTestException("Unable to read the first frame with VP9 codec (media stack misconfiguration / bug)"); - // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding. + // FFMPEG: [av1 @ 0000027ac07d1340] Your platform doesn't support hardware accelerated AV1 decoding. if (filename == "sample_322x242_15frames.yuv420p.libaom-av1.mp4") throw SkipTestException("Unable to read the first frame with AV1 codec (missing support)"); }