Cli
cli()
CLI for various AI agents.
Source code in mbodied/agents/cli.py
10 11 12 13 |
|
detect(model_src, image_path, objects, model_type, api_name)
Run the ObjectDetectionAgent to detect objects in an image.
Source code in mbodied/agents/cli.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|
estimate_depth(model_src, image_path, api_name)
Run the DepthEstimationAgent to estimate depth from an image.
Source code in mbodied/agents/cli.py
36 37 38 39 40 41 42 43 44 45 |
|
segment(model_src, image_path, input_type, input_data, api_name)
Run the SegmentationAgent to segment objects in an image.
Source code in mbodied/agents/cli.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|