justadudewhohacks / justadudewhohacks/opencv4nodejs

Output a mask?

Open
#612 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Hi

I'm trying to figure out how to use opencv4node to render a mask rather than a box (which I have working).

I'm using a tensorflow model - mask_rcnn_inception_v2_coco and assume I need to write something like the following bit of python:

(boxes, masks) = net.forward(["detection_out_final", "detection_masks"])

... instead of:

let out = this.net.forward()

... which is what I normally do.

I'm stuck... any examples or code snippets would be gratefully received :-)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.