Skip to content

v0.3.0 - スリープ復帰時のカメラブロック修正

Choose a tag to compare

@GoodLight999 GoodLight999 released this 27 Jun 23:03
· 3 commits to main since this release

変更内容 / Changes

Bug Fixes

  • スリープ復帰時のカメラブロック修正: cv::VideoCapture::open(CAP_DSHOW) がスリープ復帰時に何時間もブロックされる問題を修正。カメラopenを別スレッドで実行し、3秒のタイムアウトを設定。タイムアウト時は即座にリトライに移行します。
  • GetSerializationハング改善: 顔認証成功後にサインインしていますで止まって見える問題を改善。内部のスレッド待ちタイムアウトを1000msから200msに短縮。
  • リトライ回数を3から5に増加(各試行は最大3秒で完了するため、全体の最大待ち時間は約17.5秒)。

Fixed camera blocking on sleep/resume

  • cv::VideoCapture::open(CAP_DSHOW) could block for hours when resuming from sleep. Camera open is now executed on a worker thread with a 3-second timeout. On timeout, the blocked thread is abandoned and a fresh retry begins immediately.
  • Reduced internal thread wait from 1000ms to 200ms to improve responsiveness after face match.
  • Increased retry count from 3 to 5 (each attempt completes within 3 seconds max).

No Warranty: このソフトウェアは無保証です。自己責任でご使用ください。