Skip to content

Command-line tool for generating projection matrices and estimating intrinsic and extrinsic camera parameters for camera calibration tasks.

Notifications You must be signed in to change notification settings

lew1101/calicam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calicam

Generates projection matrix and calculates intrinsic and extrinsic parameters. This project was made for my IB Math AA HL Extended Essay.

Cloning the Repo

Make sure you have git installed on your system. Then, clone the repo by command line:

git clone https://github.com/lew1101/calicam.git

Installing Dependencies

Make sure you have python3 (version 3.9 or higher) installed on your system. Then, install dependencies using pip3.

cd calicam

pip3 install -r requirements.txt

Run

To run the program, simply execute run.py with arguments passed.

Basic usage:

python3 run.py calibration_points.csv -d data.csv -g

Options

Usage: calicam [-h] [-d DATA_PATH] [-g [BKGD_IMG]] [-t TITLE] [-s] [-o GRAPH_PATH] [--noprint] PATH

Options:

  • -h, --help – show help message
  • -d DATA_PATH, --data DATA_PATH – path to csv file with model verification data. CSV inputs are in the format: x,y,z,u,v where 3D point = (x, y, z) and 2D point = (u,v)
  • -g [BKGD_IMG], --graph [BKGD_IMG] – generate graph
  • -t TITLE, --title TITLE – title of graph (ignored if -g is not passed)
  • -s, --show – show graph (only necessary if -o is passed)
  • -o GRAPH_PATH, --out GRAPH_PATH – graph output location
  • --noprint – don't print output

Author

Kenneth Lew

About

Command-line tool for generating projection matrices and estimating intrinsic and extrinsic camera parameters for camera calibration tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages