Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] kornia-depth crate with depth anything #186

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

edgarriba
Copy link
Member

@edgarriba edgarriba commented Dec 21, 2024

This pull request introduces a new crate kornia-depth and integrates it into the existing workspace. Additionally, it includes a new example demonstrating the usage of the kornia-depth crate for depth estimation using a webcam.

to reproduce: cargo run --bin depth_anything --release

depth_anything.mp4

New crate addition:

  • Added the kornia-depth crate with dependencies and configurations in crates/kornia-depth/Cargo.toml.
  • Implemented the DepthAnything struct and its methods for depth estimation in crates/kornia-depth/src/depth_anything.rs.
  • Exposed the DepthAnything struct in crates/kornia-depth/src/lib.rs.

Workspace and dependency updates:

  • Updated Cargo.toml to include kornia-depth in the workspace members and added the necessary dependencies. [1] [2] [3]
  • Modified several example Cargo.toml files to use the workspace version of the ctrlc dependency. [1] [2] [3] [4]

New example:

  • Added a new example depth_anything demonstrating the usage of the DepthAnything struct for depth estimation using a webcam in examples/depth_anything/Cargo.toml and examples/depth_anything/src/main.rs. [1] [2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant