1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #28317 from raimbekovm:fix-typos-batch7

docs: fix typos in documentation and code comments
This commit is contained in:
Alexander Smorkalov
2026-01-23 11:29:02 +03:00
committed by GitHub
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 {