Skip to content

Commit e8be880

Browse files
committed
Fix various remaining typos
Found via `codespell -q 3 -S "*.ai,CHANGES.md,src/aliceVision/sensorDB/cameraSensors.db,./src/nonFree/sift/vl" -L abl,ahd,alledges,bailin,celll,classe,devicess,dum,finaly,htmp,ihs,indext,inout,ist,iterm,nin,numer,optio,splitted,tabl,trackin,valide`
1 parent d55bbff commit e8be880

25 files changed

+38
-38
lines changed

INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ CMake Options
235235

236236
* `ALICEVISION_USE_UNCERTAINTYTE` (default: `AUTO`)
237237
Enable Uncertainty computation.
238-
`-DUNCERTAINTYTE_DIR:PATH=/path/to/uncertaintyTE/install/` (where `inlude` and `lib` can be found)
239-
`-DMAGMA_ROOT:PATH=/path/to/magma/install/` (where `inlude` and `lib` can be found)
238+
`-DUNCERTAINTYTE_DIR:PATH=/path/to/uncertaintyTE/install/` (where `include` and `lib` can be found)
239+
`-DMAGMA_ROOT:PATH=/path/to/magma/install/` (where `include` and `lib` can be found)
240240

241241
* `ALICEVISION_USE_OPENCV` (default: `OFF`)
242242
Build with openCV

docker/build-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
set -e
66

77
test -e docker/fetch.sh || {
8-
echo This script must bu run from the top level of the AliceVision tree
8+
echo This script must be run from the top level of the AliceVision tree
99
exit 1
1010
}
1111

docker/fetch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

3-
# Download as many external dependancies as possible to minimise
3+
# Download as many external dependencies as possible to minimise
44
# the amount of repeated downloads when building Docker images
55
#
66
# The downloaded files are stored in the 'dl' directory in the
7-
# top of the AliceVision source, and copied into the Docker enviroments
7+
# top of the AliceVision source, and copied into the Docker environments
88
# when the images are built
99

1010
set -e

pyTests/camera/test_distortion_brown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_distortion_brown_get_derivative_add():
140140
def test_distortion_brown_get_radius():
141141
""" Test creating a DistortionBrown object and retrieving its undistorted
142142
radius. """
143-
# 'getUndistortedRadius' is not overriden by this class and is expected to return
143+
# 'getUndistortedRadius' is not overridden by this class and is expected to return
144144
# the provided radius, as it is defined in the parent 'Distortion' class
145145
distortion = av.DistortionBrown()
146146
radius = 1.2

pyTests/camera/test_distortion_fisheye.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_distortion_fisheye_get_derivative_remove():
145145
def test_distortion_fisheye_get_radius():
146146
""" Test creating a DistortionFisheye object and retrieving its undistorted
147147
radius. """
148-
# 'getUndistortedRadius' is not overriden by this class and is expected to return
148+
# 'getUndistortedRadius' is not overridden by this class and is expected to return
149149
# the provided radius, as it is defined in the parent 'Distortion' class
150150
distortion = av.DistortionFisheye()
151151
radius = 1.2

pyTests/camera/test_distortion_fisheye1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_distortion_fisheye1_get_derivative_remove():
145145
def test_distortion_fisheye1_get_radius():
146146
""" Test creating a DistortionFisheye1 object and retrieving its undistorted
147147
radius. """
148-
# 'getUndistortedRadius' is not overriden by this class and is expected to return
148+
# 'getUndistortedRadius' is not overridden by this class and is expected to return
149149
# the provided radius, as it is defined in the parent 'Distortion' class
150150
distortion = av.DistortionFisheye1()
151151
radius = 1.2

pyTests/camera/test_distortion_radial.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_distortion_radial_k1_get_set_parameters():
111111
assert list(parameters) == DEFAULT_PARAMETERS_K1, \
112112
"The distortion parameters have not been correctly initialized with the default values"
113113

114-
# Parametes are given as a reference: editing 'parameters' should update the object
114+
# Parameters are given as a reference: editing 'parameters' should update the object
115115
for idx, _ in enumerate(parameters):
116116
parameters[idx] = NON_DEFAULT_PARAMETERS_K1[idx]
117117

@@ -254,7 +254,7 @@ def test_distortion_radial_k3_get_set_parameters():
254254
assert list(parameters) == DEFAULT_PARAMETERS_K3, \
255255
"The distortion parameters have not been correctly initialized with the default values"
256256

257-
# Parametes are given as a reference: editing 'parameters' should update the object
257+
# Parameters are given as a reference: editing 'parameters' should update the object
258258
for idx, _ in enumerate(parameters):
259259
parameters[idx] = NON_DEFAULT_PARAMETERS_K3[idx]
260260

@@ -397,7 +397,7 @@ def test_distortion_radial_k3pt_get_set_parameters():
397397
assert list(parameters) == DEFAULT_PARAMETERS_K3, \
398398
"The distortion parameters have not been correctly initialized with the default values"
399399

400-
# Parametes are given as a reference: editing 'parameters' should update the object
400+
# Parameters are given as a reference: editing 'parameters' should update the object
401401
for idx, _ in enumerate(parameters):
402402
parameters[idx] = NON_DEFAULT_PARAMETERS_K3[idx]
403403

@@ -501,7 +501,7 @@ def test_distortion_radial_compare():
501501
assert k11 == k12, "K1 distortion parameters are identical"
502502
k11.setParameters(NON_DEFAULT_PARAMETERS_K1)
503503
assert not k11 == k12, \
504-
"K1 distortion paramters of the first object have been updated, " \
504+
"K1 distortion parameters of the first object have been updated, " \
505505
"they should not be equal"
506506

507507
k31 = av.DistortionRadialK3()

pyTests/sfmData/test_rig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# ERigSubPoseStatus status = ERigSubPoseStatus::UNINITIALIZED)
1111
# => DONE / Pose3 not binded
1212
# - operator==(RigSubPose& other) => DONE
13-
# - Rig(unsinged int nbSubPoses = 0) => DONE
13+
# - Rig(unsigned int nbSubPoses = 0) => DONE
1414
# - operator==(other) => DONE
1515
# - bool isInitialized() => DONE
1616
# - bool isFullyCalibrated() => DONE

pyTests/sfmData/test_sfmdata.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
##################
6161

6262
def test_sfmdata_get_views():
63-
""" Test creating an emtpy SfMData object, retrieving and editing its Views. """
63+
""" Test creating an empty SfMData object, retrieving and editing its Views. """
6464
data = av.SfMData()
6565
views = data.getViews()
66-
assert len(views) == 0, "The SfMData object is emtpy, there should not be any View in it"
66+
assert len(views) == 0, "The SfMData object is empty, there should not be any View in it"
6767

6868
# Create a View object and add it to the list
6969
view = av.View()
@@ -346,7 +346,7 @@ def test_sfmdata_get_set_folders():
346346
assert len(data.getFeaturesFolders()) == 2, \
347347
"A second features folder should have been added to the list"
348348
assert len(data.getMatchesFolders()) == 2, \
349-
"A second matches folder should have been addded to the list"
349+
"A second matches folder should have been added to the list"
350350

351351
assert os.path.relpath(data.getFeaturesFolders()[0], projectFolder) == relative_folder
352352
assert os.path.relpath(data.getFeaturesFolders()[1], projectFolder) == other_folder

pyTests/sfmData/test_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_view_default_constructor():
4545
assert view.getFrameId() == 4294967295, "Default frame ID should be 4294967295"
4646
assert view.getFrameId() == view.getIntrinsicId() == view.getPoseId() \
4747
== view.getResectionId() == view.getRigId() \
48-
== view.getSubPoseId() == view.getViewId(), "All IDs should be unitialized"
48+
== view.getSubPoseId() == view.getViewId(), "All IDs should be uninitialized"
4949

5050
image_info = view.getImage()
5151
assert image_info, "An ImageInfo object should be available for a default View object"

0 commit comments

Comments
 (0)