mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
Fix some typos in platforms/, samples/, 3rdparty/.
This commit is contained in:
parent
039f3d01a0
commit
9074b3e980
@ -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 )
|
||||
|
@ -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){
|
||||
|
@ -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){
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user