mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Misc. ./samples typos
Found via `codespell -q 3 --skip="./3rdparty" -I ../opencv-whitelist.txt`
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* This sample demonstrates the way you can perform independed tasks
|
||||
/* This sample demonstrates the way you can perform independent tasks
|
||||
on the different GPUs */
|
||||
|
||||
// Disable some warnings which are caused with CUDA headers
|
||||
|
||||
@@ -32,8 +32,8 @@ int main(int argc, const char* argv[])
|
||||
"{ minDist | 100 | minimum distance between the centers of the detected objects }"
|
||||
"{ levels | 360 | R-Table levels }"
|
||||
"{ votesThreshold | 30 | the accumulator threshold for the template centers at the detection stage. The smaller it is, the more false positions may be detected }"
|
||||
"{ angleThresh | 10000 | angle votes treshold }"
|
||||
"{ scaleThresh | 1000 | scale votes treshold }"
|
||||
"{ angleThresh | 10000 | angle votes threshold }"
|
||||
"{ scaleThresh | 1000 | scale votes threshold }"
|
||||
"{ posThresh | 100 | position votes threshold }"
|
||||
"{ dp | 2 | inverse ratio of the accumulator resolution to the image resolution }"
|
||||
"{ minScale | 0.5 | minimal scale to detect }"
|
||||
@@ -46,7 +46,7 @@ int main(int argc, const char* argv[])
|
||||
"{ help h ? | | print help message }"
|
||||
);
|
||||
|
||||
cmd.about("This program demonstrates arbitary object finding with the Generalized Hough transform.");
|
||||
cmd.about("This program demonstrates arbitrary object finding with the Generalized Hough transform.");
|
||||
|
||||
if (cmd.has("help"))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* This sample demonstrates the way you can perform independed tasks
|
||||
/* This sample demonstrates the way you can perform independent tasks
|
||||
on the different GPUs */
|
||||
|
||||
// Disable some warnings which are caused with CUDA headers
|
||||
|
||||
@@ -371,7 +371,7 @@ int main(int argc, char** argv)
|
||||
DeviceInfo devInfo(i);
|
||||
if (!devInfo.isCompatible())
|
||||
{
|
||||
cerr << "CUDA module was't built for GPU #" << i << " ("
|
||||
cerr << "CUDA module wasn't built for GPU #" << i << " ("
|
||||
<< devInfo.name() << ", CC " << devInfo.majorVersion()
|
||||
<< devInfo.minorVersion() << endl;
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user