Metadata-Version: 2.1
Name: sliced-prediction
Version: 0.0.7
Summary: Provides a way to perform sliced inferencing on a directory of images
Home-page: https://github.com/fsai-dev/fsai-cli-tools
License: MIT
Author: Michael Mohamed
Author-email: michael@foundationstack.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: beartype (>=0.10.4,<0.11.0)
Requires-Dist: loguru (>=0.6.0,<0.7.0)
Requires-Dist: sahi (>=0.10.1,<0.11.0)
Requires-Dist: yolov5 (>=6.1.6,<7.0.0); sys_platform == "linux"
Project-URL: Repository, https://github.com/fsai-dev/fsai-cli-tools
Description-Content-Type: text/markdown

# sliced-prediction
## Installation & Use

```shell
# Install sliced-prediction
> pip install sliced-prediction

> sliced-prediction --help
```

## Example
```shell
sliced-prediction \
--overlap_width_ratio 0 \
--overlap_height_ratio 0 \
--slice_width 1024 \
--slice_height 1024 \
--input_directory ./tests/data \
--output_manifest_file ./tmp/manifest.jsonl \
--model_path ./tmp/best.pt \
--confidence_threshold .2 \
--device cpu
```
