ply-js
Version:
A TypeScript port based on python-plyfile for reading and writing .ply files
15 lines (14 loc) • 468 B
TypeScript
type LabeledSample = {
file: string;
height: number;
mass: number;
machine?: string;
};
export declare function calibrateSamples(samples: LabeledSample[], lib: any): Promise<Record<string, {
scale: number;
densityKgPerM3: number;
count: number;
}>>;
export declare function saveCalibrationFile(id: string, data: any, folder?: string): string;
export declare function loadCalibrationFile(id: string, folder?: string): any | null;
export {};