Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

img_prediction-0.0.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

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

Hashes for img-prediction-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d7d708af094aaefd727b6a23c1ddcd3c46ffdfe93c6d34b0ed125a2beaa3d1b1
MD5 3bb025df5d65971e6375cc1889146a2a
BLAKE2b-256 3a744d1ed850226228ba66d458ad94a0b9f4f2afba3d848068e92a5d1699663e

See more details on using hashes here.

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

Hashes for img_prediction-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ac42e20d4b5e97060fb5c6d304524ea75842b396d24e4e0aebecb57e7b3bc29a
MD5 94ab4cf50cd0991b77d8462717015f6f
BLAKE2b-256 b92e81750ca525b7af4e2e67f250c761f4e5666a126dd2f8f4197266253cced8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page