Predict the location of the instance in the picture and Mosaic it
Project description
要求
- python >= 3.6
安装
pip3 install img-prediction
使用
$ predict -h :( 130 23-05-17 - 10:05:44
usage: prediction.py [-h] -w WEIGHT_FILE_PATH -i INPUT [-o OUTPUT_DIR] [-s SCORE_THRESHOLD] [-v] [-l LOG_FILE]
Image Segmentation And Mosaic
options:
-h, --help show this help message and exit
-w WEIGHT_FILE_PATH, --weight-file-path WEIGHT_FILE_PATH
The weight file path
-i INPUT, --input INPUT
Input image file
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
The dir of processed images
-s SCORE_THRESHOLD, --score-threshold SCORE_THRESHOLD
The fractional threshold of the identification area
-v, --verbose Output detailed log
-l LOG_FILE, --log-file LOG_FILE
The path of log file, default is ./prediction.log
-w指定权重文件-i输入的图片文件-o输出路径-s预测分数阈值(0-1之间, 默认0.5,值越大越精确)-v输出日志到文件-l日志文件路径
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
img-prediction-0.0.6.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file img-prediction-0.0.6.tar.gz.
File metadata
- Download URL: img-prediction-0.0.6.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d708af094aaefd727b6a23c1ddcd3c46ffdfe93c6d34b0ed125a2beaa3d1b1
|
|
| MD5 |
3bb025df5d65971e6375cc1889146a2a
|
|
| BLAKE2b-256 |
3a744d1ed850226228ba66d458ad94a0b9f4f2afba3d848068e92a5d1699663e
|
File details
Details for the file img_prediction-0.0.6-py3-none-any.whl.
File metadata
- Download URL: img_prediction-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac42e20d4b5e97060fb5c6d304524ea75842b396d24e4e0aebecb57e7b3bc29a
|
|
| MD5 |
94ab4cf50cd0991b77d8462717015f6f
|
|
| BLAKE2b-256 |
b92e81750ca525b7af4e2e67f250c761f4e5666a126dd2f8f4197266253cced8
|