mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Merge pull request #28301 from raimbekovm:fix-more-typos
docs: fix spelling errors in documentation and code #28301 - [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 - [ ] The feature is well documented and sample code can be built with the project CMake ### Description Fixed multiple spelling errors across documentation, comments, and code: - 'colummn' → 'column' (cublas.hpp, 3 occurrences) - 'points_per_colum' → 'points_per_column' (calib3d.hpp, 3 occurrences) - 'Asignee' → 'Assignee' (sift files, 2 occurrences) - 'compability' → 'compatibility' (face.hpp, 2 occurrences) - 'orignal' → 'original' (aruco_detector.cpp) - 'refrence' → 'reference' (chessboard.cpp) - 'indeces' → 'indices' (stitching.hpp) - 'OutputPrecison' → 'OutputPrecision' (test) - 'tranform' → 'transform' (slice_layer.cpp, 3 occurrences) Total: 24 fixes across 14 files. Documentation and comment changes only, no functional impact.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace cv { namespace dnn { namespace cuda4dnn { namespace csl { namespace cu
|
||||
std::shared_ptr<UniqueHandle> 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
|
||||
*
|
||||
|
||||
@@ -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<std::vector<Range> >& sliceRanges, std::vector<std::vector<int> >& sliceSteps)
|
||||
void transformForNegSteps(const MatShape& inpShape, std::vector<std::vector<Range> >& sliceRanges, std::vector<std::vector<int> >& 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<std::vector<int> > sliceSteps_ = sliceSteps;
|
||||
std::vector<std::vector<cv::Range> > sliceRanges_ = sliceRanges;
|
||||
if (hasSteps && !neg_step_dims.empty())
|
||||
tranformForNegSteps(inpShape, sliceRanges_, sliceSteps_);
|
||||
transformForNegSteps(inpShape, sliceRanges_, sliceSteps_);
|
||||
|
||||
int axis_rw = axis;
|
||||
std::vector<std::vector<cv::Range> > 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);
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -3174,7 +3174,7 @@ TEST_F(AgeGenderInferTest, ChangeOutputPrecision) {
|
||||
validate();
|
||||
}
|
||||
|
||||
TEST_F(AgeGenderInferTest, ChangeSpecificOutputPrecison) {
|
||||
TEST_F(AgeGenderInferTest, ChangeSpecificOutputPrecision) {
|
||||
auto pp = cv::gapi::ie::Params<AgeGender> {
|
||||
m_params.model_path, m_params.weights_path, m_params.device_id
|
||||
}.cfgOutputLayers({ "age_conv3", "prob" })
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user