Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to create a semi transparent shape?

Hi,

I would like to know, how to create a semi-transparent form like this: http://tellthattomycamera.wordpress.com/

I tried this:

rectangle (img, Point (100,100), Point (300.300), Scalar (0,125,125,0.4), CV_FILLED);

But does not work.

Thanks

How to create a semi transparent shape?

Hi,

I would like to know, how to create a semi-transparent form like this: http://tellthattomycamera.wordpress.com/

I tried this:

rectangle (img, Point (100,100), Point (300.300), (300,300), Scalar (0,125,125,0.4), CV_FILLED);

But does not work.

Thanks

How to create a semi transparent shape?

Hi,

I would like to know, how to create a semi-transparent form like this: http://tellthattomycamera.wordpress.com/

I tried this:

rectangle (img, Point (100,100), Point (300,300), Scalar (0,125,125,0.4), CV_FILLED);

But does not work.

I know the the functions do not support alpha-transparency when the target image is 4-channel. But i use a 3-channel image (from webcam).

So why doesn't it work?

Thanks

How to create a semi transparent shape?

Hi,

I would like to know, how to create a semi-transparent form like this: http://tellthattomycamera.wordpress.com/

I tried this:

rectangle (img, Point (100,100), Point (300,300), Scalar (0,125,125,0.4), CV_FILLED);

But does not work.

I know the that the functions do not support alpha-transparency when the target image is 4-channel. But i use a 3-channel image (from webcam).

So why doesn't it work?

Thanks

How to create a semi transparent shape?

Hi,

I would like to know, how to create a semi-transparent form like this: http://tellthattomycamera.wordpress.com/

I tried this:

rectangle (img, Point (100,100), Point (300,300), Scalar (0,125,125,0.4), CV_FILLED);

But does not work.

I know that the functions do not support alpha-transparency when the target image is 4-channel. But i use a 3-channel image (from webcam).

So why doesn't it work?

Thanks