tiagocoutinho / linuxpy

Human friendly interface to linux subsystems using python
https://tiagocoutinho.github.io/linuxpy/
GNU General Public License v3.0
28 stars 3 forks source link

How can I flush the buffer & How can i set timeout for grab frame? #30

Open kboseong opened 1 month ago

kboseong commented 1 month ago

I am currently retrieving frames from the camera using the next(stream) method, but I'm encountering an issue where the buffer remains. Is there a way to flush the remaining buffer? Additionally, is it possible to set a timeout for next(stream)? I want to use camera as external trigger, and timeout function is needed