How to use the v8 object type in cpp

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, node.js, opencv

Research direction

Start at the addon entry point handling args[0]->ToObject() and review how the repository's Node.js C++ addon examples pass image buffers into native code. The issue does not identify a file, test, or acceptance criteria; clarify the expected buffer representation and cv Mat conversion before defining what done means.

Written by the indexing model from the issue text.

Description

I transfer the image buffer data from js to cpp, using Local value = args[0]->ToObject();
But after that I don't know how to use the data in cpp.
I hope to convert that to cv Mat type.
If someone know about it, please give me an advice.
Thank you.

Dominant language
C++
Stars
2.6k
Forks
602
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodejs/node-addon-examples

All issues in nodejs/node-addon-examples

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.