1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +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:
Murat Raimbekov
2026-03-03 17:29:47 +06:00
committed by GitHub
parent 1099135b88
commit 91c78f5064
24 changed files with 54 additions and 44 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ void blobFromImagesNCHWImpl(const std::vector<Mat>& images, Mat& blob_, const Im
if (param.mean == Scalar() && param.scalefactor == Scalar::all(1.0))
return;
CV_CheckTypeEQ(param.ddepth, CV_32F, "Scaling and mean substraction is supported only for CV_32F blob depth");
CV_CheckTypeEQ(param.ddepth, CV_32F, "Scaling and mean subtraction is supported only for CV_32F blob depth");
for (size_t k = 0; k < images.size(); ++k)
{
+1 -1
View File
@@ -1179,7 +1179,7 @@ Mat LayerEinsumImpl::pairwiseOperandProcess(
shape(currentLeft),
reshaped_dims))
{
// This can be done because curent_* tensors (if they exist) and output tensors are
// This can be done because current_* tensors (if they exist) and output tensors are
// intermediate tensors and cannot be input tensors to the Einsum node itself
// (which are immutable).
currentLeft = currentLeft.reshape(1, reshaped_dims.size(), reshaped_dims.data());
+1 -1
View File
@@ -39,7 +39,7 @@ public:
else if (reduction_name == "min")
reduction = REDUCTION::MIN;
else
CV_Error(cv::Error::StsBadArg, "Unkown reduction \"" + reduction_name + "\"");
CV_Error(cv::Error::StsBadArg, "Unknown reduction \"" + reduction_name + "\"");
}
virtual bool supportBackend(int backendId) CV_OVERRIDE
+1 -1
View File
@@ -40,7 +40,7 @@ public:
else if (reduction_name == "min")
reduction = REDUCTION::MIN;
else
CV_Error(cv::Error::StsBadArg, "Unkown reduction \"" + reduction_name + "\"");
CV_Error(cv::Error::StsBadArg, "Unknown reduction \"" + reduction_name + "\"");
}
virtual bool supportBackend(int backendId) CV_OVERRIDE
+1 -1
View File
@@ -215,7 +215,7 @@ void CannNet::forward()
ACL_CHECK_RET(aclmdlExecute(model_id, inputs, outputs));
CV_LOG_DEBUG(NULL, "DNN/CANN: finished network forward");
// fetch ouputs from device to host
// fetch outputs from device to host
CV_LOG_DEBUG(NULL, "DNN/CANN: start fetching outputs to host");
for (size_t i = 0; i < output_wrappers.size(); ++i)
{
+3 -3
View File
@@ -535,7 +535,7 @@ TimVXBackendNode::TimVXBackendNode(const Ptr<TimVXGraph>& tvGraph_,
}
TimVXBackendNode::TimVXBackendNode(const Ptr<TimVXGraph>& tvGraph_, std::shared_ptr<tim::vx::Operation>& op_,
std::vector<int>& inputsIndex, std::vector<int>& outpusIndex)
std::vector<int>& inputsIndex, std::vector<int>& outputsIndex)
:BackendNode(DNN_BACKEND_TIMVX)
{
tvGraph = tvGraph_;
@@ -545,8 +545,8 @@ TimVXBackendNode::TimVXBackendNode(const Ptr<TimVXGraph>& tvGraph_, std::shared_
if (!inputsIndex.empty())
inputIndexList.assign(inputsIndex.begin(), inputsIndex.end());
if (!outpusIndex.empty())
outputIndexList.assign(outpusIndex.begin(), outpusIndex.end());
if (!outputsIndex.empty())
outputIndexList.assign(outputsIndex.begin(), outputsIndex.end());
}
bool TimVXBackendNode::opBinding()
+1 -1
View File
@@ -96,7 +96,7 @@ public:
TimVXBackendNode(const Ptr<TimVXGraph>& tvGraph);
TimVXBackendNode(const Ptr<TimVXGraph>& tvGraph, const std::shared_ptr<tim::vx::Operation>& op);
TimVXBackendNode(const Ptr<TimVXGraph>& tvGraph, std::shared_ptr<tim::vx::Operation>& op,
std::vector<int>& inputsIndex, std::vector<int>& outpusIndex);
std::vector<int>& inputsIndex, std::vector<int>& outputsIndex);
void setInputTensor();
bool opBinding();