|
-
Mar 9th, 2003, 03:45 PM
#1
Thread Starter
Addicted Member
limiting framerate of outside app
I am currently working on a project that requires image recognition, im looking at the output of another program (which generates bitmaps) and setting variables based on what my app sees in the image. My problem is that the application I have to look at makes frames as fast as it can, generating a framerate of 400 FPS which eats up all my processing power. I only need like 50 FPS but i dont have access to the code of the output application so i cant set a limit there.
Can anyone think of a way to limit the framerate of the application?
thanks in advance,
Glyptar
-
Mar 9th, 2003, 08:16 PM
#2
Fanatic Member
The only way I can think of accomplishing that is to set the processor priority of your app higher than the target app, and then code in such a way that your program uses up all the processor and then pauses just long enough for the other app to generate one frame, capture that frame, etc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|