AdityaNG / AdityaNG/Low-Cost-Hardware-Accelerated-Vision-Based-Depth-Perception-for-Real-Time-Applications

Circular Q for frame_skip; avoid clone

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
8
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

https://github.com/AdityaNG/Depth-Perception-from-Stereoscopic-Vision-on-Edge-Devices/blob/2d44ccf521b9f71fe3d3e8d52361bc11516daeb4/src/stereo_vision_v1.2.cu#L541-L555

Cloning images in the main loop is not ideal.
Use a circular Q of size `frame+skip` to store all frames and disparity maps.
1. Dequeue `frame_skip` number of frame from oldest frame once disparity is done computing `iFrame%frame_skip == frame_skip-1`
2. Enqueue new frame as it comes in `iFrame%frame_skip == 0`

Call all functions on Enqueued frame (latest frame)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。