Fix some typos in platforms/, samples/, 3rdparty/.

This commit is contained in:
Yulv-git 2022-04-30 13:37:15 +08:00 committed by Alexander Smorkalov
parent 039f3d01a0
commit 9074b3e980
6 changed files with 7 additions and 7 deletions

View File

@ -399,7 +399,7 @@ if( NOT ANDROID_NDK )
__INIT_VARIABLE( ANDROID_STANDALONE_TOOLCHAIN PATH ENV_ANDROID_STANDALONE_TOOLCHAIN ) __INIT_VARIABLE( ANDROID_STANDALONE_TOOLCHAIN PATH ENV_ANDROID_STANDALONE_TOOLCHAIN )
if( NOT 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 ) set( __ndkSearchPaths )
foreach( __ndkSearchPath ${ANDROID_NDK_SEARCH_PATHS} ) foreach( __ndkSearchPath ${ANDROID_NDK_SEARCH_PATHS} )
foreach( suffix ${ANDROID_SUPPORTED_NDK_VERSIONS} ) 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 "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" ) message( STATUS " If you prefer to use a different location, please define a cmake or environment variable: ANDROID_NDK" )
else() 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 ) __INIT_VARIABLE( ANDROID_STANDALONE_TOOLCHAIN PATH ANDROID_STANDALONE_TOOLCHAIN_SEARCH_PATH )
if( ANDROID_STANDALONE_TOOLCHAIN ) if( ANDROID_STANDALONE_TOOLCHAIN )

View File

@ -58,7 +58,7 @@ int main(int argc, char **argv)
calcHist(&hsv_roi, 1, channels, mask, roi_hist, 1, histSize, range); calcHist(&hsv_roi, 1, channels, mask, roi_hist, 1, histSize, range);
normalize(roi_hist, roi_hist, 0, 255, NORM_MINMAX); 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); TermCriteria term_crit(TermCriteria::EPS | TermCriteria::COUNT, 10, 1);
while(true){ while(true){

View File

@ -58,7 +58,7 @@ int main(int argc, char **argv)
calcHist(&hsv_roi, 1, channels, mask, roi_hist, 1, histSize, range); calcHist(&hsv_roi, 1, channels, mask, roi_hist, 1, histSize, range);
normalize(roi_hist, roi_hist, 0, 255, NORM_MINMAX); 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); TermCriteria term_crit(TermCriteria::EPS | TermCriteria::COUNT, 10, 1);
while(true){ while(true){

View File

@ -35,7 +35,7 @@ class Camshift {
Imgproc.calcHist(Arrays.asList(hsv_roi), channels, mask, roi_hist, histSize, range); Imgproc.calcHist(Arrays.asList(hsv_roi), channels, mask, roi_hist, histSize, range);
Core.normalize(roi_hist, roi_hist, 0, 255, Core.NORM_MINMAX); 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); TermCriteria term_crit = new TermCriteria(TermCriteria.EPS | TermCriteria.COUNT, 10, 1);
while (true) { while (true) {

View File

@ -34,7 +34,7 @@ class Meanshift {
Imgproc.calcHist(Arrays.asList(hsv_roi), channels, mask, roi_hist, histSize, range); Imgproc.calcHist(Arrays.asList(hsv_roi), channels, mask, roi_hist, histSize, range);
Core.normalize(roi_hist, roi_hist, 0, 255, Core.NORM_MINMAX); 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); TermCriteria term_crit = new TermCriteria(TermCriteria.EPS | TermCriteria.COUNT, 10, 1);
while (true) { while (true) {

View File

@ -91,7 +91,7 @@ void MainPage::InvalidateSize()
// We have different widths to use depending on the view state // We have different widths to use depending on the view state
if (ApplicationView::Value != ApplicationViewState::Snapped) 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 // and the LayoutRoot's margins
InputSection->Width = ((availableWidth) - InputSection->Width = ((availableWidth) -
(layoutRootMarginLeft + layoutRootMarginRight + listBoxMarginLeft + listBoxMarginRight)); (layoutRootMarginLeft + layoutRootMarginRight + listBoxMarginLeft + listBoxMarginRight));