Re: [Imlab-users] Incoplete frame
A Free Experimental System for Image Processing
Brought to you by:
scuri
From: <bio...@gm...> - 2007-11-21 11:49:08
|
Hi all, i try the Scuri tip to do the program Sleep... i put 100 miliseconds to sleep, the image come perfect switching for evrey 4 inputs... but this made just 10 frames per sec....i need 30.. this can be a limitation of hardware ? there another thing i can do ? Antonio Scuri escreveu: > Hi, > > The imVideoCapture capture implementation should guarantee that every time > you call imVideoCaptureFrame you got a new frame or it will return 0. > > If all returns are 1, then usually could be two problems: > > - you are capturing during device initialization, so there can be trash in > the device buffer. > > Or > > - you are capturing during input switch. > > In both cases, I can recommend only to use a delay to give some time to > the hardware respond. > > Direct X allows that situations to happen. We have to figure out what to > do... > > Best Regards, > Antonio Scuri > > >> -----Original Message----- >> From: iml...@li... >> [mailto:iml...@li...] On Behalf >> Of bio...@gm... >> Sent: segunda-feira, 19 de novembro de 2007 17:34 >> To: iml...@li... >> Subject: [Imlab-users] Incoplete frame >> >> Hi all, >> >> I using IM lab to capture frame from a device with 4 inputs, >> i using the imVideoCaptureSetInOut to catch a frame for all >> inputs.... >> and using imVideoCaptureFrame to catch the frames.... >> but...the frames come fuzzy, >> how i know the camera give to me a complete frame(or a new) ? >> >> thanks.. >> >> -------------------------------------------------------------- >> ----------- >> This SF.net email is sponsored by: Microsoft Defy all >> challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Imlab-users mailing list >> Iml...@li... >> https://lists.sourceforge.net/lists/listinfo/imlab-users >> >> > > > |