logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mrcal-from-cahvor - Converts a .cahvor-formatted camera model to the .cameramodel file format

Author

       Dima Kogan, "<dima@secretsauce.net>"

Description

       File formats supported by mrcal are described at
       <http://mrcal.secretsauce.net/cameramodels.html#cameramodel-file-formats>

       This tool converts the given model(s) to the cameramodel file format. No changes to the content are made;
       this is purely a format converter (the mrcal-convert-lensmodel tool fits different lens models instead).
       Model filenames are given on the commandline. Output is written to the same directory, with the same
       filename, but with a .cameramodel extension.

       If the model is omitted or given as "-", the input is read from standard input, and the output is written
       to standard output

Name

       mrcal-from-cahvor - Converts a .cahvor-formatted camera model to the .cameramodel file format

Options

POSITIONALARGUMENTS
         model            Input camera model

   OPTIONALARGUMENTS
         -h, --help       show this help message and exit
         --force, -f      By default existing files are not overwritten. Pass --force
                          to overwrite them without complaint
         --outdir OUTDIR  Directory to write the output models into. If omitted, we
                          write the output models to the same directory as the input
                          models

Repository

       <https://www.github.com/dkogan/mrcal>

Synopsis

         $ mrcal-from-cahvor model1.cahvor model2.cahvor
         Wrote model1.cameramodel
         Wrote model2.cameramodel

See Also