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 hashes)
Built Distribution
Close
Hashes for crdp_gcp-0.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a46e2f9bfa17b6f5df5a32686f15704eeb198ee03a40bd8f73e1c6db39202ee |
|
MD5 | e85b148bb5714a1036e63317e674ae95 |
|
BLAKE2b-256 | f75c5ad5ee9af2539e9833a5b4a54f4cee9a60fc99fb2ed35daa293b59d09c16 |