Skip to content

Update PiVideoStream to let its method 'read' always return newly updated frame#231

Open
kcoms555 wants to merge 1 commit intoPyImageSearch:masterfrom
kcoms555:master
Open

Update PiVideoStream to let its method 'read' always return newly updated frame#231
kcoms555 wants to merge 1 commit intoPyImageSearch:masterfrom
kcoms555:master

Conversation

@kcoms555
Copy link

Make PiVideoStream 'read' always return newly updated frame.

…ated frame

Make PiVideoStream 'read' always return newly updated frame.
@angadsingh
Copy link

this just adds a busy-wait loop. a lousy solution to an already problematic piece of code.

@kcoms555
Copy link
Author

this just adds a busy-wait loop. a lousy solution to an already problematic piece of code.
You are right. Is there any idea to update this pieces? A rough solution is maybe to apply an interruptible sleep functions. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants