FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update PiVideoStream to let its method 'read' always return newly updated frame by kcoms555 · Pull Request #231 · PyImageSearch/imutils · GitHub

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

Open
kcoms555 wants to merge 1 commit into
PyImageSearch:masterfrom
kcoms555:master
Open

kcoms555 wants to merge 1 commit into
PyImageSearch:masterfrom
kcoms555:master

Conversation

Copy link
Copy Markdown

Make PiVideoStream 'read' always return newly updated frame.

…ated frame

Make PiVideoStream 'read' always return newly updated frame.

Copy link
Copy Markdown

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

Copy link
Copy Markdown
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?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL