Skip to main content

Plot boundary extractor using segment anything model

Project description

plot-boundary-extractor

plot boundary extractor using segment anything model

Install virtual environment

conda create -n pbe -c conda-forge gdal python=3.10 -y
conda activate pbe

Install sam plot extraction tool

pip install sam-plot-extraction

Install torch

(CPU)
pip install torch torchvision
(GPU)
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118

Install SAM and download checkpoint file

pip install git+https://github.com/facebookresearch/segment-anything.git

wget https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth

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

plot_boundary_extractor-0.3.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

plot_boundary_extractor-0.3.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file plot_boundary_extractor-0.3.0.tar.gz.

File metadata

  • Download URL: plot_boundary_extractor-0.3.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for plot_boundary_extractor-0.3.0.tar.gz
Algorithm Hash digest
SHA256 240377afca371798a2ec4403437cd06e4b699501f53cb14279784e8670903575
MD5 6eb4a285daca92d3a4a55acd410e6113
BLAKE2b-256 29e66253afbb1c983c09d35391187c74a03c4aed0bf8de26feffa696bc0864bd

See more details on using hashes here.

File details

Details for the file plot_boundary_extractor-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plot_boundary_extractor-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89e2777cbbc0af860e60392cb41e800c6ec6ac7e32faa4e237d9ca0a573d20e6
MD5 1ab51e1f3def9d13ca514f02c70db158
BLAKE2b-256 70ccd6a2cdc04d5aa4d8c8417e62faf4662b0a06ecd551684bc0253ebe4b3aaa

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