Skip to content

docs: minor documentation update #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/pages/apidetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...

Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ SPEC CHECKSUMS:
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
vision-camera-resize-plugin: 4306d5df9bce0e603bbe6ab04337f21a606f4ad1
VisionCamera: 057aff621f7801b7d99a00d157fa39244bbd4fd2
Yoga: 0efb3e1bd40ba59b009f01badea863281101de78
Yoga: 6259f968a4fdf516d76a4432dead624d71aa0fb1

PODFILE CHECKSUM: ded8a41f26047703e900afe99b8a72ca375b02ca

Expand Down
Loading