Crates.io | depth_analyzer |
lib.rs | depth_analyzer |
version | 0.2.0 |
source | src |
created_at | 2024-01-21 16:44:44.534407 |
updated_at | 2024-02-17 01:42:07.793567 |
description | Program that analyzes an image processed by AI depth detection models. |
homepage | https://github.com/rumenmitov/depth_analyzer |
repository | https://github.com/rumenmitov/depth_analyzer |
max_upload_size | |
id | 1107723 |
size | 4,190,837 |
Program that analyzes an image processed by AI depth-detection models.
cargo install depth_analyzer
depth-analyzer /path/to/image.[ jpg | jpeg | png | webp ]
-h
, --help
Displays help menu.
-v
, --version
Displays current version.
-c
, --color
[ RED | WHITE ] Specifies which color to use as an indicator for proximity.
-t
, --threshold
[ 0 .. 255 ] Specifies the value a pixel must have in order to be considered to be of the proximity color.
-w
, --watch
[ /path/to/images ] Analyze images as they come in. If no path is provided, current directory is used.
The user can expect one of the following instructions (shown here in order of precedence):
FORWARD
- the center path is unobstructedRIGHT
- the center path is obstructed, but the right is notLEFT
- the left path is the only unobstructed pathSTOP
- all paths are obstructed