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

Fix modules/ typos

Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`

backporting of commit: ec43292e1e
This commit is contained in:
luz.paz
2019-08-15 18:02:09 -04:00
committed by Alexander Alekhin
parent 7df3141bbc
commit fcc7d8dd4e
67 changed files with 83 additions and 83 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
// of this distribution and at http://opencv.org/license.html.
if (typeof module !== 'undefined' && module.exports) {
// The envrionment is Node.js
// The environment is Node.js
var cv = require('./opencv.js'); // eslint-disable-line no-var
}
+1 -1
View File
@@ -3,7 +3,7 @@
// of this distribution and at http://opencv.org/license.html.
if (typeof module !== 'undefined' && module.exports) {
// The envrionment is Node.js
// The environment is Node.js
var cv = require('./opencv.js'); // eslint-disable-line no-var
}
+2 -2
View File
@@ -69,7 +69,7 @@
//
if (typeof module !== 'undefined' && module.exports) {
// The envrionment is Node.js
// The environment is Node.js
var cv = require('./opencv.js'); // eslint-disable-line no-var
}
@@ -92,7 +92,7 @@ QUnit.test('test_imgProc', function(assert) {
binView[0] = 10;
cv.calcHist(source, channels, mask, hist, histSize, ranges, false);
// hist should contains a N X 1 arrary.
// hist should contains a N X 1 array.
let size = hist.size();
assert.equal(size.height, 256);
assert.equal(size.width, 1);
+1 -1
View File
@@ -69,7 +69,7 @@
//
if (typeof module !== 'undefined' && module.exports) {
// The envrionment is Node.js
// The environment is Node.js
var cv = require('./opencv.js'); // eslint-disable-line no-var
}
+1 -1
View File
@@ -69,7 +69,7 @@
//
if (typeof module !== 'undefined' && module.exports) {
// The envrionment is Node.js
// The environment is Node.js
var cv = require('./opencv.js'); // eslint-disable-line no-var
cv.FS_createLazyFile('/', 'haarcascade_frontalface_default.xml', // eslint-disable-line new-cap
'haarcascade_frontalface_default.xml', true, false);
+1 -1
View File
@@ -68,7 +68,7 @@
//
if (typeof module !== 'undefined' && module.exports) {
// The envrionment is Node.js
// The environment is Node.js
var cv = require('./opencv.js'); // eslint-disable-line no-var
}
QUnit.module('Utils', {});
+1 -1
View File
@@ -68,7 +68,7 @@
//
if (typeof module !== 'undefined' && module.exports) {
// The envrionment is Node.js
// The environment is Node.js
var cv = require('./opencv.js'); // eslint-disable-line no-var
}