#How to do a fast screengrab?

1 messages · Page 1 of 1 (latest)

ionic tendon
#

I'm trying to run some live AI inference in a java program, but in order to get it to a passable framerate I need to be getting a frame every 16.6 ms (for 60fps). However, using Robot is around 30ms, and JavaCV's ffmpeg screengrab takes around 35ms. Both of those amount to about 30fps. Is there a faster way?

jolly talonBOT
#

This post has been reserved for your question.

Hey @ionic tendon! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

velvet scarab
#

What about just doing it every 2 or 3 frames?