Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofxNDI image into ofxOpenCv

$
0
0

@freshmania-at wrote:

Hey guys,

I’m trying to use camera video I transmit via ofxNDI (https://github.com/nariakiiwatani/ofxNDI) and do some blob-tracking with it through ofxOpenCV.

When I use the transmitted pixels in a ofImage - everything looks fine.

But when I use a ofxCvColorImage, the image looks quite griddy and is somehow tripple layered vertically.
->I added a screenshot

I guess it has something todo with color_formatting of the pixels as the NDI receiver has following line “NDIlib_recv_color_format_e color_format=NDIlib_recv_color_format_RGBX_RGBA” in it.

Does anyone know how to use or convert the pixels (RGBA ? ) into useable RGB data?

Thanks a lot!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles