1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Misc. modules/ typos (cont.)

Found via `codespell`
This commit is contained in:
luz.paz
2018-02-12 10:15:36 -05:00
parent 17233c687e
commit e805a55a5b
35 changed files with 74 additions and 74 deletions
+3 -3
View File
@@ -91,7 +91,7 @@ protected:
void CV_LRTest::run( int /*start_from*/ )
{
CV_TRACE_FUNCTION();
// initialize varibles from the popular Iris Dataset
// initialize variables from the popular Iris Dataset
string dataFileName = ts->get_data_path() + "iris.data";
Ptr<TrainData> tdata = TrainData::loadFromCSV(dataFileName, 0);
@@ -153,7 +153,7 @@ void CV_LRTest_SaveLoad::run( int /*start_from*/ )
CV_TRACE_FUNCTION();
int code = cvtest::TS::OK;
// initialize varibles from the popular Iris Dataset
// initialize variables from the popular Iris Dataset
string dataFileName = ts->get_data_path() + "iris.data";
Ptr<TrainData> tdata = TrainData::loadFromCSV(dataFileName, 0);
@@ -205,7 +205,7 @@ void CV_LRTest_SaveLoad::run( int /*start_from*/ )
comp_learnt_mats = comp_learnt_mats/255;
// compare difference in prediction outputs and stored inputs
// check if there is any difference between computed learnt mat and retreived mat
// check if there is any difference between computed learnt mat and retrieved mat
float errorCount = 0.0;
errorCount += 1 - (float)countNonZero(responses1 == responses2)/responses1.rows;