From 4b01760728416e6e901f40e31c08e65c5bf2cf29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Kurant?= Date: Sat, 14 Sep 2024 16:08:51 +0200 Subject: [PATCH] docs: minor documentation update --- docs/pages/apidetails.md | 2 +- docs/pages/usage.md | 2 +- example/ios/Podfile.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/apidetails.md b/docs/pages/apidetails.md index f22e360..920d4b5 100644 --- a/docs/pages/apidetails.md +++ b/docs/pages/apidetails.md @@ -127,7 +127,7 @@ clearBuffers(): void; Creates an object of type Mat based on an array of Uint8Array. ```js -frameBufferToMat(rows: number, cols: number, input: Uint8Array): Mat; +frameBufferToMat(rows: number, cols: number, channels: number, input: Uint8Array): Mat; ``` ### Base64 to Mat diff --git a/docs/pages/usage.md b/docs/pages/usage.md index e99d617..b3193f7 100644 --- a/docs/pages/usage.md +++ b/docs/pages/usage.md @@ -61,7 +61,7 @@ const frameProcessor = useFrameProcessor((frame) => { dataType: 'uint8', }); - const mat = OpenCV.frameBufferToMat(height, width, resized); + const mat = OpenCV.frameBufferToMat(height, width, 3, resized); // calculations ... diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 501015e..20e351f 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1627,7 +1627,7 @@ SPEC CHECKSUMS: SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d vision-camera-resize-plugin: 4306d5df9bce0e603bbe6ab04337f21a606f4ad1 VisionCamera: 057aff621f7801b7d99a00d157fa39244bbd4fd2 - Yoga: 0efb3e1bd40ba59b009f01badea863281101de78 + Yoga: 6259f968a4fdf516d76a4432dead624d71aa0fb1 PODFILE CHECKSUM: ded8a41f26047703e900afe99b8a72ca375b02ca