Crate depth_analyzer

source ·
Expand description

§Depth Analyzer

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

§Usage

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

§Options

-h, --help Displays this help menu.

-v, --version Displays 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

In order of precedence:

  • FORWARD
  • RIGHT
  • LEFT
  • STOP

Modules§

Structs§

  • Each sector of the image has a total red pixels and a total pixel count. A red pixel is a pixel that has a Red value higher than 150.

Enums§