Let the pipeline run without a model: injectable depth source for tests

オープン
#6 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

Start with process_photo and trace where it obtains per-frame depth from the CoreML estimator, then look at the existing unit tests for the HEIC writer, stereo renderer and ffmpeg failure path to see how they are set up. Introduce a depth-source seam (trait or function argument) that the CoreML estimator implements, leaving the CLI call path unchanged. Done when a test generates a small image, runs process_photo with a synthetic gradient depth, and asserts a stereo HEIC is produced, with cargo test passing in CI without a model.

索引モデルが issue の本文から書いたものです。

説明

Every end-to-end path needs a downloaded CoreML model, so there are no full photo or video pipeline tests and CI cannot exercise them. (Unit tests already cover the HEIC writer, the stereo renderer and the ffmpeg failure path.)

Acceptance criteria

  • A small trait (or function argument) supplies depth for a frame; the CoreML estimator is one implementation, a synthetic gradient is another
  • process_photo produces a stereo HEIC from a generated image using the synthetic depth, asserted in a test
  • No behaviour change for the CLI

Estimate: 4 h

主要言語
Rust
スター
0
フォーク
0
平均マージ
3分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mrgnw/spatial-maker のほかの issue

mrgnw/spatial-maker の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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