diff --git a/modules/calib3d/include/opencv2/calib3d.hpp b/modules/calib3d/include/opencv2/calib3d.hpp index b66fec1e04..c9f468f1f0 100644 --- a/modules/calib3d/include/opencv2/calib3d.hpp +++ b/modules/calib3d/include/opencv2/calib3d.hpp @@ -1337,7 +1337,7 @@ CV_EXPORTS_W Mat initCameraMatrix2D( InputArrayOfArrays objectPoints, @param image Source chessboard view. It must be an 8-bit grayscale or color image. @param patternSize Number of inner corners per a chessboard row and column -( patternSize = cv::Size(points_per_row,points_per_colum) = cv::Size(columns,rows) ). +( patternSize = cv::Size(points_per_row,points_per_column) = cv::Size(columns,rows) ). @param corners Output array of detected corners. @param flags Various operation flags that can be zero or a combination of the following values: - @ref CALIB_CB_ADAPTIVE_THRESH Use adaptive thresholding to convert the image to black @@ -1402,7 +1402,7 @@ CV_EXPORTS_W bool checkChessboard(InputArray img, Size size); @param image Source chessboard view. It must be an 8-bit grayscale or color image. @param patternSize Number of inner corners per a chessboard row and column -( patternSize = cv::Size(points_per_row,points_per_colum) = cv::Size(columns,rows) ). +( patternSize = cv::Size(points_per_row,points_per_column) = cv::Size(columns,rows) ). @param corners Output array of detected corners. @param flags Various operation flags that can be zero or a combination of the following values: - @ref CALIB_CB_NORMALIZE_IMAGE Normalize the image gamma with equalizeHist before detection. @@ -1564,7 +1564,7 @@ typedef CirclesGridFinderParameters CirclesGridFinderParameters2; @param image grid view of input circles; it must be an 8-bit grayscale or color image. @param patternSize number of circles per row and column -( patternSize = Size(points_per_row, points_per_colum) ). +( patternSize = Size(points_per_row, points_per_column) ). @param centers output array of detected centers. @param flags various operation flags that can be one of the following values: - @ref CALIB_CB_SYMMETRIC_GRID uses symmetric pattern of circles. diff --git a/modules/dnn/src/cuda4dnn/csl/cublas.hpp b/modules/dnn/src/cuda4dnn/csl/cublas.hpp index 65e41a1399..b9f689893a 100644 --- a/modules/dnn/src/cuda4dnn/csl/cublas.hpp +++ b/modules/dnn/src/cuda4dnn/csl/cublas.hpp @@ -155,7 +155,7 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { namespace cu std::shared_ptr handle; }; - /** @brief GEMM for colummn-major matrices + /** @brief GEMM for column-major matrices * * \f$ C = \alpha AB + \beta C \f$ * @@ -248,7 +248,7 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { namespace cu ); } - /** @brief Strided batched GEMM for colummn-major matrices + /** @brief Strided batched GEMM for column-major matrices * * \f$ C_i = \alpha A_i B_i + \beta C_i \f$ for a stack of matrices A, B and C indexed by i * @@ -364,7 +364,7 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { namespace cu ); } - /** @brief Strided batched GEMM for colummn-major matrices + /** @brief Strided batched GEMM for column-major matrices * * \f$ C_i = \alpha A_i B_i + \beta C_i \f$ for a stack of matrices A, B and C indexed by i * diff --git a/modules/dnn/src/layers/slice_layer.cpp b/modules/dnn/src/layers/slice_layer.cpp index 751dd59ed4..6f6046da3d 100644 --- a/modules/dnn/src/layers/slice_layer.cpp +++ b/modules/dnn/src/layers/slice_layer.cpp @@ -87,7 +87,7 @@ Range normalizeRange(const Range& input_range, int n) } // TODO: support cv::Range with steps and negative steps to get rid of this transformation -void tranformForNegSteps(const MatShape& inpShape, std::vector >& sliceRanges, std::vector >& sliceSteps) +void transformForNegSteps(const MatShape& inpShape, std::vector >& sliceRanges, std::vector >& sliceSteps) { // in case of negative steps, // x of shape [5, 10], x[5:0:-1, 10:1:-3] <=> np.flip(x[1:5:1, 2:10:3], aixs=(0, 1)) @@ -248,7 +248,7 @@ public: std::vector > sliceSteps_ = sliceSteps; std::vector > sliceRanges_ = sliceRanges; if (hasSteps && !neg_step_dims.empty()) - tranformForNegSteps(inpShape, sliceRanges_, sliceSteps_); + transformForNegSteps(inpShape, sliceRanges_, sliceSteps_); int axis_rw = axis; std::vector > sliceRanges_rw = finalizeSliceRange(inpShape, axis_rw, sliceRanges_); @@ -300,7 +300,7 @@ public: MatShape inpShape = shape(inputs[0]); if (hasSteps && !neg_step_dims.empty()) - tranformForNegSteps(inpShape, sliceRanges, sliceSteps); + transformForNegSteps(inpShape, sliceRanges, sliceSteps); finalSliceRanges = finalizeSliceRange(shape(inputs[0]), axis, sliceRanges); diff --git a/modules/features2d/src/sift.dispatch.cpp b/modules/features2d/src/sift.dispatch.cpp index 92d85ca86e..3f4a7ceb41 100644 --- a/modules/features2d/src/sift.dispatch.cpp +++ b/modules/features2d/src/sift.dispatch.cpp @@ -18,7 +18,7 @@ // software: "Method and apparatus for identifying scale invariant features // in an image and use of same for locating an object in an image," David // G. Lowe, US Patent 6,711,293 (March 23, 2004). Provisional application -// filed March 8, 1999. Asignee: The University of British Columbia. For +// filed March 8, 1999. Assignee: The University of British Columbia. For // further details, contact David Lowe (lowe@cs.ubc.ca) or the // University-Industry Liaison Office of the University of British // Columbia. diff --git a/modules/features2d/src/sift.simd.hpp b/modules/features2d/src/sift.simd.hpp index b6c44853cf..d4e13d2478 100644 --- a/modules/features2d/src/sift.simd.hpp +++ b/modules/features2d/src/sift.simd.hpp @@ -18,7 +18,7 @@ // software: "Method and apparatus for identifying scale invariant features // in an image and use of same for locating an object in an image," David // G. Lowe, US Patent 6,711,293 (March 23, 2004). Provisional application -// filed March 8, 1999. Asignee: The University of British Columbia. For +// filed March 8, 1999. Assignee: The University of British Columbia. For // further details, contact David Lowe (lowe@cs.ubc.ca) or the // University-Industry Liaison Office of the University of British // Columbia. diff --git a/modules/gapi/test/infer/gapi_infer_ie_test.cpp b/modules/gapi/test/infer/gapi_infer_ie_test.cpp index 26241c1185..495f15e921 100644 --- a/modules/gapi/test/infer/gapi_infer_ie_test.cpp +++ b/modules/gapi/test/infer/gapi_infer_ie_test.cpp @@ -3174,7 +3174,7 @@ TEST_F(AgeGenderInferTest, ChangeOutputPrecision) { validate(); } -TEST_F(AgeGenderInferTest, ChangeSpecificOutputPrecison) { +TEST_F(AgeGenderInferTest, ChangeSpecificOutputPrecision) { auto pp = cv::gapi::ie::Params { m_params.model_path, m_params.weights_path, m_params.device_id }.cfgOutputLayers({ "age_conv3", "prob" }) diff --git a/modules/objdetect/include/opencv2/objdetect/face.hpp b/modules/objdetect/include/opencv2/objdetect/face.hpp index 566204f7f9..df6539fa62 100644 --- a/modules/objdetect/include/opencv2/objdetect/face.hpp +++ b/modules/objdetect/include/opencv2/objdetect/face.hpp @@ -74,7 +74,7 @@ public: /** @brief Creates an instance of face detector class with given parameters * * @param model the path to the requested model - * @param config the path to the config file for compability, which is not requested for ONNX models + * @param config the path to the config file for compatibility, which is not requested for ONNX models * @param input_size the size of the input image * @param score_threshold the threshold to filter out bounding boxes of score smaller than the given value * @param nms_threshold the threshold to suppress bounding boxes of IoU bigger than the given value @@ -150,7 +150,7 @@ public: /** @brief Creates an instance of this class with given parameters * @param model the path of the onnx model used for face recognition - * @param config the path to the config file for compability, which is not requested for ONNX models + * @param config the path to the config file for compatibility, which is not requested for ONNX models * @param backend_id the id of backend * @param target_id the id of target device */ diff --git a/modules/objdetect/src/aruco/aruco_detector.cpp b/modules/objdetect/src/aruco/aruco_detector.cpp index 914580381b..48b9ead516 100644 --- a/modules/objdetect/src/aruco/aruco_detector.cpp +++ b/modules/objdetect/src/aruco/aruco_detector.cpp @@ -905,7 +905,7 @@ struct ArucoDetector::ArucoDetectorImpl { // only CORNER_REFINE_SUBPIX implement correctly for useAruco3Detection // Todo: update other CORNER_REFINE methods - // scale to orignal size, this however will lead to inaccurate detections! + // scale to original size, this however will lead to inaccurate detections! for (auto &vecPoints : candidates) for (auto &point : vecPoints) point *= 1.f/fxfy;