Skip to content

Commit d46f4c4

Browse files
committed
wip
1 parent 8d960e0 commit d46f4c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buildcalibrations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Build a calibration object. `files` are the image files of the checkerboard. `n_
1212
function fit(files, n_corners, checker_size; aspect = 1, with_distortion = true, inverse_samples = 100, plot_folder::Union{Nothing, String} = nothing)
1313

1414
files, objpoints, imgpointss, sz, k, Rs, ts, frow, fcol, crow, ccol = detect_fit(files, n_corners, with_distortion, aspect)
15-
objpoints .*= checker_size
15+
objpoints = objpoints .* checker_size
1616
intrinsic, extrinsics, scale = obj2img(Rs, ts, frow, fcol, crow, ccol, checker_size)
1717
c = Calibration(intrinsic, extrinsics, scale, k, files)
1818

0 commit comments

Comments
 (0)