[wip] kornia-depth crate with depth anything #186
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 thekornia-depth
crate for depth estimation using a webcam.to reproduce:
cargo run --bin depth_anything --release
depth_anything.mp4
New crate addition:
kornia-depth
crate with dependencies and configurations incrates/kornia-depth/Cargo.toml
.DepthAnything
struct and its methods for depth estimation incrates/kornia-depth/src/depth_anything.rs
.DepthAnything
struct incrates/kornia-depth/src/lib.rs
.Workspace and dependency updates:
Cargo.toml
to includekornia-depth
in the workspace members and added the necessary dependencies. [1] [2] [3]Cargo.toml
files to use the workspace version of thectrlc
dependency. [1] [2] [3] [4]New example:
depth_anything
demonstrating the usage of theDepthAnything
struct for depth estimation using a webcam inexamples/depth_anything/Cargo.toml
andexamples/depth_anything/src/main.rs
. [1] [2]