MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / colmapNameToModelId

Function colmapNameToModelId

src/utils/cameraModelRegistry.ts:79–81  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

77);
78
79export function colmapNameToModelId(name: string): CameraModelId | undefined {
80 return COLMAP_NAME_TO_ID.get(name);
81}
82
83export function isSphericalCameraModel(id: CameraModelId): boolean {
84 return getCameraModelFamily(id) === 'spherical';

Callers 2

parseCamerasTextFunction · 0.90

Calls 1

getMethod · 0.80

Tested by

no test coverage detected