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

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
machine-learning, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
0
Fork
0
Merge trung bình
3 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mrgnw/spatial-maker

Tất cả issue của mrgnw/spatial-maker

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.