Skip to content

async thread that emittes data #462

@p3x-robot

Description

@p3x-robot

Hello!

How are you?
I am trying to use a video stream and then detect faces using OpenCV.

My problem is, that there is the AsyncWorker, but it is just 1 execution, not a stream that is continuous.

Now, for the face detection is kind of like a stream, that is emitting to NodeJS the data it sends to NodeJs the faces data, so, keep the thread running and every like about 30 FPS and emitting.

Is the node-addon-api is possible to do it, or I have to go down to the the low level n-api and write the whole program?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions