A fast Ramer-Douglas-Peucker algorithm implementation. Updated for GCP cloud run
Project description
crdp-gcr
Cython implementation of Ramer-Douglas-Peucker algorithm, identical to crdp but modified to run as a google cloud function.
Usage
pip instal crdp-gcr
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_gcr-0.1.tar.gz
(61.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crdp_gcr-0.1.tar.gz.
File metadata
- Download URL: crdp_gcr-0.1.tar.gz
- Upload date:
- Size: 61.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8481c84b7beeeed0f1a2b96ade2cb1add0f06d4cbeba3b15034f160d3e1761b6
|
|
| MD5 |
bacda1fe55dce87c822696aa87152925
|
|
| BLAKE2b-256 |
364ea046e76304879e52155a94679390a01e7e49cb6ae6edbedcef29f99039a7
|
File details
Details for the file crdp_gcr-0.1-cp313-cp313-macosx_15_0_x86_64.whl.
File metadata
- Download URL: crdp_gcr-0.1-cp313-cp313-macosx_15_0_x86_64.whl
- Upload date:
- Size: 21.9 kB
- Tags: CPython 3.13, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9a92e97767278ca9b0befaaaffb898e71016ac94ad3bf93200d7f8963e604f8
|
|
| MD5 |
a85204458b8218278d390c8488917f62
|
|
| BLAKE2b-256 |
0d265750f9a43bd2fc1a9e5909a9f0cc8539aa55297ea1c6ea4c1e4b5cc5b334
|