import type { DetectionCoordinateSpace, DetectionFrame } from "#types/detections"; /** * Projects one detection frame from its declared source coordinate space into * `target`. * * Rectangles, polygons, oriented boxes, polylines, and keypoints are scaled. * Masks are left untouched because a `DetectionMask` already carries the * mask-pixel dimensions its `counts` are encoded against; scaling them here * would apply the ratio twice. Frames without `coordinateSpace`, with a * degenerate space, or already in the target space are returned unchanged so * mixed producers can share one source. */ export declare function projectDetectionFrame(frame: DetectionFrame, target: DetectionCoordinateSpace): DetectionFrame; /** * Projects every frame that declares a source coordinate space into `target`. * * Frames without coordinate metadata pass through by reference. */ export declare function projectDetectionFrames(frames: readonly DetectionFrame[], target: DetectionCoordinateSpace): readonly DetectionFrame[]; //# sourceMappingURL=detection-projection.d.ts.map