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

Abierto
#6 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
55/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Rust
Estrellas
0
Forks
0
Merge medio
3 min
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mrgnw/spatial-maker

Todos los issues de mrgnw/spatial-maker

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.