How to capture a frame ?
|
03-27-2012, 10:50 PM
Post: #1
|
|||
|
|||
How to capture a frame ?
Hi,
I can’t figure out how to save a picture when a motion detection occurs. I use a TVLDSCapture, connected to a TVLImageDisplay and a TVLMotionDetect connected to another TVLImageDisplay. When a motion occurs, the second TVLImageDIsplay do display the picture. So I try to use MakeScreenshot method on both TVLImageDisplay to save this picture, but all that I get is a black BMP. Example where imgMotion is the image connected to OutputPin of the TVLMotionDetec Code: imgMotion.MakeScreenshot.SaveToFile('c:\imgMotion.bmp'); What is wrong ? Ragards, André. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)