#depth #ai #detection #models #processed #analyzer #analyzes

bin+lib depth_analyzer

Program that analyzes an image processed by AI depth detection models

9 releases

0.2.0 Feb 17, 2024
0.1.7 Jan 28, 2024

#278 in Machine learning

Download history 15/week @ 2024-01-16 15/week @ 2024-01-23 162/week @ 2024-02-13 60/week @ 2024-02-20 8/week @ 2024-02-27 9/week @ 2024-03-26 45/week @ 2024-04-02

54 downloads per month

GPL-3.0 license

4MB
312 lines

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

Dependencies

~13MB
~60K SLoC