Skip to content

pause / resume #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
haviduck opened this issue Dec 30, 2020 · 8 comments
Open

pause / resume #3

haviduck opened this issue Dec 30, 2020 · 8 comments

Comments

@haviduck
Copy link

hey
were you ever able to solve thread pause and resume?

@haviduck
Copy link
Author

solved by doing a
while self.ispaused: time.sleep(0)
in capturethread and updating a class variable from cameraviews pause/start.

@wlzxzq
Copy link

wlzxzq commented May 28, 2021

solved by doing a
while self.ispaused: time.sleep(0)
in capturethread and updating a class variable from cameraviews pause/start.

Hey
the gui will die while the video file ends. How you deal

@haviduck
Copy link
Author

solved by doing a
while self.ispaused: time.sleep(0)
in capturethread and updating a class variable from cameraviews pause/start.

Hey
the gui will die while the video file ends. How you deal

if you use a file, you can check amount of frames and make a "reset". i can write some pseudo for you if you want?

@wlzxzq
Copy link

wlzxzq commented May 29, 2021

通过
while self.ispaused: time.sleep(0)
在捕获线程中执行并从相机视图暂停/开始更新类变量来解决。


,当视频文件结束时,gui 会死。你如何处理

如果您使用文件,则可以检查帧数并进行“重置”。如果你愿意,我可以为你写一些伪代码吗?

OK!
Also tell me your code so that I can know what you have done about the code!

@haviduck
Copy link
Author

sure, been a bit since ive played with it but i think i stored the repo. i added quite a few other features, allowing you to click on a detected objects roi and study it via that pyqtgraph lib and superres, grabcut, tracking etc. should i just share the whole thing?

@wlzxzq
Copy link

wlzxzq commented May 29, 2021

当然,自从我玩过它以来有点,但我想我存储了回购。我添加了很多其他功能,允许您点击检测到的对象 roi 并通过 pyqtgraph lib 和 superres、grabcut、tracking 等研究它。我应该分享整个事情吗?

As you have seen the code, its function is not full, Maybe the auther forget it. i will appreciate If you share me, you can tell me by the email(3220195118@bit.edu.cn).

@haviduck
Copy link
Author

当然,自从我玩过它以来有点,但我想我存储了回购。我添加了很多其他功能,允许您点击检测到的对象 roi 并通过 pyqtgraph lib 和 superres、grabcut、tracking 等研究它。我应该分享整个事情吗?

As you have seen the code, its function is not full, Maybe the auther forget it. i will appreciate If you share me, you can tell me by the email(3220195118@bit.edu.cn).

sure, gonna finish a sprint then get right on it

@haviduck
Copy link
Author

i thiiiink this should be enough.
https://gist.github.com/haviduck/1f3834a8129385d7cb8bcf8af1e3588d

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

No branches or pull requests

2 participants