A fast Ramer-Douglas-Peucker algorithm implementation. Updated for GCP cloud function
Project description
crdp-gcp
Cython implementation of Ramer-Douglas-Peucker algorithm, identical to crdp but modified to run as a google cloud function.
Usage
pip install crdp-gcp
In [1]: from crdp import rdp
In [2]: rdp([[1,1],[2,3],[3,3],[4,4]], 0.8)
Out[2]: [[1, 1], [4, 4]]
In [3]: rdp([[1,1],[2,3],[3,3],[4,4]], 0.7)
Out[3]: [[1, 1], [2, 3], [4, 4]]
All credit to Bi Ran, author of the original code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crdp-gcp-0.0.4.tar.gz
(33.0 kB
view details)
Built Distribution
File details
Details for the file crdp-gcp-0.0.4.tar.gz
.
File metadata
- Download URL: crdp-gcp-0.0.4.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/6.6.0 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 145db298a2c2b92d44d8565a10d9997f2dcefb6540924e3745a8891bbbf9d142 |
|
MD5 | 943619fb3a5fd3bb616b94afdfba653c |
|
BLAKE2b-256 | 7cfc11120b8484410aea34f97f79977840ef11396042a030f42b8a777e90dde3 |
File details
Details for the file crdp_gcp-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: crdp_gcp-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 19.4 kB
- Tags: CPython 3.10, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/6.6.0 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a46e2f9bfa17b6f5df5a32686f15704eeb198ee03a40bd8f73e1c6db39202ee |
|
MD5 | e85b148bb5714a1036e63317e674ae95 |
|
BLAKE2b-256 | f75c5ad5ee9af2539e9833a5b4a54f4cee9a60fc99fb2ed35daa293b59d09c16 |