Skip to content

Commit 4bbe674

Browse files
committed
fix some typos in the documentation.
1 parent 87c27a0 commit 4bbe674

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ else()
2929
cmake_minimum_required(VERSION "${MIN_VER_CMAKE}" FATAL_ERROR)
3030
endif()
3131

32-
# Following block can broke build in case of cross-compilng
32+
# Following block can break build in case of cross-compilng
3333
# but CMAKE_CROSSCOMPILING variable will be set only on project(OpenCV) command
34-
# so we will try to detect crosscompiling by presense of CMAKE_TOOLCHAIN_FILE
34+
# so we will try to detect cross-compiling by presense of CMAKE_TOOLCHAIN_FILE
3535
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
3636
if(NOT CMAKE_TOOLCHAIN_FILE)
3737
# it _must_ go before project(OpenCV) in order to work
@@ -43,7 +43,7 @@ if(NOT DEFINED CMAKE_INSTALL_PREFIX)
4343
else(NOT CMAKE_TOOLCHAIN_FILE)
4444
#Android: set output folder to ${CMAKE_BINARY_DIR}
4545
set( LIBRARY_OUTPUT_PATH_ROOT ${CMAKE_BINARY_DIR} CACHE PATH "root for library output, set this to change where android libs are compiled to" )
46-
# any crosscompiling
46+
# any cross-compiling
4747
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Installation Directory")
4848
endif(NOT CMAKE_TOOLCHAIN_FILE)
4949
endif()
@@ -141,7 +141,7 @@ include(cmake/OpenCVDownload.cmake)
141141
# ----------------------------------------------------------------------------
142142
if(NOT CMAKE_SIZEOF_VOID_P GREATER 0)
143143
message(FATAL_ERROR "CMake fails to deterimine the bitness of target platform.
144-
Please check your CMake and compiler installation. If you are crosscompiling then ensure that your CMake toolchain file correctly sets the compiler details.")
144+
Please check your CMake and compiler installation. If you are cross-compiling then ensure that your CMake toolchain file correctly sets the compiler details.")
145145
endif()
146146

147147
# ----------------------------------------------------------------------------

modules/core/include/opencv2/core/persistence.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ XML/YAML/JSON file storages. {#xml_storage}
108108
Writing to a file storage.
109109
--------------------------
110110
You can store and then restore various OpenCV data structures to/from XML (<http://www.w3c.org/XML>),
111-
YAML (<http://www.yaml.org>) or JSON (<http://www.json.org/>) formats. Also, it is possible store
111+
YAML (<http://www.yaml.org>) or JSON (<http://www.json.org/>) formats. Also, it is possible to store
112112
and load arbitrarily complex data structures, which include OpenCV data structures, as well as
113113
primitive data types (integer and floating-point numbers and text strings) as their elements.
114114
@@ -155,7 +155,7 @@ Here is an example:
155155
return 0;
156156
}
157157
@endcode
158-
The sample above stores to XML and integer, text string (calibration date), 2 matrices, and a custom
158+
The sample above stores to YML an integer, a text string (calibration date), 2 matrices, and a custom
159159
structure "feature", which includes feature coordinates and LBP (local binary pattern) value. Here
160160
is output of the sample:
161161
@code{.yaml}

modules/imgproc/src/deriv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ void cv::Sobel( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy,
444444
if( scale != 1 )
445445
{
446446
// usually the smoothing part is the slowest to compute,
447-
// so try to scale it instead of the faster differenciating part
447+
// so try to scale it instead of the faster differentiating part
448448
if( dx == 0 )
449449
kx *= scale;
450450
else

0 commit comments

Comments
 (0)