OpenCVModel.to_elem¶
giant.camera_models.opencv_model:
- OpenCVModel.to_elem(elem, misalignment=False)¶
Stores this camera model in an
etree._Elementobject for storing in a GIANT xml file- Parameters:
elem (_Element) – The
etree._Elementclass to store this camera model inmisalignment (bool) – A flag about whether to include the misalignment in the
etree._Element
- Returns:
The
etree._Elementfor this model- Return type:
_Element