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.5.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.5.tar.gz.
File metadata
- Download URL: img-prediction-0.0.5.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 |
c114f1429676177bb0b142d9f8969713ae2a6f1e20819db135308676b37f37e1
|
|
| MD5 |
7c7889d0944836f42b27d86a62c0b2b4
|
|
| BLAKE2b-256 |
31167c50b9316938a3b7b87f4bbe0397e81b9c1673d6c60b118337bf402ef2e5
|
File details
Details for the file img_prediction-0.0.5-py3-none-any.whl.
File metadata
- Download URL: img_prediction-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.6 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 |
df762f5e6761e526f0404ab77fe21bd76b01ee4cbaa8f31a91d7627ade3818f3
|
|
| MD5 |
1fed1ca42329cd49da9a630131a7bdcb
|
|
| BLAKE2b-256 |
a6380e7254e9540f2abf69262a228ed3e09c2e6e05a094b53b88223ab5f3450e
|