depth_analyzer

Crates.iodepth_analyzer
lib.rsdepth_analyzer
version0.2.0
sourcesrc
created_at2024-01-21 16:44:44.534407
updated_at2024-02-17 01:42:07.793567
descriptionProgram that analyzes an image processed by AI depth detection models.
homepagehttps://github.com/rumenmitov/depth_analyzer
repositoryhttps://github.com/rumenmitov/depth_analyzer
max_upload_size
id1107723
size4,190,837
Rumen Mitov (rumenmitov)

documentation

https://docs.rs/depth_analyzer/

README

Depth Analyzer

Program that analyzes an image processed by AI depth-detection models.

Installation

cargo install depth_analyzer

Usage

depth-analyzer /path/to/image.[ jpg | jpeg | png | webp ]

Options

-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.

Possible Results

The user can expect one of the following instructions (shown here in order of precedence):

  • FORWARD - the center path is unobstructed
  • RIGHT - the center path is obstructed, but the right is not
  • LEFT - the left path is the only unobstructed path
  • STOP - all paths are obstructed

GitHub License
Downloads on crates.io

Commit count: 0

cargo fmt