1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

docs: fix typos in documentation and code comments

Fixed 19 typos across 15 files:
- properies → properties
- posible → possible (2×)
- indeces → indices
- matrixs → matrices (2×)
- grater → greater
- whith → with
- ouput → output
- choosen → chosen (4×)
- constains → contains
- refrence → reference
- dont → don't (4×)
- cant → can't
This commit is contained in:
raimbekovm
2025-12-26 23:42:51 +06:00
parent c1c893ff73
commit c058072d62
15 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -518,9 +518,9 @@ void CharucoBoardImpl::generateImage(Size outSize, OutputArray img, int marginSi
for(int x = 0; x < size.width; x++) {
if(legacyPattern && (size.height % 2 == 0)) { // legacy behavior only for even row count patterns
if((y + 1) % 2 != x % 2) continue; // white corner, dont do anything
if((y + 1) % 2 != x % 2) continue; // white corner, don't do anything
} else {
if(y % 2 != x % 2) continue; // white corner, dont do anything
if(y % 2 != x % 2) continue; // white corner, don't do anything
}
float startX = pixInSquare * float(x);
@@ -1399,7 +1399,7 @@ void ArucoDetector::refineDetectedMarkers(InputArray _image, const Board& _board
// last filter, check if inner code is close enough to the assigned marker code
int codeDistance = 0;
// if errorCorrectionRate, dont check code
// if errorCorrectionRate, don't check code
if(refineParams.errorCorrectionRate >= 0) {
// extract bits
@@ -117,7 +117,7 @@ struct CharucoDetector::CharucoDetectorImpl {
minDist = min(dist, minDist);
counter++;
}
// if this is the first closest marker, dont do anything
// if this is the first closest marker, don't do anything
if(counter == 0)
continue;
else {