Fix some typos in platforms/, samples/, 3rdparty/.
authorYulv-git <yulvchi@qq.com>
Sat, 30 Apr 2022 05:37:15 +0000 (13:37 +0800)
committerAlexander Smorkalov <alexander.smorkalov@xperience.ai>
Wed, 7 Sep 2022 13:09:23 +0000 (16:09 +0300)
platforms/android/android.toolchain.cmake
samples/cpp/tutorial_code/video/meanshift/camshift.cpp
samples/cpp/tutorial_code/video/meanshift/meanshift.cpp
samples/java/tutorial_code/video/meanshift/CamshiftDemo.java
samples/java/tutorial_code/video/meanshift/MeanshiftDemo.java
samples/winrt/ImageManipulations/MainPage.xaml.cpp

index 50b342c..cc9ded5 100644 (file)
@@ -399,7 +399,7 @@ if( NOT ANDROID_NDK )
  __INIT_VARIABLE( ANDROID_STANDALONE_TOOLCHAIN PATH ENV_ANDROID_STANDALONE_TOOLCHAIN )
 
  if( NOT ANDROID_STANDALONE_TOOLCHAIN )
-  #try to find Android NDK in one of the the default locations
+  #try to find Android NDK in one of the default locations
   set( __ndkSearchPaths )
   foreach( __ndkSearchPath ${ANDROID_NDK_SEARCH_PATHS} )
    foreach( suffix ${ANDROID_SUPPORTED_NDK_VERSIONS} )
@@ -413,7 +413,7 @@ if( NOT ANDROID_NDK )
    message( STATUS "Using default path for Android NDK: ${ANDROID_NDK}" )
    message( STATUS "  If you prefer to use a different location, please define a cmake or environment variable: ANDROID_NDK" )
   else()
-   #try to find Android standalone toolchain in one of the the default locations
+   #try to find Android standalone toolchain in one of the default locations
    __INIT_VARIABLE( ANDROID_STANDALONE_TOOLCHAIN PATH ANDROID_STANDALONE_TOOLCHAIN_SEARCH_PATH )
 
    if( ANDROID_STANDALONE_TOOLCHAIN )
index 13965e6..4f5d796 100644 (file)
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
     calcHist(&hsv_roi, 1, channels, mask, roi_hist, 1, histSize, range);
     normalize(roi_hist, roi_hist, 0, 255, NORM_MINMAX);
 
-    // Setup the termination criteria, either 10 iteration or move by atleast 1 pt
+    // Setup the termination criteria, either 10 iteration or move by at least 1 pt
     TermCriteria term_crit(TermCriteria::EPS | TermCriteria::COUNT, 10, 1);
 
     while(true){
index 0e16442..e812cb5 100644 (file)
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
     calcHist(&hsv_roi, 1, channels, mask, roi_hist, 1, histSize, range);
     normalize(roi_hist, roi_hist, 0, 255, NORM_MINMAX);
 
-    // Setup the termination criteria, either 10 iteration or move by atleast 1 pt
+    // Setup the termination criteria, either 10 iteration or move by at least 1 pt
     TermCriteria term_crit(TermCriteria::EPS | TermCriteria::COUNT, 10, 1);
 
     while(true){
index 6717446..701851a 100644 (file)
@@ -35,7 +35,7 @@ class Camshift {
         Imgproc.calcHist(Arrays.asList(hsv_roi), channels, mask, roi_hist, histSize, range);
         Core.normalize(roi_hist, roi_hist, 0, 255, Core.NORM_MINMAX);
 
-        // Setup the termination criteria, either 10 iteration or move by atleast 1 pt
+        // Setup the termination criteria, either 10 iteration or move by at least 1 pt
         TermCriteria term_crit = new TermCriteria(TermCriteria.EPS | TermCriteria.COUNT, 10, 1);
 
         while (true) {
index 5fbdd0e..f07adb5 100644 (file)
@@ -34,7 +34,7 @@ class Meanshift {
         Imgproc.calcHist(Arrays.asList(hsv_roi), channels, mask, roi_hist, histSize, range);
         Core.normalize(roi_hist, roi_hist, 0, 255, Core.NORM_MINMAX);
 
-        // Setup the termination criteria, either 10 iteration or move by atleast 1 pt
+        // Setup the termination criteria, either 10 iteration or move by at least 1 pt
         TermCriteria term_crit = new TermCriteria(TermCriteria.EPS | TermCriteria.COUNT, 10, 1);
 
         while (true) {
index bd897fc..73febc2 100644 (file)
@@ -91,7 +91,7 @@ void MainPage::InvalidateSize()
         // We have different widths to use depending on the view state
         if (ApplicationView::Value != ApplicationViewState::Snapped)
         {
-            // Make us as big as the the left over space, factoring in the ListBox width, the ListBox margins.
+            // Make us as big as the left over space, factoring in the ListBox width, the ListBox margins.
             // and the LayoutRoot's margins
             InputSection->Width = ((availableWidth) -
                 (layoutRootMarginLeft + layoutRootMarginRight + listBoxMarginLeft + listBoxMarginRight));