Draw glow on outline of ofPoints

Hey everyone

I have an outline of an object from OpenCV (vector of points). Now I want to draw an inner glow along the path of the outline. It’s pretty easy to place glow png images and rotate them on the outline to form sort of like a glow, but it doesn’t look good.

Is there any way to do this in OpenGL, or do you have any links to examples drawing something like a glow in OpenFrameworks.

Thanks

I’d probably do some research into using a shader for this type of effect…