romaine
Version:
React OpenCV Manipulation and Image Narration & Editing
12 lines • 471 B
TypeScript
import { ContourCoordinates } from "../../components";
import { ImagePtr, OpenCV } from "../../types";
/**
* perspective cropping utility (AKA keystone correction)
* @param cv openCv
* @param docCanvas
* @param cropPoints
* @param imageResizeRatio
* @param setPreviewPaneDimensions
*/
export declare const cropOpenCV: (cv: OpenCV, dst: ImagePtr, cropPoints: ContourCoordinates, imageResizeRatio: number) => void;
//# sourceMappingURL=cropOpenCV.d.ts.map