Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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é.
Quote this message in a reply
Post Reply 


Messages In This Thread
How to capture a frame ? - andre - 03-27-2012 10:50 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)