[Idea]: Support for getting latest frame from a screenrecord/framebuffer
Closed this issue · 3 comments
Issue guidelines
- I've read the Issue Guidelines and wholeheartedly agree.
Issue Checklist
- I have searched open or closed issues and found nothing related to my idea.
- I have read the Documentation and it doesn't mention anything about my idea.
- To my best knowledge, my idea wouldn't break something for other users.
Describe your Idea
ability to return latest frame from screenrecord/frame buffer so that it can used for object/color detection
Use Cases
Allow ability for object tracking/color tracking within a video at much higher fps than using open cv or alternatives
Any other Relevant Information?
No response
ability to return latest frame from screenrecord/frame buffer so that it can used for object/color detection
@ninjatall12 Hi, could you please elaborate what you mean by this, through any example, diagram, or code? BTW, Deffcode currently retrieve frame from numpy buffer directly.
so basically i want a function similar to sct.grab() in mss which returns the latest frame without needing to iterate through the generator object for example in here
you have to iterate through the generator object to get the last frame in frame buffer i want a function that just gets the last frame in the frame buffer. Sorry if my communication is low quality
so basically i want a function similar to sct.grab() in mss which returns the latest frame without needing to iterate through the generator object for example in here
@ninjatall12 There's no buffer, the FFmpeg serializes the frames and deffcode captures it and generator makes it available. Simple as that. I'm closing this issue as it is not applicable here