How to paint over the captured video?

Hi. do you know how to paint over the captured video ?I want to capture video with a webcam and paint over it.Any idea?
[140 byte] By [Viruxa] at [2007-10-3 11:42:36]
# 1
http://www.exactfutures.com/simplecam.zip
andyblea at 2007-7-15 14:14:19 > top of Java-index,Security,Cryptography...
# 2
Ty very much. Ill try your code :)
Viruxa at 2007-7-15 14:14:19 > top of Java-index,Security,Cryptography...
# 3
Hi.In the simplecam program, are you first getting the image then painting over the image and then showing the image? or are you painting directly to the video?
Viruxa at 2007-7-15 14:14:19 > top of Java-index,Security,Cryptography...
# 4
It gets the video raw buffer data, converts that into pixel data, creates an image from those, draws on that image, then draws this image to a panel. This is one of many possible approaches, but a simple solution and relatively efficient.
andyblea at 2007-7-15 14:14:19 > top of Java-index,Security,Cryptography...
# 5
A further thought, if you go to http://www.exactfutures.com/index02.htm and find simplecam.zip then there is now within that a DrawEffect.zip which draws on to the video track whilst being played. The source is included which you may find useful.
andyblea at 2007-7-15 14:14:19 > top of Java-index,Security,Cryptography...
# 6
Thank you very much. ill try that.
Viruxa at 2007-7-15 14:14:19 > top of Java-index,Security,Cryptography...