GitXplorerGitXplorer
y

CameraCalibrations.jl

public
10 stars
1 forks
0 issues

Commits

List of commits on branch main.
Unverified
380d2bac1fbc9b6e2a0342022448b25392b8331a

Merge branch 'main' of github.com:yakir12/CameraCalibrations.jl

yyakir12 committed 17 days ago
Unverified
8ddc5fc47ecbbfa64fbd455f56f80f39070e76dd

latest

yyakir12 committed 17 days ago
Verified
567ae54fc24cc4a00e6376100614c4d5d91cb7f6

Update Project.toml

yyakir12 committed 24 days ago
Verified
a7fe79bd7fe71f5e082cc718d7b32776afffb249

Update Project.toml

yyakir12 committed 24 days ago
Unverified
cb7c7c9e3eedbc60c0290d9bf98f17b3ed28fcef

added OpenCV_jll

yyakir12 committed 24 days ago
Unverified
fa4faf9b2508c02c51f005d76627837e2877ced0

rm opencv-contrib-python

yyakir12 committed a month ago

README

The README file for this repository.

CameraCalibrations

Build Status Coverage Aqua

This is a package for camera calibration in Julia.

How to install

] add CameraCalibrations

How to use

First we build the calibration object based on the files: the image files of the checkerboard, n_corners: the number of inner corners in each of the sides of the checkerboard, and checker_size: the physical size of the checker (e.g. in cm).

using CameraCalibrations
c = fit(files, n_corners, checker_size)

Then we can use that object to calibrate pixel coordinates and/or images, given the extrinsic image we want to refer to:

i1 = RowCol(1.2, 3.4) # a cartesian index in image-pixel coordinates
xyz = c(i1, 1) # convert to real-world coordinates of the first image
i2 = c(xyz, 1) # convert back to pixel coordinates
i2  i1 # true

Features

  • [x] saving and loading (JSON) calibration files
  • [x] corner detection is done with opencv
  • [x] model fitting is done with opencv
  • [x] opencv is python-free
  • [ ] plot calibrated images
  • [ ] in-memory images
  • [ ] images from video IO

Citing

See CITATION.bib for the relevant reference(s).