diff --git a/README.md b/README.md index 2d39e043..7cf77101 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ image.addEventListener('load', () => { console.log({ content: decoded.content, finder: [topLeft, topRight, bottomLeft], - alignment: alignment ? toPattern(alignment) : null, + alignment: alignment ? alignment : null, timing: [topLeftTiming, topRightTiming, bottomLeftTiming], corners: [topLeftCorner, topRightCorner, bottomRightCorner, bottomLeftCorner] }); diff --git a/packages/core/README.md b/packages/core/README.md index 2d39e043..7cf77101 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -184,7 +184,7 @@ image.addEventListener('load', () => { console.log({ content: decoded.content, finder: [topLeft, topRight, bottomLeft], - alignment: alignment ? toPattern(alignment) : null, + alignment: alignment ? alignment : null, timing: [topLeftTiming, topRightTiming, bottomLeftTiming], corners: [topLeftCorner, topRightCorner, bottomRightCorner, bottomLeftCorner] });