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.5.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.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for img-prediction-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c114f1429676177bb0b142d9f8969713ae2a6f1e20819db135308676b37f37e1
MD5 7c7889d0944836f42b27d86a62c0b2b4
BLAKE2b-256 31167c50b9316938a3b7b87f4bbe0397e81b9c1673d6c60b118337bf402ef2e5

See more details on using hashes here.

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

Hashes for img_prediction-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 df762f5e6761e526f0404ab77fe21bd76b01ee4cbaa8f31a91d7627ade3818f3
MD5 1fed1ca42329cd49da9a630131a7bdcb
BLAKE2b-256 a6380e7254e9540f2abf69262a228ed3e09c2e6e05a094b53b88223ab5f3450e

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