Skip to content

Commit 413fba1

Browse files
committed
Some mist. typo fixes
Found via `codespell -i 3 -w --skip="./3rdparty" -I ../opencv-whitelist.txt`
1 parent f77f287 commit 413fba1

16 files changed

+36
-36
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ${ENABLE_PIC})
3434

3535
# Following block can break build in case of cross-compilng
3636
# but CMAKE_CROSSCOMPILING variable will be set only on project(OpenCV) command
37-
# so we will try to detect cross-compiling by presense of CMAKE_TOOLCHAIN_FILE
37+
# so we will try to detect cross-compiling by the presence of CMAKE_TOOLCHAIN_FILE
3838
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
3939
if(NOT CMAKE_TOOLCHAIN_FILE)
4040
# it _must_ go before project(OpenCV) in order to work

cmake/FindCUDA.cmake

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
# CUDA_NVCC_FLAGS_<CONFIG> variables. For Visual Studio targets,
8383
# the host compiler is constructed with one or more visual studio macros
8484
# such as $(VCInstallDir), that expands out to the path when
85-
# the command is run from withing VS.
85+
# the command is run from within VS.
8686
#
8787
# CUDA_NVCC_FLAGS
8888
# CUDA_NVCC_FLAGS_<CONFIG>
@@ -204,7 +204,7 @@
204204
# The arguments passed in after OPTIONS are extra command line options to
205205
# give to nvcc. You can also specify per configuration options by
206206
# specifying the name of the configuration followed by the options. General
207-
# options must preceed configuration specific options. Not all
207+
# options must precede configuration specific options. Not all
208208
# configurations need to be specified, only the ones provided will be used.
209209
#
210210
# OPTIONS -DFLAG=2 "-DFLAG_OTHER=space in flag"
@@ -271,7 +271,7 @@
271271
# implementation (alternative to:
272272
# CUDA_ADD_CUFFT_TO_TARGET macro)
273273
# CUDA_CUBLAS_LIBRARIES -- Device or emulation library for the Cuda BLAS
274-
# implementation (alterative to:
274+
# implementation (alternative to:
275275
# CUDA_ADD_CUBLAS_TO_TARGET macro).
276276
# CUDA_cupti_LIBRARY -- CUDA Profiling Tools Interface library.
277277
# Only available for CUDA version 4.0+.
@@ -493,7 +493,7 @@ mark_as_advanced(
493493
# Makefile and similar generators don't define CMAKE_CONFIGURATION_TYPES, so we
494494
# need to add another entry for the CMAKE_BUILD_TYPE. We also need to add the
495495
# standerd set of 4 build types (Debug, MinSizeRel, Release, and RelWithDebInfo)
496-
# for completeness. We need run this loop in order to accomodate the addition
496+
# for completeness. We need run this loop in order to accommodate the addition
497497
# of extra configuration types. Duplicate entries will be removed by
498498
# REMOVE_DUPLICATES.
499499
set(CUDA_configuration_types ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE} Debug MinSizeRel Release RelWithDebInfo)

cmake/FindCUDA/run_nvcc.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ if(CUDA_VERSION VERSION_LESS "3.0")
167167
# CMake policy 0007 NEW states that empty list elements are not
168168
# ignored. I'm just setting it to avoid the warning that's printed.
169169
cmake_policy(SET CMP0007 NEW)
170-
# Note that this will remove all occurances of -G.
170+
# Note that this will remove all occurrences of -G.
171171
list(REMOVE_ITEM depends_CUDA_NVCC_FLAGS "-G")
172172
cmake_policy(POP)
173173
endif()
174174

175175
# nvcc doesn't define __CUDACC__ for some reason when generating dependency files. This
176176
# can cause incorrect dependencies when #including files based on this macro which is
177-
# defined in the generating passes of nvcc invokation. We will go ahead and manually
177+
# defined in the generating passes of nvcc invocation. We will go ahead and manually
178178
# define this for now until a future version fixes this bug.
179179
set(CUDACC_DEFINE -D__CUDACC__)
180180

cmake/OpenCVCompilerOptions.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
134134
endif()
135135
add_extra_compiler_option(-fdiagnostics-show-option)
136136

137-
# The -Wno-long-long is required in 64bit systems when including sytem headers.
137+
# The -Wno-long-long is required in 64bit systems when including system headers.
138138
if(X86_64)
139139
add_extra_compiler_option(-Wno-long-long)
140140
endif()

cmake/OpenCVDetectCXXCompiler.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if(NOT DEFINED OpenCV_STATIC)
9696
endif()
9797

9898
if(DEFINED OpenCV_ARCH AND DEFINED OpenCV_RUNTIME)
99-
# custom overrided values
99+
# custom overridden values
100100
elseif(MSVC)
101101
if(CMAKE_CL_64)
102102
set(OpenCV_ARCH x64)

cmake/OpenCVDetectVTK.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if(NOT VTK_FOUND)
1919
return()
2020
endif()
2121

22-
# Don't support ealier VTKs
22+
# Don't support earlier VTKs
2323
if(${VTK_VERSION} VERSION_LESS "5.8.0")
2424
message(STATUS "VTK support is disabled. VTK ver. 5.8.0 is minimum required, but found VTK ver. ${VTK_VERSION}")
2525
return()

cmake/OpenCVModule.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ unset(OPENCV_WORLD_MODULES CACHE)
7878
# Usage:
7979
# add_dependencies(opencv_<name> [REQUIRED] [<list of dependencies>] [OPTIONAL <list of modules>] [WRAP <list of wrappers>])
8080
# Notes:
81-
# * <list of dependencies> - can include full names of modules or full pathes to shared/static libraries or cmake targets
81+
# * <list of dependencies> - can include full names of modules or full paths to shared/static libraries or cmake targets
8282
macro(ocv_add_dependencies full_modname)
8383
ocv_debug_message("ocv_add_dependencies(" ${full_modname} ${ARGN} ")")
8484
#we don't clean the dependencies here to allow this macro several times for every module
@@ -138,7 +138,7 @@ macro(ocv_add_module _name)
138138

139139
# the first pass - collect modules info, the second pass - create targets
140140
if(OPENCV_INITIAL_PASS)
141-
#guard agains redefinition
141+
#guard against redefinition
142142
if(";${OPENCV_MODULES_BUILD};${OPENCV_MODULES_DISABLED_USER};" MATCHES ";${the_module};")
143143
message(FATAL_ERROR "Redefinition of the ${the_module} module.
144144
at: ${CMAKE_CURRENT_SOURCE_DIR}
@@ -407,7 +407,7 @@ function(__ocv_sort_modules_by_deps __lst)
407407
break()
408408
endif()
409409
endforeach()
410-
# chek if all dependencies for this module has been resolved
410+
# check if all dependencies for this module has been resolved
411411
if (NOT unresolved_deps_found)
412412
list(APPEND result ${m})
413413
list(REMOVE_ITEM input ${m})

cmake/OpenCVPCHSupport.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ ENDMACRO(ADD_PRECOMPILED_HEADER)
319319

320320

321321
# Generates the use of precompiled in a target,
322-
# without using depency targets (2 extra for each target)
322+
# without using dependency targets (2 extra for each target)
323323
# Using Visual, must also add ${_targetName}_pch to sources
324324
# Not needed by Xcode
325325

@@ -346,7 +346,7 @@ MACRO(ADD_NATIVE_PRECOMPILED_HEADER _targetName _input)
346346

347347
# Auto include the precompile (useful for moc processing, since the use of
348348
# precompiled is specified at the target level
349-
# and I don't want to specifiy /F- for each moc/res/ui generated files (using Qt)
349+
# and I don't want to specify /F- for each moc/res/ui generated files (using Qt)
350350

351351
get_target_property(_sources ${_targetName} SOURCES)
352352
foreach(src ${_sources})
@@ -392,7 +392,7 @@ MACRO(ADD_NATIVE_PRECOMPILED_HEADER _targetName _input)
392392

393393
else()
394394

395-
#Fallback to the "old" precompiled suppport
395+
#Fallback to the "old" precompiled support
396396
#ADD_PRECOMPILED_HEADER(${_targetName} ${_input} ${_dowarn})
397397

398398
endif()

cmake/templates/OpenCVConfig.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ set(OpenCV_CONFIG_PATH "${CMAKE_CURRENT_LIST_DIR}")
8080
get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/@OpenCV_INSTALL_PATH_RELATIVE_CONFIGCMAKE@" REALPATH)
8181

8282
# Search packages for host system instead of packages for target system.
83-
# in case of cross compilation thess macro should be defined by toolchain file
83+
# in case of cross compilation this macro should be defined by toolchain file
8484
if(NOT COMMAND find_host_package)
8585
macro(find_host_package)
8686
find_package(${ARGN})

cmake/templates/OpenCVConfig.root-WIN32.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if(NOT DEFINED OpenCV_CUDA)
5858
endif()
5959

6060
if(DEFINED OpenCV_ARCH AND DEFINED OpenCV_RUNTIME)
61-
# custom overrided values
61+
# custom overridden values
6262
elseif(MSVC)
6363
if(CMAKE_CL_64)
6464
set(OpenCV_ARCH x64)

data/haarcascades/haarcascade_fullbody.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ www.vision.ethz.ch/kruppa/
118118
119119
KNOWN LIMITATIONS
120120
==================
121-
1) the detectors only support frontal and back views but not sideviews.
121+
1) The detectors only support frontal and back views but not sideviews.
122122
Sideviews are trickier and it makes a lot of sense to include additional
123123
modalities for their detection, e.g. motion information. I recommend
124124
Viola and Jones' ICCV 2003 paper if this further interests you.
125125
126-
2) dont expect these detectors to be as accurate as a frontal face detector.
126+
2) Don't expect these detectors to be as accurate as a frontal face detector.
127127
A frontal face as a pattern is pretty distinct with respect to other
128-
patterns occuring in the world (i.e. image "background"). This is not so
128+
patterns occurring in the world (i.e. image "background"). This is not so
129129
for upper, lower and especially full bodies, because they have to rely
130130
on fragile silhouette information rather than internal (facial) features.
131131
Still, we found especially the upper body detector to perform amazingly well.

data/haarcascades/haarcascade_lowerbody.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ www.vision.ethz.ch/kruppa/
118118
119119
KNOWN LIMITATIONS
120120
==================
121-
1) the detectors only support frontal and back views but not sideviews.
121+
1) The detectors only support frontal and back views but not sideviews.
122122
Sideviews are trickier and it makes a lot of sense to include additional
123123
modalities for their detection, e.g. motion information. I recommend
124124
Viola and Jones' ICCV 2003 paper if this further interests you.
125125
126-
2) dont expect these detectors to be as accurate as a frontal face detector.
126+
2) Don't expect these detectors to be as accurate as a frontal face detector.
127127
A frontal face as a pattern is pretty distinct with respect to other
128-
patterns occuring in the world (i.e. image "background"). This is not so
128+
patterns occurring in the world (i.e. image "background"). This is not so
129129
for upper, lower and especially full bodies, because they have to rely
130130
on fragile silhouette information rather than internal (facial) features.
131131
Still, we found especially the upper body detector to perform amazingly well.

data/haarcascades/haarcascade_upperbody.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ www.vision.ethz.ch/kruppa/
118118

119119
KNOWN LIMITATIONS
120120
==================
121-
1) the detectors only support frontal and back views but not sideviews.
121+
1) The detectors only support frontal and back views but not sideviews.
122122
Sideviews are trickier and it makes a lot of sense to include additional
123123
modalities for their detection, e.g. motion information. I recommend
124124
Viola and Jones' ICCV 2003 paper if this further interests you.
125125

126-
2) dont expect these detectors to be as accurate as a frontal face detector.
126+
2) Don't expect these detectors to be as accurate as a frontal face detector.
127127
A frontal face as a pattern is pretty distinct with respect to other
128-
patterns occuring in the world (i.e. image "background"). This is not so
128+
patterns occurring in the world (i.e. image "background"). This is not so
129129
for upper, lower and especially full bodies, because they have to rely
130130
on fragile silhouette information rather than internal (facial) features.
131131
Still, we found especially the upper body detector to perform amazingly well.

data/haarcascades_cuda/haarcascade_fullbody.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ www.vision.ethz.ch/kruppa/
118118

119119
KNOWN LIMITATIONS
120120
==================
121-
1) the detectors only support frontal and back views but not sideviews.
121+
1) The detectors only support frontal and back views but not sideviews.
122122
Sideviews are trickier and it makes a lot of sense to include additional
123123
modalities for their detection, e.g. motion information. I recommend
124124
Viola and Jones' ICCV 2003 paper if this further interests you.
125125

126-
2) dont expect these detectors to be as accurate as a frontal face detector.
126+
2) Don't expect these detectors to be as accurate as a frontal face detector.
127127
A frontal face as a pattern is pretty distinct with respect to other
128-
patterns occuring in the world (i.e. image "background"). This is not so
128+
patterns occurring in the world (i.e. image "background"). This is not so
129129
for upper, lower and especially full bodies, because they have to rely
130130
on fragile silhouette information rather than internal (facial) features.
131131
Still, we found especially the upper body detector to perform amazingly well.

data/haarcascades_cuda/haarcascade_lowerbody.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ www.vision.ethz.ch/kruppa/
118118

119119
KNOWN LIMITATIONS
120120
=================
121-
1) the detectors only support frontal and back views but not sideviews.
121+
1) The detectors only support frontal and back views but not sideviews.
122122
Sideviews are trickier and it makes a lot of sense to include additional
123123
modalities for their detection, e.g. motion information. I recommend
124124
Viola and Jones' ICCV 2003 paper if this further interests you.
125125

126-
2) dont expect these detectors to be as accurate as a frontal face detector.
126+
2) Don't expect these detectors to be as accurate as a frontal face detector.
127127
A frontal face as a pattern is pretty distinct with respect to other
128-
patterns occuring in the world (i.e. image "background"). This is not so
128+
patterns occurring in the world (i.e. image "background"). This is not so
129129
for upper, lower and especially full bodies, because they have to rely
130130
on fragile silhouette information rather than internal (facial) features.
131131
Still, we found especially the upper body detector to perform amazingly well.

data/haarcascades_cuda/haarcascade_upperbody.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ www.vision.ethz.ch/kruppa/
118118

119119
KNOWN LIMITATIONS
120120
==================
121-
1) the detectors only support frontal and back views but not sideviews.
121+
1) The detectors only support frontal and back views but not sideviews.
122122
Sideviews are trickier and it makes a lot of sense to include additional
123123
modalities for their detection, e.g. motion information. I recommend
124124
Viola and Jones' ICCV 2003 paper if this further interests you.
125125

126-
2) dont expect these detectors to be as accurate as a frontal face detector.
126+
2) Don't expect these detectors to be as accurate as a frontal face detector.
127127
A frontal face as a pattern is pretty distinct with respect to other
128-
patterns occuring in the world (i.e. image "background"). This is not so
128+
patterns occurring in the world (i.e. image "background"). This is not so
129129
for upper, lower and especially full bodies, because they have to rely
130130
on fragile silhouette information rather than internal (facial) features.
131131
Still, we found especially the upper body detector to perform amazingly well.

0 commit comments

Comments
 (0)