Skip to content

Commit c14a8dc

Browse files
committed
Merge pull request opencv#21131 from cclauss:codespell
2 parents f5d4522 + ebe4ca6 commit c14a8dc

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

doc/js_tutorials/js_assets/js_camshift.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h2>CamShift Example</h2>
7777
// delete useless mats.
7878
roi.delete(); hsvRoi.delete(); mask.delete(); low.delete(); high.delete(); hsvRoiVec.delete();
7979

80-
// Setup the termination criteria, either 10 iteration or move by atleast 1 pt
80+
// Setup the termination criteria, either 10 iteration or move by at least 1 pt
8181
let termCrit = new cv.TermCriteria(cv.TERM_CRITERIA_EPS | cv.TERM_CRITERIA_COUNT, 10, 1);
8282

8383
let hsv = new cv.Mat(video.height, video.width, cv.CV_8UC3);

doc/js_tutorials/js_assets/js_meanshift.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h2>MeanShift Example</h2>
7777
// delete useless mats.
7878
roi.delete(); hsvRoi.delete(); mask.delete(); low.delete(); high.delete(); hsvRoiVec.delete();
7979

80-
// Setup the termination criteria, either 10 iteration or move by atleast 1 pt
80+
// Setup the termination criteria, either 10 iteration or move by at least 1 pt
8181
let termCrit = new cv.TermCriteria(cv.TERM_CRITERIA_EPS | cv.TERM_CRITERIA_COUNT, 10, 1);
8282

8383
let hsv = new cv.Mat(video.height, video.width, cv.CV_8UC3);

modules/highgui/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if(HAVE_QT)
5555
QT5_ADD_RESOURCES(_RCC_OUTFILES ${CMAKE_CURRENT_LIST_DIR}/src/window_QT.qrc)
5656
QT5_WRAP_CPP(_MOC_OUTFILES ${CMAKE_CURRENT_LIST_DIR}/src/window_QT.h)
5757
else()
58-
message(FATAL_ERROR "Unsuported QT version: ${QT_VERSION_MAJOR}")
58+
message(FATAL_ERROR "Unsupported QT version: ${QT_VERSION_MAJOR}")
5959
endif()
6060

6161
list(APPEND highgui_srcs

modules/js/generator/embindgen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def gen_function_binding_with_wrapper(self, func, ns_name, class_info):
484484
arg_types.append(arg_type)
485485
unwrapped_arg_types.append(arg_type)
486486

487-
# Function attribure
487+
# Function attribute
488488
func_attribs = ''
489489
if '*' in ''.join(arg_types):
490490
func_attribs += ', allow_raw_pointers()'
@@ -679,7 +679,7 @@ def gen_function_binding(self, func, class_info):
679679
def_args.append(arg.defval)
680680
arg_types.append(orig_arg_types[-1])
681681

682-
# Function attribure
682+
# Function attribute
683683
func_attribs = ''
684684
if '*' in ''.join(orig_arg_types):
685685
func_attribs += ', allow_raw_pointers()'

modules/ts/misc/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
path = args.build_path
106106
try:
107107
if not os.path.isdir(path):
108-
raise Err("Not a directory (should contain CMakeCache.txt ot test executables)")
108+
raise Err("Not a directory (should contain CMakeCache.txt to test executables)")
109109
cache = CMakeCache(args.configuration)
110110
fname = os.path.join(path, "CMakeCache.txt")
111111

platforms/winpack_dldt/build_package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __init__(self, config):
163163
self.config = config
164164

165165
cpath = self.config.dldt_config
166-
log.info('DLDT build configration: %s', cpath)
166+
log.info('DLDT build configuration: %s', cpath)
167167
if not os.path.exists(cpath):
168168
cpath = os.path.join(SCRIPT_DIR, cpath)
169169
if not os.path.exists(cpath):
@@ -573,5 +573,5 @@ def main():
573573
try:
574574
main()
575575
except:
576-
log.info('FATAL: Error occured. To investigate problem try to change logging level using LOGLEVEL=DEBUG environment variable.')
576+
log.info('FATAL: Error occurred. To investigate problem try to change logging level using LOGLEVEL=DEBUG environment variable.')
577577
raise

samples/dnn/dasiamrpn_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def main():
226226
mark = True
227227
drawing = False
228228
cx, cy, w, h = 0.0, 0.0, 0, 0
229-
# Fucntion for drawing during videostream
229+
# Function for drawing during videostream
230230
def get_bb(event, x, y, flag, param):
231231
nonlocal point1, point2, cx, cy, w, h, drawing, mark
232232

samples/dnn/siamrpnpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def sz(w, h):
300300
# clip boundary
301301
cx, cy, width, height = self._bbox_clip(cx, cy, width, height, img.shape[:2])
302302

303-
# udpate state
303+
# update state
304304
self.center_pos = np.array([cx, cy])
305305
self.w = width
306306
self.h = height

samples/python/tutorial_code/video/meanshift/camshift.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
roi_hist = cv.calcHist([hsv_roi],[0],mask,[180],[0,180])
2525
cv.normalize(roi_hist,roi_hist,0,255,cv.NORM_MINMAX)
2626

27-
# Setup the termination criteria, either 10 iteration or move by atleast 1 pt
27+
# Setup the termination criteria, either 10 iteration or move by at least 1 pt
2828
term_crit = ( cv.TERM_CRITERIA_EPS | cv.TERM_CRITERIA_COUNT, 10, 1 )
2929

3030
while(1):

samples/python/tutorial_code/video/meanshift/meanshift.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
roi_hist = cv.calcHist([hsv_roi],[0],mask,[180],[0,180])
2525
cv.normalize(roi_hist,roi_hist,0,255,cv.NORM_MINMAX)
2626

27-
# Setup the termination criteria, either 10 iteration or move by atleast 1 pt
27+
# Setup the termination criteria, either 10 iteration or move by at least 1 pt
2828
term_crit = ( cv.TERM_CRITERIA_EPS | cv.TERM_CRITERIA_COUNT, 10, 1 )
2929

3030
while(1):

0 commit comments

Comments
 (0)