MRCAL(1)
π MRCAL(1) β mrcal: camera projection, calibration toolkit π
okay bestie, welcome to the mrcal cinematic universe β¨ this whole manual lives under the umbrella of the mrcal: camera projection, calibration toolkit thing, and today's main character is a lil tool called mrcal-from-cahvor. she's small, she's focused, she eats file formats for breakfast π
πΈ NAME πΈ
mrcal-from-cahvor β Converts a .cahvor-formatted camera model to the .cameramodel file format π¦
like. that's it. that's the job. and she does it flawlessly, no cap.
β¨ SYNOPSIS β¨
$ mrcal-from-cahvor model1.cahvor model2.cahvor
Wrote model1.cameramodel
Wrote model2.cameramodel
see how she just... does it? two in, two out, no drama π
π DESCRIPTION π
File formats supported by mrcal are described at <https://mrcal.secretsauce.net/cameramodels.html#cameramodel-file-formats> β go read that if you want the full lore, it's giving encyclopedia but make it camera models πΈ
This tool converts the given model(s) to the cameramodel file format. And here's the thing, bestie: no changes to the content are made. None. Zero. This is purely a format converter β it's not out here fitting anything, it's just repackaging the vibes into a different container. (If you do want different lens models actually fitted, that's a whole different girl: the mrcal-convert-lensmodel tool. she's the one doing the math. this one is just doing the paperwork π)
Model filenames are given on the commandline. Output is written to the same directory, with the same filename, but with a .cameramodel extension. same name, glow-up extension, iconic behavior honestly β¨
If the model is omitted or given as -, the input is read from standard input, and the output is written to standard output. yes bestie, she does pipes. she's flexible like that π
π OPTIONS π
π§ POSITIONAL ARGUMENTS
modelβ Input camera model. this is the file you're feeding her, she'll take it from here π
β OPTIONAL ARGUMENTS
-h,--helpβ show this help message and exit. the classic. the icon. when in doubt, ask her to explain herself π«Ά--force,-fβ By default existing files are not overwritten. Pass--forceto overwrite them without complaint. so like... she's polite by default, she will NOT bulldoze your existing files π but if you hand her the--forceflag she stops asking questions and just goes. your files, your call, bestie π--outdir OUTDIRβ Directory to write the output models into. If omitted, we write the output models to the same directory as the input models. so by default she drops the new files right next to their originals, cute little siblings π¦ or you point her somewhere else and she goes there instead, no complaints π
π REPOSITORY π
<https://www.github.com/dkogan/mrcal>
go say hi, star the repo, it's the respectful thing to do β
π AUTHOR π
Dima Kogan, "<dima@secretsauce.net>"
π LICENSE AND COPYRIGHT π
Copyright (c) 2017-2023 California Institute of Technology ("Caltech"). U.S. Government sponsorship acknowledged. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
fr fr, that's the whole page. legal said what legal said, and we respect it π«‘
okay that's the tea, bestie β go convert some camera models, you got this π β¨
signing off from mrcal version 2.5.2-4build1, dated 2026-03-20 β mwah, love u, bye π©·
π¦ where this page comes from
- ubuntu resolute: mrcal 2.5.2-4build1 Β· Apache-2.0
- ubuntu stonking: mrcal 2.5.2-4build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms