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 50b342c7a684337a585409ab72932502c93400bb..cc9ded5f62f8fc3eefc047e265a3363c3686afd5 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 13965e623feddebdc9a32aa60a50ddcc750f3d7b..4f5d796072ec575ec3bed8cc04f7718fbceabe59 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 0e16442c6dafeb004096def0efec1a13a8adb929..e812cb5db41de1f3517b76be814a7b185bb20b49 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 6717446a7fd3255062021abec12b1e48c8d8f2a7..701851aaa76cfbc5100d500443f22a3a23f66e28 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 5fbdd0efff886840e1690371e794c4c24014f0f4..f07adb5bcbb81d80b469dca24f6e2d4eef771083 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 bd897fcc0bff6d94e29f59d7f2dad6055dffac9e..73febc241c5ca0dee7d1e486beff762019a008d7 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));