weixin_39988164
2020-12-05 09:29 阅读 1

Capture robustification

The PR improves capture robustness and failed capture feedback. - The pupil video_backend now tries to restart the capture device after all attempts to read from the device have failed. - The world process with fall back to a fake capture if all attempts to restart and recover communications with the camera have failed. This behaviour is better feedback to the user than a shutdown of the capture program. - The world process will stop recording when the fallback to fake capture happens.

This PR requires an updated of pyuvc to v0.6

该提问来源于开源项目:pupil-labs/pupil

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • weixin_39988164 weixin_39988164 2020-12-05 09:29

    please review and test.

    点赞 评论 复制链接分享
  • weixin_39565910 weixin_39565910 2020-12-05 09:29

    I have really appreciated this step. Not tested yet, but conceptually seems something to keep in mind... It was about time to handle exceptions like this and prevent as much as possible ugly crashes (closing everything without any prompt). Usually this kind of crash have occured as a "first impression" of a new user. We should care about first impressions. Excelent work !

    点赞 评论 复制链接分享
  • weixin_39769228 weixin_39769228 2020-12-05 09:29

    -- this is excellent.

    I tested this on my machine and it works very well. My quick test: - Started Pupil Capture with the headset plugged - Unplugged the USB while Pupil Capture was running and all streams successfully fallback to Fake Capture - I plug USB back into the computer and can successfully select and restart cameras from the GUI

    Next step is to provide more informative (user friendly) feedback in Fake Capture similar to text feedback in Pupil Player launch screen.

    -- yes, a good first impression is very important.

    Merge it 👍

    点赞 评论 复制链接分享
  • weixin_39988164 weixin_39988164 2020-12-05 09:29

    Done

    点赞 评论 复制链接分享

相关推荐