Skip to content

Commit 91859e8

Browse files
committed
Merge pull request #2320 from xerus:separate
2 parents cd95a5f + cef011a commit 91859e8

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ In order to keep a clean overview containing all contributed modules the followi
5555

5656
1. Update the README.md file under the modules folder. Here you add your model with a single line description.
5757

58-
2. Add a README.md inside your own module folder. This README explains which functionality (seperate functions) is available, links to the corresponding samples and explains in somewhat more detail what the module is expected to do. If any extra requirements are needed to build the module without problems, add them here also.
58+
2. Add a README.md inside your own module folder. This README explains which functionality (separate functions) is available, links to the corresponding samples and explains in somewhat more detail what the module is expected to do. If any extra requirements are needed to build the module without problems, add them here also.

modules/cnn_3dobj/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ $ ./example_cnn_3dobj_classify -mean_file=../data/images_mean/triplet_mean.binar
7979
```
8080
===========================================================
8181
##Demo3: Model performance test
82-
####This demo will run a performance test of a trained CNN model on several images. If the the model fails on telling different samples from seperate classes apart, or is confused on samples with similar pose but from different classes, this will give some information for model analysis.
82+
####This demo will run a performance test of a trained CNN model on several images. If the the model fails on telling different samples from separate classes apart, or is confused on samples with similar pose but from different classes, this will give some information for model analysis.
8383
```
8484
$ ./example_cnn_3dobj_model_analysis
8585
```

modules/cnn_3dobj/include/opencv2/cnn_3dobj.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ the use of this software, even if advised of the possibility of such damage.
7373
7474
As CNN based learning algorithm shows better performance on the classification issues,
7575
the rich labeled data could be more useful in the training stage. 3D object classification and pose estimation
76-
is a jointed mission aimming at seperate different posed apart in the descriptor form.
76+
is a jointed mission aiming at separate different posed apart in the descriptor form.
7777
7878
In the training stage, we prepare 2D training images generated from our module with their
7979
class label and pose label. We fully exploit the information lies in their labels

modules/ovis/include/opencv2/ovis.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ namespace ovis {
1818

1919
enum SceneSettings
2020
{
21-
/// the window will use a seperate scene. The scene will be shared otherwise.
22-
SCENE_SEPERATE = 1,
21+
/// the window will use a separate scene. The scene will be shared otherwise.
22+
SCENE_SEPARATE = 1,
2323
/// allow the user to control the camera.
2424
SCENE_INTERACTIVE = 2,
2525
/// draw coordinate system crosses for debugging

modules/ovis/samples/ovis_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
owin.createLightEntity("sun", (0, 0, -100))
1919

2020
# interaction scene
21-
iwin = cv.ovis.createWindow("AR", imsize, cv.ovis.SCENE_SEPERATE | cv.ovis.SCENE_INTERACTIVE)
21+
iwin = cv.ovis.createWindow("AR", imsize, cv.ovis.SCENE_SEPARATE | cv.ovis.SCENE_INTERACTIVE)
2222
iwin.createEntity("figure", "Sinbad.mesh", tvec=(0, -5, 0), rot=(np.pi, 0, 0))
2323
iwin.createLightEntity("sun", (0, 0, -100))
2424
iwin.setCameraIntrinsics(K, imsize)

modules/ovis/src/ovis.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ class WindowSceneImpl : public WindowScene
287287
{
288288
if (!app->sceneMgr)
289289
{
290-
flags |= SCENE_SEPERATE;
290+
flags |= SCENE_SEPARATE;
291291
}
292292

293-
if (flags & SCENE_SEPERATE)
293+
if (flags & SCENE_SEPARATE)
294294
{
295295
sceneMgr = root->createSceneManager("DefaultSceneManager", title);
296296
RTShader::ShaderGenerator& shadergen = RTShader::ShaderGenerator::getSingleton();
@@ -347,7 +347,7 @@ class WindowSceneImpl : public WindowScene
347347

348348
~WindowSceneImpl()
349349
{
350-
if (flags & SCENE_SEPERATE)
350+
if (flags & SCENE_SEPARATE)
351351
{
352352
TextureManager& texMgr = TextureManager::getSingleton();
353353

@@ -363,7 +363,7 @@ class WindowSceneImpl : public WindowScene
363363
}
364364
}
365365

366-
if(_app->sceneMgr == sceneMgr && (flags & SCENE_SEPERATE))
366+
if(_app->sceneMgr == sceneMgr && (flags & SCENE_SEPARATE))
367367
{
368368
// this is the root window owning the context
369369
CV_Assert(_app->numWindows() == 1 && "the first OVIS window must be deleted last");

modules/saliency/samples/computeSaliency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ int main( int argc, char** argv )
157157
int ndet = int(saliencyMap.size());
158158
std::cout << "Objectness done " << ndet << std::endl;
159159
// The result are sorted by objectness. We only use the first maxd boxes here.
160-
int maxd = 7, step = 255 / maxd, jitter=9; // jitter to seperate single rects
160+
int maxd = 7, step = 255 / maxd, jitter=9; // jitter to separate single rects
161161
Mat draw = image.clone();
162162
for (int i = 0; i < std::min(maxd, ndet); i++) {
163163
Vec4i bb = saliencyMap[i];

0 commit comments

Comments
 (0)