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 [-h] -w WEIGHT_FILE_PATH -i INPUT [-o OUTPUT_DIR] [-s SCORE_THRESHOLD]

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
  • -w 指定权重文件
  • -i 输入的图片文件
  • -o 输出路径
  • -s 预测分数阈值(0-1之间, 默认0.5,值越大越精确)

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.2.tar.gz (3.8 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.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file img-prediction-0.0.2.tar.gz.

File metadata

  • Download URL: img-prediction-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 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.2.tar.gz
Algorithm Hash digest
SHA256 b4f1c50ba18c94afdcaa9478c56fdbc91fc6accc57e52515c936ee02c465e2dd
MD5 ef3d680e76715fdaa07ba11478e49656
BLAKE2b-256 a9fe8ea44941bd806c7d03ed2199634021ea559e8f1bb8f99410e1bfb46093d3

See more details on using hashes here.

File details

Details for the file img_prediction-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: img_prediction-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f8fe66b0be55e4092115b86bfd1a4df95d300c6b6f79276f93baa80d314d074e
MD5 a786731f5f59f4c636d3b5b9dcf81bd1
BLAKE2b-256 cac21d6169075b409097844d89a3f027ece8fa96a187c07f127c93bfb656ac1f

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