Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit f0dae9b

Browse files
committed
docs: fix description phrasing
1 parent 2469e0c commit f0dae9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/geometry/getPerspectiveWarp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export type GetPerspectiveWarpData = Required<GetPerspectiveWarpOptions> & {
2727
/**
2828
* Computes a perspective transformation matrix to rectify a quadrilateral region into a rectangle.
2929
*
30-
* This function takes four corner points of a distorted quadrilateral (e.g., a document photographed at an angle) and calculates the transformation matrix needed to "unwarp" it into a rectangular image.
30+
* This function takes four corner points of a quadrilateral (e.g., a document photographed at an angle) and calculates the transformation matrix needed to "unwarp" it into a rectangular image.
3131
* The output dimensions can be specified or calculated automatically based on the input geometry.
32-
* @param pts - 4 reference corners of the new image.
32+
* @param pts - 4 reference corners.
3333
* @param options - PerspectiveWarpOptions.
3434
* @returns - Matrix from 4 points.
3535
*/

0 commit comments

Comments
 (0)