Generates projection matrix and calculates intrinsic and extrinsic parameters. This project was made for my IB Math AA HL Extended Essay.
Make sure you have git installed on your system. Then, clone the repo by command line:
git clone https://github.com/lew1101/calicam.gitMake sure you have python3 (version 3.9 or higher) installed on your system. Then, install dependencies using pip3.
cd calicam
pip3 install -r requirements.txtTo run the program, simply execute run.py with arguments passed.
Basic usage:
python3 run.py calibration_points.csv -d data.csv -gUsage: calicam [-h] [-d DATA_PATH] [-g [BKGD_IMG]] [-t TITLE] [-s] [-o GRAPH_PATH] [--noprint] PATH
Options:
-h,--help– show help message-dDATA_PATH,--dataDATA_PATH– path tocsvfile 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-tTITLE,--titleTITLE– title of graph (ignored if-gis not passed)-s,--show– show graph (only necessary if-ois passed)-oGRAPH_PATH,--outGRAPH_PATH– graph output location--noprint– don't print output